scatter plot and line plot python code example Example: scatter plot python df.plot('x_axis', 'y_axis', kind='scatter')