bigframes.pandas.api.typing.DatetimeMethods#
- classbigframes.pandas.api.typing.DatetimeMethods(data:Series)[source]#
Accessor object for datetime-like properties of the Series values.
Attributes
Returns a Series with the date part of Timestamps without time and timezone information.
The day of the datetime.
The day of the week with Monday=0, Sunday=6.
The ordinal day of the year.
The day of the week with Monday=0, Sunday=6.
The ordinal day of the year.
The numebr of days for each element
The hours of the datetime.
Number of microseconds (>= 0 and less than 1 second) for each element.
The minutes of the datetime.
The month as January=1, December=12.
The quarter of the date.
The seconds of the datetime.
Number of seconds (>= 0 and less than 1 day) for each element.
Returns a Series with the time part of the Timestamps.
Return the timezone.
Returns the unit of time precision.
The day of the week with Monday=0, Sunday=6.
The year of the datetime.
Methods
__init__(data)day_name()Return the day names in english.
floor(freq)Perform floor operation on the data to the specified freq.
Calculate year, week, and day according to the ISO 8601 standard.
Convert times to midnight.
strftime(date_format)Convert to string Series using specified date_format.
Return total duration of each element expressed in seconds.