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 1278428463,PR_kwDOAMm_X85MM0Uv,7635,closed,0,Implement DataArray.to_dask_dataframe(),106010465,"Adds a method to_dask_dataframe() to convert a dataarray to a dask dataframe. - [x] Closes #7409 - [x] Tests added - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [x] New functions/methods are listed in `api.rst` I have added the function to_dask_dataframe() in dataarray.py . This implementation is as suggested in issue #7409 . The function first converts the data array to a temporary dataset and then calls Dataset.to_dask_dataframe() method. Could you please review it . Thank you.",2023-03-16T11:42:06Z,2023-04-28T15:09:32Z,2023-04-28T15:09:29Z,2023-04-28T15:09:29Z,25d9a28e12141b9b5e4a79454eb76ddd2ee2bc4d,,,0,7ed49adee10c0fbf8a1753a99aa654ea5c30a3de,087ebbb78668bdf5d2d41c3b2553e3f29ce75be1,CONTRIBUTOR,"{""enabled_by"": {""login"": ""dcherian"", ""id"": 2448579, ""node_id"": ""MDQ6VXNlcjI0NDg1Nzk="", ""avatar_url"": ""https://avatars.githubusercontent.com/u/2448579?v=4"", ""gravatar_id"": """", ""url"": ""https://api.github.com/users/dcherian"", ""html_url"": ""https://github.com/dcherian"", ""followers_url"": ""https://api.github.com/users/dcherian/followers"", ""following_url"": ""https://api.github.com/users/dcherian/following{/other_user}"", ""gists_url"": ""https://api.github.com/users/dcherian/gists{/gist_id}"", ""starred_url"": ""https://api.github.com/users/dcherian/starred{/owner}{/repo}"", ""subscriptions_url"": ""https://api.github.com/users/dcherian/subscriptions"", ""organizations_url"": ""https://api.github.com/users/dcherian/orgs"", ""repos_url"": ""https://api.github.com/users/dcherian/repos"", ""events_url"": ""https://api.github.com/users/dcherian/events{/privacy}"", ""received_events_url"": ""https://api.github.com/users/dcherian/received_events"", ""type"": ""User"", ""site_admin"": false}, ""merge_method"": ""squash"", ""commit_title"": ""Implement DataArray.to_dask_dataframe() (#7635)"", ""commit_message"": ""* Add feature to convert dataarray to dask dataframe. This is for the issue #7409\r\n\r\n* Add test for new method dataarray.to_dask_dataframe()\r\n\r\n* Changes after review\r\n\r\n* Corrections in docstring and import\r\n\r\n* docstring correction\r\n\r\n* Remove name parameter\r\n\r\n* Add feature to convert dataarray to dask dataframe. This is for the issue #7409\r\n\r\n* Add test for new method dataarray.to_dask_dataframe()\r\n\r\n* Changes after review\r\n\r\n* Corrections in docstring and import\r\n\r\n* docstring correction\r\n\r\n* Remove name parameter\r\n\r\n* Corrected doc/whats-new.rst\r\n\r\n* Update whats-new.rst\r\n\r\n* Space corrections in docstring\r\n\r\n* Whitespace correction in docstring\r\n\r\n* Add white space in docstring line\r\n\r\n* Whitespace correction\r\n\r\n* Update line npartitions=1\r\n\r\n* [pre-commit.ci] auto fixes from pre-commit.com hooks\r\n\r\nfor more information, see https://pre-commit.ci\r\n\r\n* Revert \""Update line npartitions=1\""\r\n\r\nThis reverts commit 4bae82c4ee61f9bf866e97c743379b75ff8e86e2.\r\n\r\nReverting commit .\r\n\r\n* Add whitespace in npartitions=1\r\n\r\n* [pre-commit.ci] auto fixes from pre-commit.com hooks\r\n\r\nfor more information, see https://pre-commit.ci\r\n\r\n* Change example in docstring\r\n\r\n* [pre-commit.ci] auto fixes from pre-commit.com hooks\r\n\r\nfor more information, see https://pre-commit.ci\r\n\r\n* Change example in docstring\r\n\r\n* [pre-commit.ci] auto fixes from pre-commit.com hooks\r\n\r\nfor more information, see https://pre-commit.ci\r\n\r\n* Update xarray/core/dataarray.py\r\n\r\nCo-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com>\r\n\r\n* Update doc/whats-new.rst\r\n\r\nCo-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com>\r\n\r\n* Add name check\r\n\r\n* [pre-commit.ci] auto fixes from pre-commit.com hooks\r\n\r\nfor more information, see https://pre-commit.ci\r\n\r\n* Add test for unnamed dataarray.\r\n\r\n* [pre-commit.ci] auto fixes from pre-commit.com hooks\r\n\r\nfor more information, see https://pre-commit.ci\r\n\r\n* Remove scalar array test\r\n\r\n* [pre-commit.ci] auto fixes from pre-commit.com hooks\r\n\r\nfor more information, see https://pre-commit.ci\r\n\r\n* Change error message\r\n\r\n* [pre-commit.ci] auto fixes from pre-commit.com hooks\r\n\r\nfor more information, see https://pre-commit.ci\r\n\r\n* Update xarray/tests/test_dataarray.py\r\n\r\n* Update whats-new.rst\r\n\r\n* Update doc/whats-new.rst\r\n\r\n---------\r\n\r\nCo-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>\r\nCo-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com>\r\nCo-authored-by: Deepak Cherian ""}",13221727,https://github.com/pydata/xarray/pull/7635,