I'm trying to create time slot starting from time column in my df which have the following structure:
artist_name;ms_played;track_name;...date;time;week_day
Taylor Swift;35260;Wildest Dreams;...;2021-01-25;07:55;0
Edward Sharpe & The Magnetic Zeros;...2021-01-25;15:34;0
.....
for example, all time between 6am and 8am I want it to fall within the time slot 6-8 and so on for the others. So far I have unfortunately not been able to write anything, so any suggestions will be welcome. Thanks for the replies.