We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When dealing with time data aggregated.to_dataframe() will return columns as data_var0, data_var1.
aggregated.to_dataframe()
xarray has a method to convert to a dataframe http://xarray.pydata.org/en/stable/generated/xarray.DataArray.to_dataframe.html which moves coords to an multiindex.
You would just have to add in the geometry and crs from the incoming geopandas to make it a geopandas dataframe.
The text was updated successfully, but these errors were encountered:
Oh this is excellent. Will implement.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When dealing with time data
aggregated.to_dataframe()
will return columns as data_var0, data_var1.xarray has a method to convert to a dataframe http://xarray.pydata.org/en/stable/generated/xarray.DataArray.to_dataframe.html which moves coords to an multiindex.
You would just have to add in the geometry and crs from the incoming geopandas to make it a geopandas dataframe.
The text was updated successfully, but these errors were encountered: