last day (15 days later) » 

11:48
Hi! I just wrote an answer to your question, but you deleted it. Would you like a solution or not?
hello
I found it from another post of you
I changed the index into the column of the X and it worked
I can put it back if you want to post there
Sure, go right ahead.
I just waa afraid to get down votes as I found your answer
Just click undelete
done
thank you
11:54
There are MANY ways you can plot dataframes using plotly, so don't worry too much about the downvotes. If you get some you can always delete it later.
thank you:)
Next time, please consider providing a plot using the approach described here:
10
A: Pandas: How to easily share a sample dataframe using df.to_dict()?

vestlandEdit: df_to_dict() will not be able to read timestamps like 1: Timestamp('2020-01-02 00:00:00') without also including from pandas import Timestamp The answer: In many situations, using an approach with df.to_dict() will do the job perfectly! Here are two cases that come to mind: Case 1: You've g...

Disclaimer: I wrote both the question and the answer.
And please consider giving an upvote to trenton mckinney in the post:
11
Q: How to retrieve partial matches from a list of strings?

vestlandFor approaches to retrieving partial matches in a numeric list, go to: How to return a subset of a list that matches a condition? Python: Find in list But if you're looking for how to retrieve partial matches for a list of strings, you'll find the best approaches concisely explained in the an...

That's where I got the [v for v in list(df.columns) if v.startswith('plant')] part, without which my provided solution would not have worked as elegantly as it does
The method in the first link is the technique I used to set up your question, and it makes it much easier to both ask ans answer questions on SO
thank you i'll

last day (15 days later) »