-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
0.20.2 backports 1 #16535
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
0.20.2 backports 1 #16535
Conversation
pandas-dev#16191) (cherry picked from commit 1c0b632)
(cherry picked from commit 541e8e8)
Closes pandas-dev#3486 (cherry picked from commit 1bee035)
(cherry picked from commit b979816)
…level Index (pandas-dev#16266) (cherry picked from commit 8809b04)
(cherry picked from commit 1fdcb3a)
(cherry picked from commit b8f6556)
(cherry picked from commit ea56550)
(cherry picked from commit 9e57d91)
* BUG: pathlib.Path in io * CLN: factor out pathlib roundtrip * add localpath tests for other io * fixup * xfail SAS; type in parser * missing import * xfail for pandas-dev#14704 * fix to_csv * lint * lint cleanup * add feather (xfail) (cherry picked from commit 4cd8458)
(cherry picked from commit 4bed864)
…started (pandas-dev#16294) closes pandas-dev#16288 (cherry picked from commit 1e59b4c)
closes pandas-dev#16285 (cherry picked from commit ce4eef3)
(cherry picked from commit 0091810)
Closes pandas-devgh-16302. (cherry picked from commit 81aa70c)
(cherry picked from commit 0607e03)
closes pandas-dev#16319 (cherry picked from commit 94ef7b6)
) (pandas-dev#16325) (cherry picked from commit b1ff291)
(cherry picked from commit 379fa87)
Fixes categorical comparison operations improperly considering ordering when two unordered categoricals are compared. Closes pandas-dev#16014 (cherry picked from commit 91e9e52)
* PERF: improve hash collision check for single MI labels * PERF: specialized hash function for single tuples (cherry picked from commit 34ebad8)
closes pandas-dev#15400 (cherry picked from commit 42e2a87)
(cherry picked from commit a3021ea)
closes pandas-dev#16362 Author: RobinFiveWords <[email protected]> Closes pandas-dev#16395 from RobinFiveWords/cast-infer-datetime-reshape-fix and squashes the following commits: 7ad1e7d [RobinFiveWords] redid lost changes to cast.py and test_cast.py afa2eeb [RobinFiveWords] added whatsnew0.20.2 entry 7a35624 [RobinFiveWords] removed whatsnew entry again 2ec60a6 [RobinFiveWords] added back whatsnew change (cherry picked from commit 05d0667)
…andas-dev#16403) * BUG: wide_to_long should check for unique id vars (pandas-dev#16382) * Fix uncaught lint error * Add whatsnew note (bug fix) (cherry picked from commit 04356a8)
(cherry picked from commit 5fe042f)
(cherry picked from commit d5a681b)
Properties may run code with Jedi completion in IPython 6 Closes pandas-dev#16409 (cherry picked from commit 3c9a74b)
(cherry picked from commit b0a51df)
* BUG: Interpolate limit=n GH16282 * Fix: comment line over the 80 char limit * Test: Added small test for code coverage * DOC: Moved whats new comment from 0.21.0 to 0.20.2 * Update v0.21.0.txt Removed extraneous newline (cherry picked from commit a8a497f)
…as-dev#15593) (pandas-dev#16430) (cherry picked from commit 85080aa)
(cherry picked from commit e41fe7f)
…, GH16306) (pandas-dev#16433) TST: test for fix of GH16378, GH16306(cherry picked from commit 96f3e7c)
…-dev#16434) * Swiched out "values = np.array(list(values), dtype='object')" for "values = lib.list_to_object_array(list(values))" in the isin() method found in core/algorithms.py Added test for comparing to a list of tuples (cherry picked from commit e053ee3)
…r. (pandas-dev#16441) * BUG: Render empty DataFrame as empty HTML table w/o raising IndexError. * TST: Test rendering of 2 empty-ish DataFrames (pandas-dev#15953) DataFrame with an index but no column, and one with a column but no index. Add entry to whatsnew. (cherry picked from commit d9a63d0)
* Propagate the figsize via the rcParams, since matplotlib doesn't allow passing it as a parameter to gca(). * Update what's new for v0.21.0 and use rc_context() to temporarily change rcParams. * Move bug fix from 0.21.0 whatsnew to 0.20.2. * Allow passing in an rc to _gca() instead of just figsize, and added a test for boxplot figsize. * Fix style violations. (cherry picked from commit 044feb5)
…as-dev#16455) * Fix correct warning with c engine when skipping lines Fixed bug where c engine would not print warnings for lines it skipped in case the skipped line had an inline comment. Also, its accounting of number of fields in such lines would be off by one. * Use `tm.capture_stderr` to capture stderr * Add bug fix note in `whatsnew/v0.20.3.txt` * Move test to CParserTests The behavior is only applicable on the `c` engine. * Update whatsnew bug entry as per review (cherry picked from commit 97ad3fb)
(cherry picked from commit 92372c7)
…6465) * ENH: Add to_latex() method to Series (pandas-dev#16180) This changeset adds _repr_latex_ to the Series class and moves the to_latex() method from the DataFrame class to the NDFrame class. * Add Series to_latex test * Move _repr_latex_ to NDFrame Streamline things a bit by moving _repr_latex_ methods out of the Series and DataFrame classes * DOC: Added versionchanged (cherry picked from commit 6a6227d)
(cherry picked from commit 692a5b9)
(cherry picked from commit d7962c5)
closes pandas-dev#16499 (cherry picked from commit 6649157)
(cherry picked from commit e60dc4c)
Codecov Report
@@ Coverage Diff @@
## 0.20.x #16535 +/- ##
==========================================
+ Coverage 90.31% 90.37% +0.05%
==========================================
Files 167 161 -6
Lines 50907 50980 +73
==========================================
+ Hits 45977 46071 +94
+ Misses 4930 4909 -21
Continue to review full report at Codecov.
|
lgtm. this covers to current master? |
maybe create a new label for backporting? |
Yes, it's through current master. I've made a new label, "Needs Backport". Let's try labeling new PRs for 0.20.x with that, then I'll remove it when I've backported (cc. @jorisvandenbossche) |
I cherry picked directly to the 0.19.x branch, but making a PR like this seems also a nice way to keep track of things. So seems good!
Yeah, certainly, like you did in the meantime |
First round of backports. Covers everything up to and including #16526
@jorisvandenbossche I can't remember, did you make PRs for batches of backports or commit directly to the maintenance branch? I think I prefer PRs, if only for another historical record.
And I think we want to rebase and merge onto 0.20.x, not squash.