python奥运会_用python分析kaggle_奥运会数据的案例

以下文章是对1896~2016年间奥运会运动员以及各国获奖情况的数据分析。(数据来自kaggle网站)

数据准备:

(1)导入包以及读取数据:

Age,Height,Weight,Medal存在缺失值

out:

RangeIndex: 271116 entries, 0 to 271115

Data columns (total 15 columns):

ID 271116 non-null int64

Name 271116 non-null object

Sex 271116 non-null object

Age 261642 non-null float64

Height 210945 non-null float64

Weight 208241 non-null float64

Team 271116 non-null object

NOC 271116 non-null object

Games 271116 non-null object

Year 271116 non-null int64

Season 271116 non-null object

City 271116 non-null object

Sport 271116 non-null object

Event 271116 non-null object

Medal 39783 non-null object

dtypes: float64(3), int64(2), object(10)

memory usage: 31.0+ MB

你可能感兴趣的:(python奥运会)