xarray
xarray copied to clipboard
N-D labeled arrays and datasets in Python
This code runs without any problems with zarr2, but give the following error when running with zarr3: ``` import pandas as pd import numpy as np import xarray as xr...
- [x] closes #10990 We have quite a few environments now, but for development there are a few other tools needed. So far, we have: - `ipython`, `black`, and `ipdb`...
### What happened? The behavior of `hue` results in different colors `ds.plot.scatter` vs `ds.plot.line` Both docstrings describe hue as: > hue (Hashable, optional) – Dimension or coordinate for which you...
### Is your feature request related to a problem? I'm trying to use `xindex` more. Currently, trying to select values using coordinates that haven't been explicitly indexed via `set_xindex()` raises:...
- [x] Closes #9548 - [x] Tests added - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [x] New functions/methods are listed in `api.rst` Note...
### Is your feature request related to a problem? If I have a dataset with some coordinates: ```python dataset = xr.Dataset(coords={"x": [1, 2, 3], "y": [10, 20]}) ``` I would...
This determines how non-index coordinates of the same name are compared for potential conflicts when performing binary operations. The default is `arithmetic_compat='minimal'`, which matches the previous behaviour. I had originally...
### What happened? Based on [this comment](https://github.com/pydata/xarray/issues/10301#issuecomment-3247616861) I ran a mini test-suite for checking the current dtype support and it resulted in a few failures for EA and numpy.StringDType edge-cases...
### Is your feature request related to a problem? [pytest-accept](https://github.com/max-sixty/pytest-accept) is quite important for generation aggregations and quickly fixing changes in doctests. For example: https://github.com/pydata/xarray/blob/58594f81913c593a722ecd40fe4ea2f149d7baec/xarray/util/generate_aggregations.py#L1-L14 ### Describe the solution you'd...
Fixes an error on the custom index page. The code as written currently results in an error ```python --------------------------------------------------------------------------- TypeError Traceback (most recent call last) [/var/folders/tc/fkgp35zn7z913f9cmsxcl6pc0000gn/T/ipykernel_30850/1307141732.py](http://localhost:8889/var/folders/tc/fkgp35zn7z913f9cmsxcl6pc0000gn/T/ipykernel_30850/1307141732.py) in ?() 11 #...