上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 31 下一页
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12256178.html DataFrame 常用查看数据的操作 df.head() df.tail() df.index,df.columns,df.values,df.shape df.info() 阅读全文
posted @ 2020-02-03 16:30 李白与酒 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12254786.html NA handling methods isnull, not null The built-in Python None value is also treated as NA 阅读全文
posted @ 2020-02-03 10:33 李白与酒 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12253890.html 数据表合并 有时候需要将多个渠道源的多个数据表进行合并,一个 DataFrame 相当于一个数据库的数据表,那么多个 DataFrame 数据表的合并就相当于多个数据库的表合并。 阅读全文
posted @ 2020-02-02 21:50 李白与酒 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12253679.html 在数据清洗后,就要对数据进行统计。pandas 和 NumPy 一样,都有常用的统计函数,如果遇到空值 NaN,会自动排除。 常用的统计函数包括: 表格中有一个 describe 阅读全文
posted @ 2020-02-02 21:00 李白与酒 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12253468.html pandas.DataFrame.apply apply 函数是 pandas 中自由度非常高的函数,使用频率也非常高。 e.g. 对 name 列的数值都进行大写转化 定义 d 阅读全文
posted @ 2020-02-02 20:10 李白与酒 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12251503.html DataFrame DataFrame代表一个矩阵数据表,并包含一个有序的列集合,每个列可以是不同的值类型(数字,字符串,布尔值等)。 DataFrame同时具有行索引和列索引; 阅读全文
posted @ 2020-02-02 11:36 李白与酒 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12250011.html Series Series是一个一维数组类对象,包含一个值序列(与NumPy类型类似)和一个关联的数据标签数组(表示它的索引)。 创建Series Note: 左边为索引,右边为 阅读全文
posted @ 2020-02-01 20:28 李白与酒 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12249687.html Introduction pandas is a fast, powerful, flexible and easy to use open source data analys 阅读全文
posted @ 2020-02-01 19:26 李白与酒 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12248485.html numpy.random The numpy.random module supplements the built-in Python random with function 阅读全文
posted @ 2020-02-01 14:41 李白与酒 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12247717.html Basic array statistical methods A set of mathematical functions that compute statistics a 阅读全文
posted @ 2020-02-01 10:36 李白与酒 阅读(179) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 31 下一页