how to take out date hour and minutes from pandas datetim serioes code example Example: taking hour information from time in pandas sales['datehour'] = sales['date'].dt.hour