We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
to_numpy
to_pandas
These functions are not enforcing a specific sorting as discussed in #378.
Sorting by timestamp makes the most sense (IMO) but there is a case for sorting by index and then timestamp.
In [6]: evset = tp.event_set( ...: timestamps=['2023-11-08T17:14:38', '2023-11-29T21:44:46'], ...: features={ ...: "my_index": [1, 0], ...: }, ...: indexes=["my_index"], ...: ) ...: tp.to_pandas(evset) Out[6]: my_index timestamp 0 0 2023-11-29 21:44:46 1 1 2023-11-08 17:14:38 In [7]: evset = tp.event_set( ...: timestamps=['2023-11-08T17:14:38', '2023-11-29T21:44:46'], ...: features={ ...: "my_index": [0, 1], ...: }, ...: indexes=["my_index"], ...: ) ...: tp.to_pandas(evset) Out[7]: my_index timestamp 0 1 2023-11-29 21:44:46 1 0 2023-11-08 17:14:38
The text was updated successfully, but these errors were encountered:
No branches or pull requests
These functions are not enforcing a specific sorting as discussed in #378.
Sorting by timestamp makes the most sense (IMO) but there is a case for sorting by index and then timestamp.
The text was updated successfully, but these errors were encountered: