0

I currently have the data frame consisting: Business sector, area, sex, and contents (indhold).

This is an overview of the dataframe: [1]: https://i.stack.imgur.com/dhIXg.png

I am trying to get it to look like this

Branche     Men              women
Sector 1    Indhold[M1]      Indhold[W1]
Sector 2    Indhold[M2]      Indhold[W2]
etc.

I have tried to do it with following code:

industry_grouped=inc_apiB.groupby(['BRANCHE0710']).sum()

Hopefully one knows how to change this.

Cheers

Jonas
  • 1

0 Answers0