8383if TYPE_CHECKING :
8484 from typing import Literal
8585
86+ from pandas import DataFrame
8687 from pandas .core .arrays import (
8788 PeriodArray ,
8889 TimedeltaArray ,
@@ -1256,7 +1257,7 @@ def day_name(self, locale=None):
12561257 return result
12571258
12581259 @property
1259- def time (self ):
1260+ def time (self ) -> np . ndarray :
12601261 """
12611262 Returns numpy array of datetime.time. The time part of the Timestamps.
12621263 """
@@ -1268,15 +1269,15 @@ def time(self):
12681269 return ints_to_pydatetime (timestamps , box = "time" )
12691270
12701271 @property
1271- def timetz (self ):
1272+ def timetz (self ) -> np . ndarray :
12721273 """
12731274 Returns numpy array of datetime.time also containing timezone
12741275 information. The time part of the Timestamps.
12751276 """
12761277 return ints_to_pydatetime (self .asi8 , self .tz , box = "time" )
12771278
12781279 @property
1279- def date (self ):
1280+ def date (self ) -> np . ndarray :
12801281 """
12811282 Returns numpy array of python datetime.date objects (namely, the date
12821283 part of Timestamps without timezone information).
@@ -1288,7 +1289,7 @@ def date(self):
12881289
12891290 return ints_to_pydatetime (timestamps , box = "date" )
12901291
1291- def isocalendar (self ):
1292+ def isocalendar (self ) -> DataFrame :
12921293 """
12931294 Returns a DataFrame with the year, week, and day calculated according to
12941295 the ISO 8601 standard.
@@ -1871,7 +1872,7 @@ def weekofyear(self):
18711872 """ ,
18721873 )
18731874
1874- def to_julian_date (self ):
1875+ def to_julian_date (self ) -> np . ndarray :
18751876 """
18761877 Convert Datetime Array to float64 ndarray of Julian Dates.
18771878 0 Julian date is noon January 1, 4713 BC.
0 commit comments