PW22-SBN-01 / dataset_pipeline

0 stars 0 forks source link

Get frames from timestamp #5

Closed AdityaNG closed 2 years ago

AdityaNG commented 2 years ago

Write dataframe logic to access the frame given a timestamp. Make use of speedup given by pandas.DataFrame, avoid for loops.

https://github.com/PW22-SBN-01/dataset_pipeline/blob/26c31afd799bc6823ed68191da66b3f379c99528/dataset_helper/dataset_iterators.py#L197-L200

https://github.com/PW22-SBN-01/dataset_pipeline/blob/26c31afd799bc6823ed68191da66b3f379c99528/dataset_helper/dataset_iterators.py#L90-L93

https://github.com/PW22-SBN-01/dataset_pipeline/blob/26c31afd799bc6823ed68191da66b3f379c99528/dataset_helper/dataset_iterators.py#L286-L289

AdityaNG commented 2 years ago

Done in https://github.com/PW22-SBN-01/dataset_pipeline/commit/8a82d05f7b60eeeee276f1465857d8a513eb4307

https://github.com/PW22-SBN-01/dataset_pipeline/blob/8a82d05f7b60eeeee276f1465857d8a513eb4307/dataset_helper/dataset_iterators.py#L220-L231