AllenNeuralDynamics / aind-dynamic-foraging-data-utils

Tools for the analysis of behavior and neural data from the dynamic foraging task
MIT License
2 stars 0 forks source link

event_triggered_response should have nan policy #42

Closed rachelstephlee closed 2 months ago

rachelstephlee commented 2 months ago

Describe the bug event_triggered_response will crash or behave as if nothing is wrong if there are nan values in the data frame. we should add a nan policy to skip over nan values.

Expected behavior There should be a nan policy (ignore? treat as nan? etc) for the cases.