1. 程式人生 > >pandas基本操作函式

pandas基本操作函式

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()