-
-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrapping a check_input causes index out of range #79
Comments
the |
not sure if this is important, but positional args should also be a list/tuple and unpacked on function call def wrapper(function_as_parameter, positional_arguments):
df = function_as_parameter(*positional_arguments)
return df
def function_that_calls_original_function_via_wrapper(df):
new_df = wrapper(
function_as_parameter=original_function,
positional_arguments=(df, )) |
I need to investigate more, after playing with my toy example it's now fixed. I need to investigate my original code (which is much more complicated) and figure out if this is actually a pandera issue or not. Closing for now. |
The following example:
Results in this list index out of range error:
The text was updated successfully, but these errors were encountered: