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
Give a TrajectoryCollection you can index it using traj_collection.get_trajectory(traj_id_col VALUE).
I would like to be able to do traj_collection[0] which would do unique traj_id_col VALUES[0].
This will get a bit tricky if you have values "z", "y", "x". Should 0 return "x" or "z".
Either way I think mostly for exploration whatever the order of .unique() returns can be used. get_trajectory should still be encouraged but I feel a __getitem__ will help with quick exploration
The text was updated successfully, but these errors were encountered:
Give a TrajectoryCollection you can index it using
traj_collection.get_trajectory(traj_id_col VALUE)
.I would like to be able to do traj_collection[0] which would do unique traj_id_col VALUES[0].
This will get a bit tricky if you have values "z", "y", "x". Should 0 return "x" or "z".
Either way I think mostly for exploration whatever the order of .unique() returns can be used.
get_trajectory
should still be encouraged but I feel a__getitem__
will help with quick explorationThe text was updated successfully, but these errors were encountered: