Visualizing Data


Earlier in the Data Visualization module, we have been taught about the matplotlib.pylpot module for visualizing data. However, in the Probability and statistics module, the things are lil bit changed. The syntax we are using is that of or series.plot.pie().

First of all, What is plot here? Is it pre defined module in python?
Secondly, how is using this vs the matplotlib different ?

Hi @keswani06,

Good question! so and series.plot.pie() are methods that are built in to the pandas library. They are there for convenience and under the hood are really using Matplottlib.

I’m not 100% how they work mechanically but is really using and should achieve the same result even thought the syntax and parameters you pass into might be slightly different.