Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Kudinkin <ak@anyscale.com>
  • Loading branch information
alexeykudinkin committed Feb 20, 2025
1 parent 8b5e634 commit cae46a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/ray/data/_internal/pandas_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,9 @@ def _apply_agg(
return val

def count(self, on: str, ignore_nulls: bool = False) -> Optional[U]:
return self._apply_agg(lambda col: col.count() if ignore_nulls else len(col), on)
return self._apply_agg(
lambda col: col.count() if ignore_nulls else len(col), on
)

def sum(self, on: str, ignore_nulls: bool) -> Optional[U]:
if on is not None and not isinstance(on, str):
Expand Down

0 comments on commit cae46a6

Please sign in to comment.