pandas scatter plot code example
Example 1: scatter plot python
df.plot('x_axis', 'y_axis', kind='scatter')
Example 2: scatter plot of a dataframe in python
>>> ax2 = df.plot.scatter(x='length',
... y='width',
... c='species',
... colormap='viridis')
Example 3: how to plot a pandas dataframe with matplotlib
import pandas as pd
data = pd.Dataframe(
# Data
)
data.plot()