Data Ranking: Python Pandas and SQL Equivalents [Part 2] @stratascratch
Data Ranking: Python Pandas and SQL Equivalents [Part 2]  @stratascratch
Uploaded May 2023 | Updated September 2026, 1 hour ago
In this video, we dive deeper into ranking methods and functions in Python using data frames. We discuss additional parameters that can help refine the ranking function, making it more flexible and adaptable to different data sets. We also explore the SQL equivalence of ranking methods, which will be helpful for those familiar with SQL.

πŸ‘‰ Watch our previous tutorial:
How to Rank() Your Data In Python Pandas [Part 1]: youtu.be/2uu0prXMhfU

πŸ§‘β€πŸ’» Go to the questions through the links below and follow along with us:
πŸ“Œ Question 1: platform.stratascratch.com/coding/9611-find-the-80th-percentile-of-hours-studied?code_type=2&utm_source=youtube&utm_medium=click&utm_campaign=YT+python+sql+ranking
πŸ“Œ Question 2: platform.stratascratch.com/coding/10160-rank-guests-based-on-their-ages?code_type=2&utm_source=youtube&utm_medium=click&utm_campaign=YT+python+sql+ranking
πŸ“Œ Question 3: platform.stratascratch.com/coding/10161-ranking-hosts-by-beds?code_type=2&utm_source=youtube&utm_medium=click&utm_campaign=YT+python+sql+ranking
πŸ“Œ Question 4: platform.stratascratch.com/coding/10351-activity-rank?code_type=2&utm_source=youtube&utm_medium=click&utm_campaign=YT+python+sql+ranking

______________________________________________________________________

πŸ‘‰ 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
πŸ‘‰ Playlist for data science projects: bit.ly/StrataScratchProjectsYouTube
πŸ‘‰ Practice more real data science interview questions: platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+python+sql+ranking

______________________________________________________________________

Timeline:

Intro: (0:00​​​)
Percentage Ranking in Python: (0:43)
Ranking in SQL: (4:10)
Conclusion: (​7:26)

______________________________________________________________________

About The Platform:

I'm using StrataScratch (platform.stratascratch.com/coding?utm_source=youtube&utm_medium=click&utm_campaign=YT+python+sql+ranking), 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+python+sql+ranking. 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

_______________________________________________________________________
#pandaspythontutorial #pythondatascience #sqlrank
Data Ranking: Python Pandas and SQL Equivalents [Part 2]The #1 Way to Bore an Interviewer to DeathImpress Recruiters With These Data Science ProjectsHiring Biases EXPOSED in Data Science RolesDoorDash Data Science SQL Interview Question WalkthroughSQL Self Joins Explained | Why Most Developers Get This Wrong3 Popular Machine Learning Algorithms In 5 Min8 worst data scientists to work withSQL Coding Interview Question Using A Window Function (PARTITION BY) | Data Science InterviewsGod-Tier Data Science Frameworks… or Total Flops? #coding #frameworks #technologyHow the YouTube Algorithm REALLY Works 2026How to Build a DoorDash Prediction Model with Python
StrataScratch |

Data Ranking: Python Pandas and SQL Equivalents [Part 2]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER