arr_filter - use an array of function pointers to apply different filters to multiple columns #14
Labels
C
This issue is related to C code
enhancement
New feature or request
Python
This issue is related to Python code
Currently, arr_filter supports applying the same filter to multiple columns. Want to provide functionality to apply different filters to different columns at the same time which would be more useful. Would probably have to change the function pointer to a pointer to function pointers.
In the underlying C code, could probably wrap this more complicated function around arr_filter and call it arr_filter_multiple or something like that. Then we can iterate over the array of function pointers and call arr_filter each time to modify the same array.
The method call in Python wrapper would ultimately look something like:
Where we can overload the filter method if the second parameter is a list of lists instead of a regular list.
The text was updated successfully, but these errors were encountered: