Skip to content

Latest commit

 

History

History
67 lines (55 loc) · 1.95 KB

index.rst

File metadata and controls

67 lines (55 loc) · 1.95 KB

xarray_extras: Advanced algorithms for xarray

This module offers several extensions to xarray, which could not be included into the main module because they fall into one or more of the following categories:

  • They're too experimental
  • They're too niche
  • They introduce major new dependencies (e.g. numba or a C compiler)
  • They would be better done by doing major rework on multiple packages, and then one would need to wait for said changes to reach a stable release of each package - in the right order.

The API of xarray-extras is unstable by definition, as features will be progressively migrated upwards towards xarray, dask, numpy, pandas, etc.

Features

api/csv

Multi-threaded CSV writer, much faster than pandas.DataFrame.to_csv, with full support for dask and dask distributed.

api/cumulatives

Advanced cumulative sum/productory/mean functions

api/interpolate

dask-optimized n-dimensional spline interpolation

api/numba_extras

Additions to numba

api/sort

Advanced sort/take functions

api/stack

Tools for stacking/unstacking dimensions

Index

installing develop whats-new api/csv api/cumulatives api/interpolate api/numba_extras api/sort api/stack

Credits

  • ~xarray_extras.stack.proper_unstack was originally developed by Legal & General and released to the open source community in 2018.
  • All boilerplate is from python_project_template, which in turn is from xarray.

License

xarray-extras is available under the open source Apache License.