Тёмный

Pivot Table in Pandas Python | Pandas Pivot Table | Summarization using Pivot Table in Pandas Python 

Learnerea
Подписаться 17 тыс.
Просмотров 3,6 тыс.
50% 1

In this video we have tried to explain Pivot Table in the simplest form by running the same thing in excel in parallel and showing you how to achieve the same in pandas, which makes it really simple and clear to understand and keeps it to the point. After watching this you will be very much confident to not only explain or do Pivots in Python Pandas but you can also provide a comparative view with Excel.
In this video, we have covered -
00:00 - Introduction
00:20 - Excel VS Pandas a comparison
02:22 - A look in the data and importing the same in Python
03:33 - Creating a basic Pivot in Excel Vs Pandas
06:28 - Two-Dimensional Pivot in Excel Vs Pandas
07:17 - Fill Empty cells in the Pivot in Excel Vs Pandas
08:03 - Using Multiple Columns in Row or Column Label in the Pivot in Excel Vs Pandas
09:30 - Repeated items in the Pivot using reset_index()
10:28 - Using multiple aggregation function using "aggfunc" parameter
11:37 - Adding Grand Total by rows and columns in Pivot table in Pandas
12:48 - Grouping by Year, Month or Day using Pd.Grouper in the Pivot in Pandas
You might also like to watch -
Pandas Complete Playlist - • Python Pandas Tutorial...
Creating Fake Data - • Creating Dummy Data in...
Pandas All in One - • Python Pandas Complete...
Seaborn All in One - • Seaborn|Visualization ...
Python All in One - • Python for Beginners |...
Data Science Playlist - • Data Science
Download the excel file used in this video -
File Name - loan_sample.xlsx
URL - github.com/LEARNEREA/Excel_Files
Tags -
Pivot Tables,
Pivot Table in Pandas,
Pivot Table Excel VS Pandas
#DateTime #DateTimeInPandas #Python #PthonProgramming #Pandas #Learnerea

Наука

Опубликовано:

 

3 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@triptabhattacharjee7004
@triptabhattacharjee7004 5 месяцев назад
Great video! Thank you!
@learnerea
@learnerea 5 месяцев назад
Glad you liked it!
@Lovely_Pihu
@Lovely_Pihu 23 дня назад
Great video
@user-jg1mq6cb7j
@user-jg1mq6cb7j 11 месяцев назад
Very easy to understand now. Thanks very much.
@learnerea
@learnerea 11 месяцев назад
Glad it helped!
@priyankapralhadraodeulkar6325
@priyankapralhadraodeulkar6325 3 месяца назад
Thank you so much
@learnerea
@learnerea 2 месяца назад
Any time
@rishisolanki554
@rishisolanki554 8 месяцев назад
Such a valueable content 👍
@learnerea
@learnerea 8 месяцев назад
I'm pleased to hear that
@MostafaMohamed-qq2bx
@MostafaMohamed-qq2bx Год назад
Thank you 🙏 it was great and very simple and easy
@learnerea
@learnerea Год назад
Glad it helped
@kailashpatro5768
@kailashpatro5768 Год назад
Thank you ❤️❤️❤️
@learnerea
@learnerea Год назад
Glad you liked it
@lohitkattimani7668
@lohitkattimani7668 11 месяцев назад
Good job
@learnerea
@learnerea 10 месяцев назад
thank you very much
@azamiqbal8792
@azamiqbal8792 Год назад
Super video
@learnerea
@learnerea Год назад
Glad it helped you
@automatewithamit
@automatewithamit 3 месяца назад
Thanks for your Video ! Can you please let me know if we can put those collapse and expand functionality in actually generated pivot table in excel using python ??
@learnerea
@learnerea 2 месяца назад
Unfortunately not, not that I know
@redherring777r
@redherring777r 9 месяцев назад
Very helpful. One question What can we use to sort the output table? For example if i want to sort professions by income in ascending
@learnerea
@learnerea 9 месяцев назад
You may like to checkout this one - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-JNlEp0hX11k.htmlsi=noqbEQumfVX8J2XF
@bevg1
@bevg1 Год назад
Excellent video! question, is there a way we can use the filter cuadrant as in excel?
@learnerea
@learnerea Год назад
if I understood your question correctly then you can try something like below - filtered_df = df[df['X'] > 0 & df['Y'] > 0] else elaborate your question more with example, I'll be able to help you
@bevg1
@bevg1 Год назад
@@learnerea your video covers, columns and rows... is there an example of on how to use the filter section of a pivot table?
@bevg1
@bevg1 Год назад
@@learnerea I will try it...
@praveenk8841
@praveenk8841 11 месяцев назад
Hi bro, it's easy to understand. Where to download the sample loan dataset? Can you share the link to download ?
@learnerea
@learnerea 11 месяцев назад
Hi Praveen, Yes, we have uploaded this on GitHub which you an download using - File Name - loan_sample.xlsx URL - github.com/LEARNEREA/Excel_Files
@praveenk8841
@praveenk8841 11 месяцев назад
@@learnerea thank you for your support
@ravindrareddy5478
@ravindrareddy5478 Год назад
is there any way to merge empty cells in a pivot table using python
@learnerea
@learnerea 11 месяцев назад
Not sure if there is one to achieve exactly what you are looking for, however.. you can try using - reset_index() if that helps e.g. pivotted_df is your dataframe after making the pivot.. you can do - pivotted_df.reset_index()
@user-zi5uw7np9g
@user-zi5uw7np9g 6 месяцев назад
how to find the subtotal??
@learnerea
@learnerea 6 месяцев назад
There isn't a direct method for that, but can be achieved by creating separate pivot for each of the group and concatenating them at the end. We will try to make a video on that. Thanks
Далее
Como fazer PIVOT TABLE em Python
7:36
Просмотров 1,8 тыс.
Is Data Wrangler the Power Query of Python?
9:58
Просмотров 29 тыс.
Automate Excel Pivot Table With Python
24:03
Просмотров 25 тыс.
Pivot tables with Pandas
9:00
Просмотров 36 тыс.
Stack, Unstack, Melt, Pivot - Pandas
10:23
Просмотров 39 тыс.
iPhone перегрелся, что делать?!
1:01