NumPy or Pandas: Keeping array type as integer while having a NaN value NumPy or Pandas: Keeping array type as integer while having a NaN value pandas pandas