However, starting from version 0.17.0, Pandas objects Series and DataFrame come equipped with their own .plot() methods. This plot() method is just a simple wrapper around the plot() function of pyplot.
Thus, if we have a Series or DataFrame type object (let's say 's' or 'df') we can call the plot method by writing:
The plot() method of Pandas accepts a considerable number of arguments that can be used to plot a variety of graphs. It allows customising different plot types by supplying the kind keyword arguments.
The general syntax is:
plt.plot(kind),where kind accepts a string indicating the type of plot, as listed in Table. In addition, we can use the matplotlib. pyplot methods and functions also along with the plt() method of Pandas objects.
Arguments accepted by kind for different plots
