So, use Nullable Integer Data Types (e.g. Int64). df['x'].astype('Int64') 0 1 1 <NA> 2 3 3 4 Name: x, dtype: Int64 ...
確定! 回上一頁