October 2014
Beginner to intermediate
348 pages
6h 55m
English
The plot() method in the pandas Series and DataFrame classes wraps around the related matplotlib functions. In its most basic form without any arguments, the plot() method displays the following plot for the dataset we have been using throughout this chapter:

To create a semi-log plot, add the logy parameter:
df.plot(logy=True)
This results in the following plot for our data:

To create a scatter plot, specify the kind parameter to be scatter. We also need to specify two columns. Set the loglog parameter to True to produce a log-log ...
Read now
Unlock full access