Skip to content

Commit

Permalink
Fix precommit failures
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonbb committed Apr 18, 2024
1 parent 84f0778 commit d547253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nested_pandas/nestedframe/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,9 @@ def my_sum(col1, col2):
raise ValueError("No columns in `*args` specified to apply function to")

# The remaining args are the extra arguments to the function other than columns
extra_args = []
extra_args: list[Any] = []
if len(requested_columns) < len(args):
extra_args = args[len(requested_columns):]
extra_args = args[len(requested_columns) :]

# Translates the requested columns into the scalars or arrays we pass to func.
def translate_cols(frame, layer, col):
Expand Down

0 comments on commit d547253

Please sign in to comment.