pandas练习(二)------ 数据过滤与排序 - 半夜打老虎 - 博客园

adminadmin 05-02 25 阅读 0 评论

pandas练习(二)------ 数据过滤与排序 - 半夜打老虎 - 博客园

  相关数据见(github)

  输出:

  输出:

  输出:

  16

  输出:

   RangeIndex: 16 entries, 0 to 15 Data columns (total 35 columns): Team 16 non-null object Goals 16 non-null int64 Shots on target 16 non-null int64 Shots off target 16 non-null int64 Shooting Accuracy 16 non-null object % Goals-to-shots 16 non-null object Total shots (inc. Blocked) 16 non-null int64 Hit Woodwork 16 non-null int64 Penalty goals 16 non-null int64 Penalties not scored 16 non-null int64 Headed goals 16 non-null int64 Passes 16 non-null int64 Passes completed 16 non-null int64 Passing Accuracy 16 non-null object Touches 16 non-null int64 Crosses 16 non-null int64 Dribbles 16 non-null int64 Corners Taken 16 non-null int64 Tackles 16 non-null int64 Clearances 16 non-null int64 Interceptions 16 non-null int64 Clearances off line 15 non-null float64 Clean Sheets 16 non-null int64 Blocks 16 non-null int64 Goals conceded 16 non-null int64 Saves made 16 non-null int64 Saves-to-shots ratio 16 non-null object Fouls Won 16 non-null int64 Fouls Conceded 16 non-null int64 Offsides 16 non-null int64 Yellow Cards 16 non-null int64 Red Cards 16 non-null int64 Subs on 16 non-null int64 Subs off 16 non-null int64 Players Used 16 non-null int64 dtypes: float64(1), int64(29), object(5) memory usage: 4.5+ KB

  输出:

  输出:

  输出:

  7.0

  输出:

  输出:

  输出:

  输出:

  输出:

  1、http://pandas.pydata.org/pandas-docs/stable/cookbook.html#cookbook

  2、https://www.analyticsvidhya.com/blog/2016/01/12-pandas-techniques-python-data-manipulation/

  3、https://github.com/guipsamora/pandas_exercises

The End 微信扫一扫

文章声明:以上内容(如有图片或视频在内)除非注明,否则均为欧洲杯直播-欧洲杯直播比赛在线观看2024_欧洲杯赛程查询原创文章,转载或复制请以超链接形式并注明出处。

本文作者:admin本文链接:https://www.yacai158.com/post/4419.html

上一篇 下一篇

相关阅读

发表评论

访客 访客
快捷回复: 表情:
评论列表 (暂无评论,25人围观)

还没有评论,来说两句吧...

取消
微信二维码
微信二维码
支付宝二维码