matplotlib plot 2 columns code example
Example 1: how to plot two columns graphs in python
df.plot(x='col_name_1', y='col_name_2')
Example 2: plotting two columns of a dataframe in python
df.plot(x='col_name_1', y='col_name_2', style='o')
df.plot(x='col_name_1', y='col_name_2')
df.plot(x='col_name_1', y='col_name_2', style='o')