DOC: fix incorrect example in unstack docstring (GH14206) by sudk1896 · Pull Request #14211 · pandas-dev/pandas (original) (raw)
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 andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation5 Commits3 Checks0 Files changed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
sudk1896 commented
•
edited by jorisvandenbossche
Loading
I don't think you actually changed the output? (apart from the floating notation, which is OK). It is the output of df.unstack()
that was wrong (the 2 and 3 are swapped), and which should be corrected.
Current coverage is 85.24% (diff: 100%)
@@ master #14211 diff @@
Files 140 140
Lines 50563 50566 +3
Methods 0 0
Messages 0 0
Branches 0 0
Hits 43103 43103
- Misses 7460 7463 +3
Partials 0 0
Powered by Codecov. Last update 461e0e9...99c2f0b
jorisvandenbossche changed the title
Doc fix for DataFrame.unstack() DOC: fix incorrect example in unstack docstring (GH14206)
@sudk1896 Thanks for the fix!
(small note: you had a small trailing whitespace error which was captured by our linter (I corrected it), but I would recommend setting your editor to automatically remove trailing whitespace)
yarikoptic added a commit to neurodebian/pandas that referenced this pull request
- commit 'v0.19.0rc1-25-ga7469cf': (471 commits) ENH: Add divmod to series and index. (pandas-dev#14208) Fix generator tests to run (pandas-dev#14245) BUG: GH13629 Binned groupby median function with empty bins (pandas-dev#14225) TST/TEMP: fix pyqt to 4.x for plotting tests (pandas-dev#14240) DOC: added example to Series.map showing use of na_action parameter (GH14231) DOC: split docstring into multiple lines in excel.py (pandas-dev#14073) MAINT: Use module in _DeprecatedModule. (pandas-dev#14181) ENH: Allow true_values and false_values options in read_excel (pandas-dev#14002) DOC: fix incorrect example in unstack docstring (GH14206) (pandas-dev#14211) BUG: iloc fails with non lex-sorted MultiIndex pandas-dev#13797 BUG: add check for infinity in call of EngFormatter In gbq.to_gbq allow the DataFrame column order to differ from schema BLD: require cython if tempita is needed DOC: add source links to api docs (pandas-dev#14200) BUG: compat with Stata ver 111 Fix: F999 dictionary key '2000q4' repeated with different values (pandas-dev#14198) BLD: Test for Python 3.5 with C locale BUG: DatetimeTZBlock can't assign values near dst boundary BUG: union_categorical with Series and cat idx BUG: fix str.contains for series containing only nan values ...