Hi everyone! In this video, I'll explain the difference between the methods loc and iloc in Pandas. We'll compare them and see some examples with code.
⭐️ Get access to thousands of Python tutorials, data science guides and more on Medium for $5/month using this link: https://frank-andrade.medium.com/membership
???? If you'd like to read a Medium guide, check this guide I made before publishing this YouTube video ???? https://towardsdatascience.com/loc-vs-iloc-in-pandas-heres-the-difference-16cd4bcbecab
???????????? Code/Dataset used in this video: https://github.com/ifrankandrade/python-course-for-excel-users.git
???? Download the Python Cheat Sheet I use in all my videos (Free PDF): https://frankandrade.ck.page/bd063ff2d3
???? Join My Python for Data Science Bootcamp: https://www.udemy.com/course/python-for-data-science-bootcamp-2022-from-zero-to-hero/?referralCode=649B94757CB7A3A4756F
???? 8-hour Web Scraping Course in Python: https://www.udemy.com/course/web-scraping-course-in-python-bs4-selenium-and-scrapy/?referralCode=291C4D7FF6F683531933
✅ Follow me on Medium: https://frank-andrade.medium.com/
--------------------
Content:
0:00 loc vs iloc
6:06 loc - examples with code
12:28 iloc - examples with code