Skip to content

Commit c5b5377

Browse files
committed
nit
1 parent b029be4 commit c5b5377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db_dtypes/json.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,6 @@ def __array__(self, dtype=None, copy: bool | None = None) -> np.ndarray:
241241
dtype = empty.dtype
242242
result = np.empty(len(data), dtype=dtype)
243243
mask = data.isna()
244-
result[mask] = pd.NA
244+
result[mask] = self._dtype.na_value
245245
result[~mask] = data[~mask].pa_data.to_numpy()
246246
return result

0 commit comments

Comments
 (0)