Skip to content

Commit f1358ec

Browse files
authored
1 parent 94df875 commit f1358ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas-stubs/_libs/tslibs/timestamps.pyi

+3
Original file line numberDiff line numberDiff line change
@@ -301,3 +301,6 @@ class Timestamp(datetime):
301301
def days_in_month(self) -> int: ...
302302
@property
303303
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

Comments
 (0)