Skip to content

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

Merged
merged 44 commits into from
May 30, 2017
Merged

Conversation

TomAugspurger
Copy link
Contributor

@TomAugspurger TomAugspurger commented May 29, 2017

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.

keitakurita and others added 30 commits May 29, 2017 15:05
* 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)
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#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)
Properties may run code with Jedi completion in IPython 6

Closes pandas-dev#16409
(cherry picked from commit 3c9a74b)
WBare and others added 14 commits May 29, 2017 15:18
* 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)
…, 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)
…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)
@codecov
Copy link

codecov bot commented May 29, 2017

Codecov Report

Merging #16535 into 0.20.x will increase coverage by 0.05%.
The diff coverage is 97.68%.

Impacted file tree graph

@@            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
Flag Coverage Δ
#multiple 88.14% <97.1%> (+0.06%) ⬆️
#single 40.15% <30.63%> (-0.24%) ⬇️
Impacted Files Coverage Δ
pandas/core/indexes/base.py 95.74% <ø> (-0.01%) ⬇️
pandas/io/clipboards.py 100% <ø> (ø)
pandas/util/testing.py 79.25% <100%> (+0.37%) ⬆️
pandas/core/indexes/multi.py 96.56% <100%> (-0.17%) ⬇️
pandas/core/missing.py 84.27% <100%> (ø) ⬆️
pandas/io/formats/style.py 95.92% <100%> (+0.03%) ⬆️
pandas/io/formats/format.py 96.02% <100%> (+0.36%) ⬆️
pandas/core/algorithms.py 94.41% <100%> (ø) ⬆️
pandas/core/window.py 96.48% <100%> (+0.23%) ⬆️
pandas/core/sparse/frame.py 94.26% <100%> (ø) ⬆️
... and 50 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e346c66...9c4a033. Read the comment docs.

@jreback
Copy link
Contributor

jreback commented May 30, 2017

lgtm. this covers to current master?

@jreback
Copy link
Contributor

jreback commented May 30, 2017

maybe create a new label for backporting?

@jreback jreback added this to the 0.20.2 milestone May 30, 2017
@TomAugspurger
Copy link
Contributor Author

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)

@TomAugspurger TomAugspurger merged commit eefbaf7 into pandas-dev:0.20.x May 30, 2017
@jorisvandenbossche
Copy link
Member

@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.

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!

And I think we want to rebase and merge onto 0.20.x, not squash.

Yeah, certainly, like you did in the meantime

@TomAugspurger TomAugspurger deleted the 0.20.2-backports-1 branch June 4, 2017 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.