Contents

xarray 2024.2.0

0

N-D labeled arrays and datasets in Python

N-D labeled arrays and datasets in Python

Stars: 3380, Watchers: 3380, Forks: 1007, Open Issues: 1143

The pydata/xarray repo was created 10 years ago and the last code push was 39 minutes ago.
The project is very popular with an impressive 3380 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
License
Apache-2.0
Homepage
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 1143 open issues on GitHub

  • to_netcdf: docstrings for compute parameter
  • upstream dev CI silently failing during build
  • Add seed kwarg to the tutorial scatter dataset
  • [FEATURE]: dimension attribute are lost when stacking an xarray
  • [FEATURE]: Support reading/writing NetCDF4 from/to buffer (and .nc.gz)
  • Xarray versioning to switch to CalVer
  • [FEATURE]: Read from/write to several NetCDF4 groups with a single file open/close operation
  • Xarray.to_netcdf encoding option not working for complevel and shuffle
  • [FEATURE]: Add np.tile equivalent to the xarray to construct new xr.DataArray be repeting input xr.DataArray given number of times
  • Vectorize groupby binary ops
  • [FEATURE]: to_netcdf and additional keyword arguments
  • Faster dask unstack
  • [Bug]: numpy DeprecationWarning with DType and xr.testing.assert_all_close() + Dask
  • [FEATURE]: allow "now" as input to cftime_range
  • dimensions: type as str | Iterable[Hashable]?

See more issues on GitHub

Related Packages & Articles

datasets 2.18.0

HuggingFace community-driven open-source library of datasets

nlp 0.4.0

HuggingFace/NLP is an open library of NLP datasets.

pandera 0.18.3

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