Pandas operation stack() drop Categorical type from Index

前端 未结 0 402
庸人自扰
庸人自扰 2020-12-16 11:48

I have a pandas DataFrame whose rows and columns have a Categorical MultiIndex. However, the stack() operation, which moves indices from columns to rows, strips the Categori

相关标签:
回答
  • 消灭零回复
提交回复
热议问题