You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ZipCodes_Stops_PiP_cuSpatial notebook is failing on 24.10, with the most recent nightlies of cuspatial and all its dependencies for those versions.
Condensed stacktrace:
ValueError Traceback (most recent call last)
File /tmp/tmp.wVCpnDUG6u/ZipCodes_Stops_PiP_cuSpatial-test.py:336
330 stop_by_zipcode = stop_quadtree.point_left_join_polygon(["x", "y"], ["ZCTA5CE10"])
333 # In[13]:
--> 336 stop_by_zipcode.head()
...
File cudf/utils/performance_tracking.py:51, in _performance_tracking.<locals>.wrapper(*args, **kwargs)
File cudf/core/indexed_frame.py:1255, in IndexedFrame.head(self, n)
File cudf/core/dataframe.py:503, in _DataFrameIlocIndexer.__getitem__(self, arg)
File cuspatial/core/geodataframe.py:195, in GeoDataFrame._slice(self, arg)
File cuspatial/core/geodataframe.py:172, in GeoDataFrame._recombine_columns(self, geo_columns, data_columns)
ValueError: geo_columns.index must equal data_columns.index
full stacktrace (click me)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
File /tmp/tmp.wVCpnDUG6u/ZipCodes_Stops_PiP_cuSpatial-test.py:336
330 stop_by_zipcode = stop_quadtree.point_left_join_polygon(["x", "y"], ["ZCTA5CE10"])
333 # In[13]:
--> 336 stop_by_zipcode.head()
339 # ## Zipcode counting with cuDF
340 #
341 # The below uses [cuDF](https://docs.rapids.ai/api/cudf/stable/index.html) to count the number of stop signs per zip code. Then merge the geometry information from the zipcode dataset.
(...)
345
346 # Count the Stop Signs by California Zip Codes
347 stop_counts = stop_by_zipcode.groupby("ZCTA5CE10").x.count().rename("stop_count")
File /opt/conda/envs/test/lib/python3.11/site-packages/cudf/utils/performance_tracking.py:51, in _performance_tracking.<locals>.wrapper(*args, **kwargs)
43 if nvtx.enabled():
44 stack.enter_context(
45 nvtx.annotate(
46 message=func.__qualname__,
(...)
49 )
50 )
---> 51 return func(*args, **kwargs)
File /opt/conda/envs/test/lib/python3.11/site-packages/cudf/core/indexed_frame.py:1255, in IndexedFrame.head(self, n)
1178 @_performance_tracking
1179 def head(self, n=5):
1180 """
1181 Return the first `n` rows.
1182 This function returns the first `n` rows for the object based
(...)
1253 1 1 11.0
1254 """
-> 1255 return self.iloc[:n]
File /opt/conda/envs/test/lib/python3.11/site-packages/cudf/core/dataframe.py:503, in _DataFrameIlocIndexer.__getitem__(self, arg)
501 return frame._apply_boolean_mask(row_spec.key, keep_index=True)
502 elif isinstance(row_spec, indexing_utils.SliceIndexer):
--> 503 return frame._slice(row_spec.key)
504 elif isinstance(row_spec, indexing_utils.ScalarIndexer):
505 result = frame._gather(row_spec.key, keep_index=True)
File /opt/conda/envs/test/lib/python3.11/site-packages/cuspatial/core/geodataframe.py:195, in GeoDataFrame._slice(self, arg)
190 sliced_geo_columns = GeoDataFrame(
191 {name: geo_columns[name].iloc[arg] for name in geo_columns.columns}
192 )
193 sliced_data_columns = data_columns._slice(arg)
194 return self._from_data(
--> 195 self._recombine_columns(sliced_geo_columns, sliced_data_columns),
196 index=sliced_data_columns.index,
197 )
File /opt/conda/envs/test/lib/python3.11/site-packages/cuspatial/core/geodataframe.py:172, in GeoDataFrame._recombine_columns(self, geo_columns, data_columns)
165 """
166 Combine a GeoDataFrame of only geometry columns with a DataFrame
167 of non-geometry columns in the same order as the columns in `self`
168
169 The output is meant for GeoDataFrame._from_data.
170 """
171 if not geo_columns.index.equals(data_columns.index):
--> 172 raise ValueError("geo_columns.index must equal data_columns.index")
174 columns_mask = self.columns
175 col_is_geo = (isinstance(self[col], GeoSeries) for col in columns_mask)
ValueError: geo_columns.index must equal data_columns.index
---------------------------------------------------------------
Minimum reproducible example
Observing this in the conda-notebook-tests job on all PRs targeting 24.10.
Version
24.10
On which installation method(s) does this occur?
Conda
Describe the issue
The
ZipCodes_Stops_PiP_cuSpatial
notebook is failing on 24.10, with the most recent nightlies ofcuspatial
and all its dependencies for those versions.Condensed stacktrace:
full stacktrace (click me)
Minimum reproducible example
Observing this in the
conda-notebook-tests
job on all PRs targeting24.10
.Relevant log output
No response
Environment details
output from 'print_env.sh' (click me)
Other/Misc.
I'm working on creating a minimal, reproducible example that's a bit more precise than CI logs. But wanted to get this opened as soon as possible.
The text was updated successfully, but these errors were encountered: