xarray is a Python package for working with labelled multi-dimensional arrays and datasets.
It adds names, coordinates and metadata to NumPy-like arrays, giving users a clearer way to analyse scientific and numerical data with dimension-aware code. The project is particularly useful for netCDF-style data and integrates with Dask for parallel computing, while offering a broad collection of tools for analytics and visualisation.
This is free and open source software.
Key Features
- Applies calculations over named dimensions rather than relying only on array axis positions.
- Selects data by labels, coordinates and dimension names.
- Supports vectorised mathematical operations with automatic broadcasting by dimension name.
- Provides split-apply-combine workflows with groupby operations.
- Aligns datasets using coordinate labels while handling missing values.
- Stores arbitrary metadata as attributes attached to arrays and datasets.
Website: github.com/pydata/xarray
Support:
Developer: xarray Developers
License: Apache License 2.0
xarray is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Python Data Analysis | |
|---|---|
| pandas | High-level building block for doing practical, real world data analysis |
| NumPy | Core package for scientific computing with Python |
| SciPy | Ecosystem for mathematics, science, and engineering |
| Polars | DataFrame interface on top of an OLAP Query Engine |
| statsmodels | Statistical modeling and econometrics in Python |
| Dask | Advanced parallelism for analytics |
| Orange | Component-based framework for machine learning and data mining |
| Modin | Drop-in replacement for pandas |
| Vaex | Fast visualization of big data |
| AWS DW | Extends the power of pandas library |
| yt | Multi-code Toolkit for Analyzing and Visualizing Volumetric Data |
| HoloViews | Make Data Analysis and Visualization Seamless |
| datatable | Manipulate 2-dimensional tabular data structures |
| xarray | Work with labelled multi-dimensional arrays and datasets |
| pyjanitor | Extend pandas with readable data-cleaning functions |
| Optimus | Agile Data Preparation Workflows |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.