pull_requests: 401656175
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
401656175 | MDExOlB1bGxSZXF1ZXN0NDAxNjU2MTc1 | 3960 | open | 0 | examples for special methods on accessors | 14808389 | This starts adding the parametrized accessor examples from #3829 to the accessor documentation as suggested by @jhamman. Since then the `weighted` methods have been added, though, so I'd like to use a different example instead (ideas welcome). Also, this feature can be abused to add functions to the main `DataArray` / `Dataset` namespace (by registering a function with the `register_*_accessor` decorators, see the second example). Is this something we want to explicitly discourage? (~When trying to build the docs locally, sphinx keeps complaining about a code block without code. Not sure what that is about~ seems the `ipython` directive does not allow more than one expression, so I used `code` instead) - [x] Closes #3829 - [x] Passes `isort -rc . && black . && mypy . && flake8` - [x] Fully documented, including `whats-new.rst` for all changes and `api.rst` for new API | 2020-04-09T21:34:30Z | 2022-06-09T14:50:17Z | d6a53b777015e7e07220dc50b0d77418c0e24975 | 0 | a116ee58a0ab55e07dec4861d78dc21d949cd0d3 | d1e4164f3961d7bbb3eb79037e96cae14f7182f8 | MEMBER | 13221727 | https://github.com/pydata/xarray/pull/3960 |
Links from other tables
- 1 row from pull_requests_id in labels_pull_requests