0
我得到了处理柱水平放像:Python的数据帧
Job Family Mean Total Benefits Mean Total Compensation Percent_Total_Benefits
29 Public Service Aide 13650.231154 38340.873187 35.602
33 Park & Zoo 24215.619429 72228.710857 33.526
43 Museum & Cultural Affairs 26548.462000 79514.714000 33.388
但我期待柱而出应该来像:
Mean Total Benefits Mean Total Compensation Percent_Total_Benefits
Job Family
Public Service Aide 13650.231154 38340.873187 35.602
Park & Zoo 24215.619429 72228.710857 33.526
Museum & Cultural Affairs 26548.462000 79514.714000 33.388
作业家庭应该到一个新的水平,而不是在同一级别。 请提供解决方案。
谢谢。