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