Title is self-explanatory. Closes#14068.
Author: gfyoung <gfyoung17@gmail.com>
Closes#14237 from gfyoung/add-overflow and squashes the following commits:
77effde [gfyoung] BUG: Check for overflow in TimedeltaIndex addition.
closes#12258
1. fixes logic (and division by 0) in `cartesian_product` when some input arrays are empty
2. adds tests for MultiIndex empty level construction with `.from_arrays` and `.from_product`
Author: Piotr Jucha <pi.jucha@gmail.com>
Closes#14151 from pijucha/cartesian and squashes the following commits:
b831516 [Piotr Jucha] BUG/TST: Empty input arrays in cartesian_product and MultiIndex (#12258)
closes#13901
Author: agraboso <agraboso@gmail.com>
Closes#13907 from agraboso/fix-13901 and squashes the following commits:
fcbb724 [agraboso] ENH: Accept list as level for groupby in non-MultiIndexed objects
closes#14241
Python 2 only - apparently `str()` rounds shorter than `repr()` ```
In [1]: f = 1000000000.006 In [2]: str(f) Out[2]: '1000000000.01'
In [3]: repr(f) Out[3]: '1000000000.006' ```
Author: Chris <cbartak@gmail.com>
Closes#14255 from chris-b1/eval-float-cast and squashes the following commits:
d679aa3 [Chris] actual lint fix
8b0cb57 [Chris] lint
87df38d [Chris] better tests
c1e77b6 [Chris] lint fixup
05de4ae [Chris] fix rounding in pytables query
b386184 [Chris] BUG: float trunc in eval with py 2
closes#14266
Author: Jeff Reback <jeff@reback.net>
Closes#14270 from jreback/memory and squashes the following commits:
968a4f7 [Jeff Reback] PERF: use uniqueness_check from monotonic check when possible
closes ##14276
Author: Joe Jevnik <joe@quantopian.com>
Closes#14277 from llllllllll/no-full-like and squashes the following commits:
e098fd7 [Joe Jevnik] TST: remove usages of np.full_like for numpy<1.8.0 compat
This class inheriting from TestCase caused
the tests the yield fixture tests to not actually
run. The new output is
nosetests pandas/computation/tests/test_eval.py:TestTypeCasting
........................................
----------------------------------------------------------------------
Ran 40 tests in 0.264s
OK
closes#13347
Author: willayd <william.ayd@gmail.com>
Squashes the following commits:
242a6a6 ENH: Allow true_values and fals_values options in read_excel
closes#13797
Author: YG-Riku <rikuhiro@gmail.com>
Closes#14038 from YG-Riku/mi-iloc-fix and squashes the following commits:
1cf86a1 [YG-Riku] BUG: iloc fails with non lex-sorted MultiIndex #13797a23c736 [YG-Riku] BUG: iloc fails with non lex-sorted MultiIndex #13797072d2a3 [YG-Riku] BUG: iloc fails with non lex-sorted MultiIndex #13797
EngFormatter throws an exception if passed 'inf' as below. This
patch checks for infinity and just returns 'inf' in that case.
xref #11981
Author: Johnny Gill <swfiua@gmail.com>
Closes#14214 from swfiua/master and squashes the following commits:
f2348e7 [Johnny Gill] test EngFormatter with np.inf
83f4091 [Johnny Gill] add check for infinity in __call__ of EngFormatter
closes#11359
Author: Anthonios Partheniou <apartheniou@electricalengineer.ca>
Closes#14202 from parthea/gbq-verify-schema-less-scrict and squashes the following commits:
7e6a073 [Anthonios Partheniou] In gbq.to_gbq allow the DataFrame column order to differ from schema #11359
xref #12337
Author: Nicolas Bonnotte <nicolas.bonnotte@gmail.com>
Closes#14114 from nbonnotte/unicode-to_latex-12337 and squashes the following commits:
dadf73c [Nicolas Bonnotte] New tentative with C locale
b876296 [Nicolas Bonnotte] Base matrix configuration
c825f86 [Nicolas Bonnotte] New files requirements-3.5_ASCII.*
3b4c6a5 [Nicolas Bonnotte] Travis conf: new test with python 3.5 and LC_ALL=C
3b859ce [Nicolas Bonnotte] Test for Python 3.4 with C locale
Value assignment doesn't work if data contains DST boundary because of internal
.localize(None)
Author: sinhrks <sinhrks@gmail.com>
Closes#14146 from sinhrks/internals_datetimetz and squashes the following commits:
95aa6b5 [sinhrks] BUG: DatetimeTZBlock can't assign values near dst boundary
closes#14173
Author: Chris <cbartak@gmail.com>
Closes#14199 from chris-b1/concat-cat-types and squashes the following commits:
b04ea4d [Chris] BUG: union_categorical with Series and cat idx
closes#14171
Author: Josh Howes <josh.howes@gmail.com>
Closes#14182 from josh-howes/bugfix/14171-series-str-contains-only-nan-values and squashes the following commits:
c7e9721 [Josh Howes] BUG: fix str.contains for series containing only nan values
closes#14190
Author: Chris <cbartak@gmail.com>
Closes#14191 from chris-b1/cat-ctor and squashes the following commits:
4cad147 [Chris] add some nulls to tests
da865e2 [Chris] BUG: Categorical constructor not idempotent with ext dtype
closes#14088
Author: John Liekezer <cool.Bakov@yandex.ru>
Closes#14090 from conquistador1492/issue_14088 and squashes the following commits:
c91425b [John Liekezer] BUG: fix tz-aware datetime convert to DatetimeIndex (GH 14088)
Concatting categoricals with non-matching categories will now return object dtype instead of raising an error.
* ENH: concat and append now can handleunordered categories
* reomove union_categoricals kw from concat
closes#12995 flake8-ed *.pyx files and fixed errors. Removed
the E226 check because that inhibits pointers (e.g. char*).
Author: gfyoung <gfyoung17@gmail.com>
Closes#14147 from gfyoung/pyx-flake8 and squashes the following commits:
386ed58 [gfyoung] MAINT: flake8 *.pyx files