Skip to content

Commit

Permalink
BUG: Fixed concat warning message (pandas-dev#21362)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger authored and david-liu-brattle-1 committed Jun 18, 2018
1 parent cabd881 commit 65dda40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/source/whatsnew/v0.23.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ I/O
Reshaping

- Bug in :func:`concat` where error was raised in concatenating :class:`Series` with numpy scalar and tuple names (:issue:`21015`)
- Bug in :func:`concat` warning message providing the wrong guidance for future behavior (:issue:`21101`)

Other

Expand Down
4 changes: 2 additions & 2 deletions pandas/core/indexes/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
Sorting because non-concatenation axis is not aligned. A future version
of pandas will change to not sort by default.
To accept the future behavior, pass 'sort=True'.
To accept the future behavior, pass 'sort=False'.
To retain the current behavior and silence the warning, pass sort=False
To retain the current behavior and silence the warning, pass 'sort=True'.
""")


Expand Down

0 comments on commit 65dda40

Please sign in to comment.