Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
chelsea-lin committed Nov 5, 2024
1 parent cdcb774 commit 1ea9f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db_dtypes/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,6 @@ def __array__(self, dtype=None, copy: bool | None = None) -> np.ndarray:
dtype = empty.dtype
result = np.empty(len(data), dtype=dtype)
mask = data.isna()
result[mask] = pd.NA
result[mask] = self._dtype.na_value
result[~mask] = data[~mask].pa_data.to_numpy()
return result

0 comments on commit 1ea9f9e

Please sign in to comment.