Skip to content
This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Conversation

@keewis
Copy link
Member

@keewis keewis commented Nov 2, 2022

This adds a pipe method to DataTree, very similar to Dataset.pipe and DataArray.pipe (in fact, it is a modified copy).

@keewis keewis changed the title add Datatree.pipe to allow chaining Datatree consuming functions add DataTree.pipe to allow chaining DataTree consuming functions Nov 2, 2022
@TomNicholas TomNicholas added the enhancement New feature or request label Nov 7, 2022
@TomNicholas
Copy link
Member

This looks great, thanks @keewis !

@TomNicholas TomNicholas merged commit b943c8a into xarray-contrib:main Nov 7, 2022
@keewis keewis deleted the pipe branch November 7, 2022 20:16
flamingbear pushed a commit to flamingbear/rewritten-datatree that referenced this pull request Jan 19, 2024
…array-contrib/datatree#156

* add a minimal pipe implementation

* copy the code of Dataset.pipe

* create a documentation page

* add tests for `pipe`

* whats-new.rst
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

allow chaining functions using pipe

2 participants