Skip to content

Commit

Permalink
style: apply pre-commit fixes
Browse files Browse the repository at this point in the history
Ran pre-commit to address style issues as per review feedback. This ensures consistency with project coding standards.
  • Loading branch information
a-hirota committed Nov 20, 2024
1 parent 05d1cf8 commit 3f1bade
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion python/cudf/cudf/core/indexed_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -3969,7 +3969,13 @@ def round(self, decimals=0, how="half_even"):

cols = (
col.round(decimals[name], how=how)
if name in decimals and (col.dtype.kind in "fiu" or isinstance(col.dtype, (cudf.Decimal32Dtype, cudf.Decimal64Dtype)))
if name in decimals
and (
col.dtype.kind in "fiu"
or isinstance(
col.dtype, (cudf.Decimal32Dtype, cudf.Decimal64Dtype)
)
)
else col.copy(deep=True)
for name, col in self._column_labels_and_values
)
Expand Down

0 comments on commit 3f1bade

Please sign in to comment.