@@ -1345,10 +1345,7 @@ class Timestamp(_Timestamp):
13451345 @classmethod
13461346 def fromordinal (cls , ordinal , freq = None , tz = None ):
13471347 """
1348- Timestamp.fromordinal(ordinal, freq=None, tz=None)
1349-
1350- Passed an ordinal, translate and convert to a ts.
1351- Note: by definition there cannot be any tz info on the ordinal itself.
1348+ Construct a timestamp from a a proleptic Gregorian ordinal.
13521349
13531350 Parameters
13541351 ----------
@@ -1359,6 +1356,10 @@ class Timestamp(_Timestamp):
13591356 tz : str, pytz.timezone, dateutil.tz.tzfile or None
13601357 Time zone for the Timestamp.
13611358
1359+ Notes
1360+ -----
1361+ By definition there cannot be any tz info on the ordinal itself.
1362+
13621363 Examples
13631364 --------
13641365 >>> pd.Timestamp.fromordinal(737425)
@@ -1370,10 +1371,7 @@ class Timestamp(_Timestamp):
13701371 @classmethod
13711372 def now (cls , tz = None ):
13721373 """
1373- Timestamp.now(tz=None)
1374-
1375- Return new Timestamp object representing current time local to
1376- tz.
1374+ Return new Timestamp object representing current time local to tz.
13771375
13781376 Parameters
13791377 ----------
@@ -1397,10 +1395,9 @@ class Timestamp(_Timestamp):
13971395 @classmethod
13981396 def today (cls , tz = None ):
13991397 """
1400- Timestamp.today(cls, tz=None)
1398+ Return the current time in the local timezone.
14011399
1402- Return the current time in the local timezone. This differs
1403- from datetime.today() in that it can be localized to a
1400+ This differs from datetime.today() in that it can be localized to a
14041401 passed timezone.
14051402
14061403 Parameters
@@ -1477,10 +1474,7 @@ class Timestamp(_Timestamp):
14771474
14781475 def strftime (self , format ):
14791476 """
1480- Timestamp.strftime(format)
1481-
1482- Return a string representing the given POSIX timestamp
1483- controlled by an explicit format string.
1477+ Return a formatted string of the Timestamp.
14841478
14851479 Parameters
14861480 ----------
@@ -2052,7 +2046,9 @@ timedelta}, default 'raise'
20522046
20532047 def tz_localize (self , tz , ambiguous = ' raise' , nonexistent = ' raise' ):
20542048 """
2055- Convert naive Timestamp to local time zone, or remove
2049+ Localize the Timestamp to a timezone.
2050+
2051+ Convert naive Timestamp to local time zone or remove
20562052 timezone from timezone-aware Timestamp.
20572053
20582054 Parameters
@@ -2343,6 +2339,7 @@ default 'raise'
23432339 def to_julian_date (self ) -> np.float64:
23442340 """
23452341 Convert TimeStamp to a Julian Date.
2342+
23462343 0 Julian date is noon January 1, 4713 BC.
23472344
23482345 Examples
@@ -2374,6 +2371,7 @@ default 'raise'
23742371 def isoweekday(self ):
23752372 """
23762373 Return the day of the week represented by the date.
2374+
23772375 Monday == 1 ... Sunday == 7.
23782376 """
23792377 # same as super().isoweekday(), but that breaks because of how
@@ -2383,6 +2381,7 @@ default 'raise'
23832381 def weekday (self ):
23842382 """
23852383 Return the day of the week represented by the date.
2384+
23862385 Monday == 0 ... Sunday == 6.
23872386 """
23882387 # same as super().weekday(), but that breaks because of how
0 commit comments