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
Make show_versions not to reload modules (GH13684)
diff --git a/pandas/util/print_versions.py b/pandas/util/print_versions.py index 70df1df336704..3747e2ff6ca8f 100644 --- a/pandas/util/print_versions.py +++ b/pandas/util/print_versions.py @@ -101,7 +101,10 @@ def show_versions(as_json=False): deps_blob = list() for (modname, ver_f) in deps: try: - ...
closes #13684
https://api.github.com/repos/pandas-dev/pandas/pulls/14126
2016-08-31T10:35:26Z
2016-09-01T07:28:54Z
2016-09-01T07:28:53Z
2016-09-01T07:29:28Z
WIP: API: Add support for PEP 519 / file system path protocol
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 7898822e0e11d..95729f845ff5c 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,515 +1,24 @@ Contributing to pandas ====================== -Where to start? ---------------- - -All contributions, bug reports, bug fixes, docume...
- [ ] closes #13823 - [ ] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14123
2016-08-31T00:54:10Z
2017-05-07T14:03:53Z
null
2023-05-11T01:14:03Z
BUG: #14095. Amend eval() resolvers kwarg to accept lists
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 45cdd23140487..2c5309c485bba 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1290,3 +1290,4 @@ Bug Fixes - Bug in ``.to_string()`` when called with an integer ``line_width`` and ``index=False`` r...
- [x] closes #14095 - [x] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14121
2016-08-30T13:15:33Z
2016-08-31T16:05:06Z
null
2016-08-31T16:05:11Z
API: Warn or raise for > 1 char encoded sep
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 45cdd23140487..0262463af40d7 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -457,6 +457,7 @@ API changes - ``pd.Timedelta(None)`` is now accepted and will return ``NaT``, mirroring ``pd.Timestamp...
The system file encoding can cause a separator to be encoded as more than one character even though it maybe provided as one character. Multi-char separators are not supported by the C engine, so we need to catch this case. Closes #14065.
https://api.github.com/repos/pandas-dev/pandas/pulls/14120
2016-08-30T02:44:55Z
2016-08-31T16:10:31Z
null
2016-08-31T16:16:59Z
BUG: series resample with timedelta values looses dtype (GH13119)
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 45cdd23140487..1e14a2308e7e9 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1260,7 +1260,7 @@ Bug Fixes - Bug in ``.value_counts`` raises ``OutOfBoundsDatetime`` if data exceeds ``datetime64[ns]...
- [x] closes #13119 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14118
2016-08-29T16:42:25Z
2016-08-31T07:52:49Z
2016-08-31T07:52:49Z
2016-08-31T07:52:49Z
TST: confirming tests for some fixed issues
diff --git a/pandas/tseries/tests/test_period.py b/pandas/tseries/tests/test_period.py index 1ddcc11c15a59..468c3d5bfc37c 100644 --- a/pandas/tseries/tests/test_period.py +++ b/pandas/tseries/tests/test_period.py @@ -2180,6 +2180,13 @@ def test_getitem_nat(self): pd.Period('2011-01', freq='M')...
closes #7710, closes #8617, closes #13119 Closes a few issues still tagged with 0.19.0 that only need a confirming test
https://api.github.com/repos/pandas-dev/pandas/pulls/14117
2016-08-29T14:10:49Z
2016-09-01T07:28:07Z
2016-09-01T07:28:06Z
2016-09-01T07:29:16Z
API: Raise FileNotFoundError in read_csv
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 86897f51fd9d4..da91a1be660b3 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -455,6 +455,7 @@ API changes - ``Timestamp.to_pydatetime`` will issue a ``UserWarning`` when ``warn=True``, and the ins...
For a nonexistent file, raise the more specific `FileNotFoundError` for Python >= 3.3 in `read_csv`. Closes #14086.
https://api.github.com/repos/pandas-dev/pandas/pulls/14116
2016-08-29T03:50:30Z
2016-09-01T08:19:15Z
2016-09-01T08:19:15Z
2016-09-01T08:20:02Z
DOC: small update to install.rst page
diff --git a/README.md b/README.md index 1334d9696764b..6ebc287fa2cf6 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ pip install pandas - [pytz](http://pytz.sourceforge.net) - Needed for time zone support with ``pandas.date_range`` -See the [full installation instructions](http://pandas.pydata.org/p...
Move some content from the removed content on dependencies from the README (see GH13882) I was going through the install.rst, and updated some small things, but there was actually no content from README to be moved.
https://api.github.com/repos/pandas-dev/pandas/pulls/14115
2016-08-28T18:34:52Z
2016-08-29T12:44:19Z
2016-08-29T12:44:19Z
2016-08-29T12:44:22Z
Test for Python 3.5 with C locale
diff --git a/.travis.yml b/.travis.yml index c6f6d8b81ae59..4eefd6ca83694 100644 --- a/.travis.yml +++ b/.travis.yml @@ -153,6 +153,15 @@ matrix: apt: packages: - language-pack-it +# In allow_failures + - python: 3.5 + env: + - JOB_NAME: "35_ascii" + - JOB_TAG=_AS...
As @jreback suggested, I'm adding an alternate py3 build to change LOCALE, based on the 3.4 slow build, to reveal some encoding bugs (see #12337) I'm new to configuring Travis, I just hope this will work as I expect and that the tests will fail. - [ ] closes #12337 - [x] tests added but not passed? - [ ] passes `git ...
https://api.github.com/repos/pandas-dev/pandas/pulls/14114
2016-08-28T17:35:45Z
2016-09-10T14:38:17Z
null
2016-09-10T14:39:34Z
DEPR: Deprecated PeriodIndex.to_datetime
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 45cdd23140487..027e75a007ed3 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1061,6 +1061,7 @@ Deprecations - ``Categorical.reshape`` has been deprecated and will be removed in a subsequent relea...
Continuation of #14096 by deprecating `PeriodIndex.to_datetime` in favour of `PeriodIndex.to_timestamp`. Also addresses #8254.
https://api.github.com/repos/pandas-dev/pandas/pulls/14113
2016-08-28T17:25:56Z
2016-09-01T08:03:39Z
2016-09-01T08:03:39Z
2016-09-01T08:18:46Z
Test for segfault in factorize (gh12666)
diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py index 9543d9bba2a3a..092e02ee261a0 100644 --- a/pandas/tests/test_algos.py +++ b/pandas/tests/test_algos.py @@ -299,6 +299,16 @@ def _test_vector_resize(htable, uniques, dtype, nvals): _test_vector_resize(tbl(), vect(), dtype, 0) ...
- [x] closes #12666 - [x] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` Not sure about the last. It's my first PR.
https://api.github.com/repos/pandas-dev/pandas/pulls/14112
2016-08-28T15:09:35Z
2016-08-31T16:17:14Z
2016-08-31T16:17:14Z
2016-08-31T16:17:19Z
TST: Enable Google BigQuery (pandas.io.gbq) integration testing #11089
diff --git a/.travis.yml b/.travis.yml index 2716fa7628d61..bd96609985c03 100644 --- a/.travis.yml +++ b/.travis.yml @@ -229,6 +229,12 @@ matrix: - USE_CACHE=true before_install: + - if [ -n "$encrypted_4a66b2b60580_iv" ]; then + openssl aes-256-cbc -K $encrypted_4a66b2b60580_key + -iv $encry...
- [ x ] closes #11089 - [ x ] tests added / passed - [ x ] passes `git diff upstream/master | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/14111
2016-08-28T13:51:32Z
2016-08-31T12:47:53Z
null
2016-09-04T16:55:37Z
BUG: pass *args and **kwargs for wrapped methods in Groupby (#14107)
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index 9436257b88941..164c2d5c45198 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -2554,6 +2554,10 @@ def %(name)s(self) : # GroupBy._make_wrapper won't know whether # we passed in an axis parameter. ...
- [x] closes #14107 - [ ] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry Methods such as 'hist' that take keyword arguments would now be able to be called via a Groupby object and the keyword args would be passed onwards to matplotlib as the user expects.
https://api.github.com/repos/pandas-dev/pandas/pulls/14109
2016-08-28T11:25:36Z
2017-04-03T15:26:43Z
null
2017-04-03T15:26:43Z
DEPR: Deprecate pandas.core.datetools
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index 36e492df29983..924f286164225 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -7,7 +7,7 @@ from datetime import datetime, timedelta, time import numpy as np import pandas as pd - from pandas import datetools ...
Title is self-explanatory. Closes #14094.
https://api.github.com/repos/pandas-dev/pandas/pulls/14105
2016-08-28T07:54:54Z
2016-09-07T13:16:02Z
2016-09-07T13:16:02Z
2016-09-07T14:43:36Z
DEPR: Deprecate Timestamp.to_datetime
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 9c5c36528d31b..62483816c3c8a 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -436,6 +436,7 @@ API changes ~~~~~~~~~~~ +- ``Timestamp.to_pydatetime`` will issue a ``UserWarning`` when ``warn=Tr...
1) Deprecate `NaT.to_datetime` 2) Deprecate `Timestamp.to_datetime` 3) Issue `UserWarning` in `Timestamp.to_datetime` when nanoseconds is non-zero `NaT` is also a `_Timestamp`, so the second deprecation covered the first one as well. Closes #8254.
https://api.github.com/repos/pandas-dev/pandas/pulls/14101
2016-08-27T17:51:19Z
2016-08-29T12:42:43Z
2016-08-29T12:42:43Z
2016-08-30T01:15:03Z
COMPAT/BLD: int dtype in json tests
diff --git a/pandas/io/tests/json/test_ujson.py b/pandas/io/tests/json/test_ujson.py index 0dda6ead2a3b9..704023bd847b7 100644 --- a/pandas/io/tests/json/test_ujson.py +++ b/pandas/io/tests/json/test_ujson.py @@ -1321,20 +1321,22 @@ def testSeries(self): numpy=True)) out...
Fixes failing windows build https://ci.appveyor.com/project/jreback/pandas-465/build/job/p8hju341jyhnkogc
https://api.github.com/repos/pandas-dev/pandas/pulls/14100
2016-08-27T16:01:08Z
2016-08-28T13:14:55Z
2016-08-28T13:14:55Z
2016-08-28T13:14:59Z
CLN/PERF: clean-up of the benchmarks
diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py index 53b7d55368f6a..c4a6117c0704a 100644 --- a/asv_bench/benchmarks/algorithms.py +++ b/asv_bench/benchmarks/algorithms.py @@ -3,7 +3,7 @@ from pandas.util import testing as tm -class algorithm(object): +class Algorithms(object):...
Related to https://github.com/pydata/pandas/issues/10849 (similar to https://github.com/pydata/pandas/pull/10998) Just putting this up, was doing some time ago, but not yet fully ready, and thought to already merge this (if the content is OK) to not get too much conflicts. Gist: removing redundancy by gathering tests...
https://api.github.com/repos/pandas-dev/pandas/pulls/14099
2016-08-27T15:53:54Z
2016-12-10T14:30:31Z
2016-12-10T14:30:31Z
2016-12-10T14:33:32Z
DOC: Improved links between expanding and cum* (GH12651)
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 1f670fb7fb593..c750ffe2065e9 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -460,7 +460,9 @@ standard deviation 1), very concisely: xs_stand.std(1) Note that methods like :meth:`~DataFrame.cumsum` and :meth:`~DataFrame.cumprod` -...
- [x] closes #12651 - [x] passes `git diff upstream/master | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/14098
2016-08-27T12:39:10Z
2016-12-14T14:54:21Z
null
2016-12-14T14:57:41Z
Added consistent pandas imports in io documentation
diff --git a/doc/source/io.rst b/doc/source/io.rst index 26e928020b893..96ec624f4fd3c 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -19,11 +19,10 @@ import matplotlib.pyplot as plt plt.close('all') - from pandas import * - options.display.max_rows=15 import pandas.util.testing as tm - cl...
Partially addresses #9886
https://api.github.com/repos/pandas-dev/pandas/pulls/14097
2016-08-27T11:36:01Z
2016-08-29T12:24:29Z
2016-08-29T12:24:29Z
2016-08-29T12:24:35Z
DEPR: Deprecated Index.to_datetime
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 37c1be0289d40..7e857b254d0a6 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1031,6 +1031,7 @@ Deprecations - ``Categorical.reshape`` has been deprecated and will be removed in a subsequent relea...
Deprecates both `Index.to_datetime` and `DatetimeIndex.to_datetime` in favor of `pd.to_datetime`. Partially addresses #8254. Closes #5612 because `pd.to_datetime` does have a `format` argument.
https://api.github.com/repos/pandas-dev/pandas/pulls/14096
2016-08-27T06:02:54Z
2016-08-27T09:21:45Z
2016-08-27T09:21:45Z
2016-08-27T16:30:47Z
BUG: Float64Index.get_value() for tuples.
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 2811e31128156..99f1a89fe233a 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1253,3 +1253,4 @@ Bug Fixes - Bug in ``.to_string()`` when called with an integer ``line_width`` and ``index=False`` r...
- [x] closes #13509 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Currently, trying to retrieve one tuple-valued entry in a `Series` with a `Float64Index` will fail (GH 13509). This fixes that bug.
https://api.github.com/repos/pandas-dev/pandas/pulls/14092
2016-08-26T18:19:55Z
2016-08-26T20:21:02Z
null
2016-08-26T20:21:45Z
BUG: fix tz-aware datetime convert to DatetimeIndex (GH 14088)
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 2811e31128156..56e4ad6c66358 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1236,6 +1236,7 @@ Bug Fixes - Bug where ``pd.read_gbq()`` could throw ``ImportError: No module named discovery`` as a ...
- [x] closes #14088 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14090
2016-08-26T10:41:20Z
2016-09-08T10:35:41Z
null
2016-09-08T13:35:24Z
TST/DOC: apply date() with timezones
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index a35b8d561a5a7..6f44ee0c87945 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -544,8 +544,8 @@ There are several time/date properties that one can access from ``Timestamp`` or second,"The seconds of the datetime" ...
- [x] closes #11757 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14085
2016-08-25T00:24:10Z
2016-08-25T22:20:12Z
2016-08-25T22:20:12Z
2016-08-25T22:20:22Z
BUG: Don't parse index column as numeric when parse_dates=True
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 2811e31128156..01279da3b5796 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1125,6 +1125,7 @@ Bug Fixes - Bug in ``Categorical.from_codes()`` where an unhelpful error was raised when an invalid ...
When a thousands parameter is specified, if the index column data contains that thousands value for date purposes (e.g. '.'), do not interpret those characters as the thousands parameter. Closes #14066.
https://api.github.com/repos/pandas-dev/pandas/pulls/14077
2016-08-24T07:57:28Z
2016-08-27T13:31:30Z
2016-08-27T13:31:30Z
2016-08-27T16:25:14Z
add utility methods get_groups() and iter_groups() to class _GroupBy
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index 9436257b88941..67cd348506d54 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -590,6 +590,27 @@ def curried(x): return wrapper + def iter_groups(self, obj=None): + """ + Constructs NDFrame from group for ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry added utility methods get_groups() and iter_groups() to groupby objects
https://api.github.com/repos/pandas-dev/pandas/pulls/14075
2016-08-24T02:32:16Z
2016-08-25T00:44:25Z
null
2023-05-11T01:14:00Z
DOC: split docstring into multiple lines in excel.py
diff --git a/pandas/io/excel.py b/pandas/io/excel.py index 5e4dd4379a8e3..89ce5aec8d264 100644 --- a/pandas/io/excel.py +++ b/pandas/io/excel.py @@ -29,6 +29,7 @@ from warnings import warn from distutils.version import LooseVersion from pandas.util.decorators import Appender +from textwrap import fill __all__ = [...
- [x] closes #13967 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry A follow-up on #14030. Not sure whether this is the good way to do it - this seems too verbose. I will add it to `parsers.py` or move it to `common.py` once it's done. I also thought about mov...
https://api.github.com/repos/pandas-dev/pandas/pulls/14073
2016-08-23T18:36:41Z
2016-09-15T14:59:32Z
2016-09-15T14:59:32Z
2016-09-15T14:59:32Z
TST: Add tests for internal EOF in read_csv
diff --git a/pandas/io/tests/parser/common.py b/pandas/io/tests/parser/common.py index 7777a9f2fadb5..b90fc304e125e 100644 --- a/pandas/io/tests/parser/common.py +++ b/pandas/io/tests/parser/common.py @@ -1593,3 +1593,11 @@ def test_read_csv_utf_aliases(self): data = 'mb_num,multibyte\n4.8,test'.encode...
Title is self-explanatory. Closes #5500.
https://api.github.com/repos/pandas-dev/pandas/pulls/14069
2016-08-23T02:13:48Z
2016-08-24T23:27:45Z
2016-08-24T23:27:45Z
2016-08-25T03:02:18Z
BUG: fix read_gbq lost precision for longs above 2^53 and floats above 10k
diff --git a/doc/source/install.rst b/doc/source/install.rst index 158a6e5562b7a..4b3ea19624a0e 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -250,9 +250,9 @@ Optional Dependencies * `Feather Format <https://github.com/wesm/feather>`__: necessary for feather-based storage, version 0.3.1 or higher...
fixes: - lost precision for longs above 2^53 - and floats above 10^4 Also contains `test_gbq.py` clean up - [x] closes #14020, #14305 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] updated docs - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14064
2016-08-22T14:39:57Z
2017-02-09T17:11:31Z
null
2017-02-09T17:12:17Z
BUG: Align to_csv signatures with DataFrame and Series
diff --git a/pandas/core/series.py b/pandas/core/series.py index 32edcf6e698a3..7979a230eed84 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -2538,16 +2538,17 @@ def from_csv(cls, path, sep=',', parse_dates=True, header=None, return result - def to_csv(self, path, index=True, sep=",",...
Default `path=None` in `Series.to_csv()` for consistency with `DataFrame.to_csv()`. Closes #14054.
https://api.github.com/repos/pandas-dev/pandas/pulls/14063
2016-08-22T03:56:09Z
2016-08-24T23:28:45Z
2016-08-24T23:28:45Z
2016-08-25T03:01:44Z
WIP: add sort_levels to MultiIndex.from_product
diff --git a/pandas/indexes/multi.py b/pandas/indexes/multi.py index cc279076f7a5e..1430e6643c812 100644 --- a/pandas/indexes/multi.py +++ b/pandas/indexes/multi.py @@ -919,7 +919,8 @@ def from_tuples(cls, tuples, sortorder=None, names=None): return MultiIndex.from_arrays(arrays, sortorder=sortorder, names=nam...
Currently, `from_product` always sorts levels in the resulting MultiIndex. This means that the result does not necessarily have lexsorted labels/codes. This PR adds an option to not sort levels when calling `from_product`. Using this option yields a few benefits: 1. It's simpler -- resulting levels on the MultiIndex a...
https://api.github.com/repos/pandas-dev/pandas/pulls/14062
2016-08-22T01:55:01Z
2016-11-16T21:29:30Z
null
2016-11-16T21:29:30Z
ENH: add parameter to to_html for HTML border
diff --git a/doc/source/options.rst b/doc/source/options.rst index 25f03df4040a3..77cac6d495d13 100644 --- a/doc/source/options.rst +++ b/doc/source/options.rst @@ -392,6 +392,9 @@ display.width 80 Width of the display in characters. IPython qtconsole, or ...
Closes https://github.com/pydata/pandas/issues/11563 Previously this was hardcoded to `<table border="1" ...>`. Now we allow an option to `to_html`. The only controversial bit here may be the option. I really don't like having options control output, but given that this is essentially a repr I think it's OK. It's als...
https://api.github.com/repos/pandas-dev/pandas/pulls/14061
2016-08-22T00:53:20Z
2016-08-31T08:07:31Z
2016-08-31T08:07:31Z
2017-04-05T02:08:04Z
Fix/read csv utf aliases
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 222bd250034d8..513a115c78da9 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1095,3 +1095,5 @@ Bug Fixes - Bug in ``Index`` raises ``KeyError`` displaying incorrect column when column is not in t...
- [x] closes #13549 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry -read_csv with engine=c throws error when encoding=UTF_16 (anything other than utf-16) -improved nosetests and moved to in pandas/io/tests/common.py -passes `pep8radius upstream/master --diff` a...
https://api.github.com/repos/pandas-dev/pandas/pulls/14060
2016-08-21T20:45:32Z
2016-08-22T20:47:18Z
2016-08-22T20:47:18Z
2016-08-22T20:51:44Z
BUG: Validate the ordered parameter for Categorical
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index e60ac7f3773f0..418532ca817c6 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -966,6 +966,7 @@ Bug Fixes - Bug in ``DataFrame`` assignment with an object-dtyped ``Index`` where the resultant column...
Title is self-explanatory. Closes #14058.
https://api.github.com/repos/pandas-dev/pandas/pulls/14059
2016-08-21T17:39:12Z
2016-08-21T19:53:49Z
2016-08-21T19:53:49Z
2016-08-21T20:47:43Z
BUG, DOC: Fix inconsistencies with scalar na_values in read_csv
diff --git a/doc/source/io.rst b/doc/source/io.rst index cc693170f055a..26e928020b893 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -208,7 +208,7 @@ memory_map : boolean, default False NA and Missing Data Handling ++++++++++++++++++++++++++++ -na_values : str, list-like or dict, default ``None`` +na_val...
1) Update documentation to state that scalars are accepted for `na_values` 2) Accept scalars for the values when a dictionary is passed in for `na_values` Closes #12224.
https://api.github.com/repos/pandas-dev/pandas/pulls/14056
2016-08-21T02:56:25Z
2016-08-21T19:34:41Z
2016-08-21T19:34:41Z
2016-08-21T20:47:36Z
BUG: Don't error when usecols is a numpy array
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 7b261f6249e04..e1a66f0740e10 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -945,6 +945,7 @@ Bug Fixes - Bug in ``groupby().cumsum()`` calculating ``cumprod`` when ``axis=1``. (:issue:`13994`) -...
Converts `usecols` to a `set` just like we do on the C engine side. Closes #12546.
https://api.github.com/repos/pandas-dev/pandas/pulls/14055
2016-08-20T18:06:24Z
2016-08-21T14:17:47Z
2016-08-21T14:17:47Z
2016-08-21T16:18:38Z
BUG: GH11847 Unstack with mixed dtypes coerces everything to object
diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt index 74ee466d64a8e..75ec5d36d82b5 100644 --- a/doc/source/whatsnew/v0.19.2.txt +++ b/doc/source/whatsnew/v0.19.2.txt @@ -68,3 +68,5 @@ Bug Fixes - Explicit check in ``to_stata`` and ``StataWriter`` for out-of-range values when writing ...
- [x] closes #11847 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Changed the way in which the original data frame is copied (dropped use of .values, since it does not preserve dtypes).
https://api.github.com/repos/pandas-dev/pandas/pulls/14053
2016-08-20T14:45:54Z
2016-12-10T15:38:14Z
null
2016-12-10T15:38:17Z
BUG: Dataframe.fillna with np.nan for dtype=category(GH 14021)
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index cc3cc631b9575..7ba832c39f759 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1061,6 +1061,7 @@ Bug Fixes - Bug where ``pd.read_gbq()`` could throw ``ImportError: No module named discovery`` as a ...
- [x] closes #14021 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14051
2016-08-19T22:13:18Z
2016-08-26T20:50:24Z
null
2016-11-15T22:20:35Z
BUG: Categoricals shouldn't allow non-strings when object dtype is passed (#13919)
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index cc3cc631b9575..6b3ea9ecc3866 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1075,3 +1075,4 @@ Bug Fixes - Bug in ``Index`` raises ``KeyError`` displaying incorrect column when column is not in t...
- [ ] closes #13919 - [ ] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry **Why this change is needed:** Categorical variables are by definition single types, so to allow them to take on different types of values is misleading. Object dtypes should only be allowed whe...
https://api.github.com/repos/pandas-dev/pandas/pulls/14047
2016-08-19T13:04:32Z
2016-09-11T20:26:01Z
null
2016-09-13T22:55:03Z
DOC: add data_columns to doc string of to_hdf and HDFStore.append
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b0045054a822a..8e295174771c4 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1105,18 +1105,20 @@ def to_hdf(self, path_or_buf, key, **kwargs): and if the file does not exist it is created. ``'r+'`` ...
Follow-up of #13951, rebase of PR #13065
https://api.github.com/repos/pandas-dev/pandas/pulls/14046
2016-08-19T11:52:41Z
2016-08-19T20:41:37Z
2016-08-19T20:41:37Z
2016-08-19T21:00:26Z
unique docstring extend #13565 unique datetime tz issue
diff --git a/pandas/core/base.py b/pandas/core/base.py index 0f9eb14be40db..cd3521f958b4d 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -956,7 +956,9 @@ def unique(self): """ Return array of unique values in the object. Significantly faster than numpy.unique. Includes NA value...
closes #13565 whatsnew extended doc string for unique addressing the issue with timezone aware datetimes ( see #13565 )
https://api.github.com/repos/pandas-dev/pandas/pulls/14045
2016-08-19T10:27:52Z
2016-08-19T10:29:32Z
null
2023-05-11T01:13:59Z
BUG: DataFrame.to_records() bug in converting datetime64 index
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 1798a35168265..a54227e7e6f18 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -37,7 +37,7 @@ is_object_dtype, is_extension_type, is_datetime...
BUG: DataFrame.to_records() bug in converting datetime64 index with timezone #13937
https://api.github.com/repos/pandas-dev/pandas/pulls/14044
2016-08-19T09:21:24Z
2016-10-18T12:31:50Z
null
2016-10-18T12:31:50Z
CLN: Drop lags parameter from Panel.shift
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index c7f0beb439596..cc3cc631b9575 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -891,6 +891,7 @@ Removal of prior version deprecations/changes - ``pd.Categorical`` has dropped setting of the ``ordere...
Title is self-explanatory. xref #6928
https://api.github.com/repos/pandas-dev/pandas/pulls/14041
2016-08-19T06:00:38Z
2016-08-19T09:02:46Z
2016-08-19T09:02:46Z
2016-08-19T16:30:39Z
CLN: Removed DataFrame.to_wide
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index cc3cc631b9575..f6a03a613f75f 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -894,6 +894,7 @@ Removal of prior version deprecations/changes - ``Panel.shift()`` has dropped the ``lags`` parameter i...
`to_wide` was deprecated since 2011 (https://github.com/pydata/pandas/commit/1134c9f6c40398d8eba37c312c88ce294e31c6c5) xref https://github.com/pydata/pandas/issues/13777 No tests for this deprecation beforehand to remove :disappointed:
https://api.github.com/repos/pandas-dev/pandas/pulls/14039
2016-08-19T02:26:41Z
2016-08-19T21:36:29Z
2016-08-19T21:36:29Z
2016-08-20T01:31:49Z
BUG: iloc fails with non lex-sorted MultiIndex #13797
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py old mode 100644 new mode 100755 index a7cc3b9dddd36..35fcf0d49d0d6 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -903,7 +903,9 @@ def _getitem_lowerdim(self, tup): # we maybe be using a tuple to represent multiple dimensions here...
- [x] closes #13797 - [x] tests added / passed pandas/tests/test_multilevel.py - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry corrected how iloc handles tuple-keys for multiindex
https://api.github.com/repos/pandas-dev/pandas/pulls/14038
2016-08-19T01:34:07Z
2016-09-13T22:25:32Z
null
2018-08-24T09:18:30Z
DOC: unpin IPython version (GH13639)
diff --git a/ci/requirements-2.7_DOC_BUILD.run b/ci/requirements-2.7_DOC_BUILD.run index cde0719aa027e..b87a41df4191d 100644 --- a/ci/requirements-2.7_DOC_BUILD.run +++ b/ci/requirements-2.7_DOC_BUILD.run @@ -1,4 +1,4 @@ -ipython=4.2.0 +ipython ipykernel sphinx nbconvert
https://api.github.com/repos/pandas-dev/pandas/pulls/14037
2016-08-18T20:55:34Z
2016-08-27T13:34:27Z
2016-08-27T13:34:27Z
2016-08-27T13:34:27Z
BUG: #14016. Preserve categorical keys through concat
diff --git a/pandas/tools/merge.py b/pandas/tools/merge.py index ca7288b048427..ae57de9d20b37 100644 --- a/pandas/tools/merge.py +++ b/pandas/tools/merge.py @@ -1367,7 +1367,10 @@ def __init__(self, objs, axis=0, join='outer', join_axes=None, clean_keys.append(k) clean_objs.append(v) ...
- [x] closes #14016 - [x] tests added / passed - [ ] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14035
2016-08-18T15:08:37Z
2017-05-13T21:36:48Z
null
2017-05-13T21:36:48Z
Require a problem description in issues
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 8a9f717e1c428..227e07e96861b 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,3 +1,7 @@ +#### Problem description + +[this should explain **why** the current behaviour is a problem and why the expected output is a bette...
Currently some issues are just code examples without a description **why** a change should be done. This leads to problems when (years later) the current behaviour is questioned and no one can remember why it was changed.
https://api.github.com/repos/pandas-dev/pandas/pulls/14032
2016-08-18T08:19:38Z
2016-11-18T22:54:23Z
null
2016-12-14T16:45:20Z
Require a problem description in PRs
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 918d427ee4f4c..9bbf82b9d3d41 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,3 +1,5 @@ + [Add description of the problem and **why** this change is needed (what is the problem, how does this...
A lot of time I can't find out why a change in a commit was made because it either has no proper commit message or the commit message just says what was changed, but not why. Add text to the PR template to require such a problem description, so that one can comprehend why a change was made even years later.
https://api.github.com/repos/pandas-dev/pandas/pulls/14031
2016-08-18T08:05:49Z
2016-11-25T14:40:49Z
null
2016-11-25T14:40:49Z
DOC: update docs for read_csv().na_values and keep_default_na
diff --git a/pandas/io/common.py b/pandas/io/common.py index b7ac183b7ab41..127ebc4839fd3 100644 --- a/pandas/io/common.py +++ b/pandas/io/common.py @@ -14,6 +14,14 @@ from pandas.core.common import AbstractMethodError from pandas.types.common import is_number +# common NA values +# no longer excluding inf represen...
- [x] closes #13967 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14030
2016-08-18T08:05:13Z
2016-08-20T13:25:01Z
null
2016-08-22T05:56:42Z
BUG: read_fwf inference should respect skiprows (#11256)
diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index da13f724eb663..c9ea7b427b3f2 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -305,6 +305,7 @@ Bug Fixes - Bug in ``DataFrame.reindex()`` in which ``method`` was ignored when passing ``columns`` (:...
Fix the fact that we don't skip the rows when inferring colspecs by passing skiprows down the chain until it's needed. - [X] closes #11256 - [X] 3 tests added / passed - [X] passes `git diff upstream/master | flake8 --diff` - [X] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14028
2016-08-18T03:47:55Z
2017-01-10T13:18:21Z
null
2017-01-10T13:19:30Z
BUG: Categoricals shouldn't allow non-strings when object dtype is passed (#13919)
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 2412b645221ab..bd8541432061e 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1071,3 +1071,4 @@ Bug Fixes - Bug in ``Index`` raises ``KeyError`` displaying incorrect column when column is not in t...
- [ ] closes #13919 - [ ] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry **Why this change is needed:** Categorical variables are by definition single types, so to allow them to take on various different kinds of values is misleading. Object dtypes should only be allo...
https://api.github.com/repos/pandas-dev/pandas/pulls/14027
2016-08-18T02:55:24Z
2016-08-18T03:27:20Z
null
2016-08-19T12:41:42Z
ENH: Add groupby().ngroup() method to count groups (#11642)
diff --git a/doc/source/api.rst b/doc/source/api.rst index e210849d9a0ca..cc8c5f6356e58 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -1707,6 +1707,7 @@ Computations / Descriptive Stats GroupBy.mean GroupBy.median GroupBy.min + GroupBy.ngroup GroupBy.nth GroupBy.ohlc GroupBy.prod...
This basically adds a method to give access to the coding returned by `grouper.group_info[0]`, i.e. the number of the group that each row is in. This is a natural parallel to cumcount(), and while it's not the world's most important feature it's come in handy for me from time to time and deserves a public method, IMHO...
https://api.github.com/repos/pandas-dev/pandas/pulls/14026
2016-08-18T01:44:22Z
2017-06-01T22:12:15Z
2017-06-01T22:12:15Z
2017-06-04T17:02:55Z
TST: Fix test_coercion for period dtype
diff --git a/pandas/tests/indexing/test_coercion.py b/pandas/tests/indexing/test_coercion.py index 2eae226073552..d8d8242fa50c6 100644 --- a/pandas/tests/indexing/test_coercion.py +++ b/pandas/tests/indexing/test_coercion.py @@ -482,19 +482,19 @@ def test_insert_index_timedelta64(self): def test_insert_index_perio...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` fix test to meet period dtype #13941.
https://api.github.com/repos/pandas-dev/pandas/pulls/14025
2016-08-18T00:46:19Z
2016-08-18T10:00:32Z
null
2016-08-18T10:17:29Z
BUG: Parse NULL char as null value
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 0ee56f865f8c8..ed47ddb0d2813 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -882,6 +882,7 @@ Bug Fixes - Bug in ``SeriesGroupBy.transform`` with datetime values and missing groups (:issue:`1319...
Fixes bug in C parser in which the `NULL` character (`'\x00'`) was being interpreted as a true line terminator, escape character, or comment character because it was used to indicate that a user had not specified these values. As a result, if the data contains this value, it was being incorrectly parsed. It should be p...
https://api.github.com/repos/pandas-dev/pandas/pulls/14019
2016-08-17T04:15:09Z
2016-08-17T10:26:54Z
null
2016-08-17T16:31:05Z
TST: add comprehensive coercion tests
diff --git a/pandas/tests/indexing/test_coercion.py b/pandas/tests/indexing/test_coercion.py index 97a5c48b878fe..2eae226073552 100644 --- a/pandas/tests/indexing/test_coercion.py +++ b/pandas/tests/indexing/test_coercion.py @@ -13,444 +13,1139 @@ ############################################################### -cl...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` 1st attempt to make dtype related tests more comprehensive. Validate whether tests classes have test methods covering dtype and Series/Index. Some of them are empty yet, going to add it gradually.
https://api.github.com/repos/pandas-dev/pandas/pulls/14010
2016-08-16T13:57:56Z
2016-08-17T10:33:24Z
null
2016-08-17T21:58:18Z
DEPR: Deprecate SparseList
diff --git a/doc/source/sparse.rst b/doc/source/sparse.rst index 2496335dc7b71..db9734edde482 100644 --- a/doc/source/sparse.rst +++ b/doc/source/sparse.rst @@ -90,6 +90,8 @@ can be converted back to a regular ndarray by calling ``to_dense``: SparseList ---------- +.. note:: The ``SparseList`` class has been deprec...
Title is self-explanatory. Closes #13784.
https://api.github.com/repos/pandas-dev/pandas/pulls/14007
2016-08-16T02:24:36Z
2016-08-16T09:57:38Z
2016-08-16T09:57:38Z
2016-08-16T14:10:13Z
BUG: Avoid sentinel-infinity comparison problems (#13445)
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index e3cdefd36b0be..da25bd0296ddc 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -893,6 +893,7 @@ Bug Fixes - Bug in ``.rolling()`` that allowed a negative integer window in contruction of the ``Rolli...
The problem causing #13445 ultimately traces to the fact that our Infinity/NegInfinity objects were greater than/less than themselves, which violates an assumption numpy makes when sorting. This was separately reported as https://github.com/numpy/numpy/issues/7934, but we can fix and test downstream as well. - [X] clo...
https://api.github.com/repos/pandas-dev/pandas/pulls/14006
2016-08-16T01:59:10Z
2016-08-16T10:15:30Z
null
2016-08-16T12:12:27Z
BUG: No affect both index and column(GH 13522)
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 3600b8f52873b..e82332cd1d3b5 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -861,6 +861,7 @@ Bug Fixes - Bug in ``io.json.json_normalize()``, where non-ascii keys raised an exception (:issue:`132...
- [x] closes #13522 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/14005
2016-08-15T15:40:29Z
2016-08-17T22:03:59Z
2016-08-17T22:03:59Z
2016-08-18T08:49:57Z
DOC: fixed using IP.prompt_manager which is removed from IPython 5.x
diff --git a/doc/sphinxext/ipython_sphinxext/ipython_directive.py b/doc/sphinxext/ipython_sphinxext/ipython_directive.py index ad7ada8e4eea3..b8b0935cd5b96 100644 --- a/doc/sphinxext/ipython_sphinxext/ipython_directive.py +++ b/doc/sphinxext/ipython_sphinxext/ipython_directive.py @@ -802,10 +802,14 @@ def setup(self): ...
- [x] closes #14003, #13639 - [ ] tests added / passed (there's no test on building docs) - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry (it's not user facing bug fix) this PR was made during PyCon APAC, pandas sprint thanks
https://api.github.com/repos/pandas-dev/pandas/pulls/14004
2016-08-15T08:03:05Z
2016-08-18T20:50:14Z
2016-08-18T20:50:14Z
2016-08-18T20:50:26Z
GH13347 ENH Allow true_values and false_values options in read_excel
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index f3a6736ff9920..ed2278c3116f0 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -513,6 +513,7 @@ Other enhancements - ``Timestamp``, ``Period``, ``DatetimeIndex``, ``PeriodIndex`` and ``.dt`` accesso...
- [ X] closes #13347 - [ X] tests added / passed - [ X] passes `git diff upstream/master | flake8 --diff` - [ X] whatsnew entry <img width="1016" alt="asv_tests" src="https://cloud.githubusercontent.com/assets/609873/17653246/3a3f842a-6260-11e6-8ed2-1d21cc2fccc8.png">
https://api.github.com/repos/pandas-dev/pandas/pulls/14002
2016-08-15T00:47:17Z
2016-09-13T23:07:26Z
2016-09-13T23:07:26Z
2017-12-12T15:39:45Z
ENH: bool sparse now supports logical op
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 3600b8f52873b..dd7fd598bbc00 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -762,6 +762,7 @@ Note that the limitation is applied to ``fill_value`` which default is ``np.nan` ValueError: unable...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry implemented bool (logical and / or) op for bool `SparseArray`. Currently it raises if `sp_index` are different. ``` s1 = pd.SparseArray([True, True, True, True, True], dtype=np.bool, fill_value=False) s2 = pd.Spars...
https://api.github.com/repos/pandas-dev/pandas/pulls/14000
2016-08-14T13:43:22Z
2016-08-16T09:56:41Z
null
2016-08-16T10:18:35Z
API: SparseSeries comparison now returns sparse
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index cc3cc631b9575..0a6095b8076f9 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -814,6 +814,9 @@ Note that the limitation is applied to ``fill_value`` which default is ``np.nan` - Bug in ``SparseSeri...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Because #13985 has been fixed, `SparseSeries` comparison op now can return `SparseSeries` (it returns normal `Series` on current master). also fixed a bug when `SparseArray` created from `SparseSeries` may not inh...
https://api.github.com/repos/pandas-dev/pandas/pulls/13999
2016-08-14T13:38:35Z
2016-08-20T13:32:42Z
null
2016-08-20T13:35:49Z
Fixed to_string with line_width and without index
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 3600b8f52873b..027669012cda3 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -989,3 +989,4 @@ Bug Fixes - Bug in ``Index`` raises ``KeyError`` displaying incorrect column when column is not in the...
When calling to_string on a DataFrame with line_width, this calls _join_multiline internally which only sets the idx variable when index is True, otherwise idx is never set resulting in the error: UnboundLocalError: local variable 'idx' referenced before assignment
https://api.github.com/repos/pandas-dev/pandas/pulls/13998
2016-08-14T04:02:31Z
2016-08-15T17:53:24Z
2016-08-15T17:53:24Z
2016-08-15T17:53:50Z
CLN: move _na_value to DatetimeIndexOpsMixin
diff --git a/pandas/tseries/base.py b/pandas/tseries/base.py index d10e77d7ae45d..353823e296cf8 100644 --- a/pandas/tseries/base.py +++ b/pandas/tseries/base.py @@ -353,6 +353,9 @@ def get_duplicates(self): values = Index.get_duplicates(self) return self._simple_new(values) + _na_value = tslib.Na...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` Because `PeriodIndex` now shares the same `NaT` repr (#13609), can use the same definition on `DatetimeIndexOpsMixin`
https://api.github.com/repos/pandas-dev/pandas/pulls/13997
2016-08-13T21:54:19Z
2016-08-15T12:29:13Z
2016-08-15T12:29:13Z
2016-08-15T12:36:15Z
TST: Fix unused tests in tseries/test_base.py
diff --git a/pandas/tseries/tests/test_base.py b/pandas/tseries/tests/test_base.py index 05f7d9d9ce7b8..d7ad54c276117 100644 --- a/pandas/tseries/tests/test_base.py +++ b/pandas/tseries/tests/test_base.py @@ -335,7 +335,7 @@ def test_resolution(self): ['day', 'day', 'day', 'day', 'hou...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - enabled unused patterns left as comments - made `tz` related tests more comprehensive
https://api.github.com/repos/pandas-dev/pandas/pulls/13996
2016-08-13T21:51:40Z
2016-08-14T00:12:21Z
null
2016-08-14T00:30:40Z
CLN: Move PeriodIndex.repeat to DatetimeIndexOpsMixin
diff --git a/pandas/tseries/base.py b/pandas/tseries/base.py index 188f538372092..d10e77d7ae45d 100644 --- a/pandas/tseries/base.py +++ b/pandas/tseries/base.py @@ -749,7 +749,12 @@ def repeat(self, repeats, *args, **kwargs): Analogous to ndarray.repeat """ nv.validate_repeat(args, kwargs) - ...
- [x] related to #6469 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/13995
2016-08-13T21:49:47Z
2016-08-14T00:10:51Z
null
2016-08-14T00:31:09Z
BUG: groupby cumsum with axis=1 computes cumprod
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 411b2b0abaf5a..a3aecfbbc3427 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -850,6 +850,7 @@ Bug Fixes ~~~~~~~~~ - Bug in ``groupby().shift()``, which could cause a segfault or corruption in r...
- [x] closes #13993 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13994
2016-08-13T21:35:11Z
2016-08-14T00:15:47Z
null
2016-08-14T00:34:06Z
Use DeprecationWarning for core.common deprecations (GH13634)
diff --git a/pandas/api/tests/test_api.py b/pandas/api/tests/test_api.py index fda81ee6c9045..2537354091ad1 100644 --- a/pandas/api/tests/test_api.py +++ b/pandas/api/tests/test_api.py @@ -163,7 +163,7 @@ def test_types(self): self.check(types, self.allowed) def check_deprecation(self, fold, fnew): - ...
Related to second question in #13634 (whether to use FutureWarning or DeprecationWarning in deprecating the public pandas.core.common functions). As those functions are mostly used in library code, and less directly by users in their own code, I think a DeprecationWarning is more appropriate in this case. For example...
https://api.github.com/repos/pandas-dev/pandas/pulls/13990
2016-08-13T13:30:16Z
2016-08-13T22:22:28Z
null
2016-08-13T22:28:28Z
DOC: suppress warnings for Panel4D deprecation
diff --git a/doc/source/dsintro.rst b/doc/source/dsintro.rst index 8f89cd6789f4f..b5ad681426b15 100644 --- a/doc/source/dsintro.rst +++ b/doc/source/dsintro.rst @@ -1042,6 +1042,7 @@ The following creates a Panel5D. A new panel type object must be sliceable into Here we slice to a Panel4D. .. ipython:: python + ...
Other options is to just remove those sections in the latest docs ... (they are always available in the older ones). The example in the HDF5 docs with a legacy file will have to be updated to not include Panel4D, or the reading of such files will have to be adapted in the future to handle those when Panel4D is actuall...
https://api.github.com/repos/pandas-dev/pandas/pulls/13989
2016-08-13T13:29:36Z
2016-08-13T20:14:08Z
2016-08-13T20:14:08Z
2016-08-13T20:14:09Z
API: PeriodIndex.values now return array of Period objects
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 222bd250034d8..8186719bfb28b 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -16,7 +16,7 @@ Highlights include: - :func:`merge_asof` for asof-style time-series joining, see :ref:`here <whatsnew_01...
- [x] split from #13941 (comment) - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry This change itself needs more tests / perf testing, split from the original PR.
https://api.github.com/repos/pandas-dev/pandas/pulls/13988
2016-08-13T12:51:59Z
2016-08-24T23:36:02Z
null
2016-08-25T09:48:15Z
CLN: move PeriodIndex.__getitem__ to DatetimeIndexOpsMixin
diff --git a/pandas/tseries/base.py b/pandas/tseries/base.py index d10e77d7ae45d..40c85b8b05d26 100644 --- a/pandas/tseries/base.py +++ b/pandas/tseries/base.py @@ -236,16 +236,25 @@ def __getitem__(self, key): attribs = self._get_attributes_dict() - freq = None - if isinstance(ke...
- [x] related to #6469 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` merge `PeriodIndex.__getitem__` to `DatetimeIndexOpsMixin`
https://api.github.com/repos/pandas-dev/pandas/pulls/13987
2016-08-13T11:27:25Z
2016-08-18T22:25:37Z
null
2016-08-18T22:44:20Z
BUG/CLN: datetimelike Index.equals may return True with non-Index
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 777bc01e71833..13155eb21320e 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1454,6 +1454,7 @@ Bug Fixes - Bug in operations on ``NaT`` returning ``float`` instead of ``datetime64[ns]`` (:issue:`...
- [x] closes #13107 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13986
2016-08-13T10:02:03Z
2016-09-03T15:31:03Z
null
2017-01-08T06:27:20Z
BUG: Sparse indexing with bool sparse may be incorrect
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 411b2b0abaf5a..0fafa6003c945 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -766,6 +766,7 @@ Note that the limitation is applied to ``fill_value`` which default is ``np.nan` - Bug in ``SparseArra...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry indexing with `SparseArray` with `bool` dtype may return incorrect result because of some internal conversions. ``` arr = pd.SparseArray([1, 2, 3]) indexer = pd.SparseArray([True, False, True], fill_value=False, dt...
https://api.github.com/repos/pandas-dev/pandas/pulls/13985
2016-08-13T09:29:32Z
2016-08-13T22:13:38Z
null
2016-08-13T22:22:17Z
CLN: Datetimelike._can_hold_na
diff --git a/pandas/tests/indexes/common.py b/pandas/tests/indexes/common.py index 687782172693a..2c8031898c78e 100644 --- a/pandas/tests/indexes/common.py +++ b/pandas/tests/indexes/common.py @@ -8,6 +8,7 @@ from pandas import (Series, Index, Float64Index, Int64Index, RangeIndex, MultiIndex, Cate...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] no whatsnew, as it is internal fix datetimelike `Index._can_hold_na` is all `False` even though these can store `NaT`. ``` idx = pd.DatetimeIndex(['2011-01-01', 'NaT']) idx.hasnans # True idx._can_hold_na # False idx._nan_idxs ...
https://api.github.com/repos/pandas-dev/pandas/pulls/13983
2016-08-13T09:20:07Z
2016-09-01T07:27:38Z
2016-09-01T07:27:38Z
2016-09-03T03:00:40Z
TST: Cleanup test_indexing
diff --git a/pandas/tests/indexing/test_indexing.py b/pandas/tests/indexing/test_indexing.py index a96e4acfad89b..b051b92e15540 100644 --- a/pandas/tests/indexing/test_indexing.py +++ b/pandas/tests/indexing/test_indexing.py @@ -21,9 +21,6 @@ from pandas.core.indexing import _non_reducing_slice, _maybe_numeric_slice ...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` cleaned up `test_indexing` which is bit large, splitting `@slow` tests to a separate file.
https://api.github.com/repos/pandas-dev/pandas/pulls/13982
2016-08-13T05:00:19Z
2016-08-13T22:08:18Z
null
2016-08-13T22:22:30Z
BUG: Index may ignore specified datetime/timedelta dtypes
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 411b2b0abaf5a..72767ba5c4ffd 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -952,6 +952,7 @@ Bug Fixes - Bug in ``DatetimeIndex`` with nanosecond frequency does not include timestamp specified wi...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry `Index` ignores specified `dtype` if it is `datetime64` (normal and tz) or `timedelta64`. This PR makes it consistent with `DatetimeIndex` and `TimedeltaIndex`. ``` pd.Index([1, 2, 3], dtype='datetime64[ns, US/East...
https://api.github.com/repos/pandas-dev/pandas/pulls/13981
2016-08-13T02:18:54Z
2016-08-13T22:34:12Z
null
2016-08-15T16:06:57Z
BUG: ufunc with PeriodIndex may raise IncompatibleFrequency
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 9ac265a20073a..c7f0beb439596 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1065,6 +1065,7 @@ Bug Fixes - Bug in ``concat`` and ``groupby`` for hierarchical frames with ``RangeIndex`` levels (:i...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry `PeriodIndex` supportds addition / subtraction with integer. ``` # OK pi = pd.PeriodIndex(['2011-01'], freq='M') pi + 1 # PeriodIndex(['2011-02'], dtype='int64', freq='M') pi - 1 # PeriodIndex(['2010-12'], dtype='i...
https://api.github.com/repos/pandas-dev/pandas/pulls/13980
2016-08-13T01:49:45Z
2016-08-18T22:27:43Z
null
2016-08-18T22:43:28Z
API: change unique to return Index
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 9c5c36528d31b..29d6d972a7a55 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -457,7 +457,7 @@ API changes - ``Timestamp``, ``Period``, ``DatetimeIndex``, ``PeriodIndex`` and ``.dt`` accessor have ...
- [x] closes #13395, closes #13565 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13979
2016-08-13T01:39:54Z
2016-08-29T12:29:04Z
2016-08-29T12:29:04Z
2016-08-29T22:41:39Z
BUG: yield correct Series subclass in df.iterrows() (#13977)
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index d7fe44e046d8e..e9a5534dac665 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -1097,3 +1097,5 @@ Bug Fixes - Bug in ``.to_string()`` when called with an integer ``line_width`` and ``index=False`` r...
- [x] closes #13977 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/13978
2016-08-12T19:00:44Z
2016-08-26T20:04:20Z
null
2016-08-26T20:04:20Z
CLN: PeriodIndex to use nan related cache
diff --git a/pandas/tseries/period.py b/pandas/tseries/period.py index d92ebe18b5697..831d73207bbdf 100644 --- a/pandas/tseries/period.py +++ b/pandas/tseries/period.py @@ -16,8 +16,6 @@ _ensure_object) from pandas.types.generic import ABCSeries -from pandas.types.missing import isn...
- [x] no tests added (all cases look to be covered) / passed - [x] passes `git diff upstream/master | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/13975
2016-08-12T10:16:44Z
2016-08-12T12:59:52Z
null
2016-08-12T13:19:08Z
PERF/COMPAT: define platform int to np.intp
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 5cbdbe6168bba..b555d17cf47bc 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -767,6 +767,42 @@ Note that the limitation is applied to ``fill_value`` which default is ``np.nan` - Bug in ``SparseSer...
AFAIK this only affects 64 bit python on Windows. `numpy` wants an `np.intp` (i8 on Windows) as a indexer for `take`, but pandas defines a "platform int" as a `np.int_` (i4 on Windows). This hits performance twice, because we often start with i8, cast to i4, then numpy will cast back to i8 in its `take`. This is an ...
https://api.github.com/repos/pandas-dev/pandas/pulls/13972
2016-08-12T00:42:13Z
2016-08-17T10:21:24Z
null
2016-08-17T22:55:16Z
BUG/DEPR: combine dtype fixes
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 5cbdbe6168bba..411b2b0abaf5a 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -788,6 +788,7 @@ Deprecations - ``pandas.tseries.frequencies.get_standard_freq`` is deprecated. Use ``pandas.tseries.f...
- [x] closes #7630, closes #10567 (fix `combine_first` dtype) - [x] closes #13947 (`_find_common_type` to support extension types) - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry - `_find_common_type` also needs to handle numpy datetimelike to be compat with panda...
https://api.github.com/repos/pandas-dev/pandas/pulls/13970
2016-08-11T21:25:52Z
2016-08-12T15:44:55Z
null
2016-08-12T15:45:02Z
ENH: allow exact matches in time-based .rolling()
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 3678168890444..a1be2cc470a8d 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -5568,12 +5568,12 @@ def _add_series_or_dataframe_operations(cls): @Appender(rwindow.rolling.__doc__) def rolling(self, window, min_peri...
- [x] closes #13965 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry TODO: update docs.
https://api.github.com/repos/pandas-dev/pandas/pulls/13968
2016-08-11T19:25:51Z
2017-03-23T22:38:28Z
null
2017-03-23T22:38:29Z
API: Expanded resample
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index b8f747757987c..9bc8b8f425458 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -1473,6 +1473,30 @@ Furthermore, you can also specify multiple aggregation functions for each column r.agg({'A' : ['sum','std'], 'B' : ['mea...
- [x] closes #13500 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry My only question here is if `on=` is the keyword name for picking a column - in a `TimeGrouper` that's called `key`. But `on` is what was used in the rolling selection (and elsewhere) so seems c...
https://api.github.com/repos/pandas-dev/pandas/pulls/13961
2016-08-11T00:52:53Z
2016-08-31T13:13:55Z
null
2016-09-24T14:39:17Z
BLD: add tempita files to depends
diff --git a/setup.py b/setup.py index 1c12ff4aca372..d1b97e1e3d82c 100755 --- a/setup.py +++ b/setup.py @@ -106,19 +106,28 @@ def is_platform_mac(): _pxipath = pjoin('pandas', 'src') -_pxifiles = ['algos_common_helper.pxi.in', 'algos_groupby_helper.pxi.in', - 'join_helper.pxi.in', 'algos_take_helper.p...
This change makes it so that if a `.pxi.in` file is modified, the appropriate module will be rebuilt.
https://api.github.com/repos/pandas-dev/pandas/pulls/13960
2016-08-10T23:58:16Z
2016-08-11T10:13:49Z
null
2016-08-18T01:12:29Z
CLN: Period cleanup related to array like meth
diff --git a/pandas/tseries/period.py b/pandas/tseries/period.py index da8868bb2bd84..d92ebe18b5697 100644 --- a/pandas/tseries/period.py +++ b/pandas/tseries/period.py @@ -402,9 +402,6 @@ def asof_locs(self, where, mask): return result - def _array_values(self): - return self.asobject - @Ap...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` removed unused / duplicated internal method returning array-likes. Also added some tests to guarantee existing API before fixing its dtype (see #13941).
https://api.github.com/repos/pandas-dev/pandas/pulls/13955
2016-08-10T11:26:06Z
2016-08-10T22:12:48Z
null
2016-08-10T22:22:06Z
DOC: remove rplot seaborn equivalent example figures
diff --git a/doc/source/_static/rplot-seaborn-example1.png b/doc/source/_static/rplot-seaborn-example1.png deleted file mode 100644 index d19a3a018bfbf..0000000000000 Binary files a/doc/source/_static/rplot-seaborn-example1.png and /dev/null differ diff --git a/doc/source/_static/rplot-seaborn-example2.png b/doc/source...
https://api.github.com/repos/pandas-dev/pandas/pulls/13954
2016-08-10T10:47:29Z
2016-08-10T14:16:10Z
2016-08-10T14:16:10Z
2016-08-10T14:16:10Z
DOC: add whatsnew for #11920
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 4f81eafa3adaf..bf7ccd77d169b 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -409,6 +409,8 @@ Other enhancements df.sort_values(by='row2', axis=1) - Added documentation to :ref:`I/O<io.dty...
#11920 (forgot to add to commit when merging)
https://api.github.com/repos/pandas-dev/pandas/pulls/13953
2016-08-10T10:22:03Z
2016-08-10T12:27:13Z
2016-08-10T12:27:13Z
2016-08-11T15:48:26Z
DOC: NDFrame.to_hdf(data_columns) documented (#13061).
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 17cc76e703631..d8a23ad40619b 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1088,17 +1088,15 @@ def to_json(self, path_or_buf=None, orient=None, date_format='epoch', lines=lines) def to_hdf(self,...
- [x] closes #13061 - [ ] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry I'm aware there's another PR for the same issue, but it hasn't had activity in a while so this is my attempt. I took the opportunity to remove the unusable "mode=r" option from the same docstrin...
https://api.github.com/repos/pandas-dev/pandas/pulls/13951
2016-08-09T17:03:01Z
2016-08-19T10:49:54Z
null
2016-08-19T10:50:01Z
ENH: Improve error message for repeated Stata categories
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 30a0d918b46ec..e4ecd090f882b 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -397,6 +397,7 @@ Other enhancements - ``Series.append`` now supports the ``ignore_index`` option (:issue:`13677`) - ``...
- [x] closes #13923 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Improve the error message to be more explicit when attempting to read Stata files containing repeated categories. closes #13923
https://api.github.com/repos/pandas-dev/pandas/pulls/13949
2016-08-09T13:55:44Z
2016-08-10T22:37:45Z
null
2017-01-24T21:30:46Z
DOC: Design drafts to assist with next-gen pandas internals discussion
diff --git a/doc/pandas-2.0/.gitignore b/doc/pandas-2.0/.gitignore new file mode 100644 index 0000000000000..aeffbbed984ff --- /dev/null +++ b/doc/pandas-2.0/.gitignore @@ -0,0 +1,2 @@ +pandas2-design +_build diff --git a/doc/pandas-2.0/Makefile b/doc/pandas-2.0/Makefile new file mode 100644 index 0000000000000..654dda...
Sprinted on my accumulated design ideas. There's more to do, but I'm going to take a break for a bit. I published this as a sphinx site temporarily to https://wesm.github.io/pandas2-design/ so it's easier to read. This needs to be a team effort, so depending on where the discussions go perhaps we can build a set of d...
https://api.github.com/repos/pandas-dev/pandas/pulls/13944
2016-08-09T03:07:06Z
2016-08-24T03:45:31Z
null
2016-08-24T03:45:31Z
TST: Removed regex warning for read_csv
diff --git a/pandas/io/tests/parser/common.py b/pandas/io/tests/parser/common.py index 7558e4bb63226..619ac7b4c77ef 100644 --- a/pandas/io/tests/parser/common.py +++ b/pandas/io/tests/parser/common.py @@ -1568,3 +1568,17 @@ def _encode_data_with_bom(_data): encoding=utf8, names=['a'], ...
Follow-up to #13481 and partially fixes #13932. Regex mistakenly matches to the empty string, which will cause Python 3.x to issue a warning. In addition, not sure why this test was placed in `python_parsers_only.py`...
https://api.github.com/repos/pandas-dev/pandas/pulls/13943
2016-08-09T01:44:10Z
2016-08-09T21:53:08Z
null
2016-08-10T02:26:14Z
BLD: Fix sparse warnings
diff --git a/pandas/src/sparse.pyx b/pandas/src/sparse.pyx index 9908aef592ad3..646f9126b984c 100644 --- a/pandas/src/sparse.pyx +++ b/pandas/src/sparse.pyx @@ -147,13 +147,13 @@ cdef class IntIndex(SparseIndex): return IntIndex(self.length, new_indices) @cython.wraparound(False) - cpdef int lookup(s...
- [x] split from #13849 (comment) - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` Because sparse `IntIndex` and `BlockIndex` store value locations as `int32`, its size / block numbers can't exceed `int32` also. warnings has been disappeared in appveyor. - https://ci.appveyor.com/pr...
https://api.github.com/repos/pandas-dev/pandas/pulls/13942
2016-08-08T23:44:42Z
2016-08-09T21:31:09Z
null
2016-08-09T22:10:47Z
ENH: PeriodIndex now has period dtype
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index b8f747757987c..a35b8d561a5a7 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -1594,6 +1594,47 @@ objects: idx idx + MonthEnd(3) +``PeriodIndex`` has its own dtype named ``period``, refer to :ref:`Period Dtypes <...
- [x] split from #13755. - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry splitted `dtype` related part from #13755, to clarify the differences related to `PeriodIndex`
https://api.github.com/repos/pandas-dev/pandas/pulls/13941
2016-08-08T22:14:19Z
2016-08-17T22:18:51Z
null
2016-08-17T23:07:22Z
BUG: properly close files opened by parsers
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 4f81eafa3adaf..b06b39380df64 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -902,6 +902,9 @@ Bug Fixes - Bug in ``pd.read_csv()`` that prevents ``usecols`` from being an empty set (:issue:`13402`...
- [x] closes #13932 - [x] tests passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Addresses all ~~most~~ of the `ResourceWarning`s from #13932. There were three tests that opened files but did not close them. The rest were due to parsers (`CParserWrapper` and `PythonParser`) opening ...
https://api.github.com/repos/pandas-dev/pandas/pulls/13940
2016-08-08T21:42:25Z
2016-08-11T10:34:41Z
null
2016-08-14T00:34:17Z
DOC: Added example of using OrderedDict for agg.
diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst index c9095c3ae1a60..c5a77770085d6 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -13,6 +13,7 @@ matplotlib.style.use('ggplot') import matplotlib.pyplot as plt plt.close('all') + from collections import OrderedDict ******...
- closes #12879 - [ ] tests added / passed (doc only), but builds on my machine - passes `git diff upstream/master | flake8 --diff` - [ ] whatsnew entry (doc only)
https://api.github.com/repos/pandas-dev/pandas/pulls/13938
2016-08-08T15:53:41Z
2016-08-08T16:10:54Z
null
2016-08-08T16:10:54Z
BUG: Right result for DatetimeIndex + TimeDelta when timezone is set(…
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index f93e8f4240787..50ab9cd9ba5e5 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -938,6 +938,7 @@ Bug Fixes - Bug in invalid ``Timedelta`` arithmetic and comparison may raise ``ValueError`` rather tha...
- [x] closes #13905 - [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry …#13905)
https://api.github.com/repos/pandas-dev/pandas/pulls/13935
2016-08-08T15:27:52Z
2016-12-30T21:46:00Z
null
2016-12-30T23:13:50Z
BUG: freqstr may be parsed incorrectly
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index a041e175d5f1a..cbf6ff7659112 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -963,6 +963,7 @@ Bug Fixes - Bug in ``Index.union`` returns an incorrect result with a named empty index (:issue:`13432...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry Invalid freq like below doesn'traise `ValueError` properly. The PR makes all the below raise. ``` pd.tseries.frequencies.to_offset('U1') # <Micro> pd.tseries.frequencies.to_offset('3U1') # <3 * Micros> pd.tseries.f...
https://api.github.com/repos/pandas-dev/pandas/pulls/13930
2016-08-08T00:06:47Z
2016-08-13T22:44:01Z
null
2016-08-13T23:02:09Z
COMPAT/TST: windows sparse int comparisons
diff --git a/pandas/sparse/tests/test_arithmetics.py b/pandas/sparse/tests/test_arithmetics.py index 87efc362581cd..b5945151db678 100644 --- a/pandas/sparse/tests/test_arithmetics.py +++ b/pandas/sparse/tests/test_arithmetics.py @@ -281,28 +281,29 @@ def test_int_array(self): self._check_numeric_ops(a, b, ...
https://api.github.com/repos/pandas-dev/pandas/pulls/13927
2016-08-07T01:08:27Z
2016-08-07T01:24:12Z
2016-08-07T01:24:12Z
2016-08-07T01:24:12Z
BUG: DatetimeTz shift raises AmbiguousTimeError near DST
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt index 581daab5cea58..644ad1e94fe66 100644 --- a/doc/source/whatsnew/v0.19.0.txt +++ b/doc/source/whatsnew/v0.19.0.txt @@ -875,6 +875,7 @@ Bug Fixes - Clean some compile time warnings in datetime parsing (:issue:`13607`) - Bug in ``factoriz...
- [x] tests added / passed - [x] passes `git diff upstream/master | flake8 --diff` - [x] whatsnew entry As the same as #13650, caused by `.tz_localize(None)` which can be removed. ``` import pandas as pd s = pd.Series(pd.date_range('2016-11-06', freq='H', periods=10, tz='US/Eastern')) s.shift(1) # pytz.exceptions.Amb...
https://api.github.com/repos/pandas-dev/pandas/pulls/13926
2016-08-06T20:40:44Z
2016-08-06T22:42:17Z
null
2016-08-07T03:42:02Z