Skip to content

Commit 1ea9f9e

Browse files
committed
nit
1 parent cdcb774 commit 1ea9f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db_dtypes/json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,6 @@ def __array__(self, dtype=None, copy: bool | None = None) -> np.ndarray:
239239
dtype = empty.dtype
240240
result = np.empty(len(data), dtype=dtype)
241241
mask = data.isna()
242-
result[mask] = pd.NA
242+
result[mask] = self._dtype.na_value
243243
result[~mask] = data[~mask].pa_data.to_numpy()
244244
return result

0 commit comments

Comments
 (0)