pandas基本操作函数

来源:互联网 发布:mac os 卸载程序 编辑:程序博客网 时间:2024/06/05 06:50
python pandas基本函数 查看数据 .head() .tail() .shape .describe() 矩阵运算 .add() .sub() .mul() .div() .divmod() .combine() 矩阵比较 .eq() .ne() .lt() .gt() .le() .ge()|.empty .any() .all() .bool() 数据框连接 .align() .merge() .join() .concatenate() 设置行名列名 .column .reindex() .reindex_like()|.rename() 列操作 .drop() .insert() .assign() 数据类型 .dtypes .get_dtype_counts() .astype() .to_numeric()… .select_dtypes() 数据运算 .pipe() .apply() .applymap() 统计运算 .cut() .qcut() .idxmin() .idxmax() .value_counts() .sum()… 排序 .sort_index() .sort_values() .nsmallest() .nlargest() 其他 .dt Iteration .copy() .info()
0 0