Existing Dataframe :
Unique_Id Date
A 11-01-2022 10:20:30.500
A 11-01-2022 13:10:10:258
A 11-01-2022 17:30:22.223
A 11-01-2022 23:20:38.222
B 02-02-2022 08:25:30.000
B 04-02-2022 11:35:40.928
Expected Dataframe :
Unique_Id Date Time_Group
A 11-01-2022 10:20:30.500 9AM - 12AM
A 11-01-2022 13:10:10:258 12PM - 3PM
A 11-01-2022 17:30:22.223 5PM - 8PM
A 11-01-2022 23:20:38.222 9PM - 12PM
B 02-02-2022 08:25:30.000 6AM - 9AM
B 04-02-2022 11:35:40.928 9AM - 12AM
Trying to Bin the time into the Time-Group
approached it using pd.cut(df.Date.dt.hour) , but stuck with binning part