pandas.DatetimeIndex.minute#
- property DatetimeIndex.minute[source]#
The minutes of the datetime.
This attribute returns the minute component of each datetime value in the DatetimeIndex.
See also
DatetimeIndex.hourThe hours of the datetime.
DatetimeIndex.secondThe seconds of the datetime.
Examples
>>> idx = pd.date_range("2000-01-01", periods=3, freq="min") >>> idx.minute Index([0, 1, 2], dtype='int32')