Python Pandas Tutorial: Data Analysis & Visualization With Pivot Table in Pandas#14

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024

ความคิดเห็น • 44

  • @bossmommyjaleesa7764
    @bossmommyjaleesa7764 6 วันที่ผ่านมา

    Amazing break down and no gate keeping finally, as well straight to the point. Thank You!

  • @dss1871
    @dss1871 3 ปีที่แล้ว +2

    Amazing 👍👍

  • @vitorribeirosa
    @vitorribeirosa 2 ปีที่แล้ว +3

    Thank you very much for sharing this content!!!
    Cheers :)

  • @mosama22
    @mosama22 10 หลายเดือนก่อน +1

    Thank you thank you thank you 😊😊😊😊

  • @aleksandarpetrovic2632
    @aleksandarpetrovic2632 2 ปีที่แล้ว +1

    Amazing tutorial

  • @franciscodiaz8857
    @franciscodiaz8857 3 ปีที่แล้ว +1

    Thanks, excellent explanation

  • @automatewithamit
    @automatewithamit 5 หลายเดือนก่อน

    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 ??

    • @ProgrammingIsFunn
      @ProgrammingIsFunn  5 หลายเดือนก่อน

      You can watch video if possible:
      Excel Pivot Table and Aggregations using OpenPxl and Pandas-Part-5
      th-cam.com/video/CYQphiY1tCk/w-d-xo.html
      Or in order to achieve the same feature just like ms excel then we can use xlwings

  • @TheNinesku
    @TheNinesku ปีที่แล้ว

    Спасибо, Абхишек!
    🌞🌞🌞

  • @prathyusharobbi947
    @prathyusharobbi947 2 ปีที่แล้ว +1

    Can we create a pivot table in excel itself without using pandas using python?

    • @ProgrammingIsFunn
      @ProgrammingIsFunn  2 ปีที่แล้ว

      Yes we can using python library xlwings or win32.

    • @prathyusharobbi947
      @prathyusharobbi947 2 ปีที่แล้ว

      @@ProgrammingIsFunn Is there any reference for the same?

  • @kukki619
    @kukki619 ปีที่แล้ว

    Thanks for very informative video

  • @akileshreddy2150
    @akileshreddy2150 2 ปีที่แล้ว +1

    How can you add multiple filter? Like in the video we gave region as east and I want to give one more filter like date as 11/08/2016. Basically I wanted to know how do we give multiple filter?

    • @ProgrammingIsFunn
      @ProgrammingIsFunn  2 ปีที่แล้ว +1

      Hi Akilesh, Thanks for your comment. We can add as many filter as you want on a single DataFrame. I am sharing a one video where you can learn many different ways to apply the filter on multiple columns with multiple conditions.
      th-cam.com/video/j4T6OwimfFY/w-d-xo.html
      In case do you have any question on it please post your comment.

    • @akileshreddy2150
      @akileshreddy2150 2 ปีที่แล้ว

      @@ProgrammingIsFunn Thank you so much!!

  • @Al-Ahdal
    @Al-Ahdal ปีที่แล้ว

    How to format numbers i.e. values in the pivot table? and rounding options.
    How to sort months by month number in plotting graph, as in the video they aren't in the correct order?
    How to show the values in millions, thousands in pivot table?

  • @saurabhkunal3624
    @saurabhkunal3624 ปีที่แล้ว

    how to put month in correct order . I see its alphabetical order of months i need to show correct order of months

  • @MrFishingo
    @MrFishingo 2 ปีที่แล้ว +1

    great video! one question... when I sort_values, my "ALL" row gets in the middle of the table as there are values greater and lower than the total (all).... how can I sort values but the code needs to understand that "ALL" is the total and should go in the bottom of the df. THANKS!!!!

    • @ProgrammingIsFunn
      @ProgrammingIsFunn  2 ปีที่แล้ว

      Thanks Ricardo.
      See, by default ALL row will be at bottom of the DF. For your case, might your data in object/string format that why you are getting ALL row in mid or wrong place.
      Try to run your code on the same data which I have used in the video.

  • @tawandamukarati4051
    @tawandamukarati4051 ปีที่แล้ว

    Thank you for the video. Is it possible to plot the same data using Plotly?

    • @ProgrammingIsFunn
      @ProgrammingIsFunn  ปีที่แล้ว

      Yes we can, plotly is one of the power full package for interactive data visualisation.
      And sharing a video where I have used plotly throughly.
      th-cam.com/video/7yAw1nPareM/w-d-xo.html

  • @zhuzhujin9481
    @zhuzhujin9481 2 ปีที่แล้ว

    this video is amazing

  • @cheonglily3992
    @cheonglily3992 ปีที่แล้ว

    i like to know can we store the pivot table and the data into spreadsheet and keep.

  • @ranjithraghunathan1267
    @ranjithraghunathan1267 2 ปีที่แล้ว

    Super

  • @igorrettally9577
    @igorrettally9577 2 ปีที่แล้ว

    Excellent video, very detailed and clear, I just have one question, how can I order the months in the chart in chronological order instead of alphabetical?

    • @ProgrammingIsFunn
      @ProgrammingIsFunn  2 ปีที่แล้ว +1

      Using matplotlib we can plot the chart in month's order. But in pivot table by default index will be sort in ascending or alphabetical order.

  • @pramishprakash
    @pramishprakash ปีที่แล้ว

    Thanks alot sir

  • @praveenkumar-ub4ni
    @praveenkumar-ub4ni ปีที่แล้ว

    How do I do the show details (the option which gives details of that value in a new spreadsheet) in python?

  • @vimalchawla6740
    @vimalchawla6740 ปีที่แล้ว

    How can I get an index of all your Videos on Pandas, like 1, 2, 3, 4, etc.

    • @ProgrammingIsFunn
      @ProgrammingIsFunn  ปีที่แล้ว

      Python Pandas - Data Science and Automation
      th-cam.com/play/PLWuFHho1zKhUJpe9WfSyvrrQrzqDErbmv.html

  • @shivamgaur2246
    @shivamgaur2246 2 ปีที่แล้ว

    How to show count of na data using panda pivot just like excel pivot

  • @Al-Ahdal
    @Al-Ahdal ปีที่แล้ว

    Hi, how to format numbers i.e. values in the pivot table?

  • @K-mk6pc
    @K-mk6pc ปีที่แล้ว

    Hi i am doing the same for the data frame having 26L rows and 115 variables. It is taking huge time to compute. Any ideas ?

  • @arpeshmistry6550
    @arpeshmistry6550 ปีที่แล้ว

    Hello bro !! Can we create the links in the pivot table in pandas while exporting the data to the excel sheet

  • @shashi_kamal_chakraborty
    @shashi_kamal_chakraborty 2 ปีที่แล้ว

    Hello Sir, I tried to use the data set, by the github link you have provided. But, I think there's something wrong with it. When I tried to read it, the raw link, I got this error... "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 42492: invalid start byte". Please, help me with your kind suggestions about how to get rid of this.

  • @BlueSkyGoldSun
    @BlueSkyGoldSun 2 ปีที่แล้ว

    What is the name of the dataset in kaggle ?
    Or is it created by you personally?

  • @Tommy7417
    @Tommy7417 11 หลายเดือนก่อน +1

    Guys Guys Guys Guys Guys GuysGuys Guys, need more and more GuysGuysGuysGuysGuysGuysGuysGuysGuysGuysGuys

  • @JssRider
    @JssRider 2 ปีที่แล้ว

    Thank you for the video. New learner and new subscriber for you.
    In minute 3.20 -> th-cam.com/video/ofEmmJDKEX0/w-d-xo.html
    How would you do to see "Consumer" in all rows and not only in the first one? Like excel "Repeat all labels"
    Thank you in advanced.

    • @ProgrammingIsFunn
      @ProgrammingIsFunn  2 ปีที่แล้ว

      Hi, Thanks for your comment.
      You can reset the index of Pivot table, for you information Pivot Table is also just like a DataFrame. So you can reset the index for repeating the 'Consumer', follow the below line.
      pd.pivot_table(sample, index = ['Segment','State']).reset_index()

    • @JssRider
      @JssRider 2 ปีที่แล้ว

      @@ProgrammingIsFunn Thank you for responding. I'm afraid I've failed to do it, this is my code for the pivot table in case you can help. Anyway it's no big deal, I can do it after exporting the file in excel.
      pivot=pd.pivot_table(df,index=["COMPTE","DEVISE D'ORIGINE"],columns= "TYPE EVENEMENT",values='FINAL MONTANT',aggfunc= ["sum"],margins=True,margins_name="Total")
      pivot.fillna(0,inplace=True)
      Thank you again, I'll keep watching your videos, I need to learn a lot haha.