Contents

xarray 2026.2.0

0

N-D labeled arrays and datasets in Python

N-D labeled arrays and datasets in Python

Stars: 4090, Watchers: 4090, Forks: 1232, Open Issues: 1336

The 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
No  xarray  pypi packages just yet.

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 StringDType when reading from zarr string variables
  • Refactor cache-pixi-lock.yml workflow 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

See more issues on GitHub

Related Packages & Articles

datasets 4.5.0

HuggingFace community-driven open-source library of datasets

nlp 0.4.0

HuggingFace/NLP is an open library of NLP datasets.

pandera 0.29.0

A light-weight and flexible data validation and testing tool for statistical data objects.