-
Notifications
You must be signed in to change notification settings - Fork 113
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
Use sparse xarray for reporting.Quantity #191
Comments
#317 / iiasa/message_ix#372 partly addresses this issue; however, we still await a release of xarray >0.15.1 (see pydata/xarray#4031) to fix pydata/xarray#4019, which causes incorrect computation results in sparse-backed xarray.DataArray. |
This is now fixed & released. |
Based on your previous comment, @khaeru, can we close this issue? |
In short, no. That was an issue which blocked this one. The block is now cleared, but we would still need to have a PR to implement the changes described here. |
This is to be continued at khaeru/genno#23. |
xarray 0.13 includes support for converting pd.DataFrame to a pydata/sparse data structure.
This should mostly obviate the need for the custom AttrSeries class.
A PR should be opened to make the change, test performance, and make any necessary adjustments.
Resources:
The text was updated successfully, but these errors were encountered: