In this tutorial, we will replace Excel pivot tables with Python and Pandas using the pivot() and pivot_table() methods. First we'll see the core concepts behind these 2 methods. Then we'll write Python code to read 2 Excel files and make pivot tables.
⭐️ 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
???? Link of datasets: https://drive.google.com/drive/folders/12hFh6RPlX5bWzSqpoMvAeT94RCjCvHw5?usp=sharing
???????????? Code used in this video: https://github.com/ifrankandrade/python-course-for-excel-users
???? Download the Python Cheat Sheet I use in all my videos (Free PDF): https://frankandrade.ck.page/bd063ff2d3
???? 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 Intro
0:44 pivot() vs pivot_table() concepts
5:21 pivot() method with code
11:29 pivot_table() method with code