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
Recreate @gajomi's #2070 to keep attrs when calling astype() (#4314)
* Recreate @gajomi's #2070 to keep attrs when calling astype()
* Accept keep_attrs flag, use apply_ufunc in variable.py, expand tests
* Ignore casting if we get a TypeError (indicates sparse <= 0.10.0)
* add to whats new
* fix dtype test
* improve error handling and check if sparse array
* test and docstring updates
* catch sparse error a bit more elegantly
* check using sparse_array_type
Co-authored-by: Keewis <keewis@posteo.de>
0 commit comments