@palash82 wrote:
I cannot understand how the div( ) is working here. Does it divides the column(because axis=0) by column sum?
Gender.div(Gender.sum(1).astype(float), axis=0).plot(kind="bar", stacked=True, figsize=(4,4))
Posts: 1
Participants: 1
@palash82 wrote:
I cannot understand how the div( ) is working here. Does it divides the column(because axis=0) by column sum?
Gender.div(Gender.sum(1).astype(float), axis=0).plot(kind="bar", stacked=True, figsize=(4,4))
Posts: 1
Participants: 1