We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 211d8ad commit 5c54db8Copy full SHA for 5c54db8
pandas/_libs/tslibs/nattype.pyx
@@ -471,10 +471,6 @@ class NaTType(_NaT):
471
"""
472
Round the Timestamp to the specified resolution
473
474
- Returns
475
- -------
476
- a new Timestamp rounded to the given resolution of `freq`
477
-
478
Parameters
479
----------
480
freq : a freq string indicating the rounding resolution
@@ -497,6 +493,10 @@ class NaTType(_NaT):
497
493
498
494
.. versionadded:: 0.24.0
499
495
496
+ Returns
+ -------
+ a new Timestamp rounded to the given resolution of `freq`
+
500
Raises
501
------
502
ValueError if the freq cannot be converted
0 commit comments