3

I know it can look basic but I didnt find anything about it...

In panda I have a dataframe with one row only. the index is a date and the columns are the date, the data are regular figures...

I want to plot all the row... any idea?

            2017-03-23  2017-03-22  2017-03-21  2017-03-20  2017-03-17  2017-03-16  
maturity                                                                       
2020-04-30       41       -20         15.3         21.21       -0.86        61.2  
1

1 Answer 1

4

You have to select a row by it index and then plot:

row = df.iloc[0]
row.plot()

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.