Temporal#
The following methods are available under the Series.dt attribute.
Base offset from UTC.  | 
|
  | 
Cast the underlying data to another time unit.  | 
  | 
Replace time zone for a Series of type Datetime.  | 
  | 
Create a naive Datetime from an existing Date/Datetime expression and a Time.  | 
Extract (local) date.  | 
|
Extract (local) datetime.  | 
|
Extract the day from the underlying date representation.  | 
|
Extract the total days from a Duration type.  | 
|
Additional offset currently in effect (typically due to daylight saving time).  | 
|
  | 
Get the time passed since the Unix EPOCH in the give time unit.  | 
Extract the hour from the underlying DateTime representation.  | 
|
Extract the total hours from a Duration type.  | 
|
Determine whether the year of the underlying date representation is a leap year.  | 
|
Extract ISO year from underlying Date representation.  | 
|
Return maximum as Python datetime.  | 
|
Return mean as python DateTime.  | 
|
Return median as python DateTime.  | 
|
Extract the microseconds from the underlying DateTime representation.  | 
|
Extract the total microseconds from a Duration type.  | 
|
Extract the milliseconds from the underlying DateTime representation.  | 
|
Extract the total milliseconds from a Duration type.  | 
|
Return minimum as Python datetime.  | 
|
Extract the minutes from the underlying DateTime representation.  | 
|
Extract the total minutes from a Duration type.  | 
|
Extract the month from the underlying date representation.  | 
|
Roll backward to the first day of the month.  | 
|
Roll forward to the last day of the month.  | 
|
Extract the nanoseconds from the underlying DateTime representation.  | 
|
Extract the total nanoseconds from a Duration type.  | 
|
Offset this date by a relative time offset.  | 
|
Extract ordinal day from underlying date representation.  | 
|
Extract quarter from underlying Date representation.  | 
|
  | 
Divide the date/ datetime range into buckets.  | 
  | 
Extract seconds from underlying DateTime representation.  | 
Extract the total seconds from a Duration type.  | 
|
  | 
Convert a Date/Time/Datetime column into a Utf8 column with the given format.  | 
Extract (local) time.  | 
|
  | 
Return a timestamp in the given time unit.  | 
  | 
Convert a Date/Time/Datetime column into a Utf8 column with the given format.  | 
Extract the total days from a Duration type.  | 
|
Extract the total hours from a Duration type.  | 
|
Extract the total microseconds from a Duration type.  | 
|
Extract the total milliseconds from a Duration type.  | 
|
Extract the total minutes from a Duration type.  | 
|
Extract the total nanoseconds from a Duration type.  | 
|
Extract the total seconds from a Duration type.  | 
|
  | 
Divide the date/ datetime range into buckets.  | 
Extract the week from the underlying date representation.  | 
|
Extract the week day from the underlying date representation.  | 
|
  | 
Set time unit a Series of dtype Datetime or Duration.  | 
  | 
Convert to given time zone for a Series of type Datetime.  | 
Extract the year from the underlying date representation.  |