Name Sex Age Ticket_No Fare
0 Braund male 22 HN07681 2500
1 NaN female 42 HN05681 6895
2 peter male NaN KKSN55 800
3 NaN male 56 HN07681 2500
4 Daisy female 22 hf55s44 NaN
5 Manson NaN 48 HN07681 8564
6 Piston male NaN HN07681 5622
7 Racline female 42 Nh55146 NaN
8 Nan male 22 HN07681 4875
9 NaN NaN NaN NaN NaN
列名称缺少平均值模式 0名称3 NaN NaN 1性别1楠楠楠 2岁2 36 42 22 3票2 4536 4875 2500
Mean/Median/Mode is only for numerical datatype, otherwise should be null.
试试这个:
输出:
相关问题 更多 >
编程相关推荐