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 |
|---|---|---|---|---|---|---|---|
CI: fix conda version | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index 272e7f2e05d14..c92da8d4774e1 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -48,7 +48,12 @@ echo
echo "[update conda]"
conda config --set ssl_verify false || exit 1
conda config --set quiet true --set always_yes true --set changeps1 fals... | https://api.github.com/repos/pandas-dev/pandas/pulls/19025 | 2018-01-01T13:43:53Z | 2018-01-01T14:15:38Z | 2018-01-01T14:15:38Z | 2018-01-01T14:15:38Z | |
dispatch Series[datetime64] ops to DatetimeIndex | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index bd3bee507baa3..a182f8bd9c9a4 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -208,6 +208,9 @@ Other API Changes
- In :func:`read_excel`, the ``comment`` argument is now exposed as a named paramete... | This is the culmination of a bunch of recent work.
- [x] closes #18850, closes #18808, closes #17837
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
If merged, this will subsume #18960 and will obviate parts of #18964. This will also fix (b... | https://api.github.com/repos/pandas-dev/pandas/pulls/19024 | 2018-01-01T02:18:52Z | 2018-01-04T00:27:50Z | 2018-01-04T00:27:49Z | 2018-01-23T04:40:43Z |
CLN: Remove tseries v0.19.0 deprecations | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 5fd7c3e217928..f0ed3ebf6e192 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -247,6 +247,8 @@ Removal of prior version deprecations/changes
- :func:`read_csv` has dropped the ``compact_ints`` and ... | * Remove frequencies.get_standard_freq
* Drop the "freqstr" keyword from frequencies.to_offset
Deprecated in v0.19.0
xref #13874 | https://api.github.com/repos/pandas-dev/pandas/pulls/19023 | 2018-01-01T01:25:30Z | 2018-01-02T11:20:59Z | 2018-01-02T11:20:59Z | 2018-01-02T17:11:30Z |
API: Prohibit non-numeric dtypes in IntervalIndex | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 4d806f1f05a16..a62a737fbba31 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -211,6 +211,7 @@ Other API Changes
- Subtracting ``NaT`` from a :class:`Series` with ``dtype='datetime64[ns]'`` returns... | - [X] closes #19016
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/19022 | 2018-01-01T00:56:09Z | 2018-01-05T14:15:45Z | 2018-01-05T14:15:45Z | 2018-01-05T17:44:28Z |
ENH: DataFrame.append preserves columns dtype if possible | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 408a52e0526ee..14146b9e455b4 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -380,6 +380,7 @@ Other Enhancements
- :class:`IntervalIndex` now supports time zone aware ``Interval`` objects (:issue:... | - [x] closes #18359
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This PR makes ``DataFrame.append`` preserve columns dtype, e.g.:
```python
>>> idx = pd.CategoricalIndex('a b'.split())
>>> df = pd.DataFrame([[1, 2]], columns=idx)
>>> s... | https://api.github.com/repos/pandas-dev/pandas/pulls/19021 | 2017-12-31T23:14:24Z | 2018-04-20T00:35:14Z | 2018-04-20T00:35:14Z | 2021-05-22T23:20:06Z |
Spellcheck | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 46c3ffef58228..da7679d8a3f54 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -48,7 +48,7 @@ a default integer index:
s = pd.Series([1,3,5,np.nan,6,8])
s
-Creating a :class:`DataFrame` by passing a numpy array, with a datetime index... | This PR is a continuation of my read-through of the docs, the earlier PRs are #18941, #18973 and #18948.
**The changes included in this PR include**
- Changed spelling of "python" to "Python" for consistency, same with "numpy" to "NumPy". This change was made globally, i.e. for most documents in `/docs/source/`.
-... | https://api.github.com/repos/pandas-dev/pandas/pulls/19017 | 2017-12-31T16:19:22Z | 2018-01-03T12:25:22Z | 2018-01-03T12:25:22Z | 2018-01-03T12:25:53Z |
DOC: Update some outdated information | diff --git a/README.md b/README.md
index ac043f5586498..4b9c9505e320a 100644
--- a/README.md
+++ b/README.md
@@ -160,10 +160,9 @@ pip install pandas
```
## Dependencies
-- [NumPy](http://www.numpy.org): 1.7.0 or higher
-- [python-dateutil](https://labix.org/python-dateutil): 1.5 or higher
-- [pytz](https://pythonho... | https://api.github.com/repos/pandas-dev/pandas/pulls/19015 | 2017-12-31T12:56:45Z | 2017-12-31T14:43:54Z | 2017-12-31T14:43:54Z | 2018-05-02T13:09:34Z | |
TST: fix FileNotFoundError: [Errno 2] No such file or directory: 'pa… | diff --git a/setup.py b/setup.py
index 0fea6f5641475..d518bea62da00 100755
--- a/setup.py
+++ b/setup.py
@@ -718,6 +718,7 @@ def pxd(name):
'parser/data/*.tar',
'parser/data/*.zip',
'parser/data/*.... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/19014 | 2017-12-31T02:58:58Z | 2017-12-31T14:43:07Z | null | 2023-05-11T01:17:03Z |
datetimelike indexes add/sub zero-dim integer arrays | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 6407a33c442d0..b169d8600169e 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -368,7 +368,7 @@ Numeric
^^^^^^^
- Bug in :func:`Series.__sub__` subtracting a non-nanosecond ``np.datetime64`` obje... | Setup:
```
dti = pd.date_range('2016-01-01', periods=3, freq='H')
one = np.array(1)
```
0.21.1:
```
>>> dti + one
DatetimeIndex(['2016-01-01 00:00:00.000000001',
'2016-01-01 01:00:00.000000001',
'2016-01-01 02:00:00.000000001'],
dtype='datetime64[ns]', freq='H')
... | https://api.github.com/repos/pandas-dev/pandas/pulls/19013 | 2017-12-31T01:18:48Z | 2017-12-31T14:49:25Z | 2017-12-31T14:49:25Z | 2018-01-23T04:40:46Z |
TST: Split tests/indexes/interval/test_interval.py into separate files | diff --git a/pandas/tests/indexes/interval/test_interval.py b/pandas/tests/indexes/interval/test_interval.py
index 3ca4c31b7f059..73520e984ae12 100644
--- a/pandas/tests/indexes/interval/test_interval.py
+++ b/pandas/tests/indexes/interval/test_interval.py
@@ -2,14 +2,11 @@
import pytest
import numpy as np
-from da... | - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Since we now have an interval subdirectory, seems logical to split `test_interval.py` into separate files, similar to what has been done for `DatetimeIndex`, `PeriodIndex`, and `TimedeltaIndex`.
Just made very basic changes here, moving things ... | https://api.github.com/repos/pandas-dev/pandas/pulls/19009 | 2017-12-30T22:37:00Z | 2017-12-30T23:49:23Z | 2017-12-30T23:49:23Z | 2017-12-31T20:47:18Z |
CI: move 3.5 build back to required on travis | diff --git a/.travis.yml b/.travis.yml
index e56435faeec19..5cc6547968b7d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -49,7 +49,6 @@ matrix:
apt:
packages:
- python-gtk2
- # In allow_failures
- dist: trusty
env:
- JOB="3.5_CONDA_BUILD_TEST" TEST_ARGS="--skip-slow... | https://api.github.com/repos/pandas-dev/pandas/pulls/19007 | 2017-12-30T22:23:18Z | 2017-12-30T23:20:59Z | 2017-12-30T23:20:59Z | 2017-12-30T23:20:59Z | |
COMPAT: Drop reference to deprecated dateutil.zoneinfo.gettz | diff --git a/pandas/_libs/tslibs/timezones.pyx b/pandas/_libs/tslibs/timezones.pyx
index de9f75344b2bf..fdcf40337fab9 100644
--- a/pandas/_libs/tslibs/timezones.pyx
+++ b/pandas/_libs/tslibs/timezones.pyx
@@ -10,13 +10,7 @@ from dateutil.tz import (
tzlocal as _dateutil_tzlocal,
tzfile as _dateutil_tzfile)
... | - [X] closes #19004
I'm assuming these will be handled by CI:
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Not sure this is necessary, it's a very "behind the scenes" fix, replacing `zoneinfo.gettz` with the superior `tz.gettz()`:
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/19006 | 2017-12-30T20:02:30Z | 2017-12-30T22:12:05Z | 2017-12-30T22:12:05Z | 2017-12-30T22:14:38Z |
DOC: Fix min_count docstring | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 06d82578cb9ef..84799d12df0c4 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -7664,7 +7664,7 @@ def _doc_parms(cls):
_min_count_stub = """\
-min_count : int, default 1
+min_count : int, default 0
The required number of vali... | [ci skip]
missed this earlier. | https://api.github.com/repos/pandas-dev/pandas/pulls/19005 | 2017-12-30T19:55:04Z | 2017-12-30T19:55:37Z | 2017-12-30T19:55:37Z | 2017-12-30T19:55:47Z |
COMPAT: clean up warnings | diff --git a/appveyor.yml b/appveyor.yml
index 0aaac322c4ac7..ba001208864a8 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -15,6 +15,7 @@ environment:
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci\\run_with_env.cmd"
clone_folder: C:\projects\pandas
+ PANDAS_T... | https://api.github.com/repos/pandas-dev/pandas/pulls/19003 | 2017-12-30T17:42:27Z | 2017-12-30T22:48:01Z | 2017-12-30T22:48:01Z | 2017-12-30T22:48:02Z | |
DOC: More 0.22.0 updates | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 89e2d3006696c..3e673bd4cbc28 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -372,6 +372,12 @@ Additionally, support has been dropped for Python 3.4 (:issue:`15251`).
Sum/Prod of all-NaN or empty ... | [ci skip]
cc @jorisvandenbossche
xref https://github.com/pandas-dev/pandas/issues/18985#issuecomment-354525713 and https://github.com/pandas-dev/pandas/pull/18983#issuecomment-354525079 | https://api.github.com/repos/pandas-dev/pandas/pulls/19002 | 2017-12-30T13:37:57Z | 2017-12-30T19:30:40Z | 2017-12-30T19:30:40Z | 2017-12-30T19:31:11Z |
TST: limit printing of xfail cases & catch Performance Warnings | diff --git a/pandas/tests/indexes/datetimes/test_arithmetic.py b/pandas/tests/indexes/datetimes/test_arithmetic.py
index 6cfa083172921..11a52267ed1b4 100644
--- a/pandas/tests/indexes/datetimes/test_arithmetic.py
+++ b/pandas/tests/indexes/datetimes/test_arithmetic.py
@@ -368,12 +368,15 @@ def test_dti_add_offset_array... | TST: limit printing of xfail cases
no need to report invalid offset creation
STYLE/DEPR: catch PerformanceWarnings
closes #18989
| https://api.github.com/repos/pandas-dev/pandas/pulls/19001 | 2017-12-30T13:21:53Z | 2017-12-30T15:10:23Z | 2017-12-30T15:10:23Z | 2017-12-30T15:10:23Z |
CLN: rename lib.isscalar to lib.is_scalar | diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx
index 3898f7499e85e..bfcf0c6e69a2f 100644
--- a/pandas/_libs/lib.pyx
+++ b/pandas/_libs/lib.pyx
@@ -98,7 +98,7 @@ def memory_usage_of_objects(ndarray[object, ndim=1] arr):
# ----------------------------------------------------------------------
-cpdef bint i... | - [x] closes #18987
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
There's also a handful of methods which call `is_scalar` that are named `isscalar`, e.g.:
https://github.com/pandas-dev/pandas/blob/84335621ad0a0d83302a80b6911d3985c00b5cee/pan... | https://api.github.com/repos/pandas-dev/pandas/pulls/19000 | 2017-12-30T05:37:45Z | 2017-12-30T22:41:23Z | 2017-12-30T22:41:23Z | 2017-12-30T22:41:27Z |
Fix IntervalDtype Bugs and Inconsistencies | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index d7a3f0d077302..783de6569a542 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -270,6 +270,7 @@ Other API Changes
- Subtraction of :class:`Series` with timezone-aware ``dtype='datetime64[ns]'`` with... | - [X] closes #18980
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
Summary:
- `IntervalDtype(*)` now returns `True` when compared against `'interval'` and `IntervalDtype()` regardless of subtype
- `IntervalDtype(*)` now returns `'interval'` r... | https://api.github.com/repos/pandas-dev/pandas/pulls/18997 | 2017-12-29T21:09:36Z | 2018-01-10T21:28:03Z | 2018-01-10T21:28:03Z | 2018-09-24T17:26:29Z |
TST: Remove pow test in expressions | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index ab45b5113802c..272e7f2e05d14 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -56,11 +56,6 @@ if [ "$CONDA_BUILD_TEST" ]; then
conda install conda-build
fi
-# TODO(jreback)
-echo
-echo "[fix conda version]"
-conda install conda=4.3.30... | These are already skipped for NumPy>=1.12, and buggy for NumPy
1.10.4
cc @jreback
This will be backported.
closes #18992 | https://api.github.com/repos/pandas-dev/pandas/pulls/18995 | 2017-12-29T19:15:27Z | 2017-12-29T20:21:29Z | 2017-12-29T20:21:29Z | 2018-06-29T08:42:01Z |
CI: remove fixed conda version | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index ab45b5113802c..272e7f2e05d14 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -56,11 +56,6 @@ if [ "$CONDA_BUILD_TEST" ]; then
conda install conda-build
fi
-# TODO(jreback)
-echo
-echo "[fix conda version]"
-conda install conda=4.3.30... | xref #18870 | https://api.github.com/repos/pandas-dev/pandas/pulls/18994 | 2017-12-29T18:02:15Z | 2017-12-29T19:18:08Z | null | 2017-12-29T19:18:08Z |
CI: Pin NumPy version | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index 693a2fe1fd6a6..1c1d256fa83db 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -56,11 +56,6 @@ if [ "$CONDA_BUILD_TEST" ]; then
conda install conda-build
fi
-# TODO(jreback)
-echo
-echo "[fix conda version]"
-conda install conda=4.3.30... | closes #18992
This should fail. | https://api.github.com/repos/pandas-dev/pandas/pulls/18993 | 2017-12-29T17:51:56Z | 2017-12-29T19:18:52Z | null | 2017-12-29T19:21:50Z |
CI: fix pip install | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index 693a2fe1fd6a6..ab45b5113802c 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -106,6 +106,9 @@ time conda create -n pandas --file=${REQ} || exit 1
source activate pandas
+# https://github.com/travis-ci/travis-ci/issues/8920#issuecomment-... | https://api.github.com/repos/pandas-dev/pandas/pulls/18990 | 2017-12-29T16:49:42Z | 2017-12-29T17:42:28Z | 2017-12-29T17:42:28Z | 2017-12-29T17:42:28Z | |
0.22.0 backports | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 0298eda2c78ab..aea6280a490d6 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -37,6 +37,27 @@ analysis / manipulation tool available in any language.
* Binary installers on PyPI: http://pypi.python.org/pypi/pandas
* Documentation: h... | https://api.github.com/repos/pandas-dev/pandas/pulls/18986 | 2017-12-29T14:29:30Z | 2017-12-30T01:22:59Z | 2017-12-30T01:22:59Z | 2017-12-30T01:42:09Z | |
revert geopandas xfail | diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py
index 6407bee49ad15..0f0abd8cd3400 100644
--- a/pandas/tests/test_downstream.py
+++ b/pandas/tests/test_downstream.py
@@ -92,7 +92,6 @@ def test_pandas_datareader():
pandas_datareader.get_data_google('AAPL')
-@pytest.mark.xfail(reas... | closes #18780
| https://api.github.com/repos/pandas-dev/pandas/pulls/18984 | 2017-12-29T14:22:17Z | 2017-12-29T15:12:42Z | 2017-12-29T15:12:41Z | 2017-12-29T15:12:42Z |
DOC: 0.22.0 release docs | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 0298eda2c78ab..aea6280a490d6 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -37,6 +37,27 @@ analysis / manipulation tool available in any language.
* Binary installers on PyPI: http://pypi.python.org/pypi/pandas
* Documentation: h... | [ci skip] | https://api.github.com/repos/pandas-dev/pandas/pulls/18983 | 2017-12-29T13:19:20Z | 2017-12-29T14:27:47Z | 2017-12-29T14:27:47Z | 2017-12-30T03:36:09Z |
ENH: is_scalar returns True for DateOffset objects | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 24f3e4433411e..0061a636cafb6 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -144,6 +144,7 @@ Other Enhancements
- :class:`Interval` and :class:`IntervalIndex` have gained a ``length`` attribute (... | - [x] closes #18943
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
I've implemented `is_offset` identically to `is_period_object` and added it to `isscalar` and `is_scalar` is now returning true for DateOffsets.
But not sure how to go about... | https://api.github.com/repos/pandas-dev/pandas/pulls/18982 | 2017-12-29T05:50:01Z | 2017-12-29T14:24:39Z | 2017-12-29T14:24:39Z | 2017-12-29T14:28:41Z |
Add spec for new Interval / IntervalIndex methods: .overlaps(), .covers() | diff --git a/pandas/tests/indexes/interval/test_interval_new.py b/pandas/tests/indexes/interval/test_interval_new.py
index c8b30e19daa02..71c7265b89a1d 100644
--- a/pandas/tests/indexes/interval/test_interval_new.py
+++ b/pandas/tests/indexes/interval/test_interval_new.py
@@ -13,13 +13,6 @@
class TestIntervalIndex(B... | - [x] part 2/2 for #16316
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Working on parameterizing the tests. Will ping when ready for review. | https://api.github.com/repos/pandas-dev/pandas/pulls/18975 | 2017-12-28T19:18:22Z | 2018-09-25T15:40:25Z | null | 2018-09-25T15:40:26Z |
Cleanup Series arithmetic tests | diff --git a/pandas/tests/indexes/timedeltas/test_arithmetic.py b/pandas/tests/indexes/timedeltas/test_arithmetic.py
index 3c567e52cccb5..85dd17c2d1b44 100644
--- a/pandas/tests/indexes/timedeltas/test_arithmetic.py
+++ b/pandas/tests/indexes/timedeltas/test_arithmetic.py
@@ -26,7 +26,6 @@ def freq(request):
class... | Also a few for TimedeltaIndex. One of the TimedeltaIndex tests specifically tests a behavior I think is wrong, #18963. Actually _fixing_ that bug is separate.
Actual content of tests is unchanged. | https://api.github.com/repos/pandas-dev/pandas/pulls/18974 | 2017-12-28T18:54:37Z | 2017-12-29T06:43:15Z | null | 2018-02-11T22:00:21Z |
Spellcheck of docs, a few minor changes | diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst
index e591825cec748..be749dfc1f594 100644
--- a/doc/source/advanced.rst
+++ b/doc/source/advanced.rst
@@ -24,9 +24,9 @@ See the :ref:`Indexing and Selecting Data <indexing>` for general indexing docum
Whether a copy or a reference is returned for a sett... | This PR continues my read-through of the docs, the previous PRs submitted are #18941 and #18948.
The following edits have been made:
- Missing periods and colons added before introducing code examples.
- Increased number of function references (clickable links).
- Cleared up a few sentences which I found unclear... | https://api.github.com/repos/pandas-dev/pandas/pulls/18973 | 2017-12-28T16:54:15Z | 2017-12-29T21:48:57Z | 2017-12-29T21:48:57Z | 2017-12-29T21:49:01Z |
TST: split out some sparse tests | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index 800a20aa94b8f..693a2fe1fd6a6 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -178,15 +178,15 @@ if [ "$PIP_BUILD_TEST" ]; then
# build & install testing
echo "[building release]"
- bash scripts/build_dist_for_release.sh
+ t... | https://api.github.com/repos/pandas-dev/pandas/pulls/18968 | 2017-12-28T13:17:20Z | 2017-12-28T17:22:02Z | 2017-12-28T17:22:02Z | 2017-12-28T17:22:28Z | |
Misc. Typo fixes | diff --git a/appveyor.yml b/appveyor.yml
index 44af73b498aa8..0aaac322c4ac7 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -11,7 +11,7 @@ matrix:
environment:
global:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
- # /E:ON and /V:ON options are not enabled in the batch script intepreter... | Both user and non-user facing. Found via `codespell -q 3 -I ../pandas-whitelist.txt` whereby the whitelist consisted of:
```
behaviour
indicies
initialise
initialised
initialising
resetted
thru
writeable
``` | https://api.github.com/repos/pandas-dev/pandas/pulls/18966 | 2017-12-28T10:49:32Z | 2017-12-30T16:15:09Z | 2017-12-30T16:15:09Z | 2017-12-30T17:11:53Z |
Remove unused/unreachable code from ops | diff --git a/pandas/core/ops.py b/pandas/core/ops.py
index 89d793a586e74..70c1b93122609 100644
--- a/pandas/core/ops.py
+++ b/pandas/core/ops.py
@@ -156,6 +156,7 @@ def add_methods(cls, new_methods, force, select, exclude):
raise TypeError("May only pass either select or exclude")
if select:
+ # ... | Add TODO comments for questionable cases.
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/18964 | 2017-12-28T05:57:15Z | 2018-01-01T17:55:42Z | null | 2023-05-11T01:17:02Z |
DOC: Link to Python 3 versions of official Python docs | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index ecb9a8f2d79db..f9995472866ed 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1728,7 +1728,7 @@ built-in string methods. For example:
Powerful pattern-matching methods are provided as well, but note that
pattern-matching generally us... | - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Went through and made sure that all links to the official Python docs start with `https://docs.python.org/3/` to ensure that the links go to the most recent stable version of Python 3. | https://api.github.com/repos/pandas-dev/pandas/pulls/18962 | 2017-12-28T00:27:21Z | 2017-12-28T11:37:48Z | 2017-12-28T11:37:48Z | 2017-12-28T20:47:52Z |
Fix Timedelta.__floordiv__, __rfloordiv__ | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 77de1851490b2..9abf04bf8a83c 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -415,6 +415,7 @@ Numeric
- Bug in :func:`Series.__sub__` subtracting a non-nanosecond ``np.datetime64`` object from a `... | It would not at all surprise me to learn that there are more corner cases that this misses. Needs some eyeballs.
- [x] closes #18846
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/18961 | 2017-12-27T21:58:49Z | 2018-01-07T02:40:29Z | 2018-01-07T02:40:29Z | 2018-01-23T04:40:36Z |
Make Series[datetime64] - pd.NaT behave like DatetimeIndex - pd.NaT | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 6407a33c442d0..0cd07de2e456d 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -208,6 +208,7 @@ Other API Changes
- In :func:`read_excel`, the ``comment`` argument is now exposed as a named paramete... | - [x] closes #18808
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/18960 | 2017-12-27T19:27:02Z | 2018-01-01T17:55:23Z | null | 2023-05-11T01:17:01Z |
implement non-controversial cleanup portions of #18762 | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 933e7ed64b837..950b4d4c14772 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -523,11 +523,9 @@ def shift_quarters(int64_t[:] dtindex, int quarters,
n = quarters
... | #18762 touches a lot of code and is currently in limbo pending discussion of `roll_monthday` and `roll_convention`. This separates out unrelated cleanup portions of that PR, the idea being that making the diff there simpler will make things easier.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git d... | https://api.github.com/repos/pandas-dev/pandas/pulls/18959 | 2017-12-27T19:24:55Z | 2017-12-29T21:52:10Z | null | 2018-02-11T22:00:21Z |
DOC: Update doc strings to show pd.Panel has been deprecated | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 26257f6ecbc37..3243baa0008ae 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1403,6 +1403,8 @@ def to_panel(self):
Transform long (stacked) format (DataFrame) into wide (3D, Panel)
format.
+ .. deprecated:: 0.20.0... | Add lines to doc string to show that Panel has been deprecated. | https://api.github.com/repos/pandas-dev/pandas/pulls/18956 | 2017-12-27T10:00:49Z | 2017-12-27T19:39:23Z | 2017-12-27T19:39:23Z | 2018-02-02T17:06:40Z |
CLN: Drop the .reshape method from classes | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 8c94cef4d8ea7..da750c071c4ae 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -241,6 +241,7 @@ Removal of prior version deprecations/changes
- :func:`read_csv` has dropped the ``buffer_lines`` para... | Remove the method for Series, Categorical, and Index. Deprecated or errored in v0.19.0
xref #13012 | https://api.github.com/repos/pandas-dev/pandas/pulls/18954 | 2017-12-27T09:15:49Z | 2017-12-27T19:40:00Z | 2017-12-27T19:40:00Z | 2017-12-28T17:29:08Z |
DOC: Added note about groupby excluding Decimal columns by default | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index fecc336049a40..1f0b43bab8d4d 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -984,6 +984,33 @@ Note that ``df.groupby('A').colname.std().`` is more efficient than
is only interesting over one column (here ``colname``), it may be fil... | Also included example of how to explicitly aggregate by Decimal columns.
- closes #13821
| https://api.github.com/repos/pandas-dev/pandas/pulls/18953 | 2017-12-27T08:26:56Z | 2018-11-08T15:08:41Z | 2018-11-08T15:08:40Z | 2018-11-08T15:08:55Z |
BUG: Adjust time values with Period objects in Series.dt.end_time | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index d2d5d40393b62..e3e1b35f89cbb 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -281,6 +281,43 @@ that the dates have been converted to UTC
.. ipython:: python
pd.to_datetime(["2015-11-18 15:30:... | - [x] closes #17157
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/18952 | 2017-12-27T01:04:56Z | 2018-07-31T13:03:03Z | 2018-07-31T13:03:03Z | 2018-08-03T20:14:28Z |
DOC: greater consistency and spell-check for intro docs | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 49142311ff057..46c3ffef58228 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -25,7 +25,7 @@
********************
This is a short introduction to pandas, geared mainly for new users.
-You can see more complex recipes in the :ref:`Cookbook... | I read through introductory docs, and made the following changes:
- Added missing periods, which were sometimes absent in short sentences.
- In other parts of the documentation, code examples appear to typically be introduced with a colon. This has been added in some sentences which introduce code and do not end in... | https://api.github.com/repos/pandas-dev/pandas/pulls/18948 | 2017-12-26T16:14:47Z | 2017-12-27T19:30:01Z | 2017-12-27T19:30:01Z | 2017-12-28T00:56:29Z |
CLN: ASV reshape | diff --git a/asv_bench/benchmarks/reshape.py b/asv_bench/benchmarks/reshape.py
index 951f718257170..bd3b580d9d130 100644
--- a/asv_bench/benchmarks/reshape.py
+++ b/asv_bench/benchmarks/reshape.py
@@ -1,13 +1,16 @@
-from .pandas_vb_common import *
-from pandas import melt, wide_to_long
+from itertools import product
... | Flake8'd and simplified setups where available.
```
$ asv dev -b ^reshape
· Discovering benchmarks
· Running 9 total benchmarks (1 commits * 1 environments * 9 benchmarks)
[ 0.00%] ·· Building for existing-py_home_matt_anaconda_envs_pandas_dev_bin_python
[ 0.00%] ·· Benchmarking existing-py_home_matt_anaconda... | https://api.github.com/repos/pandas-dev/pandas/pulls/18944 | 2017-12-26T07:28:34Z | 2017-12-26T21:38:26Z | 2017-12-26T21:38:26Z | 2017-12-31T04:33:36Z |
DOC: typo in documentation | diff --git a/doc/source/internals.rst b/doc/source/internals.rst
index 3d96b93de4cc9..a321b4202296f 100644
--- a/doc/source/internals.rst
+++ b/doc/source/internals.rst
@@ -217,7 +217,7 @@ Below is an example to define 2 original properties, "internal_cache" as a tempo
.. code-block:: python
- >>> df = Subclasse... | https://api.github.com/repos/pandas-dev/pandas/pulls/18942 | 2017-12-25T23:50:39Z | 2017-12-26T08:09:36Z | 2017-12-26T08:09:36Z | 2017-12-26T08:09:41Z | |
DOC: Fixed minor spelling errors | diff --git a/doc/source/overview.rst b/doc/source/overview.rst
index 00a71603e1261..0354f6e7f06f7 100644
--- a/doc/source/overview.rst
+++ b/doc/source/overview.rst
@@ -102,7 +102,7 @@ project, and makes it possible to `donate <https://pandas.pydata.org/donate.html
Project Governance
------------------
-The governa... | Two small changes:
- Two minor spelling errors corrected.
- Added part 7 of a tutorial series to the docs (parts 1-6 were included already, but not part 7).
| https://api.github.com/repos/pandas-dev/pandas/pulls/18941 | 2017-12-25T22:03:29Z | 2017-12-26T08:11:58Z | 2017-12-26T08:11:58Z | 2017-12-26T08:39:12Z |
ENH: Let Resampler objects have a pipe method | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 64f972e52d190..68721b76eed7e 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -2274,6 +2274,7 @@ Function application
Resampler.apply
Resampler.aggregate
Resampler.transform
+ Resampler.pipe
Upsampling
~~~~~~~~~~
diff --git a/doc/so... | - [x] closes #17905
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Currently, calls to ``df.resample(....).pipe(...)`` are converted to ``df.resample(....).mean().pipe(...)`` and a warning is emitted (see #17905).
This PR solves this by movi... | https://api.github.com/repos/pandas-dev/pandas/pulls/18940 | 2017-12-25T14:21:25Z | 2017-12-26T21:45:49Z | 2017-12-26T21:45:49Z | 2017-12-26T22:11:05Z |
CLN: ASV reindex | diff --git a/asv_bench/benchmarks/reindex.py b/asv_bench/benchmarks/reindex.py
index 537d275e7c727..69a1a604b1ccc 100644
--- a/asv_bench/benchmarks/reindex.py
+++ b/asv_bench/benchmarks/reindex.py
@@ -1,89 +1,77 @@
-from .pandas_vb_common import *
-from random import shuffle
+import numpy as np
+import pandas.util.test... | Flake8'd, utilized `param`s and simplified setup where possible.
```
$ asv dev -b ^reindex
· Discovering benchmarks
· Running 17 total benchmarks (1 commits * 1 environments * 17 benchmarks)
[ 0.00%] ·· Building for existing-py_home_matt_anaconda_envs_pandas_dev_bin_python
[ 0.00%] ·· Benchmarking existing-p... | https://api.github.com/repos/pandas-dev/pandas/pulls/18938 | 2017-12-25T05:41:57Z | 2017-12-26T21:47:33Z | 2017-12-26T21:47:33Z | 2017-12-31T04:33:51Z |
CLN/BUG: Consolidate Index.astype and fix tz aware bugs | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 8c94cef4d8ea7..df17f6dd4c16f 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -288,6 +288,7 @@ Conversion
- Bug in :class:`Series` constructor with an int or float list where specifying ``dtype=str... | - [X] closes #18704
- [X] closes #18951
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
Only behavioral changes:
- Allowed `.astype(str)` on `TimedeltaIndex` and `PeriodIndex`, which previously raised.
- Couldn't see a reason why it shou... | https://api.github.com/repos/pandas-dev/pandas/pulls/18937 | 2017-12-25T02:00:32Z | 2017-12-27T19:43:00Z | 2017-12-27T19:43:00Z | 2017-12-27T20:12:47Z |
DOC: Using deprecated sphinx directive instead of non-standard messages in docstrings (#18928) | diff --git a/ci/lint.sh b/ci/lint.sh
index b4eafcaf28e39..d00e0c9afb6dc 100755
--- a/ci/lint.sh
+++ b/ci/lint.sh
@@ -117,6 +117,10 @@ if [ "$LINT" ]; then
fi
done
echo "Check for incorrect sphinx directives DONE"
+
+ echo "Check for deprecated messages without sphinx directive"
+ grep -R --incl... | - [X] closes #18928
- [X] tests passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/18934 | 2017-12-25T00:17:58Z | 2018-01-06T17:15:23Z | 2018-01-06T17:15:23Z | 2018-03-14T18:16:02Z |
BUG: DataFrame.from_records ignores exclude if it is [0] | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 26257f6ecbc37..5e1c801f1b1c9 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1175,7 +1175,7 @@ def from_records(cls, data, index=None, exclude=None, columns=None,
except Exception:
result_index = index
... | Fixed https://github.com/pandas-dev/pandas/issues/18679 | https://api.github.com/repos/pandas-dev/pandas/pulls/18933 | 2017-12-24T22:46:18Z | 2018-01-14T22:18:07Z | null | 2018-01-14T22:18:07Z |
CLN: ASV period | diff --git a/asv_bench/benchmarks/period.py b/asv_bench/benchmarks/period.py
index 15d7655293ea3..897a3338c164c 100644
--- a/asv_bench/benchmarks/period.py
+++ b/asv_bench/benchmarks/period.py
@@ -1,61 +1,24 @@
-import pandas as pd
-from pandas import Series, Period, PeriodIndex, date_range
+from pandas import (DataFra... | - Utilized `param` for the `PeriodProperties` benchmark
- Replaced `setup_cache` for just `setup` since only one benchmark was being run for that class.
```
$ asv dev -b ^period
· Discovering benchmarks
· Running 15 total benchmarks (1 commits * 1 environments * 15 benchmarks)
[ 0.00%] ·· Building for existi... | https://api.github.com/repos/pandas-dev/pandas/pulls/18932 | 2017-12-24T21:48:17Z | 2017-12-26T22:00:01Z | 2017-12-26T22:00:01Z | 2017-12-31T04:33:10Z |
TST: organize and cleanup pandas/tests/groupby/test_aggregate.py | diff --git a/.gitignore b/.gitignore
index b1748ae72b8ba..0d4e8c6fb75a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,7 @@
.ipynb_checkpoints
.tags
.cache/
+.vscode/
# Compiled source #
###################
diff --git a/pandas/tests/groupby/aggregate/__init__.py b/pandas/tests/groupby/aggregate/__init__.p... | closes #18490
Module currently has tests in 2 classes (`TestGroupByAggregate` and `TestGroupByAggregateCython`). The remaining tests are not in a class.
Also made the following changes:
### TestGroupByAggregate class
#### test_agg_must_agg
* replaced `pytest.raises` with `tm.assert_raises_regex`
#### test... | https://api.github.com/repos/pandas-dev/pandas/pulls/18931 | 2017-12-24T19:13:09Z | 2017-12-30T12:31:36Z | 2017-12-30T12:31:36Z | 2018-01-05T14:24:09Z |
BUG: Stack/unstack do not return subclassed objects (GH15563) | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index dc305f36f32ec..ec106ff2b2f61 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -449,6 +449,8 @@ Reshaping
- Bug in :func:`cut` which fails when using readonly arrays (:issue:`18773`)
- Bug in :func... | - [x] closes #15563
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Basically picked from #15655 to support stack/unstack in subclassed DataFrames and Series.
| https://api.github.com/repos/pandas-dev/pandas/pulls/18929 | 2017-12-24T14:07:49Z | 2018-01-12T11:49:01Z | 2018-01-12T11:49:01Z | 2018-01-12T11:49:08Z |
CLN: Remove Timestamp.offset | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 3f300deddebeb..6be58dff0eecb 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -238,6 +238,7 @@ Removal of prior version deprecations/changes
- :func:`read_csv` has dropped the ``as_recarray`` param... | Deprecated in v0.19.0
xref #13593
| https://api.github.com/repos/pandas-dev/pandas/pulls/18927 | 2017-12-24T10:01:47Z | 2017-12-26T22:13:27Z | 2017-12-26T22:13:27Z | 2017-12-27T07:24:37Z |
CLN: ASV offset | diff --git a/asv_bench/benchmarks/offset.py b/asv_bench/benchmarks/offset.py
index 849776bf9a591..034e861e7fc01 100644
--- a/asv_bench/benchmarks/offset.py
+++ b/asv_bench/benchmarks/offset.py
@@ -2,51 +2,58 @@
from datetime import datetime
import numpy as np
-
import pandas as pd
-from pandas import date_range
-
... | - Consolidated all the offsets to a list that was reused for all the benchmarks.
- The `ApplyIndex` benchmark seemed to be benchmarking arithmetic, so I changed it to specifically use the `apply_index()` method
```
$ asv dev -b ^offset
· Discovering benchmarks
· Running 10 total benchmarks (1 commits * 1 envir... | https://api.github.com/repos/pandas-dev/pandas/pulls/18926 | 2017-12-24T08:26:34Z | 2017-12-31T14:54:14Z | 2017-12-31T14:54:14Z | 2017-12-31T23:55:21Z |
DOC: Clarify dispatch behavior of read_sql | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 26874a57c66f7..0d398ad3135a6 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -337,15 +337,22 @@ def read_sql(sql, con, index_col=None, coerce_float=True, params=None,
"""
Read SQL query or database table into a DataFrame.
+ This function is a... | Wasn't particularly clear or prominent in the docs.
Closes #18861. | https://api.github.com/repos/pandas-dev/pandas/pulls/18925 | 2017-12-24T06:45:31Z | 2017-12-26T22:14:54Z | 2017-12-26T22:14:54Z | 2017-12-27T07:24:45Z |
BUG: fix issue with concat creating SparseFrame if not all series are sparse. | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 1890636bc8e1a..42f5e65bd6974 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -537,6 +537,7 @@ Reshaping
- Bug in :func:`DataFrame.merge` in which merging using ``Index`` objects as vectors raised ... | Ok so after trying a few things out. This seems to be the problem.
When concatting multiple data frames together if any of the containing series are sparse then the entire data frame becomes sparse (or SparseDataFrame).
This is in fact not what we want. We want a DataFrame that contains a SparseSeries and a Seri... | https://api.github.com/repos/pandas-dev/pandas/pulls/18924 | 2017-12-24T02:41:15Z | 2018-02-01T13:09:19Z | 2018-02-01T13:09:18Z | 2018-02-01T13:20:14Z |
COMPAT-18589: Supporting axis in Series.rename | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 72f63a4da0f4d..a8d35602b9185 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -840,6 +840,7 @@ Reshaping
- Bug in :func:`concat` when concatting sparse and dense series it returns only a ``SparseDa... | - [x] closes #18589
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/18923 | 2017-12-23T19:02:31Z | 2018-02-14T11:12:08Z | 2018-02-14T11:12:08Z | 2018-02-14T12:05:58Z |
DEPR: Added is_copy to NDFrame._deprecations | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index e9dd82eb64834..f2dbb3ef4d32a 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -115,7 +115,7 @@ class NDFrame(PandasObject, SelectionMixin):
_internal_names_set = set(_internal_names)
_accessors = frozenset([])
_deprecat... | Should have been part of PR #18801
| https://api.github.com/repos/pandas-dev/pandas/pulls/18922 | 2017-12-23T15:54:43Z | 2017-12-23T19:42:27Z | 2017-12-23T19:42:27Z | 2017-12-23T19:42:31Z |
Breaking changes for sum / prod of empty / all-NA | diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt
index 2d30e00142846..8617aa6c03e1f 100644
--- a/doc/source/whatsnew/v0.22.0.txt
+++ b/doc/source/whatsnew/v0.22.0.txt
@@ -3,12 +3,218 @@
v0.22.0
-------
-This is a major release from 0.21.1 and includes a number of API changes,
-deprecat... | Changes the defaults for `min_count` so that `sum([])` and `sum([np.nan])` are 0 by default, and NaN with `min_count>=1`.
I'd recommend looking at only the latest commit until https://github.com/pandas-dev/pandas/pull/18876 is merged. I'll probably force push changes here to keep all the relevant changes in the last... | https://api.github.com/repos/pandas-dev/pandas/pulls/18921 | 2017-12-23T12:48:38Z | 2017-12-29T13:05:49Z | 2017-12-29T13:05:49Z | 2017-12-30T23:18:24Z |
Fixing 3.6 Escape Sequence Deprecations in tests/io/parser/usecols.py | diff --git a/pandas/tests/io/parser/usecols.py b/pandas/tests/io/parser/usecols.py
index 0fa53e6288bda..8767055239cd5 100644
--- a/pandas/tests/io/parser/usecols.py
+++ b/pandas/tests/io/parser/usecols.py
@@ -492,16 +492,18 @@ def test_raise_on_usecols_names_mismatch(self):
tm.assert_frame_equal(df, expected)
... | @jreback [brought up some warnings](https://github.com/pandas-dev/pandas/pull/17310#issuecomment-353402586) on 3.6 that should be fixed by making the regex an r'string'.
Tests pass, happy to fix all the other occurrences, would need to know how to generate these warnings on my local machine though, as running the sa... | https://api.github.com/repos/pandas-dev/pandas/pulls/18918 | 2017-12-23T02:41:27Z | 2017-12-23T19:45:36Z | 2017-12-23T19:45:36Z | 2017-12-28T15:08:34Z |
CLN: ASV join_merge | diff --git a/asv_bench/benchmarks/join_merge.py b/asv_bench/benchmarks/join_merge.py
index 3b0e33b72ddc1..5b40a29d54683 100644
--- a/asv_bench/benchmarks/join_merge.py
+++ b/asv_bench/benchmarks/join_merge.py
@@ -1,20 +1,24 @@
-from .pandas_vb_common import *
+import string
+import numpy as np
+import pandas.util.tes... | Flake8'd, utilized `param`s to add some additional benchmarks, and simplified the setup where possible.
```
$ asv dev -b ^join_merge
· Discovering benchmarks
· Running 30 total benchmarks (1 commits * 1 environments * 30 benchmarks)
[ 0.00%] ·· Building for existing-py_home_matt_anaconda_envs_pandas_dev_bin_py... | https://api.github.com/repos/pandas-dev/pandas/pulls/18917 | 2017-12-23T02:05:24Z | 2017-12-23T19:57:29Z | 2017-12-23T19:57:29Z | 2017-12-24T05:51:15Z |
CLN: ASV plotting | diff --git a/asv_bench/benchmarks/plotting.py b/asv_bench/benchmarks/plotting.py
index 16889b2f19e89..5b49112b0e07d 100644
--- a/asv_bench/benchmarks/plotting.py
+++ b/asv_bench/benchmarks/plotting.py
@@ -1,21 +1,20 @@
-from .pandas_vb_common import *
-try:
- from pandas import date_range
-except ImportError:
- d... | Flake8'd and simplified some of the setup.
```
$ asv dev -b ^plotting
· Discovering benchmarks
· Running 6 total benchmarks (1 commits * 1 environments * 6 benchmarks)
[ 0.00%] ·· Building for existing-py_home_matt_anaconda_envs_pandas_dev_bin_python
[ 0.00%] ·· Benchmarking existing-py_home_matt_anaconda_en... | https://api.github.com/repos/pandas-dev/pandas/pulls/18916 | 2017-12-23T01:58:34Z | 2017-12-23T20:02:43Z | 2017-12-23T20:02:43Z | 2017-12-24T05:53:19Z |
CLN: ASV panel ctor | diff --git a/asv_bench/benchmarks/panel_ctor.py b/asv_bench/benchmarks/panel_ctor.py
index cc6071b054662..456fe959c5aa3 100644
--- a/asv_bench/benchmarks/panel_ctor.py
+++ b/asv_bench/benchmarks/panel_ctor.py
@@ -1,65 +1,56 @@
-from .pandas_vb_common import *
-from datetime import timedelta
+from datetime import dateti... | There were two benchmarks that were essentially the same (dictionary of dataframes with the same index benchmark), so I removed one along with the usual flake8.
```
$ asv dev -b ^panel_ctor
· Discovering benchmarks
· Running 3 total benchmarks (1 commits * 1 environments * 3 benchmarks)
[ 0.00%] ·· Building for e... | https://api.github.com/repos/pandas-dev/pandas/pulls/18915 | 2017-12-23T01:52:54Z | 2017-12-23T20:03:47Z | 2017-12-23T20:03:47Z | 2017-12-24T05:54:36Z |
DOC: update versionadded references of 0.22 to 0.23 | diff --git a/doc/source/merging.rst b/doc/source/merging.rst
index 86d2ec2254057..5f2e90e6ae4fe 100644
--- a/doc/source/merging.rst
+++ b/doc/source/merging.rst
@@ -568,7 +568,7 @@ standard database join operations between DataFrame objects:
.. note::
Support for specifying index levels as the ``on``, ``left_on`... | Follow-up on https://github.com/pandas-dev/pandas/pull/18897 | https://api.github.com/repos/pandas-dev/pandas/pulls/18911 | 2017-12-22T09:28:42Z | 2017-12-22T14:14:18Z | 2017-12-22T14:14:18Z | 2017-12-22T14:14:22Z |
CLN: ASV panel_methods | diff --git a/asv_bench/benchmarks/panel_methods.py b/asv_bench/benchmarks/panel_methods.py
index 6609305502011..9ee1949b311db 100644
--- a/asv_bench/benchmarks/panel_methods.py
+++ b/asv_bench/benchmarks/panel_methods.py
@@ -1,24 +1,19 @@
-from .pandas_vb_common import *
+import numpy as np
+from .pandas_vb_common im... | Flake8'd, `param`'d, and this benchmark was timing out on my machine so I scaled down the size of the Panel but should be representative of larger Panels
```
asv dev -b ^panel_methods
· Discovering benchmarks
· Running 2 total benchmarks (1 commits * 1 environments * 2 benchmarks)
[ 0.00%] ·· Building for exist... | https://api.github.com/repos/pandas-dev/pandas/pulls/18907 | 2017-12-22T07:35:19Z | 2017-12-22T14:28:40Z | 2017-12-22T14:28:40Z | 2017-12-22T16:45:53Z |
CLN: ASV io benchmarks | diff --git a/asv_bench/benchmarks/io/excel.py b/asv_bench/benchmarks/io/excel.py
new file mode 100644
index 0000000000000..a7c6c43d15026
--- /dev/null
+++ b/asv_bench/benchmarks/io/excel.py
@@ -0,0 +1,37 @@
+import numpy as np
+from pandas import DataFrame, date_range, ExcelWriter, read_excel
+from pandas.compat import... | [xref](https://github.com/pandas-dev/pandas/pull/18815#issuecomment-352723075)
Consolidated the benchmarks from `io_sql.py`, `hdfstore_bench.py`, and `packers.py` into their own files in the `io` folder. Benchmarks are largely the same as they were, just cleaned and simplified where able.
```
asv dev -b ^io
· D... | https://api.github.com/repos/pandas-dev/pandas/pulls/18906 | 2017-12-22T07:07:12Z | 2017-12-23T20:04:44Z | 2017-12-23T20:04:44Z | 2017-12-24T05:55:16Z |
Fixed read_json int overflow | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 40e1e2011479c..348c1c6dafbcb 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -310,6 +310,7 @@ I/O
- Bug in :func:`read_csv` where a ``MultiIndex`` with duplicate columns was not being mangled appr... | - [X] closes #18842
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/18905 | 2017-12-22T02:11:00Z | 2017-12-27T20:20:25Z | 2017-12-27T20:20:25Z | 2018-02-27T01:32:14Z |
DEPR: convert_datetime64 parameter in to_records() | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 408a52e0526ee..856e36fc24202 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -842,6 +842,7 @@ Deprecations
- ``pandas.tseries.plotting.tsplot`` is deprecated. Use :func:`Series.plot` instead (:iss... | - [x] closes #18160
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
As noted in the original issue, the underlying NumPy bug seems to be fixed so this parameter may no longer be needed.
I also changed the default value for ``convert_datetime... | https://api.github.com/repos/pandas-dev/pandas/pulls/18902 | 2017-12-21T23:44:27Z | 2018-04-14T23:58:31Z | 2018-04-14T23:58:31Z | 2018-04-15T11:14:27Z |
DOC: Fix names | diff --git a/doc/source/whatsnew/v0.22.0 b/doc/source/whatsnew/v0.22.0.txt
similarity index 100%
rename from doc/source/whatsnew/v0.22.0
rename to doc/source/whatsnew/v0.22.0.txt
diff --git a/doc/source/whatsnew/v0.23.0 b/doc/source/whatsnew/v0.23.0.txt
similarity index 100%
rename from doc/source/whatsnew/v0.23.0
rena... | [ci skip]
cc @jreback | https://api.github.com/repos/pandas-dev/pandas/pulls/18900 | 2017-12-21T21:14:40Z | 2017-12-21T21:16:40Z | 2017-12-21T21:16:40Z | 2017-12-21T21:17:11Z |
DOC: move versions 0.22 -> 0.23, add 0.22 docs | diff --git a/doc/source/whatsnew.rst b/doc/source/whatsnew.rst
index 64cbe0b050a61..d61a98fe2dae4 100644
--- a/doc/source/whatsnew.rst
+++ b/doc/source/whatsnew.rst
@@ -18,6 +18,8 @@ What's New
These are new features and improvements of note in each release.
+.. include:: whatsnew/v0.23.0.txt
+
.. include:: whats... | https://api.github.com/repos/pandas-dev/pandas/pulls/18897 | 2017-12-21T13:54:16Z | 2017-12-21T17:24:57Z | 2017-12-21T17:24:57Z | 2017-12-22T09:33:41Z | |
CI: move coverage | diff --git a/.travis.yml b/.travis.yml
index ea9d4307d6bf1..e56435faeec19 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -52,10 +52,10 @@ matrix:
# In allow_failures
- dist: trusty
env:
- - JOB="3.5_CONDA_BUILD_TEST" TEST_ARGS="--skip-slow --skip-network" CONDA_BUILD_TEST=true COVERAGE=true
+ ... | closes #18895
| https://api.github.com/repos/pandas-dev/pandas/pulls/18896 | 2017-12-21T13:49:32Z | 2017-12-21T15:00:31Z | 2017-12-21T15:00:31Z | 2017-12-21T15:05:24Z |
BLD: fix conda to 4.3.30 | diff --git a/.travis.yml b/.travis.yml
index 9eccf87960dd0..ea9d4307d6bf1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -49,6 +49,7 @@ matrix:
apt:
packages:
- python-gtk2
+ # In allow_failures
- dist: trusty
env:
- JOB="3.5_CONDA_BUILD_TEST" TEST_ARGS="--skip-slow... | CI: move 3.5 conda build to allowed_failures
xref #18870 for abspath
| https://api.github.com/repos/pandas-dev/pandas/pulls/18893 | 2017-12-21T12:58:16Z | 2017-12-21T13:43:32Z | 2017-12-21T13:43:32Z | 2017-12-21T13:43:32Z |
BUG: Fixed timedelta numeric operations | diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt
index 0579a80aad28e..d5d7b85d669e6 100644
--- a/doc/source/whatsnew/v0.22.0.txt
+++ b/doc/source/whatsnew/v0.22.0.txt
@@ -338,7 +338,8 @@ Reshaping
Numeric
^^^^^^^
--
+- Fixed ``std`` and ``var`` computations for timedelta arrays not ret... | Closes https://github.com/pandas-dev/pandas/issues/18880 | https://api.github.com/repos/pandas-dev/pandas/pulls/18892 | 2017-12-21T12:56:47Z | 2018-05-02T13:09:33Z | null | 2018-05-02T13:09:33Z |
API: Allow ordered=None in CategoricalDtype | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 083242cd69b74..f1158b9ad87eb 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -460,6 +460,29 @@ To restore previous behavior, simply set ``expand`` to ``False``:
extracted
type(extracted)
... | - [X] closes #18790
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
For equality comparisons with `ordered=None`, I essentially treated it as if it where `ordered=False`:
- `CDT(['a', 'b'], None) == CDT(['a', 'b'], False)` --> `True`
- `... | https://api.github.com/repos/pandas-dev/pandas/pulls/18889 | 2017-12-21T07:27:50Z | 2018-02-10T17:02:30Z | 2018-02-10T17:02:29Z | 2018-09-24T17:26:41Z |
[WIP] BLD: Maybe appease the Travis? | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index 475fc6a46955d..db1107b8bc8f4 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -175,7 +175,7 @@ if [ "$PIP_BUILD_TEST" ]; then
echo "[building release]"
bash scripts/build_dist_for_release.sh
conda uninstall -y cython
- time ... | I have no idea if this will work.
| https://api.github.com/repos/pandas-dev/pandas/pulls/18887 | 2017-12-21T02:44:53Z | 2017-12-21T13:45:28Z | null | 2023-05-11T01:16:59Z |
BLD: more quiet in the build | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index 6946d7dd11870..475fc6a46955d 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -175,7 +175,7 @@ if [ "$PIP_BUILD_TEST" ]; then
echo "[building release]"
bash scripts/build_dist_for_release.sh
conda uninstall -y cython
- time ... | https://api.github.com/repos/pandas-dev/pandas/pulls/18886 | 2017-12-21T00:00:51Z | 2017-12-21T02:08:23Z | 2017-12-21T02:08:23Z | 2017-12-21T02:08:23Z | |
Fix Series[timedelta64]+DatetimeIndex[tz] bugs | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 5fd7c3e217928..119dd894abe4c 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -370,6 +370,7 @@ Numeric
- Bug in :func:`Series.__sub__` subtracting a non-nanosecond ``np.datetime64`` object from a... | ser + index lost timezone
index + ser retained timezone but returned a DatetimeIndex
- [x] closes #13905
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/18884 | 2017-12-20T22:22:45Z | 2018-01-02T11:23:50Z | 2018-01-02T11:23:49Z | 2018-01-23T04:40:47Z |
Fix DatetimeIndex.insert(pd.NaT) for tz-aware index | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 3f300deddebeb..cfaf8718544ca 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -303,6 +303,7 @@ Indexing
- :func:`Index.to_series` now accepts ``index`` and ``name`` kwargs (:issue:`18699`)
- :func... | - [x] closes #16357
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/18883 | 2017-12-20T22:01:53Z | 2017-12-29T14:39:38Z | 2017-12-29T14:39:37Z | 2017-12-29T16:29:10Z |
API: disallow duplicate level names | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 5e55efb4e21fb..df50624a9fb2f 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -184,6 +184,7 @@ Other API Changes
- A :class:`Series` of ``dtype=category`` constructed from an empty ``dict`` will no... | - [x] closes #18872
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/18882 | 2017-12-20T20:53:23Z | 2017-12-29T14:34:18Z | 2017-12-29T14:34:18Z | 2018-01-01T17:47:00Z |
TST: xfail more in 3.5 conda build | diff --git a/pandas/tests/io/test_common.py b/pandas/tests/io/test_common.py
index caee8c8d85811..2d56e12533cd0 100644
--- a/pandas/tests/io/test_common.py
+++ b/pandas/tests/io/test_common.py
@@ -144,15 +144,16 @@ def test_read_non_existant(self, reader, module, error_class, fn_ext):
with pytest.raises(error_... | https://api.github.com/repos/pandas-dev/pandas/pulls/18879 | 2017-12-20T19:13:35Z | 2017-12-20T22:56:00Z | 2017-12-20T22:56:00Z | 2017-12-20T22:56:00Z | |
Fix FY5253 onOffset/apply bug, simplify | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 24f3e4433411e..3a6c4e10eaa97 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -290,6 +290,7 @@ Conversion
- Bug in :class:`Timestamp` where comparison with an array of ``Timestamp`` objects would r... | Similar to #18875.
The actual bugfix here is just changing the comparison in `apply` from `other < whatever` to `norm < whatever`. The remaining edits to `get_year_end` are orthogonal simplification (which I guess could go in a separate PR).
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `git diff ... | https://api.github.com/repos/pandas-dev/pandas/pulls/18877 | 2017-12-20T17:59:07Z | 2017-12-28T12:28:44Z | 2017-12-28T12:28:44Z | 2018-02-11T22:00:22Z |
ENH: Added a min_count keyword to stat funcs | diff --git a/pandas/_libs/groupby_helper.pxi.in b/pandas/_libs/groupby_helper.pxi.in
index d38b677df321c..16b7cbff44e03 100644
--- a/pandas/_libs/groupby_helper.pxi.in
+++ b/pandas/_libs/groupby_helper.pxi.in
@@ -36,7 +36,8 @@ def get_dispatch(dtypes):
def group_add_{{name}}(ndarray[{{dest_type2}}, ndim=2] out,
... | The current default is 1, reproducing the behavior of pandas 0.21. The current
test suite should pass. I'll add additional commits here changing the default to be 0.
Currently, only nansum and nanprod actually do anything with `min_count`. It
will not be hard to adjust other nan* methods use it if we want. This wa... | https://api.github.com/repos/pandas-dev/pandas/pulls/18876 | 2017-12-20T17:36:56Z | 2017-12-28T14:44:51Z | 2017-12-28T14:44:51Z | 2017-12-29T00:58:23Z |
Fix bugs in WeekOfMonth.apply, Week.onOffset | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 40e1e2011479c..1a3b3e751190b 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -282,6 +282,8 @@ Conversion
- Bug in :meth:`Index.astype` with a categorical dtype where the resultant index is not con... | In the process we get rid of `WeekOfMonth.getOffsetOfMonth` and `LastWeekOfMonth.getOffsetOfMonth`, which were idiosyncratic what arguments they passed to `datetime`.
The issues this addresses are orthogonal to #18762, but the code affected does overlap. In particular, after this, `roll_monthday` will not be needed... | https://api.github.com/repos/pandas-dev/pandas/pulls/18875 | 2017-12-20T17:26:27Z | 2017-12-23T20:34:46Z | 2017-12-23T20:34:45Z | 2018-02-11T22:00:27Z |
TST: xfail conda 3.5 fails | diff --git a/pandas/tests/io/test_common.py b/pandas/tests/io/test_common.py
index 13a393d9109ae..caee8c8d85811 100644
--- a/pandas/tests/io/test_common.py
+++ b/pandas/tests/io/test_common.py
@@ -144,6 +144,7 @@ def test_read_non_existant(self, reader, module, error_class, fn_ext):
with pytest.raises(error_cl... | closes #18870
| https://api.github.com/repos/pandas-dev/pandas/pulls/18873 | 2017-12-20T15:54:18Z | 2017-12-20T18:09:57Z | 2017-12-20T18:09:57Z | 2017-12-20T18:09:57Z |
[WIP] Prod/Sum of all-NA / all-empty | diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt
index 0579a80aad28e..b8bcdd8ec71d2 100644
--- a/doc/source/whatsnew/v0.22.0.txt
+++ b/doc/source/whatsnew/v0.22.0.txt
@@ -8,6 +8,103 @@ deprecations, new features, enhancements, and performance improvements along
with a large number of bug ... | To make review a bit easier, I've opened this before it's complete.
Of course we still need to decide
1. Do we want
a. `sum([]) = 0`; `prod([]) = 1`
b. `sum([NaN]) = 0`; `prod([NaN])` = 1
2. Do we like the keyword approach (requiring people who want empty to be NA to always specify it) or do we want a... | https://api.github.com/repos/pandas-dev/pandas/pulls/18871 | 2017-12-20T13:55:12Z | 2017-12-20T17:37:14Z | null | 2017-12-29T15:07:25Z |
BLD: try try again | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index 8cf70e47a4b8f..6946d7dd11870 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -184,7 +184,7 @@ elif [ "$CONDA_BUILD_TEST" ]; then
conda build ./conda.recipe --numpy 1.13 --python 3.5 -q --no-test
echo "[installing]"
- conda ins... | https://api.github.com/repos/pandas-dev/pandas/pulls/18868 | 2017-12-20T11:12:52Z | 2017-12-20T12:36:48Z | 2017-12-20T12:36:48Z | 2017-12-20T12:36:48Z | |
DOC: Modify astype copy=False example to work across platforms | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 4eb7865523cc3..7fc9a91c83267 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -4343,7 +4343,7 @@ def astype(self, dtype, copy=True, errors='raise', **kwargs):
pandas object may propagate changes:
>>> s1 = pd.Series... | - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Very minor, just changed `'int'` -> `'int64'`.
The example as previously written does not work on Windows, since `astype('int')` converts to `int32` instead of `int64`. The `Series` constructor defaults to `int64`, so on Windows the `astype` en... | https://api.github.com/repos/pandas-dev/pandas/pulls/18865 | 2017-12-20T06:19:09Z | 2017-12-21T15:03:20Z | 2017-12-21T15:03:20Z | 2017-12-21T15:30:11Z |
ENH: Let Categorical.rename_categories take a callable | diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt
index 0579a80aad28e..fcca50d1acdfd 100644
--- a/doc/source/whatsnew/v0.22.0.txt
+++ b/doc/source/whatsnew/v0.22.0.txt
@@ -139,6 +139,8 @@ Other Enhancements
- :func:`read_excel()` has gained the ``nrows`` parameter (:issue:`16645`)
- :func... | - [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This PR allows ``Categorical.rename_categories`` to take a callable as its argument.
This is useful for quickly changing the categories the same way for all categories, e.g.
```python
>>> pd.... | https://api.github.com/repos/pandas-dev/pandas/pulls/18862 | 2017-12-20T01:25:03Z | 2017-12-21T15:02:36Z | 2017-12-21T15:02:36Z | 2017-12-26T22:06:02Z |
BLD: --use-local on conda | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index 67a175268e22e..8cf70e47a4b8f 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -184,7 +184,7 @@ elif [ "$CONDA_BUILD_TEST" ]; then
conda build ./conda.recipe --numpy 1.13 --python 3.5 -q --no-test
echo "[installing]"
- conda ins... | https://api.github.com/repos/pandas-dev/pandas/pulls/18858 | 2017-12-19T23:32:26Z | 2017-12-20T00:57:01Z | 2017-12-20T00:57:01Z | 2017-12-20T00:57:01Z | |
ENH: df.assign accepting dependent **kwargs (#14207) | diff --git a/doc/source/dsintro.rst b/doc/source/dsintro.rst
index d7650b6b0938f..78e2fdb46f659 100644
--- a/doc/source/dsintro.rst
+++ b/doc/source/dsintro.rst
@@ -95,7 +95,7 @@ constructed from the sorted keys of the dict, if possible.
NaN (not a number) is the standard missing data marker used in pandas.
-*... | Specifically, 'df.assign(b=1, c=lambda x:x['b'])'
does not throw an exception in python 3.6 and above.
Further details are discussed in Issues #14207 and #18797.
closes #14207
closes #18797
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/18852 | 2017-12-19T20:12:25Z | 2018-02-10T16:20:19Z | 2018-02-10T16:20:18Z | 2018-02-10T17:08:25Z |
CLN: Drop compact_ints/use_unsigned from read_csv | diff --git a/doc/source/io.rst b/doc/source/io.rst
index d51307081b17f..2584941ac14d2 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -199,21 +199,6 @@ low_memory : boolean, default ``True``
Note that the entire file is read into a single DataFrame regardless,
use the ``chunksize`` or ``iterator`` param... | Deprecated in v0.19.0
xref #13323
| https://api.github.com/repos/pandas-dev/pandas/pulls/18851 | 2017-12-19T17:34:31Z | 2017-12-21T15:01:25Z | 2017-12-21T15:01:25Z | 2017-12-22T05:05:45Z |
BUG: DatetimeIndex + arraylike of DateOffsets | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 709009542e160..ff041a4849138 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -291,6 +291,7 @@ Conversion
- Bug in :class:`WeekOfMonth` and class:`Week` where addition and subtraction did not roll ... | Before:
```
>>> dti = pd.date_range('2017-01-01', periods=2)
>>> other = np.array([pd.offsets.MonthEnd(), pd.offsets.Day(n=2)])
>>> dti + other
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: ufunc add cannot use operands with types dtype('<M8[ns]') and dtype('O')
# Sam... | https://api.github.com/repos/pandas-dev/pandas/pulls/18849 | 2017-12-19T17:22:14Z | 2017-12-29T00:25:53Z | 2017-12-29T00:25:53Z | 2018-01-05T19:23:01Z |
Make DatetimeIndex iterator pickleable by dill | diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py
index ec5c20d341b50..bec26ef72d63a 100644
--- a/pandas/core/indexes/datetimes.py
+++ b/pandas/core/indexes/datetimes.py
@@ -1251,8 +1251,7 @@ def __iter__(self):
converted = libts.ints_to_pydatetime(data[start_i:end_i],
... | Currently, dill (https://github.com/uqfoundation/dill) cannot pickle iterators over DatetimeIndex because they are generators. This simple change removes that limitation.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/18848 | 2017-12-19T16:26:47Z | 2017-12-21T15:03:47Z | 2017-12-21T15:03:47Z | 2018-05-30T21:01:38Z |
Fixed typo in test_eval arguments | diff --git a/pandas/tests/computation/test_eval.py b/pandas/tests/computation/test_eval.py
index 90f197738543a..9c3572f9ffe72 100644
--- a/pandas/tests/computation/test_eval.py
+++ b/pandas/tests/computation/test_eval.py
@@ -1798,7 +1798,7 @@ def test_invalid_parser():
'pandas': PandasExprVisitor}
-@py... | - [X] closes #18821
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry | https://api.github.com/repos/pandas-dev/pandas/pulls/18847 | 2017-12-19T16:22:59Z | 2017-12-21T15:04:15Z | 2017-12-21T15:04:14Z | 2017-12-21T15:05:02Z |
Dec cleanup | diff --git a/pandas/conftest.py b/pandas/conftest.py
index b09119895617c..4cf5c9da44697 100644
--- a/pandas/conftest.py
+++ b/pandas/conftest.py
@@ -3,7 +3,6 @@
from distutils.version import LooseVersion
import numpy
import pandas
-import pandas.util.testing as tm
import dateutil
@@ -51,7 +50,6 @@ def add_impor... | - [X] closes #18190
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This should be the last commit to close out the issue referenced above. I think there's further opportunity to convert some of the imperative ``pytest.skip`` calls over to the ... | https://api.github.com/repos/pandas-dev/pandas/pulls/18844 | 2017-12-19T15:48:10Z | 2017-12-21T15:05:14Z | 2017-12-21T15:05:14Z | 2017-12-22T09:42:33Z |
BLD: fix conda install - try again | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index e350dd95d9d7e..ba1de3dd0397e 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -48,9 +48,7 @@ echo
echo "[update conda]"
conda config --set ssl_verify false || exit 1
conda config --set quiet true --set always_yes true --set changeps1 false... | https://api.github.com/repos/pandas-dev/pandas/pulls/18841 | 2017-12-19T13:27:26Z | 2017-12-19T14:08:23Z | 2017-12-19T14:08:23Z | 2017-12-19T14:08:24Z | |
BLD: fix conda version to 4.3.30 | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index 90b9bf3f3186e..e350dd95d9d7e 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -48,7 +48,9 @@ echo
echo "[update conda]"
conda config --set ssl_verify false || exit 1
conda config --set quiet true --set always_yes true --set changeps1 false... | https://api.github.com/repos/pandas-dev/pandas/pulls/18838 | 2017-12-19T12:06:34Z | 2017-12-19T12:48:00Z | 2017-12-19T12:48:00Z | 2017-12-19T12:48:00Z | |
DEPR: Deprecate skip_footer in read_excel | diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt
index ae6d0816abc41..58e80361a4fba 100644
--- a/doc/source/whatsnew/v0.22.0.txt
+++ b/doc/source/whatsnew/v0.22.0.txt
@@ -208,6 +208,7 @@ Deprecations
that is the actual tuple, instead of treating the tuple as multiple keys. To
retain ... | For consistency with `read_csv`, which uses `skipfooter`. | https://api.github.com/repos/pandas-dev/pandas/pulls/18836 | 2017-12-19T06:38:00Z | 2017-12-19T11:01:02Z | 2017-12-19T11:01:02Z | 2017-12-19T11:12:03Z |
CLN: Drop the buffer_lines parameter in read_csv | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 184767015bf93..d51307081b17f 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -199,11 +199,6 @@ low_memory : boolean, default ``True``
Note that the entire file is read into a single DataFrame regardless,
use the ``chunksize`` or ``iterator`` param... | Deprecated back in 0.19.0
xref #13360. | https://api.github.com/repos/pandas-dev/pandas/pulls/18835 | 2017-12-19T05:39:41Z | 2017-12-19T11:01:58Z | 2017-12-19T11:01:58Z | 2017-12-19T11:11:49Z |
DOC: Rewritten style.py docstrings: #12148 | diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt
index ae6d0816abc41..b57cf4ae8fa52 100644
--- a/doc/source/whatsnew/v0.22.0.txt
+++ b/doc/source/whatsnew/v0.22.0.txt
@@ -250,8 +250,7 @@ Performance Improvements
Documentation Changes
~~~~~~~~~~~~~~~~~~~~~
-
--
+- Docstring documentatio... | Docstrings for pandas/io/formats/style.py now accurately reflects the behavior of the ``Styler`` class. Fixed a typo in the docstring of the `style` property of ``DataFrame``.
- [x] closes #12148
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
... | https://api.github.com/repos/pandas-dev/pandas/pulls/18834 | 2017-12-19T05:34:43Z | 2018-02-10T18:41:17Z | null | 2018-02-10T18:41:17Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.