Skip to content

DOC: Change warning for sort behavior in concat #37948

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 19, 2020

Conversation

phofl
Copy link
Member

@phofl phofl commented Nov 18, 2020

We should either add a versionchanged attribute, for when this behavior changed or remove the warning completly. Additionally I removed the sort=False input for the function, because this is no longer necessary.

@phofl phofl added the Docs label Nov 18, 2020
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

We should either add a versionchanged attribute, for when this behavior changed or remove the warning completly.

is this for the join behavior not to sort? I am pretty sure that is in the doc-string. where are you not seeing it?

@jreback jreback added the Reshaping Concat, Merge/Join, Stack/Unstack, Explode label Nov 19, 2020
(columns in this case). In a future version of pandas, the default will
be to not sort. We specified ``sort=False`` to opt in to the new
behavior now.
.. versionchanged:::::: 1.0.0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
.. versionchanged:::::: 1.0.0
.. versionchanged:: 1.0.0

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed it

@@ -206,10 +206,9 @@ behavior:

.. warning::
Copy link
Member

Choose a reason for hiding this comment

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

I think the warning can be removed, as it is not that important any more (now we are past 1.0)

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, thx. Is gone

@jreback jreback added this to the 1.2 milestone Nov 19, 2020
@jreback jreback merged commit f4fab6d into pandas-dev:master Nov 19, 2020
@jreback
Copy link
Contributor

jreback commented Nov 19, 2020

great thanks

@phofl phofl deleted the upd_userguide branch November 19, 2020 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants