Home ยป pandas

pandas

pivot-vs-pivot_table-pandas

Pandas’ pivot_table vs. pivot

  • by

When you’re an R poweruser, pivoting tables in pandas feels unnecessarily complex. Why are there two pivot functions? Why does it return an index when you wanted a column? Why does it generate multi index columns? Those are the questions I tackle in this blog post. To answer some questions… Read More »Pandas’ pivot_table vs. pivot