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
作業家庭應該到一個新的水平,而不是在同一級別。 請提供解決方案。
謝謝。