text_plain_output_1.png
cal.dtypes

time = cal['timeStamp'].iloc[0]
time.dayofweek

cal['hour'] = cal['timeStamp'].apply(lambda time: time.hour)
cal['month'] = cal['timeStamp'].apply(lambda time: time.month)
cal['Day of Week'] = cal['timeStamp'].apply(lambda time: time.dayofweek)
cal['month']
cal['hour']
cal['Day of Week']