You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note here that .sort_values(by=['utc_timestamp'], ascending=[True]) is placed before .sample(n=10000, replace=False, random_state=123). There is a .sort_index(), but the time column is not the index of my pandas dataframe. I think placing the sort_values after the random sample might resolve this issue
What steps have you taken to resolve this already?
See the above!
Anything else?
The text was updated successfully, but these errors were encountered:
Environment
pip
Description of Issue
To see a timeseries line graph of my data
Lines of the graph go everywhere, since the plotted data is not properly sorted by timestamp
Reproduction Steps
The generated code looks as follows:
Note here that
.sort_values(by=['utc_timestamp'], ascending=[True])
is placed before.sample(n=10000, replace=False, random_state=123)
. There is a.sort_index()
, but the time column is not the index of my pandas dataframe. I think placing thesort_values
after the random sample might resolve this issueWhat steps have you taken to resolve this already?
See the above!
Anything else?
The text was updated successfully, but these errors were encountered: