Skip to content

Commit 7d74465

Browse files
committed
doc-change4
1 parent 7bd594c commit 7d74465

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/series.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2462,7 +2462,7 @@ def idxmax(self, axis: Axis = 0, skipna: bool = True, *args, **kwargs) -> Hashab
24622462

24632463
def round(self, decimals: int = 0, *args, **kwargs) -> Series:
24642464
"""
2465-
Round each value in a Series to the given number of decimals.
2465+
Round each numerical value in a Series to the given number of decimals.
24662466
24672467
Parameters
24682468
----------
@@ -2482,6 +2482,7 @@ def round(self, decimals: int = 0, *args, **kwargs) -> Series:
24822482
--------
24832483
numpy.around : Round values of an np.array.
24842484
DataFrame.round : Round values of a DataFrame.
2485+
Series.dt.round : Round datetime-like values of a Series.
24852486
24862487
Notes
24872488
-----

0 commit comments

Comments
 (0)