Glossary: pandas Beyond the Basics
unstack
Also written: .unstack()
Moves the innermost index level (or a named one) into the columns, turning a long Series wide. `fill_value=0` fills missing combinations.
Glossary: pandas Beyond the Basics
Also written: .unstack()
Moves the innermost index level (or a named one) into the columns, turning a long Series wide. `fill_value=0` fills missing combinations.