pandas.Series.dt.minute#
- Series.dt.minute[source]#
The minutes of the datetime.
See also
DatetimeIndex.hourThe hours of the datetime.
DatetimeIndex.secondThe seconds of the datetime.
Examples
>>>datetime_series=pd.Series(...pd.date_range("2000-01-01",periods=3,freq="min")...)>>>datetime_series0 2000-01-01 00:00:001 2000-01-01 00:01:002 2000-01-01 00:02:00dtype: datetime64[us]>>>datetime_series.dt.minute0 01 12 2dtype: int32
On this page