pandas pd.scatter 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')