Skip to content

Conversation

sjvrijn
Copy link
Contributor

@sjvrijn sjvrijn commented Jun 24, 2021

Discussed this in #3820, would have been possible a year ago... Better late than never 😅

@max-sixty max-sixty added the plan to merge Final call for comments label Jun 24, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Jun 28, 2021

Unit Test Results

         6 files  ±0           6 suites  ±0   55m 6s ⏱️ ±0s
16 172 tests ±0  14 457 ✔️ ±0  1 715 💤 ±0  0 ❌ ±0 
90 228 runs  ±0  82 106 ✔️ ±0  8 122 💤 ±0  0 ❌ ±0 

Results for commit 8090513. ± Comparison against base commit 8090513.

♻️ This comment has been updated with latest results.


actual = DataArray([1, 2, 3], coords={"x": [0, 1, 2]})
expected = DataArray([1, 2, 3], coords=[("x", [0, 1, 2])])
assert_identical(expected, actual)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also add a test for 2D dataarrays?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! I'll add one asap

@max-sixty max-sixty merged commit 8090513 into pydata:main Jul 4, 2021
@max-sixty
Copy link
Collaborator

Thanks @sjvrijn !

@TomNicholas TomNicholas mentioned this pull request Jul 8, 2021
8 tasks
@sjvrijn sjvrijn deleted the undeprecate_coord_as_dict branch February 17, 2023 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plan to merge Final call for comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Undeprecate passing dictionary as coords for DataArray

3 participants