We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c70f68b commit f35bd1dCopy full SHA for f35bd1d
pandas/core/frame.py
@@ -10390,8 +10390,10 @@ def _series_round(ser: Series, decimals: int) -> Series:
10390
# Argument 2 to "_series_round" has incompatible type
10391
# "Union[int, integer[Any]]"; expected "int"
10392
return self._constructor(
10393
- self._mgr.round(decimals=decimals, # type: ignore[arg-type]
10394
- using_cow=using_copy_on_write()),
+ self._mgr.round(
+ decimals=decimals, # type: ignore[arg-type]
10395
+ using_cow=using_copy_on_write(),
10396
+ ),
10397
).__finalize__(self, method="round")
10398
else:
10399
raise TypeError("decimals must be an integer, a dict-like or a Series")
0 commit comments