Command
df.plotExplanation
df.plot() uses Matplotlib to create quick visualizations from DataFrames.
Examples
Line plot of a single column
df["col1"].plot()Scatter plot
df.plot(x="col1", y="col2", kind="scatter")Bar plot
df.plot(kind="bar")df.plotdf.plot() uses Matplotlib to create quick visualizations from DataFrames.
Line plot of a single column
df["col1"].plot()Scatter plot
df.plot(x="col1", y="col2", kind="scatter")Bar plot
df.plot(kind="bar")