Tom Nicholas

Results 182 issues of Tom Nicholas

Part of xarray's roadmap is to elevate indexes to be an explicit part of their data model. The task is discussed [here](https://github.com/pydata/xarray/issues/1603) and there's an overview of the project [here](https://github.com/pydata/xarray/projects/1)....

upstream changes
indexing

Easiest way to demonstrate would be with an example notebook similar to that [given for pint-pandas](https://github.com/hgrecco/pint-pandas/blob/master/notebooks/pandas_support.ipynb).

I tried profiling the core `_bincount` function, and then accelerating it with numba, a naive application of which only made it about 30% faster overall. [Notebook here](https://nbviewer.jupyter.org/gist/TomNicholas/5e92acb9b118163be058c74da73d761b?flush_cache=true) (and [gist here](https://gist.github.com/TomNicholas/5e92acb9b118163be058c74da73d761b)...

Work-in-progress attempt to implement #28 . Builds atop #49. - Allows bins to be xr.DataArrays - Aligns and reshapes the bins the same way as the other arrays - Promotes...

After @shoyer mentioned earlier today that he had [an example](https://nbviewer.jupyter.org/gist/shoyer/6d6c82bbf383fb717cc8631869678737) of dealing with with the ND-histogram problem in xarray by using `xarray.apply_ufunc` and [numpy_groupies](https://github.com/ml31415/numpy-groupies), I made [this notebook](https://nbviewer.jupyter.org/gist/TomNicholas/1965788fdd499bf02c5331f2e59e27b4) to try...

I often want to test some parallel dask code for input with a range of different chunking structures. This seems like a possible candidate for a general chunks strategy using...

array
tests
needs attention
enhancement

Example of using this PR to create examples of arrays with a specific shape but arbitrary chunk structure: ```python In [9]: arr Out[9]: array([[1, 2, 3], [4, 5, 6]]) In...

array
documentation
needs attention

Intended to close #8015 by making the suppression of the captured result optional. I want this so that I can capture cell output and use it within the same cell,...

I think that sphinx-codeautolink is different from `sphinx.ext.linkcode`... - [x] Closes #7010 - [ ] Tests added - [ ] User visible changes (including notable bug fixes) are documented in...

topic-documentation
CI
dependencies

Initial attempt to get cubed working within xarray, as an alternative to dask. - [x] Closes #6807, at least for the case of cubed - [ ] Tests added -...

enhancement
topic-typing