I'm trying to create a line plot (time series) from a filtered data frame that is 17 rows x 33 columns.
To provide some background, I am tracking gene expression over certain time points. Every row in this data frame corresponds to a particular exon. Every column on this data frame corresponds to a time-point, while the VALUES INSIDE the columns correspond to level of gene expression.
This is what my data frame looks like:

I want to create a line graph where every line corresponds to a row on this data frame (exon), while the y-values correspond to level of gene expression (values inside each column).
I'm trying to get a resulting graph that would something like this:
Is there anyway to do this? I've tried to set the x and y axes individually but I think the error might stem from using labels and integer-values interchangeably. This is the method I tried using:
df2.plot(x=df2['0'], y=df2['38', '56', '65', '79', '99', '110', '128', '138',
'146', '171', '183', '198', '206', '218', '231', '238',
'258', '276', '283', '303', '316', '331', '343', '367',
'379', '383', '412', '430', '438', '471', '484', '496', '521'])
But this produces this instead:
Any help would be greatly appreciated.




