
Assign either np.nan or pd.NA to a Python Pandas series with a NumPy dtype, and it’ll be np.nan, a float.
Which means the entire series has a dtype of float:
s = Series([10, 20, 30, 40])
s.loc[2] = pd.NA
Result:
0 10.0
1 20.0
2 NaN
3 40.0
dtype: float64
