xarray
N-dimensional labeled arrays and datasets for scientific computing and data analysis.
ML and data science PyPI Apache-2.0
How xarray is used
xarray is a dependency in 2 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 48 projects, and what it is used with below comes from all of them. The most used alternative in our scan is pandas (267 projects). Projects that use it most often also use NumPy (97.9%), SciPy (95.8%), Matplotlib (93.8%).
xarray popularity over time
Gid Score 53: downloads 74, use in agent projects 40, GitHub stars 36, downloads trend 57 (each 0-100). How it is calculated.
Often used with xarray
| NumPy | 97.9% of xarray projects · 16.8× more than average |
|---|---|
| SciPy | 95.8% of xarray projects · 52.6× more than average |
| Matplotlib | 93.8% of xarray projects · 34.9× more than average |
| pandas | 93.8% of xarray projects · 21.8× more than average |
| Pillow | 91.7% of xarray projects · 23.9× more than average |
| PyYAML | 91.7% of xarray projects · 15.4× more than average |
| Requests | 91.7% of xarray projects · 13.5× more than average |
| scikit-learn | 91.7% of xarray projects · 42.8× more than average |
From all 48 projects in our scan that use xarray, including the dependency samples.
How xarray is funded
Open Collective: xarray
| Received, last 12 months | $1,000 Oct 2025 – Sep 2026 |
|---|---|
| Estimated annual budget | $1,000 Open Collective's estimate |
| Balance | $12,518 |
| Raised since the start | $56,234 · $43,717 paid out |
| Typical month median, last 12 months | $0 · $0 over 24 months |
| Last 12 months vs the 12 before | -94% |
| Contributors, last 12 months | 1 |
Apr 2022Sep 2026
Money by month. First money received in Apr 2022. The typical month is the median: one big one-off donation does not move it.
Open Collective lists pydata/xarray as this collective's repository.
USD after payment processor fees, as Open Collective reports it; fiscal host NumFOCUS. Source
GitHub Sponsors
| @numfocus | 65 current sponsors |
|---|
GitHub shows how many people and companies sponsor an account, not how much they pay.
Ways to fund xarray
As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.
Install
| Package | pip install xarray |
|---|---|
| Main stacks | Python (48) |
| Example projects | opengeos/geospatial, moizsaifee/kaggle-jigsaw-multilingual-toxic-comment-classification-3rd-place-solution, tomerwolgithub/question-decomposition-to-sql, m-abbas-ansari/SuperResolution-DEMs, dreamone-Lee/SeesawNet |
Alternatives to xarray
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside xarray are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| pandas pypi Data manipulation and analysis library with DataFrames for structured data. |
87 | 267 (16.5%) | 147M | 50.2K | BSD |
More in ML and data science: NumPy scikit-learn SciPy PyTorch Sentence Transformers Hugging Face Transformers NetworkX Chroma (Python)