Dealing With Python Date Manipulations In a Meta/Facebook Data Science Interview Question @stratascratch
Dealing With Python Date Manipulations In a Meta/Facebook Data Science Interview Question  @stratascratch
Uploaded March 2022 | Updated September 2026, 2 days ago
This is a really interesting Python question that is frequently asked at Meta/Facebook data science interviews. The title of this interview question is "Users By Average Session Time" and we are being asked to calculate each user's average session time. This is a medium level question because while it’s rather straightforward to get durations of individual sessions from the events, it is harder to identify valid sessions and take an average from time differences.


Link to the questions:
platform.stratascratch.com/coding/10352-users-by-avg-session-time?python=1&utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link

______________________________________________________________________

πŸ‘‰ Subscribe to my channel: bit.ly/2GsFxmA
πŸ‘‰ Playlist for more data science interview questions and answers: bit.ly/3jifw81
πŸ‘‰ Playlist for data science interview tips: bit.ly/2G5hNoJ
πŸ‘‰ Practice more real data science interview questions: platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link

______________________________________________________________________

Timeline:

Intro: (0:00​​​)
Interview Question: (0:26)
Framework to solve the problem: (1:11)
Understand your data: (1:33)
Formulate the approach: (2:43)
Code execution: (6:09)
Conclusion: (22:17​​)
______________________________________________________________________

About The Platform:

I'm using StrataScratch (platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link), a platform that allows you to practice real data science interview questions. There are over 1000+ interview questions that cover coding (SQL and python), statistics, probability, product sense, and business cases.

So, if you want more interview practice with real data science interview questions, visit platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+description+link. All questions are free and you can even execute SQL and python code in the IDE, but if you want to check out the solutions from me or from other users, you can use ss15 for a 15% discount on the premium plans.

______________________________________________________________________

Contact:

If you have any questions, comments, or feedback, please leave them here!
Feel free to also email me at nathan@stratascratch.com
______________________________________________________________________
Dealing With Python Date Manipulations In a Meta/Facebook Data Science Interview QuestionAI Proof Your Data Science Career With These 4 Skills5 Ways to Impress as a Data ScientistWhen A/B Tests Lie: Simpsons Paradox ExplainedMastering Movie Classification: Rotten Tomatoes Data Project [Part 2]Text Analysis Made Easy: Tokenization for ML AlgorithmsTop Data Science Interview Questions in 2021 [3 concepts tested on all interviews]Mastering SQL String Manipulation with Regex_split_to_table() functionCollinearity and Removing Redundancies [DoorDash Data Science Project]6 Stages of Data Science ProjectAre Math Degrees Still Relevant?(Part 1) Meta SQL Interview Question: Identify the Popular Posts
StrataScratch |

Dealing With Python Date Manipulations In a Meta/Facebook Data Science Interview Question

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER