Given a data frame df1 as shown below :
Write code to create a line chart from the 1990 and 2000 columns of dataframe df1.
import pandas as pd import matplotlib.pyplot as plt data = {'1990': [52, 64, 78, 94], '2000': [340, 480, 688, 766], '2010': [890, 560, 1102, 889]} df1 = pd.DataFrame(data, index=['a', 'b', 'c', 'd']) plt.plot(df1['1990'], df1['2000']) plt.show()