osmn00 / demo-python-data

demo-python-data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python 运动员数据分析

简介

这是一个简单 Python 数据分析 Demo,我们准备了一些基础的奥林匹克运动员的个人公开信息数据,在olympic.xlsx中,其中数据表表头有以下字段:

event name age birthplace attend2016 attend2012 attend2008 attendtimes gold silver bronze medal xz gender birthday height weight arm leg

我们使用 PandasNumpy 等库来分析这些数据,然后使用 Matplotlib 来生成图片。

快速启动

安装依赖

pip install -r requirements.txt

启动调试 打开要调试编写的文件,比如 body.py,点击左侧Run & Debug按钮 image

等待执行完毕,在文件目录树种会生成对应文件名的png图片,打开即可查看效果 image

For English Version

Intro

This is a simple Python data analysis Demo, we have prepared some basic public information data of Olympic athletes, in olympic.xlsx, the data table header includes the following fields:

event name age birthplace attend2016 attend2012 attend2008 attendtimes gold silver bronze medal xz gender birthday height weight arm leg

We use libraries such as Pandas and Numpy to analyze these data, and then use Matplotlib to generate images.

Quick Start

Install dependencies

pip install -r requirements.txt

Start debugging

Open the file you want to debug, such as body.py, and click the Run & Debug button on the left. image

Wait for the execution to complete, a png image with the corresponding filename will be generated in the file directory tree, you can open it to check the effect. image

About

demo-python-data


Languages

Language:Python 100.0%