Skip to content

Commit

Permalink
Fix a typo in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jmao-denver committed Aug 2, 2023
1 parent 97c7554 commit 86ec6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/server/deephaven/pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def _map_na(array: [np.ndarray, pd.api.extensions.ExtensionArray]):

dh_null = _EX_DTYPE_NULL_MAP.get(type(pd_dtype)) or _EX_DTYPE_NULL_MAP.get(pd_dtype)
# To preserve NaNs in floating point arrays, Pandas doesn't distinguish NaN/Null as far as NA testing is
# concerted, thus its fillna() method will replace both NaN/Null in the data.
# concerned, thus its fillna() method will replace both NaN/Null in the data.
if isinstance(pd_dtype, (pd.Float32Dtype, pd.Float64Dtype)) and isinstance(getattr(array, "_data"), np.ndarray):
np_array = array._data
null_mask = np.logical_and(array._mask, np.logical_not(np.isnan(np_array)))
Expand Down

0 comments on commit 86ec6fb

Please sign in to comment.