how to plot relation between 2 columns in python code example Example: how to plot two columns graphs in python df.plot(x='col_name_1', y='col_name_2')