plot two columns of a dataframe pandas code example
Example 1: plotting two columns of a dataframe in python
df.plot(x='col_name_1', y='col_name_2', style='o')
Example 2: merge two columns pandas
df["period"] = df["Year"] + df["quarter"]
df.plot(x='col_name_1', y='col_name_2', style='o')
df["period"] = df["Year"] + df["quarter"]