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 62e595e commit 795fbecCopy full SHA for 795fbec
xvec/accessor.py
@@ -766,7 +766,7 @@ def to_geopandas(self) -> GeoDataFrame | pd.DataFrame:
766
gdf = gdf.T
767
return gdf.reset_index().set_geometry( # type: ignore
768
self._geom_indexes[0],
769
- crs=self._obj.xindexes[self._geom_indexes[0]].crs,
+ crs=self._obj.xindexes[self._geom_indexes[0]].crs, # type: ignore
770
)
771
warnings.warn(
772
"No geometry to return, falling back to DataArray.to_pandas().",
0 commit comments