
xarray 2026.2.0
0
N-D labeled arrays and datasets in Python
Contents
N-D labeled arrays and datasets in Python
Stars: 4090, Watchers: 4090, Forks: 1232, Open Issues: 1336The pydata/xarray repo was created 12 years ago and the last code push was 23 hours ago.
The project is very popular with an impressive 4090 github stars!
How to Install xarray
You can install xarray using pip
pip install xarray
or add it to a project with poetry
poetry add xarray
Package Details
- Author
- None
- License
- None
- Homepage
- None
- PyPi:
- https://pypi.org/project/xarray/
- Documentation:
- https://docs.xarray.dev
- GitHub Repo:
- https://github.com/pydata/xarray
Classifiers
- Scientific/Engineering
Related Packages
Errors
A list of common xarray errors.
Code Examples
Here are some xarray code examples and snippets.
GitHub Issues
The xarray package has 1336 open issues on GitHub
- Add global config for FacetGrid to always follow matplotlib.rcParams['figure.figsize']
- Appending to Zarr store on disk changes dimension metadata
- Fixes #11099 : Indexes lost upon
.swap_dims()call - .swap_dims() loses indexes of non-dimension variables
- Use
StringDTypewhen reading from zarr string variables - Refactor
cache-pixi-lock.ymlworkflow into external action - Using Dataset Constructor to create a copy drops attrs
- open_mfdataset segfaults when using engine="netcdf4" and Prallel=Tru
- Static typing for popular accessors
- more sophisticated type checking with numpy
- Improve error message when scipy is missing for NDPointIndex
- test asv
- fix: support datetime variables in
Dataset.interp - Prep for new combine kwargs: improve combine docstrings, tidy up tests
- Improve IDE/Editor Support for External Accessors
pythonfix







