pillargg / pillar_algos

Finds best timestamps to cut at
https://docs.pillar.gg/pillar_algos/
GNU General Public License v3.0
1 stars 0 forks source link

Weird things are happening (ToyStory) if the index is dropped #20

Closed pomkos closed 3 years ago

pomkos commented 3 years ago

Was making some unit tests for data_handler.py and found that

pomkos commented 3 years ago

Issue was with using iloc vs loc in a dataset that was sorted by a column to get the first sec. iloc gave the second at the very top, while what we wanted is the first second in terms of time.