Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace cudf column.full with cudf.as_column #1350

Merged
merged 7 commits into from
Mar 5, 2024
Prev Previous commit
Next Next commit
Update python/cuspatial/cuspatial/core/binops/distance_dispatch.py
Co-authored-by: GALI PREM SAGAR <sagarprem75@gmail.com>
  • Loading branch information
bdice and galipremsagar authored Mar 5, 2024
commit c6004f33dedd171187cd77e6b6a15b388539a792
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def __call__(self):
# Rows with misaligned indices contains nan. Here we scatter the
# distance values to the correct indices.
result = as_column(
[float("nan")] * len(self._res_index), dtype="float64"
[float("nan")] * len(self._res_index), dtype="float64", nan_as_null=False
)
scatter_map = as_column(
range(len(self._res_index)), dtype="int32"
Expand Down
Loading