我原来的 DataFrame 看起来像这样:StudentId DepartmentName 1 Arts 86.677535 Science 79.5575082 Arts 79.542738 Science 78.8671153 English 83.972245... ... ...277 Science 81.298837278 Science 72.578017 Sport 76.749775280 Arts 77.237998 Science 75.696576我想将其转换为:StudentId Arts Science English Sport1 86.677535 79.557508 NaN Nan2 79.542738 78.867115 NaN Nan3 Nan Nan 83.972245 Nan... ... ...
添加回答
举报
0/150
提交
取消