Plotting
Plotting and visualization of DataFrames.
df.plot
(kind='hist', y=data_col, bins=the_bins, density=True, ec='w')
Create a histogram using a DataFrame.
df.plot
(kind='scatter', x=data_col, y=data_col)
Create a scatter plot using a DataFrame.
df.plot
(kind='bar', x=data_col, y=data_col)
Create a bar plot using a DataFrame.
df.plot
(kind='line', x=data_col, y=data_col)
Create a line plot using a DataFrame.