Skip to content

Fix concatenate inconsistency with NumPy for axis=None (#8668)#8686

Merged
jakirkham merged 2 commits intodask:mainfrom
tomwhite:concat-flatten
Feb 11, 2022
Merged

Fix concatenate inconsistency with NumPy for axis=None (#8668)#8686
jakirkham merged 2 commits intodask:mainfrom
tomwhite:concat-flatten

Conversation

@tomwhite
Copy link
Copy Markdown
Contributor

@tomwhite tomwhite commented Feb 8, 2022

@GPUtester
Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@github-actions github-actions bot added the array label Feb 8, 2022
Copy link
Copy Markdown
Contributor

@bryanwweber bryanwweber left a comment

Choose a reason for hiding this comment

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

Thanks @tomwhite! This change looks good to me, a fairly simple fix. The test failures appear to be unrelated to this change. Can you also update the docstring for da.concatenate to indicate that None is an option and will flatten all the arrays before concatenating, similar to the NumPy docstring? Thank you!

Also, I have to note the symmetry in the issue #8668 and the fixing PR #8686 😂

@tomwhite
Copy link
Copy Markdown
Contributor Author

tomwhite commented Feb 8, 2022

Also, I have to note the symmetry in the issue #8668 and the fixing PR #8686 😂

Carefully timed

Copy link
Copy Markdown
Member

@jakirkham jakirkham left a comment

Choose a reason for hiding this comment

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

Thanks Tom! 😄

@jakirkham jakirkham merged commit 182a6eb into dask:main Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

concatenate inconsistency with NumPy for axis=None

4 participants