Matt Richards
Matt Richards
Also not ideal, the "upcast by default" assumption is not great for astype(object), and potentially other things.
> I think my current feeling is that I actually like the fact that geopandas preserves the index when it makes sense (there is not really a reason for pandas...
Thanks for the report @snowman2! Looks like it's from #3080 as well. This keeps on giving.
Ah, there's a reason I have deja vu, closely related to or the same as https://github.com/geopandas/geopandas/pull/2966#issuecomment-1878816712 I think, and the fix in pandas 2.3 is https://github.com/pandas-dev/pandas/pull/56761 - I guessed we...
>That's it, I think. So IIUC, we just set the active geometry column name to "geometry" if that column name was present and contained geometries. I think that's right.
Hey @leonfoks generally it is a good idea to first open an issue to discuss the feature you would like to add before jumping in and creating a PR. As...
Thanks @paddymul for opening this issue. I wouldn't say this is a bug per se, but a mismatch of expectations. In the geospatial world the standard json representation of features...
> FWIW I was able to get a regular pandas dataframe with the following code: > > ```python > pd_df = pd.DataFrame(dict(zip(df.columns, df.to_numpy().T))) > ``` > I haven't compared the...
I think it would be good to try and solve #1038 for 1.0 - the discussion there is old but the proposed solution is potentially breaking, so better to try...
I still think #1038 would be good to resolve before 1.0 since it will likely involve an API break. Will have a look and see if I can move that...