A recent feature that updated df_downsample() removed the return_index_mapping flag and the corresponding data_indices output, breaking this functionality for some users.
Expected Behavior
df_downsample() should take return_index_mapping as a flag and, when this flag is True, return an array data_indices that maps indices in the high resolution input data to indices in the downsampled output data.
Steps To Reproduce
No response
Environment
- OS:
- pip environment (can be retrieved with `pip list`):
Is there an existing issue for this?
Current Behavior
A recent feature that updated
df_downsample()
removed thereturn_index_mapping
flag and the correspondingdata_indices
output, breaking this functionality for some users.Expected Behavior
df_downsample()
should takereturn_index_mapping
as a flag and, when this flag is True, return an arraydata_indices
that maps indices in the high resolution input data to indices in the downsampled output data.Steps To Reproduce
No response
Environment
Anything else?
No response