pull_requests: 1109232628
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1109232628 | PR_kwDOAMm_X85CHYv0 | 7252 | closed | 0 | Use partial function in open_mfdataset example | 32146793 | The example in `xarray.open_mfdataset` mentions usage of partial function, but does not use it correctly: (`_preprocess` should not be used as a parameter, but `partial_func` should be used) ```python partial_func = partial(_preprocess, lon_bnds=lon_bnds, lat_bnds=lat_bnds) ds = xr.open_mfdataset( "file_*.nc", concat_dim="time", preprocess=_preprocess ) ``` This PR fixes the example, to use `partial_func`: ```python partial_func = partial(_preprocess, lon_bnds=lon_bnds, lat_bnds=lat_bnds) ds = xr.open_mfdataset( "file_*.nc", concat_dim="time", preprocess=partial_func ) ``` | 2022-11-03T08:00:30Z | 2022-11-03T09:18:54Z | 2022-11-03T09:18:53Z | 2022-11-03T09:18:53Z | 6179d8e881947e71ec9528c65d05159ed3921563 | 0 | 4efa92ee26f16578fd4a6c1e3ef85b714c54ae63 | 0dfcfddf3ea5a0f54115dcfb9cb1edfeb0a281c7 | CONTRIBUTOR | { "enabled_by": { "login": "mathause", "id": 10194086, "node_id": "MDQ6VXNlcjEwMTk0MDg2", "avatar_url": "https://avatars.githubusercontent.com/u/10194086?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mathause", "html_url": "https://github.com/mathause", "followers_url": "https://api.github.com/users/mathause/followers", "following_url": "https://api.github.com/users/mathause/following{/other_user}", "gists_url": "https://api.github.com/users/mathause/gists{/gist_id}", "starred_url": "https://api.github.com/users/mathause/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mathause/subscriptions", "organizations_url": "https://api.github.com/users/mathause/orgs", "repos_url": "https://api.github.com/users/mathause/repos", "events_url": "https://api.github.com/users/mathause/events{/privacy}", "received_events_url": "https://api.github.com/users/mathause/received_events", "type": "User", "site_admin": false }, "merge_method": "squash", "commit_title": "Use partial function (#7252)", "commit_message": "Co-authored-by: Marek Petrovic <marek_petrovic@swissre.com>" } |
13221727 | https://github.com/pydata/xarray/pull/7252 |
Links from other tables
- 2 rows from pull_requests_id in labels_pull_requests