002 pandas初步數據清洗

文章目錄 數據清洗 初始化 isnull() notnull() 濾除缺失數據 dropna() Series DataFram thresh = 2 填充缺失數據 fillna() 用字符填充 用字典填充 原地修改 inplace=True 指定位置填充 根據前面數據填充 method='ffill' 限制填充數量 發揮想象填充 去重 drop_duplicates () 數據映射 替換 rep
相關文章
相關標籤/搜索