title
stringlengths
1
185
diff
stringlengths
0
32.2M
body
stringlengths
0
123k
url
stringlengths
57
58
created_at
stringlengths
20
20
closed_at
stringlengths
20
20
merged_at
stringlengths
20
20
updated_at
stringlengths
20
20
Copy on write using weakrefs
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 15a840ff3c7ba..36ee6bb8ec4bf 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -179,7 +179,7 @@ class DataFrame(NDFrame): np.arange(n) if no column labels are provided dtype : dtype, default None Data type to force, othe...
Working model of copy-on-write. Aims to close #10954, alternative to #10973, extension of #11207. ## Copy-on-Write Behavior: **Setting on child doesn't affect parent, but still uses views when can for efficiency** ``` parent = pd.DataFrame({'col1':[1,2], 'col2':[3,4]}) child = parent.loc[0:0,] child._is_view Out[1]:...
https://api.github.com/repos/pandas-dev/pandas/pulls/11500
2015-11-01T16:41:21Z
2016-01-11T13:49:28Z
null
2020-09-06T18:46:05Z
BUG: .loc with duplicated label may have incorrect index dtype
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index d4ed68b9f4343..42444e05783c2 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -112,3 +112,7 @@ Bug Fixes - Bug in ``.loc`` against ``CategoricalIndex`` may result in normal ``Index`` (:issue:`11586...
`.loc` result with duplicated keys may have incorred `Index` dtype. ``` import pandas as pd ser = pd.Series([0.1, 0.2], index=pd.Index([1, 2], name='idx')) # OK ser.loc[[2, 2, 1]].index # Int64Index([2, 2, 1], dtype='int64', name=u'idx') # NG, Int64Index(dtype=object) ser.loc[[3, 2, 3]].index # Int64Index([3, 2, ...
https://api.github.com/repos/pandas-dev/pandas/pulls/11497
2015-11-01T12:05:05Z
2015-11-29T18:01:15Z
2015-11-29T18:01:15Z
2015-11-29T19:42:00Z
ENH: support Akima 1D interpolation
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 28129287d51af..13389b603ed6c 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -25,6 +25,7 @@ Enhancements objects for the ``filepath_or_buffer`` argument. (:issue:`11033`) - ``DataFrame`` now us...
I went hunting for some low-hanging fruit in the area of missing data and came across #7588. I had to implement it a little differently than krogh, pchip, etc. because there is no convenience function for Akima like there are for the already supported methods. Once #11445 is merged I can rebase.
https://api.github.com/repos/pandas-dev/pandas/pulls/11496
2015-10-31T22:12:28Z
2016-01-20T14:13:35Z
null
2018-05-31T14:13:33Z
Update parser.pyx
diff --git a/pandas/parser.pyx b/pandas/parser.pyx index 8ac1f64f2d50e..cc5a0df1bdcc2 100644 --- a/pandas/parser.pyx +++ b/pandas/parser.pyx @@ -1825,7 +1825,7 @@ def _concatenate_chunks(list chunks): if warning_columns: warning_names = ','.join(warning_columns) warning_message = " ".join(["Colum...
fix #5888
https://api.github.com/repos/pandas-dev/pandas/pulls/11491
2015-10-31T17:21:38Z
2015-11-07T14:55:16Z
null
2015-11-07T14:55:16Z
ENH: Standardized timeseries accessor names, #9606
diff --git a/doc/source/api.rst b/doc/source/api.rst index bfd1c92d14acd..a19dedb37d57e 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -499,8 +499,10 @@ These can be accessed like ``Series.dt.<property>``. Series.dt.week Series.dt.weekofyear Series.dt.dayofweek + Series.dt.day_of_week Ser...
In accordance with https://github.com/pydata/pandas/issues/9606, I added `day_of_week` and `day_of_year` accessors to DatetimeIndex, Timestamp, and Period. Since https://github.com/pydata/pandas/issues/9606 didn't mention `weekofyear`, and there's already `week` as a replacement for that, I didn't add a `week_of_year`,...
https://api.github.com/repos/pandas-dev/pandas/pulls/11489
2015-10-31T06:53:19Z
2016-01-30T15:47:59Z
null
2016-01-30T15:47:59Z
Fix #10770 by adding days_in_month to docs
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index 1d21f96a7d539..2bc96d1b7b1aa 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -484,6 +484,7 @@ There are several time/date properties that one can access from ``Timestamp`` or dayofweek,"The day of the week with Monda...
Fix https://github.com/pydata/pandas/issues/10770 by adding days_in_month to Time/Date Components. Am I right in thinking `days_in_month` (rather than `daysinmonth`) is the right name to use going forward? Is there anywhere else in the documentation that it should be added that I missed?
https://api.github.com/repos/pandas-dev/pandas/pulls/11486
2015-10-30T19:25:38Z
2015-10-30T22:08:05Z
2015-10-30T22:08:05Z
2015-10-31T04:22:11Z
BUG: Holiday observance rules could not be applied
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index 2bc96d1b7b1aa..01b342213de07 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -1043,10 +1043,14 @@ An example of how holidays and holiday calendars are defined: cal.holidays(datetime(2012, 1, 1), datetime(2012, 12, 31...
Closes #11477 Closes #11533 There were some other bugs here that I added tests for. For example, `holiday.dates` for MLK day was returning all holidays from the holiday start date up to the end date rather than just between the range.
https://api.github.com/repos/pandas-dev/pandas/pulls/11484
2015-10-30T14:11:20Z
2015-11-14T14:57:23Z
2015-11-14T14:57:23Z
2015-11-14T14:57:29Z
ENH: Adding origin parameter in pd.to_datetime
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index d069a25c58143..60847469aa02c 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1,17 +1,28 @@ .. _whatsnew_0190: -v0.19.0 (August ??, 2016) +v0.19.0 (October 2, 2016) ------------------------- ...
Fixes #11276 Fixes #11745
https://api.github.com/repos/pandas-dev/pandas/pulls/11470
2015-10-29T11:20:00Z
2017-03-28T20:45:42Z
null
2017-03-28T20:45:49Z
DOC: Linguistic edit to CONTRIBUTING.md
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 284ac2fc5b169..352acee23df2d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,43 +4,22 @@ Contributing to pandas Where to start? --------------- -All contributions, bug reports, bug fixes, documentation improvements, -enhancements and ideas are welcome. -...
Also fixed a dead link to the Nose testing docs.
https://api.github.com/repos/pandas-dev/pandas/pulls/11469
2015-10-29T10:57:32Z
2015-11-09T22:22:10Z
2015-11-09T22:22:10Z
2015-11-10T09:54:56Z
CLN: move routines for filling missing data from core/common.py to core/missing.py
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index 9decd5e212cbf..e304684036766 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -10,6 +10,7 @@ from pandas.core.algorithms import factorize from pandas.core.base import PandasObject, PandasDelegate import pandas.core....
This PR moves the routines used for filling missing data into their own module as suggested in PR #11445. Thoughts on re-naming `interpolate_1d()` and `interpolate_2d()`? They way they are currently named makes them sound like they're the same functions for arrays of differing dimensions. However, `interpolate_1d()` i...
https://api.github.com/repos/pandas-dev/pandas/pulls/11462
2015-10-28T18:54:11Z
2015-10-28T21:49:00Z
2015-10-28T21:49:00Z
2015-10-28T21:56:56Z
allow rename to work with any Mapping, not just dict
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index c18f4ec0a1f47..52605ac8e41b1 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -4,6 +4,8 @@ import weakref import gc +from collections.abc import Mapping + import numpy as np import pandas.lib as lib @@ -580,7 +582,7 @@ def ren...
http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.rename.html claims to work with a dict-like object, but according to https://github.com/jab/bidict/issues/18#issuecomment-147643550 it does not. This patch changes `isinstance(..., dict)` to `isinstance(..., collections.abc.Mapping)` as a first pass...
https://api.github.com/repos/pandas-dev/pandas/pulls/11461
2015-10-28T18:07:17Z
2015-11-25T18:40:32Z
null
2019-08-24T18:14:07Z
implemented fix for groupby date bug, #11324
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 84db16e338d87..3b3c250862b2e 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -117,3 +117,5 @@ Bug Fixes - Bug in ``to_excel`` with openpyxl 2.2+ and merging (:issue:`11408`) - Bug in ``DataFram...
This is a fix for issue #11324 in which grouping when datetime fields are involved raises an exceptoin
https://api.github.com/repos/pandas-dev/pandas/pulls/11460
2015-10-28T17:04:13Z
2015-11-13T21:48:21Z
null
2015-11-13T21:48:21Z
ENH: tilde expansion for write functions, #11438
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 84db16e338d87..3a4781f1d022d 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -1,23 +1,56 @@ .. _whatsnew_0171: -v0.17.1 (November ??, 2015) +v0.17.1 (November 21, 2015) ------------------------...
closes #11438 Added calls to `_expand_user()` in multiple Formatter classes so that writer functions, such as `to_csv()` and `to_html()`, can perform tilde expansion on file paths beginning `~/`. This makes the writer functions consistent with the reader functions, such as `read_csv()`. I also changed the `__init__()`...
https://api.github.com/repos/pandas-dev/pandas/pulls/11458
2015-10-28T15:55:59Z
2015-11-19T20:26:35Z
null
2015-11-23T17:26:10Z
CLN/PERF: remove used functions; use C skip list for rolling median
diff --git a/asv_bench/benchmarks/gil.py b/asv_bench/benchmarks/gil.py index eeca2d54381b2..fdeace108f76e 100644 --- a/asv_bench/benchmarks/gil.py +++ b/asv_bench/benchmarks/gil.py @@ -366,3 +366,73 @@ def time_period_to_datetime(self): def run(period): period.to_timestamp() run(self.peri...
removes some unused code reverts this commit https://github.com/pydata/pandas/commit/a40226e5c4c3d29e5e2383433c5f0b94c3c0ecc1 performance consideration ``` import pandas import numpy arr = numpy.random.rand(1000000) %timeit pandas.rolling_median(arr, 1000) ``` master ``` 1 loops, best of 3: 4.94 s per loop ``` br...
https://api.github.com/repos/pandas-dev/pandas/pulls/11450
2015-10-28T00:13:33Z
2015-11-02T11:44:57Z
2015-11-02T11:44:57Z
2015-11-02T11:45:02Z
DOC: Improvements in panel apply docstring
diff --git a/pandas/core/panel.py b/pandas/core/panel.py index da0ab7bc59440..f05e5a8357877 100644 --- a/pandas/core/panel.py +++ b/pandas/core/panel.py @@ -3,33 +3,33 @@ """ # pylint: disable=E1103,W0231,W0212,W0621 from __future__ import division -from pandas.compat import (map, zip, range, lrange, lmap, u, Ordere...
Not sure what the bar is for a PR here - this is a mild but meaningful improvement - in particular re the option to supply numbers & a tuple - by no means perfect though
https://api.github.com/repos/pandas-dev/pandas/pulls/11449
2015-10-28T00:04:37Z
2015-11-07T14:54:27Z
2015-11-07T14:54:27Z
2015-11-07T17:25:24Z
BUG: fix Panel.fillna() ignoring axis parameter (re-submission)
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index 462ead70c9f93..09aeac3c6ab65 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -10,7 +10,7 @@ from pandas.core.algorithms import factorize from pandas.core.base import PandasObject, PandasDelegate, NoNewAttributesMixi...
closes #3570 closes #8251 This is a re-submission of PR #8395 and addresses issue #8251. My apologies for the duplicate PR, but despite rebasing to pydata/pandas master, the original PR would not update with my new commits and I couldn't get rid of the `LooseVersion()` errors in the Travis build. This PR may need so...
https://api.github.com/repos/pandas-dev/pandas/pulls/11445
2015-10-27T21:31:46Z
2016-01-20T14:12:24Z
null
2016-01-20T14:12:47Z
DOC:Remove supression from ipython directive to make object visible
diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst index b5a382ce24342..e517e9ab9935d 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -257,20 +257,21 @@ GroupBy with MultiIndex With :ref:`hierarchically-indexed data <advanced.hierarchical>`, it's quite natural to group by one of the leve...
Fix for https://github.com/pydata/pandas/issues/11223 @TomAugspurger should these two Ipython blocks be merged into one? (this is what it looks like at the mo) ![pandas-11223](https://cloud.githubusercontent.com/assets/4982858/10770424/2013049a-7ce3-11e5-9f64-f8a66c98b961.png)
https://api.github.com/repos/pandas-dev/pandas/pulls/11443
2015-10-27T19:37:12Z
2015-11-14T19:32:53Z
2015-11-14T19:32:53Z
2015-11-14T19:32:56Z
Fix for DataFrame.hist() with by- and weights-keyword
diff --git a/pandas/tests/test_graphics_others.py b/pandas/tests/test_graphics_others.py index b18cbae600b43..54f6cf50ea5ec 100644 --- a/pandas/tests/test_graphics_others.py +++ b/pandas/tests/test_graphics_others.py @@ -302,6 +302,30 @@ def test_boxplot_empty_column(self): df.loc[:, 0] = np.nan _chec...
will make the following work ``` python import numpy as np import pandas as pd d = {'one' : ['A', 'A', 'B', 'B', 'C'], 'two' : [4., 3., 2., 1., np.nan], 'three' : [10., 8., np.nan, 5., 7.]} df = pd.DataFrame(d) df.hist('two', by='one', weights='three', bins=range(0, 10)) # or df.hist('two', by=df.one.va...
https://api.github.com/repos/pandas-dev/pandas/pulls/11441
2015-10-27T14:23:49Z
2017-04-03T15:25:51Z
null
2017-04-03T15:25:51Z
CI: Py3.5 / numpy 1.10 testing
diff --git a/ci/requirements-3.5.build b/ci/requirements-3.5.build index de36b1afb9fa4..9558cf00ddf5c 100644 --- a/ci/requirements-3.5.build +++ b/ci/requirements-3.5.build @@ -1,4 +1,4 @@ python-dateutil pytz -numpy=1.9.3 +numpy cython diff --git a/ci/requirements-3.5.run b/ci/requirements-3.5.run index 91938675280...
closes #11187 closes #11138
https://api.github.com/repos/pandas-dev/pandas/pulls/11439
2015-10-27T12:38:40Z
2015-10-27T13:18:42Z
2015-10-27T13:18:42Z
2015-10-27T13:18:42Z
BUG: fix UnicodeEncodeError with to_sql and unicode column names (GH11431)
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 7178be1ffefd2..025aee17acec4 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -130,6 +130,13 @@ Bug Fixes - Bug in ``squeeze()`` with zero length arrays (:issue:`11230`, :issue:`8999`) - Bug in ``...
Closes #11431 Still have to add tests
https://api.github.com/repos/pandas-dev/pandas/pulls/11432
2015-10-26T10:09:32Z
2015-11-16T12:15:32Z
2015-11-16T12:15:32Z
2015-11-16T12:15:32Z
CLN: (more) boundscheck warnings in tslib
diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx index 2fa406f880cdd..afb15badf433c 100644 --- a/pandas/tslib.pyx +++ b/pandas/tslib.pyx @@ -4240,6 +4240,8 @@ cdef inline int m8_weekday(int64_t val): cdef int64_t DAY_NS = 86400000000000LL +@cython.wraparound(False) +@cython.boundscheck(False) def date_normalize(n...
https://github.com/pydata/pandas/pull/11404#issuecomment-150928024
https://api.github.com/repos/pandas-dev/pandas/pulls/11429
2015-10-25T15:58:35Z
2015-10-25T19:59:49Z
2015-10-25T19:59:49Z
2015-10-27T02:08:54Z
BUG: vectorized DateOffset match non-vectorized
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index 01b342213de07..50f104f4529fc 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -954,6 +954,52 @@ These can be used as arguments to ``date_range``, ``bdate_range``, constructors for ``DatetimeIndex``, as well as various oth...
closes #11370 Also added a bit of documentation on the semantics for anchored offsets currently blocked by #11406 - either need to change the vectorized or non-vectorized implementation of `QuarterBegin` As discussed in that issue, my opinion is the vectorized version is the "right" (or at least consistent) one.
https://api.github.com/repos/pandas-dev/pandas/pulls/11427
2015-10-24T21:09:45Z
2015-12-13T20:42:04Z
2015-12-13T20:42:03Z
2016-01-15T01:03:40Z
DOC: fix cython example (failed on Windows) (GH6002)
diff --git a/doc/source/enhancingperf.rst b/doc/source/enhancingperf.rst index 028e6d064a561..d98801f4a7afe 100644 --- a/doc/source/enhancingperf.rst +++ b/doc/source/enhancingperf.rst @@ -274,8 +274,8 @@ advanced cython techniques: ...: return s * dx ...: @cython.boundscheck(False) ...: @cytho...
Closes #6002 The signature of `apply_integrate_f_wrap` (http://pandas-docs.github.io/pandas-docs-travis/enhancingperf.html#more-advanced-techniques) used `Py_ssize_t` but on Windows that gives an error, as the dataframe is generated with numpy random arrays, which gives int32 on Windows, while `Py_ssize_t` is int64 o...
https://api.github.com/repos/pandas-dev/pandas/pulls/11426
2015-10-24T10:51:23Z
2015-11-01T21:09:58Z
2015-11-01T21:09:58Z
2015-11-01T21:09:58Z
DOC: add some examples to Index set operations
diff --git a/pandas/core/index.py b/pandas/core/index.py index 7049ac33feac6..003e444672d85 100644 --- a/pandas/core/index.py +++ b/pandas/core/index.py @@ -1469,7 +1469,7 @@ def __xor__(self, other): def union(self, other): """ - Form the union of two Index objects and sorts if possible + ...
I was wondering for a second in which direction the Index.difference worked, so thought some examples could clarify this
https://api.github.com/repos/pandas-dev/pandas/pulls/11425
2015-10-24T10:03:17Z
2015-10-25T14:06:38Z
2015-10-25T14:06:38Z
2015-10-25T14:06:38Z
BUG: implement .sort_index(...inplace=True) for #11402
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 2762d84d73ba0..e50919175beb2 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -43,6 +43,7 @@ API changes - Prettyprinting sets (e.g. in DataFrame cells) now uses set literal syntax (``{x, y}``) ins...
closes #11402 Adds inplace sort_index() for Series.
https://api.github.com/repos/pandas-dev/pandas/pulls/11422
2015-10-23T20:26:25Z
2015-10-27T11:11:42Z
null
2015-10-27T11:11:42Z
ENH: namedtuple's fields as columns
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 2762d84d73ba0..418d306a2de7f 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -30,6 +30,7 @@ Other Enhancements - ``pd.read_*`` functions can now also accept :class:`python:pathlib.Path`, or :cla...
Resolves https://github.com/pydata/pandas/issues/11181 Is this testing OK? Or do we need to test with differing lengths of tuples etc?
https://api.github.com/repos/pandas-dev/pandas/pulls/11416
2015-10-23T00:44:21Z
2015-10-23T20:30:33Z
2015-10-23T20:30:33Z
2015-10-24T01:11:48Z
Bug in merging datetime64[ns, tz] dtypes #11405
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 989b05003d76f..06ab19b6e4a40 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -74,7 +74,7 @@ Bug Fixes - Bug in ``.to_latex()`` output broken when the index has a name (:issue: `10660`) - Bug in...
closes #11405
https://api.github.com/repos/pandas-dev/pandas/pulls/11410
2015-10-22T12:19:57Z
2015-10-23T16:43:22Z
2015-10-23T16:43:22Z
2017-03-24T17:23:46Z
CLN: period boundscheck warnings
diff --git a/pandas/src/period.pyx b/pandas/src/period.pyx index b431bb58bc991..cfc50afc8f9f3 100644 --- a/pandas/src/period.pyx +++ b/pandas/src/period.pyx @@ -20,6 +20,7 @@ from pandas import compat from pandas.tseries import offsets from pandas.tseries.tools import parse_time_string +cimport cython from datetim...
follow up to fix warnings in https://github.com/pydata/pandas/pull/11263#issuecomment-149641296
https://api.github.com/repos/pandas-dev/pandas/pulls/11404
2015-10-21T22:50:07Z
2015-10-24T02:02:51Z
2015-10-24T02:02:51Z
2015-10-25T14:28:02Z
BUG: drop_duplicates drops non-duplicate rows in the presence of integer columns
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 2bb9920b6f177..70226ca302a60 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -92,7 +92,7 @@ Bug Fixes - Bug in ``pivot_table`` with ``margins=True`` when indexes are of ``Categorical`` dtype (:iss...
Fixes GH #11376
https://api.github.com/repos/pandas-dev/pandas/pulls/11403
2015-10-21T21:39:13Z
2015-10-24T00:18:23Z
2015-10-24T00:18:23Z
2015-10-24T00:47:51Z
ENH: Improve the error message in to_gbq when schema does not match #11359
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index bdfbf08b37e57..989b05003d76f 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -30,6 +30,7 @@ Other Enhancements - ``pd.read_*`` functions can now also accept :class:`python:pathlib.Path`, or :cla...
See the discussion in #11359
https://api.github.com/repos/pandas-dev/pandas/pulls/11401
2015-10-21T11:19:10Z
2015-10-21T15:28:55Z
2015-10-21T15:28:55Z
2015-10-21T15:30:48Z
BUG: using .ix with a multi-index indexer
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index cd3c3848523f0..eafd4973b5253 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -70,7 +70,7 @@ Bug Fixes - Bug in ``HDFStore.append`` with strings whose encoded length exceded the max unencoded lengt...
closes #11372 Add an optional argument to _NDFrameIndexer to indicate if the indexer is from a MultiIndex
https://api.github.com/repos/pandas-dev/pandas/pulls/11400
2015-10-21T08:40:16Z
2015-10-27T11:17:08Z
2015-10-27T11:17:08Z
2015-10-27T13:25:20Z
ENC: better pandas typesetting in ipython nbconvert --to latex (updated)
diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt index f691b0842f071..31c61e5c36203 100644 --- a/doc/source/whatsnew/v0.16.1.txt +++ b/doc/source/whatsnew/v0.16.1.txt @@ -21,6 +21,7 @@ Enhancements - ``DataFrame.mask()`` and ``Series.mask()`` now support same keywords as ``where`` (:iss...
New pull request with tests and comments. See https://github.com/pydata/pandas/pull/9821 for original PR.
https://api.github.com/repos/pandas-dev/pandas/pulls/11399
2015-10-21T07:16:58Z
2015-11-13T15:15:33Z
null
2015-11-14T19:34:36Z
BLD: add CFLAGS `-fgnu89-inline` on FreeBSD 10+
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index bdfbf08b37e57..ea26fdd90c4da 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -115,3 +115,7 @@ Bug Fixes - Fixed a bug that prevented the construction of an empty series of dtype ``datetime64[ns...
closes #10510
https://api.github.com/repos/pandas-dev/pandas/pulls/11398
2015-10-21T05:08:15Z
2015-11-10T12:12:36Z
2015-11-10T12:12:36Z
2015-11-10T12:13:06Z
Revert "BLD: conda"
diff --git a/ci/install_conda.sh b/ci/install_conda.sh index 204dba58641c4..8d99034a86109 100755 --- a/ci/install_conda.sh +++ b/ci/install_conda.sh @@ -71,7 +71,7 @@ wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O mini bash miniconda.sh -b -p $HOME/miniconda || exit 1 conda config --set...
This reverts commit 0c8a8e1372aef137ec71f0ba9c7af58cb4a2a8ac. closes #11394
https://api.github.com/repos/pandas-dev/pandas/pulls/11397
2015-10-21T02:33:09Z
2015-10-21T10:15:06Z
2015-10-21T10:15:06Z
2015-10-21T10:15:06Z
TST: remove invalid symbol warnings
diff --git a/pandas/io/tests/test_data.py b/pandas/io/tests/test_data.py index ad0e05f91d184..29970aef760f2 100644 --- a/pandas/io/tests/test_data.py +++ b/pandas/io/tests/test_data.py @@ -103,13 +103,15 @@ def test_get_multi1(self): @network def test_get_multi_invalid(self): sl = ['AAPL', 'AMZN', 'I...
https://api.github.com/repos/pandas-dev/pandas/pulls/11396
2015-10-21T02:09:17Z
2015-10-21T10:15:22Z
2015-10-21T10:15:22Z
2015-10-21T10:15:22Z
BUG: GH11344 in pandas.json when file to read is big
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 989b05003d76f..3b2ec3837cdd8 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -111,7 +111,7 @@ Bug Fixes - Bug in ``DataFrame.to_latex()`` produces an extra rule when ``header=False`` (:issue:`7124...
closes #11344 taken from esnme/ultrajson#145 test code ``` import json import pandas from pandas.compat import zip, range SIZE = 5*10**7 FILENAME = 'generated.json' with open(FILENAME, 'w') as fileh: json.dump(dict(zip(range(SIZE), range(SIZE))), fileh) with open(FILENAME) as fileh: pandas.json.load(fileh) `...
https://api.github.com/repos/pandas-dev/pandas/pulls/11393
2015-10-21T01:08:58Z
2015-10-23T16:57:20Z
2015-10-23T16:57:20Z
2015-10-23T16:57:37Z
TST: remove incomparable warnings from py3
diff --git a/pandas/computation/tests/test_eval.py b/pandas/computation/tests/test_eval.py index 7474c0d118612..52c8a0d15f7a2 100644 --- a/pandas/computation/tests/test_eval.py +++ b/pandas/computation/tests/test_eval.py @@ -774,7 +774,6 @@ def check_basic_frame_alignment(self, engine, parser): args = product(...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/11392
2015-10-20T23:23:26Z
2015-11-25T15:40:26Z
null
2023-05-11T01:13:13Z
TST: make a couple of tests slow / remove some warnings
diff --git a/ci/requirements-2.7_SLOW.pip b/ci/requirements-2.7_SLOW.pip new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/pandas/io/ga.py b/pandas/io/ga.py index 5525b34951524..a6f9c9ed9467f 100644 --- a/pandas/io/ga.py +++ b/pandas/io/ga.py @@ -4,13 +4,6 @@ 3. Goto APIs and register for OAuth2.0 f...
https://api.github.com/repos/pandas-dev/pandas/pulls/11391
2015-10-20T23:21:57Z
2015-10-21T12:23:28Z
2015-10-21T12:23:28Z
2015-10-21T12:23:28Z
ENH: str.extractall for several matches
diff --git a/doc/source/api.rst b/doc/source/api.rst index 3a6b31ceeeece..96bb91b60b8bf 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -526,6 +526,7 @@ strings and apply several methods to it. These can be accessed like Series.str.encode Series.str.endswith Series.str.extract + Series.str.ext...
For a series `S`, the excellent `S.str.extract` method returns the first match in each subject of the series: ``` python >>> import re >>> import pandas as pd >>> import numpy as np >>> data = { ... 'Dave': 'dave@google.com', ... 'multiple': 'rob@gmail.com some text steve@gmail.com', ... 'none': np.nan, .....
https://api.github.com/repos/pandas-dev/pandas/pulls/11386
2015-10-20T16:42:01Z
2016-02-09T22:20:53Z
null
2016-02-09T22:22:32Z
BUG: .loc assignment of datetime with tz is coercing to naive #11365
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index ea2b85d983ade..2aaa6ea89fb6e 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -115,3 +115,4 @@ Bug Fixes - Fixed a bug that prevented the construction of an empty series of dtype ``datetime64[ns...
closes #11365
https://api.github.com/repos/pandas-dev/pandas/pulls/11377
2015-10-19T23:13:25Z
2015-10-19T23:20:00Z
null
2015-11-15T18:41:09Z
BUG: pivot table bug with Categorical indexes, #10993
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index ea2b85d983ade..bdfbf08b37e57 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -87,7 +87,7 @@ Bug Fixes - Bug in list-like indexing with a mixed-integer Index (:issue:`11320`) - +- Bug in ``pivo...
closes #10993 replaces #10989 So issue #10993 involves the insertion of a key into a multi-index that has as one of its levels a `CategoricalIndex`. This causes the semantics to break down because we are inserting an new key. Existing ``` In [16]: df = DataFrame({'A' : [1,2], 'B' : [3,4] }) In [17]: df.columns = ...
https://api.github.com/repos/pandas-dev/pandas/pulls/11371
2015-10-19T11:39:15Z
2015-10-20T17:29:50Z
2015-10-20T17:29:50Z
2015-10-20T20:47:02Z
interpreting index name in min_itemsize specification #11364, #10381
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 4e25b546bddf2..c2653089c54f7 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -2989,7 +2989,6 @@ def data_orientation(self): def queryables(self): """ return a dict of the kinds allowable columns for this object """ - ...
closes #10381 The fix replaces named index columns in [`Table.index_axes` with their names](https://github.com/pydata/pandas/compare/master...DSLituiev:master#diff-1b15d1477da3a0548d2dd72a5d023d00L3323) and [corrects `min_itemsize` if it contains 'index' item which is not in `Table.index_axes`](https://github.com/py...
https://api.github.com/repos/pandas-dev/pandas/pulls/11368
2015-10-19T06:23:48Z
2015-11-18T20:16:52Z
null
2015-11-18T23:56:16Z
BUG: GH11235 where pd.eval doesn't handle unary ops in lists
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 989b05003d76f..afb143ac78df1 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -94,7 +94,7 @@ Bug Fixes - +- Bug in ``pd.eval`` where unary ops in a list error (:issue:`11235`) - Bug in ``sque...
closes #11235
https://api.github.com/repos/pandas-dev/pandas/pulls/11366
2015-10-19T05:40:18Z
2015-10-23T20:41:12Z
2015-10-23T20:41:12Z
2015-10-23T20:41:17Z
fixed pathlib tests on windows
diff --git a/pandas/io/tests/test_common.py b/pandas/io/tests/test_common.py index 003068a702246..73cae1130c740 100644 --- a/pandas/io/tests/test_common.py +++ b/pandas/io/tests/test_common.py @@ -43,12 +43,12 @@ def test_stringify_path_pathlib(self): rel_path = common._stringify_path(Path('.')) self....
as requested here: https://github.com/pydata/pandas/issues/11033#issuecomment-148924778 i can’t test on windows unfortunately.
https://api.github.com/repos/pandas-dev/pandas/pulls/11362
2015-10-18T08:36:40Z
2015-10-18T16:02:57Z
2015-10-18T16:02:57Z
2015-10-18T16:03:53Z
DOC: added exp weighting clarifications from #8861
diff --git a/doc/source/computation.rst b/doc/source/computation.rst index dfb9fab19bf31..cc114a2519d92 100644 --- a/doc/source/computation.rst +++ b/doc/source/computation.rst @@ -528,10 +528,18 @@ In general, a weighted moving average is calculated as y_t = \frac{\sum_{i=0}^t w_i x_{t-i}}{\sum_{i=0}^t w_i}, ...
I integrated the comments in #8861 from @seth-p into the exponential weighted moment functions docs.
https://api.github.com/repos/pandas-dev/pandas/pulls/11361
2015-10-18T04:23:02Z
2015-11-01T10:27:53Z
2015-11-01T10:27:53Z
2015-11-01T10:28:53Z
added a note on index creation for pandas dataframe stored in hdf5 file
diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index 0b05f062f5fce..907f53a54462d 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -1077,6 +1077,16 @@ Storing Attributes to a group node store.close() os.remove('test.h5') +How to construct an index of a Pandas dataframe sto...
Based on my discussion with Jeff http://stackoverflow.com/questions/25714549/indexing-and-data-columns-in-pandas-pytables/25715005?noredirect=1#comment53932720_25715005
https://api.github.com/repos/pandas-dev/pandas/pulls/11358
2015-10-17T20:32:06Z
2015-11-13T16:20:55Z
null
2015-11-13T16:20:55Z
WIP: avoid some numpy warnings #8537
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 7c4701b61c18d..ea2b85d983ade 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -41,6 +41,7 @@ API changes - Regression from 0.16.2 for output formatting of long floats/nan, restored in (:issue:`1130...
closes #8537 - avoid numpy comparison to `None` warnings - change null indexing from `ValueError` to `TypeError` (more consistent with other errors) - elementwise comparisons with index names xref #11162 - elementwise comparisons vs string-likes
https://api.github.com/repos/pandas-dev/pandas/pulls/11356
2015-10-17T16:30:40Z
2015-10-18T23:52:37Z
2015-10-18T23:52:37Z
2015-10-18T23:52:37Z
PERF: fast inf checking in to_excel
diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json index dcea59545aae3..6a739873a032f 100644 --- a/asv_bench/asv.conf.json +++ b/asv_bench/asv.conf.json @@ -43,6 +43,7 @@ "numexpr": [], "pytables": [], "openpyxl": [], + "xlsxwriter": [], "xlrd": [], "xlwt"...
Adds new functions to check for infinity rather than calling `np.isposinf` and `np.isneginf`, which were (surprising to me) a significant drag on `to_excel`. I also added `xlsxwriter` to the asv build configuration. `openpyxl` is still failing, I'm assuming something do with the specific version on conda? ``` be...
https://api.github.com/repos/pandas-dev/pandas/pulls/11352
2015-10-17T01:20:27Z
2015-10-17T15:08:44Z
2015-10-17T15:08:44Z
2015-10-21T22:41:46Z
DEPR: remove some SparsePanel deprecation warnings in testing
diff --git a/pandas/core/panel.py b/pandas/core/panel.py index 08ef82835830c..da0ab7bc59440 100644 --- a/pandas/core/panel.py +++ b/pandas/core/panel.py @@ -680,8 +680,8 @@ def _combine(self, other, func, axis=0): elif np.isscalar(other): return self._combine_const(other, func) else: - ...
https://api.github.com/repos/pandas-dev/pandas/pulls/11347
2015-10-16T22:05:26Z
2015-10-18T16:03:57Z
2015-10-18T16:03:56Z
2015-10-18T16:03:57Z
BUG: bug in comparisons vs tuples, #11339
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 6d4b61bb97f22..c5ae364e4a528 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -64,8 +64,8 @@ Bug Fixes - Bug in ``HDFStore.select`` when comparing with a numpy scalar in a where clause (:issue:`1...
closes #11339
https://api.github.com/repos/pandas-dev/pandas/pulls/11345
2015-10-16T16:01:39Z
2015-10-16T21:51:18Z
2015-10-16T21:51:18Z
2015-10-16T21:51:18Z
ENH: Add Index.fillna
diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst index 38629ee7baaea..3618c31b65116 100644 --- a/doc/source/indexing.rst +++ b/doc/source/indexing.rst @@ -1367,6 +1367,31 @@ with duplicates dropped. idx1.sym_diff(idx2) idx1 ^ idx2 +Missing values +~~~~~~~~~~~~~~ + +.. _indexing.missing: + +.. ve...
Closes #10089. - `value` can only accept scalar. - `MultiIndex.fillna` raises `NotImplementedError` because `isnull` is not defined for MI. - Moved `hasnans` and related properties to base `Index`.
https://api.github.com/repos/pandas-dev/pandas/pulls/11343
2015-10-16T14:22:08Z
2015-11-13T16:05:41Z
2015-11-13T16:05:41Z
2015-11-13T21:17:44Z
TST: tests for list skiprows in read_excel
diff --git a/pandas/io/tests/data/testskiprows.xls b/pandas/io/tests/data/testskiprows.xls new file mode 100644 index 0000000000000..21ccd30ec62da Binary files /dev/null and b/pandas/io/tests/data/testskiprows.xls differ diff --git a/pandas/io/tests/data/testskiprows.xlsm b/pandas/io/tests/data/testskiprows.xlsm new fi...
Closes #4903 This seemed to be fixed already, so just adding tests
https://api.github.com/repos/pandas-dev/pandas/pulls/11340
2015-10-16T02:49:53Z
2015-10-16T07:53:21Z
2015-10-16T07:53:21Z
2016-07-21T16:02:53Z
Use Service Account JSON Key File
diff --git a/pandas/io/gbq.py b/pandas/io/gbq.py index e7241036b94c4..77bcbe8af2b70 100644 --- a/pandas/io/gbq.py +++ b/pandas/io/gbq.py @@ -4,6 +4,7 @@ import logging from time import sleep import uuid +import pandas.json import numpy as np @@ -109,9 +110,10 @@ class TableCreationError(PandasError, ValueError)...
It is recommended by Google that we use Service Account credentials make API calls from server. See [this issue comment](https://github.com/pydata/pandas/issues/8489#issuecomment-148466759) for details. Docs and tests are not yet updated. DO NOT MERGE.
https://api.github.com/repos/pandas-dev/pandas/pulls/11335
2015-10-15T18:45:05Z
2015-11-18T20:15:48Z
null
2015-11-18T20:15:48Z
CLN: GH11271 move _get_handle, UTF encoders to io.common
diff --git a/pandas/core/common.py b/pandas/core/common.py index 724843d379f64..c6e774b5077db 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -5,8 +5,6 @@ import re import collections import numbers -import codecs -import csv import types from datetime import datetime, timedelta from functools i...
closes #11271
https://api.github.com/repos/pandas-dev/pandas/pulls/11330
2015-10-15T00:01:39Z
2015-10-15T22:21:38Z
2015-10-15T22:21:38Z
2015-10-15T22:21:45Z
BUG: Bug in DataFrame.replace with a datetime64[ns, tz] and a non-compat to_replace #11326
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index e9614ec4f2290..512aacad8a837 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -72,9 +72,15 @@ Bug Fixes - Bug in ``HDFStore.select`` when comparing with a numpy scalar in a where clause (:issue:`...
closes #11326 xref #11153
https://api.github.com/repos/pandas-dev/pandas/pulls/11329
2015-10-14T19:26:29Z
2015-10-17T15:04:49Z
2015-10-17T15:04:49Z
2015-10-17T15:04:49Z
Fix for BUG: multi-index excel header fails if all numeric
diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json index dcea59545aae3..6a739873a032f 100644 --- a/asv_bench/asv.conf.json +++ b/asv_bench/asv.conf.json @@ -43,6 +43,7 @@ "numexpr": [], "pytables": [], "openpyxl": [], + "xlsxwriter": [], "xlrd": [], "xlwt"...
replaces #11317 closes #11408 This includes updates to 3 Excel files, plus a test in test_excel.py, plus the fix in parsers.py
https://api.github.com/repos/pandas-dev/pandas/pulls/11328
2015-10-14T16:15:06Z
2015-10-25T14:02:58Z
null
2015-10-26T14:00:34Z
BUG: Fix to_dict() problem when using datetime DataFrame #11247
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index fa08a9790f789..88c46f3bcb863 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -96,3 +96,4 @@ Bug Fixes - Bugs in ``to_excel`` with duplicate columns (:issue:`11007`, :issue:`10982`, :issue:`10970`)...
closes #11247 This is my first time contributing through PR so forgive me if I make any silly mistake. The issue can be referred to in GH11247 I followed @jreback 's suggestion to box things up in `to_dict()` but I am not sure if this is what he means because I do not know exactly when `_maybe_datetime()` should be us...
https://api.github.com/repos/pandas-dev/pandas/pulls/11327
2015-10-14T16:13:51Z
2015-10-16T16:40:27Z
null
2015-10-17T03:33:38Z
ENH: itertuples() returns namedtuples (closes #11269)
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index e11c612a510db..757cff43f87e7 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -1211,9 +1211,10 @@ To iterate over the rows of a DataFrame, you can use the following methods: * :meth:`~DataFrame.iterrows`: Iterate over the rows of a DataF...
closes #11269 This will make itertuples return namedtuples. I'm not sure about tests, here. Since `namedtuple` is a drop-in replacement for ordinary tuples (once they are created) I naively expect things to work.
https://api.github.com/repos/pandas-dev/pandas/pulls/11325
2015-10-14T13:00:55Z
2015-10-28T11:13:27Z
2015-10-28T11:13:27Z
2015-10-28T11:58:03Z
BUG: Bug in list-like indexing with a mixed-integer Index, #11320
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 507c829e5763f..86f6a85898a15 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -65,7 +65,7 @@ Bug Fixes - Bug in tz-conversions with an ambiguous time and ``.dt`` accessors (:issues:`11295`) - +...
closes #11320
https://api.github.com/repos/pandas-dev/pandas/pulls/11322
2015-10-14T10:55:15Z
2015-10-14T11:43:50Z
2015-10-14T11:43:50Z
2015-10-14T11:43:50Z
DEPR: deprecate `engine` keyword from to_csv #11274
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 94f66f8cfc672..a9f160988acf8 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -40,6 +40,8 @@ API changes .. _whatsnew_0171.deprecations: +- ``engine`` keyword is deprecated from ``.to_csv()`` a...
closes #11274
https://api.github.com/repos/pandas-dev/pandas/pulls/11319
2015-10-13T23:53:44Z
2015-10-14T00:25:31Z
null
2015-10-14T00:25:31Z
DEPR: deprecate pandas.io.ga, #11308
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 1eff7d01d9d91..b9e674c819e49 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -43,6 +43,8 @@ API changes Deprecations ^^^^^^^^^^^^ +- The ``pandas.io.ga`` module which implements ``google-analyt...
closes #11308
https://api.github.com/repos/pandas-dev/pandas/pulls/11318
2015-10-13T22:12:13Z
2015-10-14T00:09:21Z
2015-10-14T00:09:21Z
2015-10-14T00:09:21Z
BUG: multi-index excel header fails if all numeric
diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index 8ac1aed9d9af7..9d62c0c4b5d8d 100755 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -867,7 +867,7 @@ def _extract_multi_indexer_columns(self, header, index_names, col_names, field_count = len(header[0]) def extract(r): - ...
If the multi-line headers come from Excel, and the header was not a string, the line all(['Unnamed' in c[n] for c in columns]): will fail because c[n] is an int and not iterable. So either force the headers to be strings (the proposed change) or come up with some other test when looking for 'Unnamed'
https://api.github.com/repos/pandas-dev/pandas/pulls/11317
2015-10-13T20:46:47Z
2015-10-14T18:51:30Z
null
2015-10-23T16:45:56Z
TST: validation tests for #11314, set_index with a tz
diff --git a/pandas/tseries/tests/test_timeseries.py b/pandas/tseries/tests/test_timeseries.py index ed174bc285e4f..a80bdf970cccb 100644 --- a/pandas/tseries/tests/test_timeseries.py +++ b/pandas/tseries/tests/test_timeseries.py @@ -3376,6 +3376,14 @@ def test_dti_set_index_reindex(self): df = df.reindex(idx2)...
xref #11314
https://api.github.com/repos/pandas-dev/pandas/pulls/11316
2015-10-13T19:06:15Z
2015-10-13T19:31:47Z
2015-10-13T19:31:47Z
2015-10-13T19:31:48Z
Fixed typo
diff --git a/doc/source/10min.rst b/doc/source/10min.rst index 91e607757e4f1..3cf05698dd9d0 100644 --- a/doc/source/10min.rst +++ b/doc/source/10min.rst @@ -169,7 +169,7 @@ Selection recommend the optimized pandas data access methods, ``.at``, ``.iat``, ``.loc``, ``.iloc`` and ``.ix``. -See the indexing docum...
https://api.github.com/repos/pandas-dev/pandas/pulls/11315
2015-10-13T18:35:36Z
2015-10-13T18:39:13Z
2015-10-13T18:39:13Z
2015-10-13T18:39:17Z
Correct typo in error message.
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 2cdb6d9b04341..920d9ad96c5b6 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1925,7 +1925,7 @@ def _getitem_column(self, key): if self.columns.is_unique: return self._get_item_cache(key) - # duplicate columns ...
Change `# duplicate columns & possible reduce dimensionaility` error message comment to `# duplicate columns & possible reduce dimensionality`.
https://api.github.com/repos/pandas-dev/pandas/pulls/11313
2015-10-13T15:26:45Z
2015-10-13T15:50:55Z
2015-10-13T15:50:55Z
2015-10-13T15:58:47Z
REGR: change in output formatting for long floats/nan, #11302
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 94f66f8cfc672..d119a27c9cefa 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -34,7 +34,7 @@ API changes - min and max reductions on ``datetime64`` and ``timedelta64`` dtyped series now result...
closes #11302
https://api.github.com/repos/pandas-dev/pandas/pulls/11309
2015-10-13T11:43:48Z
2015-10-13T13:57:40Z
2015-10-13T13:57:40Z
2015-10-13T13:57:40Z
Checking for length of categories before doing string conversion. fix…
diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py index a0f9383336940..d32c19d6d0bb8 100644 --- a/asv_bench/benchmarks/categoricals.py +++ b/asv_bench/benchmarks/categoricals.py @@ -1,6 +1,7 @@ from .pandas_vb_common import * import string + class concat_categorical(object): ...
closes #11305
https://api.github.com/repos/pandas-dev/pandas/pulls/11306
2015-10-13T02:04:54Z
2015-11-13T15:13:19Z
null
2015-11-13T15:13:19Z
DOC Use plot.<kind> instead of plot(kind=<kind>) GH11043
diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst index b6ee2d83fd131..b60996cd79d8e 100644 --- a/doc/source/visualization.rst +++ b/doc/source/visualization.rst @@ -135,7 +135,16 @@ These include: * :ref:`'hexbin' <visualization.hexbin>` for hexagonal bin plots * :ref:`'pie' <visualization.pie...
closes #11043 I modified the visualization documentation to use plot.<kind> instead of plot(kind=<kind>) in the examples as explained by [issue 11043](https://github.com/pydata/pandas/issues/11043).
https://api.github.com/repos/pandas-dev/pandas/pulls/11303
2015-10-12T20:11:24Z
2016-02-12T03:10:54Z
null
2016-02-15T19:22:24Z
BUG: Bug in tz-conversions with an ambiguous time and .dt accessors, #11295
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index e4372ad1d23b8..79eef77b74ff7 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -55,8 +55,12 @@ Bug Fixes - Bug in ``.to_latex()`` output broken when the index has a name (:issue: `10660`) - Bug i...
closes #11295
https://api.github.com/repos/pandas-dev/pandas/pulls/11301
2015-10-12T15:45:45Z
2015-10-13T12:25:28Z
2015-10-13T12:25:27Z
2015-10-13T12:25:28Z
BUG: GH10355 groupby std() no longer sqrts grouping cols
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index add5080a69ee4..9b514a29afd79 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -789,7 +789,12 @@ def std(self, ddof=1): For multiple groupings, the result index will be a MultiIndex """ # todo, implement at c...
closes #10355 Previously grouping columns were square rooted when as_index=False New method closely follows the format of var() method.
https://api.github.com/repos/pandas-dev/pandas/pulls/11300
2015-10-12T14:40:57Z
2015-11-05T12:57:18Z
null
2019-02-14T05:23:36Z
PERF: Checking monotonic-ness before sorting on an index #11080
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index 9bece56e15c90..a04a9d0814a30 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -930,6 +930,16 @@ def time_frame_xs_row(self): self.df.xs(50000) +class frame_sort_...
closes #11080 Worked for this during PyCon JP 2015 pandas sprint /w @sinhrks I found `test_frame.py:TestDataFrame.test_sort_index` cover this change.
https://api.github.com/repos/pandas-dev/pandas/pulls/11294
2015-10-12T08:26:46Z
2015-10-14T10:56:26Z
2015-10-14T10:56:26Z
2015-10-14T10:56:38Z
TST: Add hex color strings test
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 1eff7d01d9d91..5696d8d7416fc 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -64,7 +64,7 @@ Bug Fixes - +- Bug in ``DataFrame.plot`` cannot use hex strings colors (:issue:`10299`) diff ...
It's already resolved. I added hex string color test. closes #10299
https://api.github.com/repos/pandas-dev/pandas/pulls/11293
2015-10-12T07:40:01Z
2015-10-15T14:20:58Z
2015-10-15T14:20:58Z
2015-10-15T14:45:02Z
Fix mistake in Pytables querying with numpy scalar value. Fixes #11283
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 74ace42eb7e22..47a83e9894521 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -53,7 +53,7 @@ Bug Fixes - Bug in ``.to_latex()`` output broken when the index has a name (:issue: `10660`) - Bug in...
Fixes #11283 First PR to this project. The fix is minuscule, but let me know if I did anything awry.
https://api.github.com/repos/pandas-dev/pandas/pulls/11291
2015-10-12T03:13:05Z
2015-10-13T11:49:26Z
2015-10-13T11:49:26Z
2015-10-13T11:49:29Z
ENH: Improvement to the BigQuery streaming insert failure message #11285
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 668873e838597..41a3ea9347a04 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -20,6 +20,8 @@ Enhancements .. _whatsnew_0171.enhancements.other: +- Improve the error message in :func:`pandas.io....
closes #11285 This is a minor change to include `'Location'` in the error message reported when a streaming insert fails using the `df.to_gbq()`
https://api.github.com/repos/pandas-dev/pandas/pulls/11286
2015-10-11T12:03:18Z
2015-10-11T15:40:28Z
2015-10-11T15:40:28Z
2015-10-14T12:00:45Z
DOC: whatsnew fixes
diff --git a/doc/source/whatsnew/v0.12.0.txt b/doc/source/whatsnew/v0.12.0.txt index fd726af3912f0..4c7d799ec5202 100644 --- a/doc/source/whatsnew/v0.12.0.txt +++ b/doc/source/whatsnew/v0.12.0.txt @@ -191,7 +191,7 @@ I/O Enhancements df = DataFrame({'a': range(3), 'b': list('abc')}) print(df) ...
Some fixes I applied to the v0.17.0 docs I uploaded (older whatsnew was failing due to changes in 0.17)
https://api.github.com/repos/pandas-dev/pandas/pulls/11280
2015-10-10T10:12:33Z
2015-10-10T10:12:54Z
2015-10-10T10:12:54Z
2015-10-10T10:12:54Z
PERF: use .values in index difference
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index d8e92b41c6593..58b136827a62b 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -136,6 +136,7 @@ Performance Improvements ~~~~~~~~~~~~~~~~~~~~~~~~ - Checking monotonic-ness before sorting on an in...
The existing `.difference` method 'unboxed' all the objects, which has a severe performance impact on `PeriodIndex` in particular. ``` python In [3]: long_index = pd.period_range(start='2000', freq='s', periods=1000) In [4]: empty_index = pd.PeriodIndex([],freq='s') In [24]: %timeit long_index.difference(empty_in...
https://api.github.com/repos/pandas-dev/pandas/pulls/11279
2015-10-10T01:16:40Z
2016-01-06T17:18:33Z
null
2016-12-22T05:57:03Z
Update sql.py
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index 721a2c1f350ee..799d1e88260f2 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -309,8 +309,8 @@ def read_sql_table(table_name, con, schema=None, index_col=None, schema : string, default None Name of SQL schema in database to query (if database f...
Fix documentation for index_col parameter to read_sql, read_sql_table and read_sql_query to reflect that a list can be passed.
https://api.github.com/repos/pandas-dev/pandas/pulls/11277
2015-10-09T21:13:48Z
2015-10-10T10:10:18Z
2015-10-10T10:10:18Z
2015-10-10T10:10:18Z
PERF: Removed the GIL from parts of the TextReader class
diff --git a/asv_bench/benchmarks/gil.py b/asv_bench/benchmarks/gil.py index fdeace108f76e..2eb6786356511 100644 --- a/asv_bench/benchmarks/gil.py +++ b/asv_bench/benchmarks/gil.py @@ -1,15 +1,24 @@ from .pandas_vb_common import * from pandas.core import common as com + +try: + from cStringIO import StringIO +exce...
The GIL was removed around the tokenizer functions and the conversion function(_string_convert excluded). ## Benchmark: ### Data Generation: ``` python import pandas as pd import numpy as np df = pd.DataFrame(np.random.randn(1000000,10)) df.to_csv('test.csv') ``` ### Benchmark Code: ``` python import pandas as pd fr...
https://api.github.com/repos/pandas-dev/pandas/pulls/11272
2015-10-09T16:08:15Z
2015-11-04T20:28:15Z
2015-11-04T20:28:15Z
2015-11-04T21:04:53Z
BUG: Allow MultiIndex to be subclassed #11267
diff --git a/pandas/core/index.py b/pandas/core/index.py index 256ece6539b6f..62ef73b150fec 100644 --- a/pandas/core/index.py +++ b/pandas/core/index.py @@ -3906,7 +3906,7 @@ def __new__(cls, levels=None, labels=None, sortorder=None, names=None, name = None return Index(levels[0], name=nam...
closes #11267 MultiIndex had several places where the output class was hard-coded to MultiIndex rather than cls, self.**class**, or the like. These have been replaced.
https://api.github.com/repos/pandas-dev/pandas/pulls/11268
2015-10-09T08:26:43Z
2015-11-18T20:15:11Z
null
2015-11-18T20:15:11Z
PERF: Release GIL on some datetime ops
diff --git a/asv_bench/benchmarks/gil.py b/asv_bench/benchmarks/gil.py index 4b82781fc39d9..eeca2d54381b2 100644 --- a/asv_bench/benchmarks/gil.py +++ b/asv_bench/benchmarks/gil.py @@ -320,3 +320,49 @@ def time_nogil_kth_smallest(self): def run(arr): algos.kth_smallest(arr, self.k) run() ...
This is a WIP, but far enough along I thought I'd share and see if the approach was reasonable. This releases the GIL on most vectorized field accessors (e.g. `dt.year`) and conversion to and from `Period`. May be places it could be done - obviously would be nice for parsing, but I'm not sure that's possible.
https://api.github.com/repos/pandas-dev/pandas/pulls/11263
2015-10-08T03:29:23Z
2015-10-17T14:48:10Z
2015-10-17T14:48:10Z
2015-10-21T22:42:05Z
CI: fix numpy to 1.9.3 in 2.7,3.5 builds for now, as packages for 1.1.0 not released ATM
diff --git a/ci/requirements-2.7.build b/ci/requirements-2.7.build index 3fe6f60aee98b..6c9965ac0305e 100644 --- a/ci/requirements-2.7.build +++ b/ci/requirements-2.7.build @@ -1,4 +1,4 @@ dateutil=2.1 pytz=2013b -numpy +numpy=1.9.3 cython=0.19.1 diff --git a/ci/requirements-2.7.run b/ci/requirements-2.7.run index 8...
xref #11187 conda packages are not yet updated, so need to fix to 1.9.3 for now
https://api.github.com/repos/pandas-dev/pandas/pulls/11262
2015-10-08T02:42:15Z
2015-10-08T03:00:33Z
2015-10-08T03:00:33Z
2015-10-08T03:00:33Z
DOC: Included halflife as one 3 optional params that must be specified
diff --git a/pandas/stats/moments.py b/pandas/stats/moments.py index 2e13082ee5366..c4791c43278b9 100644 --- a/pandas/stats/moments.py +++ b/pandas/stats/moments.py @@ -97,7 +97,7 @@ _ewm_notes = r""" Notes ----- -Either center of mass or span must be specified +Either center of mass, span or halflife must be specif...
This documentation appears to not be consistent with the function usage, i.e. halflife can also be specified as an alternative to center of mass or span.
https://api.github.com/repos/pandas-dev/pandas/pulls/11261
2015-10-08T01:56:48Z
2015-10-08T03:00:41Z
2015-10-08T03:00:41Z
2015-10-08T03:00:41Z
BUG/ERR: raise when trying to set a subset of values in a datetime64[ns, tz] columns with another tz
diff --git a/pandas/core/internals.py b/pandas/core/internals.py index 4790f3aa3841e..51f6c7043817f 100644 --- a/pandas/core/internals.py +++ b/pandas/core/internals.py @@ -2099,7 +2099,7 @@ def _try_coerce_args(self, values, other): if is_null_datelike_scalar(other): other = tslib.iNaT e...
https://api.github.com/repos/pandas-dev/pandas/pulls/11259
2015-10-07T19:13:42Z
2015-10-07T21:05:33Z
2015-10-07T21:05:33Z
2015-10-07T21:05:33Z
DOC: some hacks to get rid of warnings
diff --git a/doc/source/api.rst b/doc/source/api.rst index b1c7b569c0c42..bfd1c92d14acd 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -611,7 +611,7 @@ strings and apply several methods to it. These can be acccessed like .. The following is needed to ensure the generated pages are created with the ...
This PR includes some hacks to numpydoc to get rid of a bunch of warnings (split of from https://github.com/pydata/pandas/pull/11069 as I want these merged for 0.17.0). There is some more explanation in the commit messages. Closes #6100 The disadvantage of this is that this causes a deviation from numpydoc upstream, ...
https://api.github.com/repos/pandas-dev/pandas/pulls/11257
2015-10-07T11:19:56Z
2015-10-07T21:42:44Z
2015-10-07T21:42:44Z
2018-12-06T21:13:45Z
added random_split in generic.py, for DataFrames etc.
diff --git a/pandas/core/api.py b/pandas/core/api.py index e2ac57e37cba6..e34895af9640c 100644 --- a/pandas/core/api.py +++ b/pandas/core/api.py @@ -6,7 +6,7 @@ from pandas.core.algorithms import factorize, match, unique, value_counts from pandas.core.common import isnull, notnull from pandas.core.categorical import...
Added a method random_split() for NDFrames, to split the Frame into several frames according to one axis. Basic use: for train/test or train/validation/test splitting of a dataframe. Note: I'm not sure this feature fits well in NDFrame. If you think this feature can be added, I'll add more tests and docs.
https://api.github.com/repos/pandas-dev/pandas/pulls/11253
2015-10-06T15:58:42Z
2015-11-23T00:11:47Z
null
2015-11-23T00:11:48Z
COMPAT/PERF: lib.ismember_int64 on older numpies/cython not comparing correctly #11232
diff --git a/asv_bench/benchmarks/series_methods.py b/asv_bench/benchmarks/series_methods.py index d2167a8b6e9e1..37969a6949157 100644 --- a/asv_bench/benchmarks/series_methods.py +++ b/asv_bench/benchmarks/series_methods.py @@ -5,22 +5,21 @@ class series_isin_int64(object): goal_time = 0.2 def setup(self):...
closes #11232 PERF: use np.in1d on larger isin sizes
https://api.github.com/repos/pandas-dev/pandas/pulls/11252
2015-10-06T11:07:25Z
2015-10-06T18:04:08Z
2015-10-06T18:04:08Z
2018-01-22T18:34:53Z
DOC: Fix typo in Grouper private method documentation.
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index 40f078a1bbcfe..add5080a69ee4 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -242,7 +242,7 @@ def _get_grouper(self, obj): def _set_grouper(self, obj, sort=False): """ - given an object and the specifcations, s...
https://api.github.com/repos/pandas-dev/pandas/pulls/11249
2015-10-06T00:09:11Z
2015-10-06T11:06:41Z
null
2015-10-06T11:06:41Z
DOC: to_timedelta in convert_objects warning
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 3473dd0f7cd88..2def8180a43e4 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2595,7 +2595,7 @@ def convert_objects(self, convert_dates=True, convert_numeric=False, """ from warnings import warn warn("conve...
closes #11246
https://api.github.com/repos/pandas-dev/pandas/pulls/11248
2015-10-05T23:24:45Z
2015-10-06T07:55:46Z
2015-10-06T07:55:46Z
2015-10-06T23:58:39Z
BUG: datetime64 series reduces to nan when empty instead of nat
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 668873e838597..60c8b58768f83 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -28,6 +28,9 @@ Other Enhancements API changes ~~~~~~~~~~~ +- min and max reductions on ``datetime64`` and ``timedelt...
I ran into some strange behavior with a series of dtype datetime64[ns] where I called max and got back a `nan`. I think the correct behavior here is to return `nat`. I looked through test_nanops but I am not sure where the correct place to put the test for this is. The new behavior is: ``` python In [1]: pd.Series(dt...
https://api.github.com/repos/pandas-dev/pandas/pulls/11245
2015-10-05T18:41:09Z
2015-10-11T15:17:51Z
2015-10-11T15:17:51Z
2015-10-11T15:17:56Z
DOC: clarify requirements for read_stata's args
diff --git a/pandas/io/stata.py b/pandas/io/stata.py index 5afbc2671e3a7..fd155d62bd5d8 100644 --- a/pandas/io/stata.py +++ b/pandas/io/stata.py @@ -74,7 +74,7 @@ Parameters ---------- filepath_or_buffer : string or file-like object - Path to .dta file or object implementing a binary read() functions + Path to...
read_stata(buf) needs a buf which implements both read() and seek(). read() is not enough. For example, the object returned from zipfile.ZipFile.open('filename') only provides read() and not seek() and cannot be used.
https://api.github.com/repos/pandas-dev/pandas/pulls/11243
2015-10-05T15:37:20Z
2015-10-06T11:18:06Z
null
2015-10-06T11:18:26Z
Enhance timeseries documentation
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index 7ca4ff0529b4e..65fb2a6133806 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -1050,6 +1050,29 @@ previous versions, resampling had to be done using a combination of function on the grouped object. This was not nearly con...
As talked in #11217.
https://api.github.com/repos/pandas-dev/pandas/pulls/11242
2015-10-05T14:18:58Z
2015-10-08T12:25:34Z
null
2015-10-08T12:25:38Z
test regarding fix about non propagating along axis on pct_change
diff --git a/pandas/tests/test_generic.py b/pandas/tests/test_generic.py index 3a26be2ca1032..8a1e41b2915ec 100644 --- a/pandas/tests/test_generic.py +++ b/pandas/tests/test_generic.py @@ -1850,6 +1850,15 @@ def test_pipe_panel(self): with tm.assertRaises(ValueError): result = wp.pipe((f, 'y'), ...
https://api.github.com/repos/pandas-dev/pandas/pulls/11241
2015-10-05T12:14:20Z
2015-10-05T12:24:28Z
null
2015-10-05T12:24:28Z
BUG: HDFStore.append with encoded string itemsize
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 736554672a089..f9ae7c32e956c 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -42,3 +42,10 @@ Performance Improvements Bug Fixes ~~~~~~~~~ + + +- Bug in ``HDFStore.append`` with strings whose en...
Closes https://github.com/pydata/pandas/issues/11234 Failure came when the maximum length of the unencoded string was smaller than the maximum encoded length. Need to run a perf check still. We end up having to call `_convert_string_array` twice, once before we know the min_itemsize, and a second time just before app...
https://api.github.com/repos/pandas-dev/pandas/pulls/11240
2015-10-05T00:15:36Z
2015-10-09T13:33:02Z
null
2016-11-03T12:38:27Z
BUG: to_excel duplicate columns
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 543eea399f447..668873e838597 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -70,3 +70,7 @@ Bug Fixes - Bug in ``DataFrame.to_latex()`` produces an extra rule when ``header=False`` (:issue:`71...
closes #11007 closes #10970 (data in wrong order) closes #10982 (columns lost). Using the approach suggested [here](https://github.com/pydata/pandas/issues/11007#issuecomment-141019207) All three occurred when using `to_excel` with duplicate columns in the `DataFrame`
https://api.github.com/repos/pandas-dev/pandas/pulls/11237
2015-10-04T18:21:15Z
2015-10-10T00:23:39Z
2015-10-10T00:23:39Z
2015-10-11T23:36:11Z
BUG: to_latex() output broken when the index has a name (GH10660)
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 736554672a089..e4a3183983fa9 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -42,3 +42,4 @@ Performance Improvements Bug Fixes ~~~~~~~~~ +Bug in ``.to_latex()`` output broken when the index has...
closes #10660 first try at contributing to pandas. feedbacks will be greatly appreciated.
https://api.github.com/repos/pandas-dev/pandas/pulls/11233
2015-10-04T06:55:29Z
2015-10-09T13:03:57Z
2015-10-09T13:03:57Z
2015-10-09T13:04:03Z
DOC: Add note about unicode layout
diff --git a/doc/source/_static/option_unicode01.png b/doc/source/_static/option_unicode01.png new file mode 100644 index 0000000000000..d7168de126c5b Binary files /dev/null and b/doc/source/_static/option_unicode01.png differ diff --git a/doc/source/_static/option_unicode02.png b/doc/source/_static/option_unicode02.pn...
Follow-up for #11102. Added note because doc output may look incorrect depending on font.
https://api.github.com/repos/pandas-dev/pandas/pulls/11231
2015-10-03T23:23:35Z
2015-10-07T15:52:05Z
2015-10-07T15:52:05Z
2015-10-08T05:09:42Z
squeeze works on 0 length arrays
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 736554672a089..b4ed00189c710 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -42,3 +42,5 @@ Performance Improvements Bug Fixes ~~~~~~~~~ + +- Bug in ``squeeze()`` with zero length arrays (:issu...
fixes: https://github.com/pydata/pandas/issues/11229. fixes: https://github.com/pydata/pandas/issues/8999. Also a better implementation that avoids `ix` Should I add to What's new for 0.17? Or is that closed now?
https://api.github.com/repos/pandas-dev/pandas/pulls/11230
2015-10-03T18:05:48Z
2015-10-09T13:15:07Z
null
2015-12-08T03:52:34Z
defer or remove loading of openhub in docs
diff --git a/doc/source/themes/nature_with_gtoc/layout.html b/doc/source/themes/nature_with_gtoc/layout.html index 3fae6ef500bdf..fd0755e096023 100644 --- a/doc/source/themes/nature_with_gtoc/layout.html +++ b/doc/source/themes/nature_with_gtoc/layout.html @@ -34,12 +34,6 @@ <h3 style="margin-top: 1.5em;">{{ _('Search'...
Their service was slowing down the loading of our docs. I've added a defer tag so that our docs load first. Or we can delete that entirely, anyone know why it's in there to begin with?
https://api.github.com/repos/pandas-dev/pandas/pulls/11225
2015-10-02T19:43:34Z
2015-10-02T21:26:58Z
2015-10-02T21:26:58Z
2016-11-03T12:38:29Z
ENH: added compression kw to to_csv GH7615
diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 74ace42eb7e22..94f66f8cfc672 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -18,6 +18,8 @@ Highlights include: Enhancements ~~~~~~~~~~~~ +- Support for ``compression`` (gzip/bz2) in :method:`D...
This closes #7615 and represents work that started in #2636.
https://api.github.com/repos/pandas-dev/pandas/pulls/11219
2015-10-02T12:34:30Z
2015-10-12T15:49:37Z
2015-10-12T15:49:37Z
2016-04-23T07:37:46Z
BUG: edge case when reading from postgresl with read_sql_query and datetime with tz and chunksize
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index 34f28e2fbfacb..721a2c1f350ee 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -18,6 +18,7 @@ from pandas.core.api import DataFrame, Series from pandas.core.common import isnull from pandas.core.base import PandasObject +from pandas.core.dtypes import Date...
- When we don't specifiy a chunksize we get an object dtype which is ok - We create a propery datetime64[ns, tz] type, but its a pytz.FixedOffset(....) which ATM is not really a useful/palatable type and is mostly confusing for now. In the future could attempt to coerce this to a nice tz, e.g. US/Eastern, ,not sure...
https://api.github.com/repos/pandas-dev/pandas/pulls/11216
2015-10-02T01:55:57Z
2015-10-03T15:48:50Z
2015-10-03T15:48:50Z
2017-01-16T10:56:11Z