dropna():刪除na資料. 可以不指定欄位,就會將所有有na的row都刪掉,也可以指定欄位. df = df.dropna(subset=['指定欄位']). isin():判斷資料有沒有在範圍內.
確定! 回上一頁