We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa2af7 commit f808aebCopy full SHA for f808aeb
graphistry/compute/predicates/str.py
@@ -179,7 +179,8 @@ def __call__(self, s: SeriesT) -> SeriesT:
179
if has_na:
180
# Convert to object dtype to preserve None values
181
result_pd = result.to_pandas().astype('object')
182
- result_pd[s.to_pandas().isna()] = None
+ na_mask = s.to_pandas().isna()
183
+ result_pd.loc[na_mask] = None
184
result = cudf.from_pandas(result_pd)
185
else:
186
if not self.case:
0 commit comments