How to make grouped bar charts in pandas/Python with crosstab and pivot tables and more

Поділитися
Вставка
  • Опубліковано 1 лис 2024

КОМЕНТАРІ • 12

  • @anirudhvenkataramanan4321
    @anirudhvenkataramanan4321 2 роки тому +1

    Thank you Jonathan! The explanation was very clear. Hope your channel goes a long way :)

  • @k_abhishek2056
    @k_abhishek2056 2 роки тому

    Thank you Jonathan .Your explanation was really good . Please upload more videos of pandas.❤🥳👍

  • @mayamathew4669
    @mayamathew4669 2 роки тому

    Thank you. Very informative video.

  • @briansmith3905
    @briansmith3905 3 роки тому

    7:30 ...Is that a car revving in the background? I kept looking out my front window.

  • @noorool10
    @noorool10 2 роки тому

    Hello. Is there any way to adjust the size of the bars?

  • @ruchinashakya1171
    @ruchinashakya1171 2 роки тому

    Can we use the crosstab data to plot the percent stacked bar chart when we have an entry value 0.

    • @jsoma
      @jsoma  2 роки тому

      To have crosstab calcluate the percentage for you, add normalize='index', normalize='columns', or normalize=True. Hope that helps!

  • @sinuhkl
    @sinuhkl 3 роки тому

    Hi, how can you add labels to the crosstab bar chart?

  • @ahmedyacinebouchouareb911
    @ahmedyacinebouchouareb911 Рік тому

    jonathan the saviour

  • @xpathservice2179
    @xpathservice2179 3 роки тому

    what is the name the bird making that noise?

    • @jsoma
      @jsoma  3 роки тому +9

      No idea, I just hope he doesn't file a copyright claim

  • @BlueSkyGoldSun
    @BlueSkyGoldSun 2 роки тому

    Try using plotly for the grouped data, you are going suffer more. I feel sometimes pandas and plotly has no logic, you keep trying until it works by luck!!