I need to extract listening sessions from the ratings dataset which has the columns cols = [userId movieId rating timestamp] timestamp is just a number for eg 1112486027 listening sessions are extracted by concatenating the songs played by a user continuously without more than 800s interruption. my question could anyone explain me how to extract sessions by users depending on timestamp using just pandas library Thanks!

I'm a newbie in recommender systems and I am trying to solve this problem.

I did not find anywhere how to use timestamp for that if anyone knows about that please at least sent me a link for that


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.