XARRAY
Labeled multi-dimensional arrays for Python
ABOUT
Data scientists working with gridded scientific data (climate model outputs, weather forecasts, oceanography simulations) traditionally resort to raw NumPy arrays that lack labeled dimensions, making data selection, aggregation, and alignment error-prone and verbose. Without a labeled-array abstraction, teams must manually track which axis corresponds to which variable and handle coordinate alignment themselves. Xarray provides dimension names, coordinate labels, and group-by operations over N-dimensional arrays, with built-in support for NetCDF, Zarr, and GRIB file formats — enabling scientists to slice, aggregate, and persist multi-dimensional datasets with the same expressiveness that pandas brought to tabular data.
pip install xarray