We’re going to be working with the RU-vid API to collect video statistics from my channel using the requests python library to make an API call and save it as a pandas dataframe. Working with APIs is a necessary skillset for all data scientists and should be incorporated into your data science projects. I talk about the one data science project you’ll ever need in this video bit.ly/3rEt6WG so we’ll start with the first step and learn how to work with APIs in python to collect our data.
The python notebook and links to resources are located in this Github repo: github.com/Str...
Link to the video referred to in the Intro: • The One and Only Data ...
______________________________________________________________________
👉 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.strat...
______________________________________________________________________
Timeline:
Intro: (0:00)
Coding on Google Colab: (2:00)
Testing with the Requests Library: (4:16)
Working with the RU-vid API: (6:32)
Response from Making API Call: (11:00)
Data is in the 'items' Key: (12:22)
Parsing through the Data: (12:57)
Creating the Loop: (16:17)
Making a Second API Call: (18:30)
Saving to a Pandas DataFrame: (20:31)
Implementing Good Software Engineering Fundamentals: (22:40)
Conclusion: (27:03)
______________________________________________________________________
If you want data science interview practice with real data science interview questions, visit platform.strat.... 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
______________________________________________________________________
#PythonAPI
17 авг 2024