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.hour

The hours of the datetime.

DatetimeIndex.second

The seconds of the datetime.

Examples

>>> idx = pd.date_range("2000-01-01", periods=3, freq="min")
>>> idx.minute
Index([0, 1, 2], dtype='int32')