pydata/xarray

N-D labeled arrays and datasets in Python

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 7 minutes ago
Added to GitGenius on September 16th, 2026
Created on September 30th, 2013
Open Issues & Pull Requests: 1,450 (+0)
GitHub issues: Enabled
Number of forks: 1,354
Total Stargazers: 4,199 (+0)
Total Subscribers: 96 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 8.4 hours
Mean response time: 53.1 days
90th percentile: 57.5 days
Tracked items: 1,072

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 11% of issues opened in the past year have never received a reply. 80% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 72% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 58% of issues opened in the past year have been closed. Three people close 56% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 464
New in 7 days: 2
Closed in 7 days: 0
Avg open age: 881 days
Stale 30+ days: 444
Stale 90+ days: 404

Recent activity

Opened in 7 days: 2
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (409)
  • enhancement (171)
  • needs triage (152)
  • topic-documentation (94)
  • topic-DataTree (93)
  • topic-zarr (86)
  • topic-backends (78)
  • CI (58)

Detailed Description

xarray is a Python library for working with N-dimensional labeled arrays and datasets.

The library addresses the challenge of managing multidimensional scientific data by extending NumPy's capabilities with dimension names and coordinate labels. Rather than tracking array dimensions by position alone, xarray lets you reference dimensions and coordinates by name, making code more readable and less error-prone. It builds on pandas' approach to labeled data but extends it to handle arbitrary numbers of dimensions, which is essential for climate science, geophysics, and other fields working with gridded data. The core abstraction is the DataArray for single variables and the Dataset for collections of related variables sharing coordinates.

xarray is well-suited for anyone working with multidimensional scientific data, particularly those already familiar with NumPy and pandas. It integrates seamlessly with the scientific Python ecosystem, supporting NetCDF file formats natively and working with Dask for out-of-core computation on large datasets. The library is particularly valuable when your data has meaningful dimension names and coordinates that you want to preserve throughout analysis pipelines. Projects involving climate models, weather data, satellite imagery, or any gridded observational data benefit from xarray's coordinate-aware operations. If your work involves simple tabular data, pandas alone may be sufficient; xarray's value becomes clear when you need to manipulate data across multiple named dimensions while preserving metadata.

The project maintains steady development activity with regular releases and ongoing refinement of core functionality. The maintainers actively address user issues and incorporate feedback into the library's evolution. Development focuses on improving performance and expanding integration with the broader scientific Python ecosystem. The project sustains engagement with its user community through documentation and responsive issue management. Contributions flow in regularly, reflecting continued investment in the library's capabilities and reliability.