-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Adding examples to update docstring (#16812) #17859
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
DOC: Adding examples to update docstring (#16812) #17859
Conversation
reidy-p
commented
Oct 12, 2017
- closes DOC: DataFrame.update() fails to change values in calling dataframe if new value is NaN #16812
Hello @reidy-p! Thanks for updating the PR. Cheers ! There are no PEP8 issues in this Pull Request. 🍻 Comment last updated on October 13, 2017 at 20:20 Hours UTC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@reidy-p Thanks for the PR!
General comment: IMO updating an integer column with strings is not a very typical applications (or not one we should advertise in the docs I think). I would rather give an example where you update an integer column with integers / string column with strings.
Maybe you can also show the effect of aligning on the index by updating with a frame that has not the same number of rows (specify the index manually in the construction)
@jorisvandenbossche thanks for the feedback! I'll update the PR. |
Codecov Report
@@ Coverage Diff @@
## master #17859 +/- ##
==========================================
- Coverage 91.23% 91.21% -0.02%
==========================================
Files 163 163
Lines 50069 50069
==========================================
- Hits 45678 45669 -9
- Misses 4391 4400 +9
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #17859 +/- ##
==========================================
- Coverage 91.23% 91.22% -0.01%
==========================================
Files 163 163
Lines 50069 50075 +6
==========================================
+ Hits 45678 45679 +1
- Misses 4391 4396 +5
Continue to review full report at Codecov.
|
lgtm. @jorisvandenbossche |
@reidy-p Thanks! |
…ev#17859) * DOC: Adding examples to update docstring (pandas-dev#16812) * formatting issues * improving examples
* upstream/master: (76 commits) CategoricalDtype construction: actually use fastpath (pandas-dev#17891) DEPR: Deprecate tupleize_cols in to_csv (pandas-dev#17877) BUG: Fix wrong column selection in drop_duplicates when duplicate column names (pandas-dev#17879) DOC: Adding examples to update docstring (pandas-dev#16812) (pandas-dev#17859) TST: Skip if no openpyxl in test_excel (pandas-dev#17883) TST: Catch read_html slow test warning (pandas-dev#17874) flake8 cleanup (pandas-dev#17873) TST: remove moar warnings (pandas-dev#17872) ENH: tolerance now takes list-like argument for reindex and get_indexer. (pandas-dev#17367) ERR: Raise ValueError when week is passed in to_datetime format witho… (pandas-dev#17819) TST: remove some deprecation warnings (pandas-dev#17870) Refactor index-as-string groupby tests and fix spurious warning (Bug 17383) (pandas-dev#17843) BUG: merging with a boolean/int categorical column (pandas-dev#17841) DEPR: Deprecate read_csv arguments fully (pandas-dev#17865) BUG: to_json - prevent various segfault conditions (GH14256) (pandas-dev#17857) CLN: Use pandas.core.common for None checks (pandas-dev#17816) BUG: set tz on DTI from fixed format HDFStore (pandas-dev#17844) RLS: v0.21.0rc1 Whatsnew cleanup (pandas-dev#17858) DEPR: Deprecate the convert parameter completely (pandas-dev#17831) ...
…ev#17859) * DOC: Adding examples to update docstring (pandas-dev#16812) * formatting issues * improving examples
…ev#17859) * DOC: Adding examples to update docstring (pandas-dev#16812) * formatting issues * improving examples
…ev#17859) * DOC: Adding examples to update docstring (pandas-dev#16812) * formatting issues * improving examples