PyArrow dtypes in pandas: Nullable integers with pd.NA

PyArrow dtypes in pandas: Nullable integers with pd.NA

PyArrow dtypes in Python Pandas are nullable (with pd.NA):

s = Series([10, pd.NA, 30], dtype='int64[pyarrow]')

s is:

0 10
1 <NA>
2 30
dtype: int64[pyarrow]

The dtype is int64, but allows nulls. (Use np.nan? It’s turned into pd.NA.)