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
[/srv/conda/envs/notebook/lib/python3.11/site-packages/xmip/preprocessing.py:79](https://leap.2i2c.cloud/srv/conda/envs/notebook/lib/python3.11/site-packages/xmip/preprocessing.py#line=78): UserWarning: rename 'nj' to 'y' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.
da = da.rename({di: target}).set_xindex(target)
[/srv/conda/envs/notebook/lib/python3.11/site-packages/xmip/preprocessing.py:79](https://leap.2i2c.cloud/srv/conda/envs/notebook/lib/python3.11/site-packages/xmip/preprocessing.py#line=78): UserWarning: rename 'ni' to 'x' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.
da = da.rename({di: target}).set_xindex(target)
[/srv/conda/envs/notebook/lib/python3.11/site-packages/xmip/preprocessing.py:79](https://leap.2i2c.cloud/srv/conda/envs/notebook/lib/python3.11/site-packages/xmip/preprocessing.py#line=78): UserWarning: rename 'nj' to 'y' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.
da = da.rename({di: target}).set_xindex(target)
[/srv/conda/envs/notebook/lib/python3.11/site-packages/xmip/preprocessing.py:79](https://leap.2i2c.cloud/srv/conda/envs/notebook/lib/python3.11/site-packages/xmip/preprocessing.py#line=78): UserWarning: rename 'ni' to 'x' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.
da = da.rename({di: target}).set_xindex(target)
I think this is not bad but might be nice to get rid of this warning by properly using swap dims?
gives:
I think this is not bad but might be nice to get rid of this warning by properly using swap dims?
Originally posted by @jbusecke in #357 (comment)
The text was updated successfully, but these errors were encountered: