pandas.Series.dt.hour

Series.dt.hour

The hours of the datetime