We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94df875 commit f1358ecCopy full SHA for f1358ec
pandas-stubs/_libs/tslibs/timestamps.pyi
@@ -301,3 +301,6 @@ class Timestamp(datetime):
301
def days_in_month(self) -> int: ...
302
@property
303
def daysinmonth(self) -> int: ...
304
+ @property
305
+ def unit(self) -> str: ...
306
+ def as_unit(self, unit: str, round_ok: bool = ...) -> Timestamp: ...
0 commit comments