xarray: N-D labeled Arrays and Datasets in Python
Abstract
xarray is an open source project and Python package that provides a toolkit and data structures for N-dimensional labeled arrays. Our approach combines an application programing interface (API) inspired by pandas with the Common Data Model for self-described scientific data. Key features of the xarray package include label-based indexing and arithmetic, interoperability with the core scientific Python packages (e.g., pandas, NumPy, Matplotlib), out-of-core computation on datasets that don’t fit into memory, a wide range of serialization and input/output (I/O) options, and advanced multi-dimensional data manipulation tools such as group-by and resampling. xarray, as a data model and analytics toolkit, has been widely adopted in the geoscience community but is also used more broadly for multi-dimensional data analysis in physics, machine learning and finance.
BibTeX
@article{hoyer2017xarray,
author = {Stephan Hoyer and Joseph Hamman},
title = {{xarray: N-D labeled Arrays and Datasets in Python}},
journal = {Journal of Open Research Software},
year = {2017},
doi = {10.5334/jors.148},
}Ask Althea to put this paper to the test.
Loading related content...