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 |
|---|---|---|---|---|---|---|---|
BLD: force ABI compat on 3.6 / conda-forge build by specifying all deps | diff --git a/ci/requirements-3.6.build b/ci/requirements-3.6.build
index 1c4b46aea3865..31ffd5acc7fcc 100644
--- a/ci/requirements-3.6.build
+++ b/ci/requirements-3.6.build
@@ -2,5 +2,7 @@ python=3.6*
python-dateutil
pytz
nomkl
-numpy
cython
+
+# pin numpy that is built for all our deps
+numpy=1.13.1=py36_blas_open... | closes #17617 | https://api.github.com/repos/pandas-dev/pandas/pulls/17619 | 2017-09-21T19:22:11Z | 2017-09-21T20:19:48Z | 2017-09-21T20:19:48Z | 2017-09-21T20:50:16Z |
PERF: Implement RangeIndex min/max using RangeIndex properties | diff --git a/asv_bench/benchmarks/index_object.py b/asv_bench/benchmarks/index_object.py
index 3fb53ce9b3c98..454d9ccdda102 100644
--- a/asv_bench/benchmarks/index_object.py
+++ b/asv_bench/benchmarks/index_object.py
@@ -199,3 +199,23 @@ def time_datetime_level_values_full(self):
def time_datetime_level_values_s... | - [X] closes #17607
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
Benchmarks are essentially the same as what's referenced in the issue. Maybe a few ns slower since I combined logic into a helper function vs having identical code (other than ... | https://api.github.com/repos/pandas-dev/pandas/pulls/17611 | 2017-09-21T05:42:19Z | 2017-09-22T13:15:13Z | 2017-09-22T13:15:13Z | 2017-10-22T05:47:13Z |
Fix make_signature TypeError in py3 | diff --git a/pandas/tests/util/test_util.py b/pandas/tests/util/test_util.py
index abd82cfa89f94..ffc9703abff41 100644
--- a/pandas/tests/util/test_util.py
+++ b/pandas/tests/util/test_util.py
@@ -9,7 +9,7 @@
import pytest
from pandas.compat import intern
from pandas.util._move import move_into_mutable_buffer, BadMo... | xref #17608
- [ ] closes #xxxx
- [x] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/17609 | 2017-09-21T04:13:19Z | 2017-09-22T19:50:54Z | 2017-09-22T19:50:54Z | 2017-10-30T16:23:30Z |
Removed duplicated _constructor_sliced definition in sparse.frame | diff --git a/pandas/core/sparse/frame.py b/pandas/core/sparse/frame.py
index 1e98e919baa33..7aa49efa82f61 100644
--- a/pandas/core/sparse/frame.py
+++ b/pandas/core/sparse/frame.py
@@ -49,7 +49,6 @@ class SparseDataFrame(DataFrame):
Default fill_value for converting Series to SparseSeries
(default: na... | Removal of duplicated code in core.sparse.frame | https://api.github.com/repos/pandas-dev/pandas/pulls/17604 | 2017-09-20T13:06:19Z | 2017-09-20T21:19:08Z | 2017-09-20T21:19:08Z | 2017-09-20T21:19:30Z |
BUG: Correctly localize naive datetime strings with Series and datetimetztype (#17415) | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 92eeed89ada2a..ae99dfd2d7902 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -380,7 +380,7 @@ Conversion
- Fixed bug where comparing :class:`DatetimeIndex` failed to raise ``TypeError`` when attem... | - [x] closes #17415
- [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/17603 | 2017-09-20T06:27:17Z | 2018-01-12T11:40:33Z | 2018-01-12T11:40:32Z | 2018-01-12T18:02:08Z |
remove unused cimport of is_null_datetimelike | diff --git a/pandas/_libs/algos.pyx b/pandas/_libs/algos.pyx
index 8cbc65633c786..d159761c3f5e6 100644
--- a/pandas/_libs/algos.pyx
+++ b/pandas/_libs/algos.pyx
@@ -33,7 +33,6 @@ from libc.math cimport sqrt, fabs
from util cimport numeric, get_nat
cimport lib
-from lib cimport is_null_datetimelike
from pandas._lib... | - [ ] 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/17598 | 2017-09-20T02:30:07Z | 2017-09-20T12:04:30Z | 2017-09-20T12:04:30Z | 2017-10-30T16:24:57Z |
Simplify to_pydatetime() | diff --git a/asv_bench/benchmarks/timestamp.py b/asv_bench/benchmarks/timestamp.py
index e4f3023037580..e8cb4c9d1c75b 100644
--- a/asv_bench/benchmarks/timestamp.py
+++ b/asv_bench/benchmarks/timestamp.py
@@ -81,3 +81,9 @@ def time_replace_across_dst(self):
def time_replace_None(self):
self.ts_tz.replac... | Up until #17331, `Timestamp.microsecond` was very slow. So previously it was faster to go through `convert_to_tsobject` to get a new `datetime` instance than it was to just return
`datetime(self.year, self.month, self.day, self.hour, self.minute, self.second, self.microsecond, self.tzinfo)`
Now it is slightly fa... | https://api.github.com/repos/pandas-dev/pandas/pulls/17592 | 2017-09-19T17:45:59Z | 2017-09-22T13:22:55Z | 2017-09-22T13:22:55Z | 2017-10-30T16:23:33Z |
Separate properties module | diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx
index 53ca41e4b2489..01548e17d39ab 100644
--- a/pandas/_libs/lib.pyx
+++ b/pandas/_libs/lib.pyx
@@ -1907,5 +1907,4 @@ cdef class BlockPlacement:
include "reduce.pyx"
-include "properties.pyx"
include "inference.pyx"
diff --git a/pandas/_libs/src/properties.... | - [ ] 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/17590 | 2017-09-19T14:57:31Z | 2017-09-22T13:10:31Z | 2017-09-22T13:10:31Z | 2017-10-30T16:23:32Z |
BUG: wrap __idiv__ to avoid making a copy (#12962) | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index c808babeee5d9..254d4c010f1e2 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -585,6 +585,7 @@ PyPy
Other
^^^^^
+- Bug where some inplace operators were not being wrapped and produced a copy whe... | - [x] closes #12962
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatnew- just calls _wrap_inplace_method and extends test_inplace_ops_identity
| https://api.github.com/repos/pandas-dev/pandas/pulls/17589 | 2017-09-19T14:28:54Z | 2017-09-25T11:12:27Z | 2017-09-25T11:12:27Z | 2017-09-25T11:12:30Z |
COMPAT: pyarrow >= 0.7.0 compat | diff --git a/doc/source/io.rst b/doc/source/io.rst
index fcf7f6029197b..ab1ad74ee8516 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -4492,7 +4492,7 @@ Several caveats.
- The format will NOT write an ``Index``, or ``MultiIndex`` for the ``DataFrame`` and will raise an
error if a non-default one is provid... | closes #17581
| https://api.github.com/repos/pandas-dev/pandas/pulls/17588 | 2017-09-19T10:01:34Z | 2017-09-19T11:47:37Z | 2017-09-19T11:47:37Z | 2017-09-19T13:15:24Z |
BUG:Time Grouper bug fix when applied for list groupers | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 1094e96bd0d20..3276310fa3e6e 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -704,6 +704,7 @@ Groupby/Resample/Rolling
- Bug in ``DataFrame.groupby`` where index and column keys were not recognize... | - [x] closes #17530
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
* save the axis indexer for Base/BinGrouper. As BinGrouper has get the sorted labels, need to use indexer to reorder them into right place for unsorted axis values
* add label_i... | https://api.github.com/repos/pandas-dev/pandas/pulls/17587 | 2017-09-19T03:23:13Z | 2017-10-01T17:48:57Z | 2017-10-01T17:48:57Z | 2017-10-06T06:36:03Z |
Allow for dict-like argument to Categorical.rename_categories | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index 65361886436d6..ff5e550ebd97f 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -206,6 +206,10 @@ by using the :func:`Categorical.rename_categories` method:
s.cat.categories = ["Group %s" % g for g in s.cat.categori... | - [x] closes #17336
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
`Categorical.rename_categories` can now take a dict as `new_categories` and updates the categories to those found in the mapping.
It will only change the categories found in t... | https://api.github.com/repos/pandas-dev/pandas/pulls/17586 | 2017-09-19T02:26:41Z | 2017-09-21T22:45:21Z | 2017-09-21T22:45:20Z | 2017-09-21T23:07:46Z |
Remove unused cimports | diff --git a/pandas/_libs/groupby.pyx b/pandas/_libs/groupby.pyx
index 9500e685367c8..1cb7b18fa4f61 100644
--- a/pandas/_libs/groupby.pyx
+++ b/pandas/_libs/groupby.pyx
@@ -7,8 +7,6 @@ cimport cython
cnp.import_array()
-cimport util
-
from numpy cimport (ndarray,
double_t,
... | This helps a little bit with the complexity of the libs interdependencies.
Make properties.pyx its own module, since we will end up needing it to be separate when `tseries.offsets` gets moved into cython.
Remove the long-defunct _libs/src/offsets.pyx.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passe... | https://api.github.com/repos/pandas-dev/pandas/pulls/17585 | 2017-09-19T00:51:30Z | 2017-09-23T19:44:53Z | 2017-09-23T19:44:53Z | 2017-10-30T16:23:29Z |
Remove experimental warning from custom offsets | diff --git a/pandas/tseries/offsets.py b/pandas/tseries/offsets.py
index 6a518937b1195..452d30322b4cf 100644
--- a/pandas/tseries/offsets.py
+++ b/pandas/tseries/offsets.py
@@ -951,14 +951,9 @@ def next_bday(self):
class CustomBusinessDay(BusinessDay):
"""
- **EXPERIMENTAL** DateOffset subclass representing ... | Per discussion here: https://github.com/pandas-dev/pandas/pull/17554#pullrequestreview-63229522
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
I edited the docstring descriptions slightly. Feel free to suggest cleaner descriptions, if my edits don't suffice. Should there be a whatsnew entr... | https://api.github.com/repos/pandas-dev/pandas/pulls/17584 | 2017-09-19T00:25:47Z | 2017-09-22T07:22:20Z | 2017-09-22T07:22:19Z | 2017-09-22T08:27:36Z |
DOC: Add a more welcoming tone for new contributors | diff --git a/doc/README.rst b/doc/README.rst
index 0ea3234dec348..b2c66611b68bb 100644
--- a/doc/README.rst
+++ b/doc/README.rst
@@ -3,9 +3,11 @@
Contributing to the documentation
=================================
-If you're not the developer type, contributing to the documentation is still
-of huge value. You don'... | - [x] closes #17579
- [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/17580 | 2017-09-18T22:31:01Z | 2017-09-20T21:22:37Z | 2017-09-20T21:22:37Z | 2017-09-20T21:32:40Z |
BUG: Fix make_sparse mask generation | diff --git a/asv_bench/benchmarks/sparse.py b/asv_bench/benchmarks/sparse.py
index b958f5e0e5c34..a46205026481e 100644
--- a/asv_bench/benchmarks/sparse.py
+++ b/asv_bench/benchmarks/sparse.py
@@ -2,7 +2,7 @@
from .pandas_vb_common import *
import scipy.sparse
-from pandas import SparseSeries, SparseDataFrame
+from... | - [x] closes #xxxx
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This is the part of https://github.com/pandas-dev/pandas/pull/17386.
The mask generation sequence in `make_sparse` treated two data, which have same bits, as same if array is `d... | https://api.github.com/repos/pandas-dev/pandas/pulls/17574 | 2017-09-18T15:54:19Z | 2017-09-28T14:11:26Z | 2017-09-28T14:11:26Z | 2017-09-28T14:11:34Z |
BUG: Add SparseArray.all | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 50f11c38bae23..4a90e3b9073c1 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -633,6 +633,7 @@ Sparse
- Bug in :func:`SparseDataFrame.fillna` not filling all NaNs when frame was instantiated from S... | - [x] closes #xxxx
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This is the part of https://github.com/pandas-dev/pandas/pull/17386.
`Block.where` uses `ndarray.all`, but there is no such method in `SparseArray`.
This makes that `all` evalu... | https://api.github.com/repos/pandas-dev/pandas/pulls/17570 | 2017-09-18T11:44:50Z | 2017-09-28T23:44:30Z | 2017-09-28T23:44:30Z | 2017-09-28T23:44:34Z |
TST: Add tests for sparse quantile/where | diff --git a/pandas/tests/sparse/test_frame.py b/pandas/tests/sparse/test_frame.py
index ef94e2f78278d..e65059156c5b9 100644
--- a/pandas/tests/sparse/test_frame.py
+++ b/pandas/tests/sparse/test_frame.py
@@ -1398,3 +1398,139 @@ def test_numpy_func_call(self):
'std', 'min', 'max']
for func in... | - [x] closes #xxxx
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This is the part of https://github.com/pandas-dev/pandas/pull/17386. | https://api.github.com/repos/pandas-dev/pandas/pulls/17568 | 2017-09-18T10:34:15Z | 2017-10-31T01:29:59Z | 2017-10-31T01:29:59Z | 2017-10-31T01:30:10Z |
Revert "Remove pyx dependencies from setup (#17478)" | diff --git a/setup.py b/setup.py
index 664478cc35845..0e4e22b875e1d 100755
--- a/setup.py
+++ b/setup.py
@@ -348,6 +348,14 @@ class CheckSDist(sdist_class):
def initialize_options(self):
sdist_class.initialize_options(self)
+ '''
+ self._pyxfiles = []
+ for root, dirs, files in os.w... | This reverts commit e6aed2ebb7374ed2a6a7c284750d47728aec285e.
xref #17555 | https://api.github.com/repos/pandas-dev/pandas/pulls/17565 | 2017-09-17T21:45:03Z | 2017-09-17T22:14:16Z | 2017-09-17T22:14:16Z | 2017-09-18T16:19:19Z |
Dont check for NaTType, just NaT | diff --git a/pandas/core/indexes/timedeltas.py b/pandas/core/indexes/timedeltas.py
index d7b7d56d74a3a..12b7936503ad7 100644
--- a/pandas/core/indexes/timedeltas.py
+++ b/pandas/core/indexes/timedeltas.py
@@ -847,7 +847,7 @@ def insert(self, loc, item):
pass
freq = None
- if isinstanc... | - [ ] 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/17564 | 2017-09-17T20:27:44Z | 2017-09-23T19:42:54Z | 2017-09-23T19:42:54Z | 2017-10-30T16:24:43Z |
DOC: Add examples to .get_loc methods | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 008828cf4f309..ca145eeaaa7b8 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -2421,7 +2421,7 @@ def _get_unique_index(self, dropna=False):
return self._shallow_copy(values)
_index_shared_docs['get_... | - [ x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
This pull request adds some examples to ``.get_loc`` doc string of ``pd.Index``, ``pd.CategoricalIndex``, ``pd.MultiIndex`` & ``pd.IntervalIndex``. Also clarifies the return value in some cases.
I previously proposed pull request #17380, but th... | https://api.github.com/repos/pandas-dev/pandas/pulls/17563 | 2017-09-17T16:26:41Z | 2017-09-20T21:23:58Z | 2017-09-20T21:23:58Z | 2017-10-09T21:00:13Z |
DOC: Fixes after #17482 | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 52e056103cbdc..35833a9d49e11 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -363,7 +363,7 @@ Additionally, DataFrames with datetime columns that were parsed by :func:`read_s
Consistency of Range ... | - [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Some doc fixes related to #17482:
- `func:` -> `:func:`
- See: https://github.com/pandas-dev/pandas/pull/17482#discussion_r139148962
- Added `cdate_range` to the public api so that it works in the docs
- Ask ... | https://api.github.com/repos/pandas-dev/pandas/pulls/17554 | 2017-09-15T22:07:16Z | 2017-09-17T15:04:55Z | 2017-09-17T15:04:55Z | 2017-09-19T14:27:47Z |
Spelling and grammar | diff --git a/pandas/compat/chainmap_impl.py b/pandas/compat/chainmap_impl.py
index 05a0d5faa4c2a..c4aa8c8d6ab30 100644
--- a/pandas/compat/chainmap_impl.py
+++ b/pandas/compat/chainmap_impl.py
@@ -34,10 +34,10 @@ def wrapper(self):
class ChainMap(MutableMapping):
""" A ChainMap groups multiple dicts (or other m... |

- [ ] 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/17548 | 2017-09-15T17:41:54Z | 2017-09-16T07:00:11Z | 2017-09-16T07:00:11Z | 2017-09-18T18:03:07Z |
de-privatize timezone functions | diff --git a/pandas/_libs/period.pyx b/pandas/_libs/period.pyx
index 49353f7b0491c..785bc945c264b 100644
--- a/pandas/_libs/period.pyx
+++ b/pandas/_libs/period.pyx
@@ -35,7 +35,7 @@ from pandas._libs import tslib, lib
from pandas._libs.tslib import (Timedelta, Timestamp, iNaT,
NaT)
f... | Follow-up to #17526
- [ ] 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/17543 | 2017-09-15T15:29:45Z | 2017-09-23T19:46:06Z | 2017-09-23T19:46:06Z | 2017-10-30T16:24:46Z |
DOC: fixes after #17503 and #17491 | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 52e056103cbdc..d87db023f919c 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -215,7 +215,7 @@ New Behaviour:
Furthermore this will now correctly box the results of iteration for :func:`DataFrame... | There was still a doc build error (`df` was not defined due to a missing 'i' in 'ipython') | https://api.github.com/repos/pandas-dev/pandas/pulls/17541 | 2017-09-15T13:10:37Z | 2017-09-17T14:12:42Z | 2017-09-17T14:12:42Z | 2017-09-17T14:38:06Z |
TST: sql flaky test: check less decimals (#17510) | diff --git a/pandas/tests/io/test_sql.py b/pandas/tests/io/test_sql.py
index a7c42391effe6..e482a0ec460bb 100644
--- a/pandas/tests/io/test_sql.py
+++ b/pandas/tests/io/test_sql.py
@@ -2124,7 +2124,7 @@ def test_write_row_by_row(self):
result = sql.read_sql("select * from test", con=self.conn)
resul... | - [ ] closes #17510 | https://api.github.com/repos/pandas-dev/pandas/pulls/17538 | 2017-09-15T08:28:57Z | 2017-09-17T14:13:22Z | 2017-09-17T14:13:22Z | 2017-09-17T14:13:24Z |
CLN: Fix Spelling Errors | diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst
index 3f145cf955664..3bda8c7eacb61 100644
--- a/doc/source/advanced.rst
+++ b/doc/source/advanced.rst
@@ -625,7 +625,7 @@ Index Types
We have discussed ``MultiIndex`` in the previous sections pretty extensively. ``DatetimeIndex`` and ``PeriodIndex``
are s... | - [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Fixed some miscellaneous spelling errors. One test has been re-enabled after not running due to the prefix `tets_` being misspelled. Not technically a spelling error, but I changed colour -> color in a few places; seem... | https://api.github.com/repos/pandas-dev/pandas/pulls/17535 | 2017-09-15T04:17:49Z | 2017-09-15T08:18:24Z | 2017-09-15T08:18:24Z | 2017-09-15T22:14:21Z |
remove period_helper from non-period reqs | diff --git a/setup.py b/setup.py
index 434ca64473916..664478cc35845 100755
--- a/setup.py
+++ b/setup.py
@@ -461,7 +461,6 @@ def pxd(name):
tseries_depends = ['pandas/_libs/src/datetime/np_datetime.h',
'pandas/_libs/src/datetime/np_datetime_strings.h',
- 'pandas/_libs/src/period... | There are a bunch of other reqs that _could_ be removed (e.g. every direct reference to src/util, all of `lib_depends`), but at least `period_helper` it's obvious _why_ it belongs where it does.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/17531 | 2017-09-14T16:05:49Z | 2017-09-14T22:49:00Z | 2017-09-14T22:49:00Z | 2017-10-30T16:24:52Z |
BLD: fix inline warnings | diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx
index 3e8b5c4bd3feb..5bf9f4ce83cbf 100644
--- a/pandas/_libs/parsers.pyx
+++ b/pandas/_libs/parsers.pyx
@@ -255,7 +255,7 @@ cdef extern from "parser/tokenizer.h":
# inline int to_complex(char *item, double *p_real,
# double... | Previous PR: https://github.com/pandas-dev/pandas/pull/17277 | https://api.github.com/repos/pandas-dev/pandas/pulls/17528 | 2017-09-14T02:46:30Z | 2017-09-23T02:52:56Z | 2017-09-23T02:52:56Z | 2017-10-30T16:23:27Z |
Cut/paste (most) remaining tz funcs to tslibs/timezones | diff --git a/pandas/_libs/period.pyx b/pandas/_libs/period.pyx
index 9e473a7f362b4..eef3c571ef37a 100644
--- a/pandas/_libs/period.pyx
+++ b/pandas/_libs/period.pyx
@@ -34,11 +34,9 @@ from lib cimport is_null_datetimelike, is_period
from pandas._libs import tslib, lib
from pandas._libs.tslib import (Timedelta, Timest... | We're very nearly done with `tslibs.timezones`. I had hoped to bring over the remaining functions in smaller chunks, but this turns out to be the smallest independent subset that contains `_get_dst_info` and `maybe_get_tz`.
Getting `_get_dst_info` and `maybe_get_tz` separated is a milestone because it allows us to ... | https://api.github.com/repos/pandas-dev/pandas/pulls/17526 | 2017-09-14T01:41:21Z | 2017-09-15T09:51:47Z | 2017-09-15T09:51:47Z | 2017-09-15T15:30:31Z |
Remove from numpy cimport * | diff --git a/pandas/_libs/algos.pyx b/pandas/_libs/algos.pyx
index 897a60e0c2f21..8cbc65633c786 100644
--- a/pandas/_libs/algos.pyx
+++ b/pandas/_libs/algos.pyx
@@ -1,12 +1,12 @@
# cython: profile=False
-from numpy cimport *
cimport numpy as np
import numpy as np
cimport cython
+from cython cimport Py_ssize_t
... | Replace these imports with explicit imports.
There are a couple of other similar things coming up, splitting them apart for easier review.
There are a couple of places with `cdef extern from "../src/headers/math.h":` but I don't think the path here makes sense. The fact that it works anyway bothers me. This PR ... | https://api.github.com/repos/pandas-dev/pandas/pulls/17521 | 2017-09-13T20:33:53Z | 2017-09-17T15:05:44Z | 2017-09-17T15:05:44Z | 2017-10-30T16:24:48Z |
BUG: preserve name in set_categories (#17509) | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index 8835c4a1533d0..65361886436d6 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -146,6 +146,8 @@ Using ``.describe()`` on categorical data will produce similar output to a `Seri
df.describe()
df["cat"].describe... | - [x] closes #17509
- [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/17517 | 2017-09-13T19:12:53Z | 2017-09-18T12:30:07Z | 2017-09-18T12:30:06Z | 2017-09-18T18:01:55Z |
PERF: Avoid materializing values in Categorical.set_categories | diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py
index 6432ccfb19efe..d90c994b3d194 100644
--- a/asv_bench/benchmarks/categoricals.py
+++ b/asv_bench/benchmarks/categoricals.py
@@ -67,6 +67,9 @@ def time_value_counts_dropna(self):
def time_rendering(self):
str(self.... | Mater:
```python
In [1]: import pandas as pd; import numpy as np
In [2]: arr = ['s%04d' % i for i in np.random.randint(0, 500000 // 10,
size=500000)];
s = pd.Series(arr).astype('category')
In [3]: %timeit s.cat.set_categories(s.cat.categories)
68.5 ms ±... | https://api.github.com/repos/pandas-dev/pandas/pulls/17515 | 2017-09-13T18:42:48Z | 2017-09-14T16:09:30Z | 2017-09-14T16:09:30Z | 2017-09-14T23:30:23Z |
PERF: Faster CategoricalIndex from categorical | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 6495ad3e7f6ad..52e056103cbdc 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -469,6 +469,7 @@ Performance Improvements
- :attr:`Series.dt` no longer performs frequency inference, yielding a large ... | Master:
```
In [1]: import pandas as pd; import numpy as np
In [2]: arr = ['s%04d' % i for i in np.random.randint(0, 500000 // 10, size=500000)]; s = pd.Series(arr).astype('category')
In [3]: %timeit pd.CategoricalIndex(s)
69.4 ms ± 946 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)
```
HEAD
... | https://api.github.com/repos/pandas-dev/pandas/pulls/17513 | 2017-09-13T16:55:24Z | 2017-09-14T23:29:40Z | 2017-09-14T23:29:40Z | 2017-09-14T23:29:43Z |
DOC: grammatical mistakes | diff --git a/pandas/io/stata.py b/pandas/io/stata.py
index 253ed03c25db9..92f180506a8b7 100644
--- a/pandas/io/stata.py
+++ b/pandas/io/stata.py
@@ -57,7 +57,7 @@
identifier of column that should be used as index of the DataFrame
convert_missing : boolean, defaults to False
Flag indicating whether to convert... | - [ ] 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/17512 | 2017-09-13T10:22:23Z | 2017-09-13T12:24:58Z | 2017-09-13T12:24:57Z | 2017-09-18T18:00:46Z |
DOC: grammatical mistake | diff --git a/pandas/plotting/_tools.py b/pandas/plotting/_tools.py
index 389e238ccb96e..6deddc97915f1 100644
--- a/pandas/plotting/_tools.py
+++ b/pandas/plotting/_tools.py
@@ -141,7 +141,7 @@ def _subplots(naxes=None, sharex=False, sharey=False, squeeze=True,
array of Axis objects are returned as numpy 1-d ar... | - [ ] 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/17511 | 2017-09-13T09:53:37Z | 2017-09-13T10:03:31Z | 2017-09-13T10:03:31Z | 2017-09-18T18:00:54Z |
BUG: in Timestamp.replace when replacing tzinfo around DST changes | diff --git a/asv_bench/benchmarks/timestamp.py b/asv_bench/benchmarks/timestamp.py
index 066479b22739a..e4f3023037580 100644
--- a/asv_bench/benchmarks/timestamp.py
+++ b/asv_bench/benchmarks/timestamp.py
@@ -1,5 +1,7 @@
from .pandas_vb_common import *
from pandas import to_timedelta, Timestamp
+import pytz
+import d... | replaces #17356
closes #15683 | https://api.github.com/repos/pandas-dev/pandas/pulls/17507 | 2017-09-13T02:46:55Z | 2017-09-20T13:09:16Z | 2017-09-20T13:09:15Z | 2017-09-20T14:37:34Z |
DOC: removed versionadded <0.17 in doc strings | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 89da897f6c529..6ffa903c74150 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -526,4 +526,4 @@ Other
^^^^^
- Bug in :func:`eval` where the ``inplace`` parameter was being incorrectly handled (:iss... | Cleaned up old references to when functionality was added.
See also #17442, #17442, #17404. | https://api.github.com/repos/pandas-dev/pandas/pulls/17504 | 2017-09-13T00:27:07Z | 2017-09-13T10:04:32Z | 2017-09-13T10:04:32Z | 2017-09-28T11:07:57Z |
COMPAT: followup to #17491 | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 89da897f6c529..472663733e3b6 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -190,19 +190,19 @@ the target. Now, a ``ValueError`` will be raised when such an input is passed in
.. _whatsnew_0210... | https://api.github.com/repos/pandas-dev/pandas/pulls/17503 | 2017-09-12T23:24:17Z | 2017-09-13T23:18:57Z | 2017-09-13T23:18:57Z | 2017-09-15T13:01:05Z | |
De-privatize timezone funcs | diff --git a/pandas/_libs/index.pyx b/pandas/_libs/index.pyx
index bf4d53683c9b7..884117799ec5b 100644
--- a/pandas/_libs/index.pyx
+++ b/pandas/_libs/index.pyx
@@ -17,7 +17,7 @@ cimport tslib
from hashtable cimport HashTable
-from tslibs.timezones cimport _is_utc
+from tslibs.timezones cimport is_utc, get_utcoffs... | See discussion in #17497
- [ ] 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/17502 | 2017-09-12T22:54:44Z | 2017-09-13T23:20:53Z | 2017-09-13T23:20:53Z | 2017-10-30T16:24:53Z |
added nearest to resample + test | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 4e02f7b11f466..6b3e6bedcb24b 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -2025,6 +2025,7 @@ Upsampling
Resampler.backfill
Resampler.bfill
Resampler.pad
+ Resampler.nearest
Resampler.fillna
Resampler.asfreq
Resampler.int... | - [x] closes #17496
- [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/17498 | 2017-09-11T19:37:58Z | 2017-09-17T21:20:58Z | 2017-09-17T21:20:58Z | 2017-09-17T21:21:15Z |
Follow-up to #17419 | diff --git a/pandas/_libs/period.pyx b/pandas/_libs/period.pyx
index 08962bca824ca..2b0734f5cf2e7 100644
--- a/pandas/_libs/period.pyx
+++ b/pandas/_libs/period.pyx
@@ -33,11 +33,10 @@ from util cimport is_period_object, is_string_object
from lib cimport is_null_datetimelike, is_period
from pandas._libs import tslib,... | This moves a few other 3ish line functions from tslib to tslibs.timezones.
One non-trivial function `_get_zone` is cut/pasted over.
Replaces imports in inference.pyx and period.pyx with imports from tslibs.timezones. In the inference, case, replaces the import of the python version `get_timezone` with the cython... | https://api.github.com/repos/pandas-dev/pandas/pulls/17497 | 2017-09-11T16:26:48Z | 2017-09-12T10:09:50Z | 2017-09-12T10:09:50Z | 2017-10-30T16:24:53Z |
DEPR: Add warning for True for dropna of SeriesGroupBy.nth | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index f50052347cfb5..d39a17a01382d 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -340,6 +340,8 @@ Deprecations
- ``pd.options.html.border`` has been deprecated in favor of ``pd.options.display.html.... | - [x] deprecates undocumented params to partially addresses #11038
- [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/17493 | 2017-09-11T02:19:00Z | 2017-09-12T10:35:55Z | 2017-09-12T10:35:55Z | 2017-09-12T14:14:37Z |
Add file-like object to docs for Feather | diff --git a/pandas/io/feather_format.py b/pandas/io/feather_format.py
index 87a4931421d7d..b2bf4ab7ff7f1 100644
--- a/pandas/io/feather_format.py
+++ b/pandas/io/feather_format.py
@@ -41,8 +41,7 @@ def to_feather(df, path):
Parameters
----------
df : DataFrame
- path : string
- File path
+ ... | `read_feather` and `to_feather` accept file-like object. For example, something like this works:
```
# python -uc "import pandas, sys; print(pandas.read_feather(sys.stdin))" < a.feather
id
0 1.0
1 2.0
2 3.0
3 NaN
4 5.0
5 6.0
6 7.0
7 8.0
# python -uc "import pandas, sys; pandas.to_feather(pandas... | https://api.github.com/repos/pandas-dev/pandas/pulls/17492 | 2017-09-11T01:21:08Z | 2017-09-11T11:03:19Z | 2017-09-11T11:03:19Z | 2017-09-11T18:35:00Z |
COMPAT: Iteration should always yield a python scalar | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index eccd71f45ec27..4cea36569e8e4 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -188,6 +188,53 @@ the target. Now, a ``ValueError`` will be raised when such an input is passed in
...
ValueErro... | xref #10904
closes #13236
closes #13258
xref #14216
| https://api.github.com/repos/pandas-dev/pandas/pulls/17491 | 2017-09-10T21:58:03Z | 2017-09-12T12:54:54Z | 2017-09-12T12:54:54Z | 2017-09-18T07:39:03Z |
Prevent UnicodeDecodeError in pivot_table under Py2 | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 9d475390175b2..fe24f8f499172 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1705,6 +1705,7 @@ Reshaping
- Bug in ``pd.concat()`` in which concatenating with an empty dataframe with ``join='inner... | - [x] closes #13292
- [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/17489 | 2017-09-10T07:33:05Z | 2017-09-12T10:31:33Z | 2017-09-12T10:31:32Z | 2017-09-12T10:31:36Z |
BUG: DataFrame.first_valid_index() fails if there is no valid entry. | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index f50052347cfb5..d5195cb1a6bf3 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -399,6 +399,7 @@ Indexing
- Bug in ``CategoricalIndex`` reindexing in which specified indices containing duplicates wer... | Just checking the number of valid entries and if it's zero, return `None`.
Also fixed same issue on `DataFrame.last_valid_index()`.
Add docstrings to both methods of `DataFrame` and `Series`.
- [x] closes #17400
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- ... | https://api.github.com/repos/pandas-dev/pandas/pulls/17488 | 2017-09-10T06:17:43Z | 2017-09-23T16:14:10Z | 2017-09-23T16:14:10Z | 2017-09-23T16:14:12Z |
Remove incorrect kwds from DateOffset tests | diff --git a/pandas/tests/tseries/test_offsets.py b/pandas/tests/tseries/test_offsets.py
index e03b3e0a85e5e..7e6e85f322fe0 100644
--- a/pandas/tests/tseries/test_offsets.py
+++ b/pandas/tests/tseries/test_offsets.py
@@ -111,7 +111,10 @@ def offset_types(self):
def _get_offset(self, klass, value=1, normalize=Fal... | See discussion in #17176
- [ ] 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/17486 | 2017-09-09T23:08:04Z | 2017-09-10T14:19:53Z | 2017-09-10T14:19:53Z | 2017-10-30T16:24:59Z |
REGR: Categorical with np.str_ categories | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 180411afb117d..4259393f682e5 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -21,6 +21,7 @@ Fixed regressions
- Fixed regression in :meth:`GroupBy.apply` if called with a function which returned a non... | - [x] closes #31499
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31528 | 2020-02-01T03:40:31Z | 2020-02-04T16:24:00Z | 2020-02-04T16:23:59Z | 2020-02-04T16:31:28Z |
CLN: libperiod | diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx
index 3dd560ece188d..7fca624099b38 100644
--- a/pandas/_libs/tslibs/period.pyx
+++ b/pandas/_libs/tslibs/period.pyx
@@ -473,9 +473,6 @@ cdef int DtoQ_yq(int64_t ordinal, asfreq_info *af_info, int *year) nogil:
int quarter
panda... | separating cleanups from non-cleanup branches | https://api.github.com/repos/pandas-dev/pandas/pulls/31527 | 2020-02-01T03:04:35Z | 2020-02-01T23:23:06Z | 2020-02-01T23:23:06Z | 2020-02-01T23:34:49Z |
Unpin openpyxl | diff --git a/ci/deps/travis-36-cov.yaml b/ci/deps/travis-36-cov.yaml
index 869d2ab683f0c..6883301a63a9b 100644
--- a/ci/deps/travis-36-cov.yaml
+++ b/ci/deps/travis-36-cov.yaml
@@ -27,8 +27,7 @@ dependencies:
- numexpr
- numpy=1.15.*
- odfpy
- - openpyxl<=3.0.1
- # https://github.com/pandas-dev/pandas/pull/3... | I *think* we pinned this originally because of issues with 3.0.2 specifically, but looks like a newer version is available on conda
ref #30009 | https://api.github.com/repos/pandas-dev/pandas/pulls/31525 | 2020-01-31T23:59:19Z | 2020-02-02T19:32:23Z | 2020-02-02T19:32:23Z | 2020-04-07T14:43:02Z |
BUG: non-iterable value in meta raise error in json_normalize | diff --git a/doc/source/whatsnew/v1.0.2.rst b/doc/source/whatsnew/v1.0.2.rst
index 462f243f14494..61d730f7a285b 100644
--- a/doc/source/whatsnew/v1.0.2.rst
+++ b/doc/source/whatsnew/v1.0.2.rst
@@ -75,6 +75,7 @@ Bug fixes
**I/O**
- Using ``pd.NA`` with :meth:`DataFrame.to_json` now correctly outputs a null value ins... | - [x] closes #31507
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31524 | 2020-01-31T23:14:26Z | 2020-03-11T15:02:32Z | 2020-03-11T15:02:32Z | 2020-03-11T15:02:43Z |
REGR: Fixed slicing DatetimeIndex with date | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 206be97fe202f..e300574e87341 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -67,6 +67,8 @@ Interval
Indexing
^^^^^^^^
+
+- Fixed regression when indexing a ``Series`` or ``DataFrame`` indexed by `... | Closes https://github.com/pandas-dev/pandas/issues/31501 | https://api.github.com/repos/pandas-dev/pandas/pulls/31521 | 2020-01-31T22:10:44Z | 2020-02-01T14:56:13Z | 2020-02-01T14:56:13Z | 2020-02-03T16:49:38Z |
REGR: to_datetime, unique with OOB values | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index ff8433c7cafd9..95fab6a18ffe1 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -25,8 +25,8 @@ Categorical
Datetimelike
^^^^^^^^^^^^
--
--
+- Fixed regression in :meth:`to_datetime` when parsing non-n... | Closes https://github.com/pandas-dev/pandas/issues/31491
This turned up two bugs:
1. `to_datetime(oob_values, cache=True, errors='coerce')` would raise. We had tests intended to catch this, but we didn't actually hit it because caching is disabled for inputs less than length 50. We only tested with length 3. I've... | https://api.github.com/repos/pandas-dev/pandas/pulls/31520 | 2020-01-31T21:45:02Z | 2020-02-01T14:29:37Z | 2020-02-01T14:29:37Z | 2020-02-01T14:29:37Z |
REF: simplify DTI._parse_string_to_bounds | diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py
index 46c896a724dae..837160450c18e 100644
--- a/pandas/core/indexes/datetimes.py
+++ b/pandas/core/indexes/datetimes.py
@@ -5,15 +5,8 @@
import numpy as np
-from pandas._libs import (
- NaT,
- Timedelta,
- Timestamp,
- ind... | Sits on top of #31475. i.e. once that is merged, the only diff remaining here will be in indexes.datetimes.
After this, we are within striking distance of sharing the method between DTI/PI. | https://api.github.com/repos/pandas-dev/pandas/pulls/31519 | 2020-01-31T21:09:53Z | 2020-02-05T01:46:22Z | 2020-02-05T01:46:22Z | 2020-04-05T17:34:10Z |
REGR: DataFrame.__setitem__(slice, val) is positional | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index ff8433c7cafd9..206be97fe202f 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -67,7 +67,7 @@ Interval
Indexing
^^^^^^^^
-
+- Fixed regression in :class:`DataFrame` setting values with a slice (e.g. ... | - [x] closes #31469
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31515 | 2020-01-31T19:36:38Z | 2020-02-01T14:22:06Z | 2020-02-01T14:22:05Z | 2020-02-05T12:34:52Z |
REGR: Fixed truncation with na_rep | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index ff8433c7cafd9..1a5a420ab8b55 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -86,6 +86,7 @@ MultiIndex
I/O
^^^
+- Fixed regression in :meth:`~DataFrame.to_csv` where specifying an ``na_rep`` might ... | Closes https://github.com/pandas-dev/pandas/issues/31447 | https://api.github.com/repos/pandas-dev/pandas/pulls/31513 | 2020-01-31T18:31:06Z | 2020-02-01T15:21:12Z | 2020-02-01T15:21:12Z | 2020-02-01T15:21:16Z |
CLN: inherit PeriodIndex._box_func | diff --git a/pandas/core/indexes/datetimelike.py b/pandas/core/indexes/datetimelike.py
index e3eeca2c45e76..66723969c9f10 100644
--- a/pandas/core/indexes/datetimelike.py
+++ b/pandas/core/indexes/datetimelike.py
@@ -80,7 +80,16 @@ def wrapper(left, right):
cache=True,
)
@inherit_names(
- ["__iter__", "mean",... | https://api.github.com/repos/pandas-dev/pandas/pulls/31512 | 2020-01-31T18:23:53Z | 2020-02-02T22:35:54Z | 2020-02-02T22:35:54Z | 2020-02-02T22:39:04Z | |
BUG: fix reindexing with a tz-aware index and method='nearest' | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index dfb5ae56cbe1f..9fdda83abe944 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -108,6 +108,7 @@ Datetimelike
- Bug in :class:`Timestamp` where constructing :class:`Timestamp` from ambiguous epoch time a... | - [x] closes #26683
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
First pandas PR, happy to make changes as needed. Is a whatsnew entry needed? And if so, I assume it should go in v1.0.1.rst? | https://api.github.com/repos/pandas-dev/pandas/pulls/31511 | 2020-01-31T18:23:51Z | 2020-02-03T03:48:29Z | 2020-02-03T03:48:28Z | 2023-03-10T21:23:01Z |
CLN: remove IndexEngine.set_value | diff --git a/pandas/_libs/index.pyx b/pandas/_libs/index.pyx
index 1915eaf6e07dd..b39afc57f34f6 100644
--- a/pandas/_libs/index.pyx
+++ b/pandas/_libs/index.pyx
@@ -87,20 +87,6 @@ cdef class IndexEngine:
else:
return get_value_at(arr, loc, tz=tz)
- cpdef set_value(self, ndarray arr, object ke... | made possible bc Series._values now returns DTA/TDA for datetime64/timedelta64
Small perf improvement
```
In [3]: dti = pd.date_range('2016-01-01', freq='D', periods=10**4)
In [4]: idx = list('abcdefghijklmnop')
In [5]: arr = np.random.random(len(idx)*len... | https://api.github.com/repos/pandas-dev/pandas/pulls/31510 | 2020-01-31T18:11:52Z | 2020-02-02T22:42:11Z | 2020-02-02T22:42:11Z | 2020-02-02T23:24:41Z |
Dead JSON Code Cleanup | diff --git a/pandas/_libs/src/ujson/python/objToJSON.c b/pandas/_libs/src/ujson/python/objToJSON.c
index 62c2870c198c4..d04e873fff7bd 100644
--- a/pandas/_libs/src/ujson/python/objToJSON.c
+++ b/pandas/_libs/src/ujson/python/objToJSON.c
@@ -127,7 +127,6 @@ typedef struct __PyObjectEncoder {
// pass-through to enco... | https://api.github.com/repos/pandas-dev/pandas/pulls/31509 | 2020-01-31T17:54:25Z | 2020-02-02T22:42:56Z | 2020-02-02T22:42:56Z | 2023-04-12T20:17:37Z | |
JSON Set Name Cleanup | diff --git a/pandas/_libs/src/ujson/python/objToJSON.c b/pandas/_libs/src/ujson/python/objToJSON.c
index 62c2870c198c4..a895a46a5977d 100644
--- a/pandas/_libs/src/ujson/python/objToJSON.c
+++ b/pandas/_libs/src/ujson/python/objToJSON.c
@@ -925,15 +925,15 @@ char *Tuple_iterGetName(JSOBJ Py_UNUSED(obj), JSONTypeContext... | Makes this consistent with List, Tuple
| https://api.github.com/repos/pandas-dev/pandas/pulls/31508 | 2020-01-31T17:53:15Z | 2020-02-02T22:43:53Z | 2020-02-02T22:43:53Z | 2023-04-12T20:17:15Z |
CLN: No need to use libindex.get_value_at | diff --git a/pandas/core/base.py b/pandas/core/base.py
index 9fe1af776dd2b..f3c8b50e774af 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -1027,12 +1027,10 @@ def tolist(self):
--------
numpy.ndarray.tolist
"""
- if self.dtype.kind in ["m", "M"]:
- return [com.... | Made possible because Series._values returns DTA/TDA for datetime64/timedelta64. | https://api.github.com/repos/pandas-dev/pandas/pulls/31506 | 2020-01-31T17:48:46Z | 2020-02-02T22:45:26Z | 2020-02-02T22:45:26Z | 2020-02-02T23:19:12Z |
BUG: Fixed IntervalArray[int].shift | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 180411afb117d..be0d144e541b1 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -55,6 +55,9 @@ Bug fixes
- Plotting tz-aware timeseries no longer gives UserWarning (:issue:`31205`)
+**Interval**
+
+-... | Closes https://github.com/pandas-dev/pandas/issues/31495
In ExtensionArray.shift, we have the note
```
# Note: this implementation assumes that `self.dtype.na_value` can be
# stored in an instance of your ExtensionArray with `self.dtype`.
```
I wonder, should we have a method / property like... | https://api.github.com/repos/pandas-dev/pandas/pulls/31502 | 2020-01-31T16:51:03Z | 2020-02-04T16:56:08Z | 2020-02-04T16:56:08Z | 2020-02-04T16:56:08Z |
DOC: Replaced "the the" with "the" | diff --git a/pandas/_libs/groupby.pyx b/pandas/_libs/groupby.pyx
index 93ea94f7b18fc..edc44f1c94589 100644
--- a/pandas/_libs/groupby.pyx
+++ b/pandas/_libs/groupby.pyx
@@ -1143,7 +1143,7 @@ def group_rank(float64_t[:, :] out,
# Update out only when there is a transition of values or labels.
#... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31500 | 2020-01-31T16:29:37Z | 2020-01-31T17:39:35Z | 2020-01-31T17:39:35Z | 2020-02-01T10:51:13Z |
Backport PR #31494 on branch 1.0.x (DOC: move whatnew entry for invert from 1.0.0 t 1.0.1) | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 5cde01310eeea..b0b88c8b04ad1 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -1108,7 +1108,6 @@ Numeric
- Bug in :meth:`DataFrame.round` where a :class:`DataFrame` with a :class:`CategoricalIndex` of ... | Backport PR #31494: DOC: move whatnew entry for invert from 1.0.0 t 1.0.1 | https://api.github.com/repos/pandas-dev/pandas/pulls/31496 | 2020-01-31T14:04:52Z | 2020-01-31T16:24:17Z | 2020-01-31T16:24:17Z | 2020-01-31T16:24:17Z |
DOC: move whatnew entry for invert from 1.0.0 t 1.0.1 | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 00dc3fdb28f26..6597b764581a4 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -1107,7 +1107,6 @@ Numeric
- Bug in :meth:`DataFrame.round` where a :class:`DataFrame` with a :class:`CategoricalIndex` of ... | see https://github.com/pandas-dev/pandas/pull/31493, forgot to backport, so the fix will only be included in 1.0.1 | https://api.github.com/repos/pandas-dev/pandas/pulls/31494 | 2020-01-31T12:29:48Z | 2020-01-31T14:03:59Z | 2020-01-31T14:03:59Z | 2020-01-31T14:04:57Z |
Backport PR #31183: BUG: Series/Frame invert dtypes' | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 989cc9b5d78c2..5cde01310eeea 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -1108,6 +1108,7 @@ Numeric
- Bug in :meth:`DataFrame.round` where a :class:`DataFrame` with a :class:`CategoricalIndex` of ... | We forgot to backport this: https://github.com/pandas-dev/pandas/pull/31183
Closes #31489 | https://api.github.com/repos/pandas-dev/pandas/pulls/31493 | 2020-01-31T12:26:42Z | 2020-01-31T14:03:42Z | 2020-01-31T14:03:42Z | 2020-01-31T16:24:04Z |
DOC: Fix the description of the 'day' field accessor in DatetimeArray | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index 4b6b54cce64ec..5888600d2fa8e 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -1262,7 +1262,7 @@ def date(self):
"day",
"D",
"""
- The month as January=1, December=... | Fix a wrong description in the field accessor `day` of the DatetimeArray class | https://api.github.com/repos/pandas-dev/pandas/pulls/31490 | 2020-01-31T11:11:56Z | 2020-01-31T11:51:10Z | 2020-01-31T11:51:10Z | 2020-01-31T11:51:18Z |
DOC: Parameter doc strings for Groupby.(sum|prod|min|max|first|last) | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index 71e7aafbca27d..54275dc52bb56 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -1351,13 +1351,22 @@ def groupby_function(
_local_template = """
Compute %(f)s of group values.
... | Follow-up to #31473. | https://api.github.com/repos/pandas-dev/pandas/pulls/31486 | 2020-01-31T10:20:17Z | 2020-01-31T11:54:35Z | 2020-01-31T11:54:35Z | 2020-02-12T22:12:38Z |
CLN: named parameters for GroupBy.(mean|median|var|std) | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index cf2f507dc019c..aad11eeee38f2 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -60,6 +60,9 @@ Backwards incompatible API changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :meth:`DataFrame.swaplevels` now ra... | Drops *args & **kwargs, replace with named parameters for groupby methods mean, median, var & std. Similar to #31473.
This PR has the side effect that the raised error when a parameter is not allowed, is now ``TypeError`` instead of ``UnsupportedFunctionCall``, so technically a API change... | https://api.github.com/repos/pandas-dev/pandas/pulls/31485 | 2020-01-31T09:41:52Z | 2020-02-02T22:46:32Z | 2020-02-02T22:46:32Z | 2020-02-04T16:25:32Z |
BUG: Array.__setitem__ failing with nullable boolean mask | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index b84448e3bf896..2e694e601e79e 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -70,6 +70,7 @@ Indexing
-
-
+- Bug where assigning to a :class:`Series` using a IntegerArray / BooleanArray as a mask wo... | - [x] closes #31446
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31484 | 2020-01-31T09:14:04Z | 2020-02-01T14:37:26Z | 2020-02-01T14:37:26Z | 2020-02-06T09:08:02Z |
TST: preserve dtypes on assignment | diff --git a/pandas/tests/indexing/test_loc.py b/pandas/tests/indexing/test_loc.py
index b9dc96adfa738..0cb4bdcc334d8 100644
--- a/pandas/tests/indexing/test_loc.py
+++ b/pandas/tests/indexing/test_loc.py
@@ -92,6 +92,18 @@ def test_loc_setitem_slice(self):
expected = DataFrame({"a": [0, 1, 1], "b": [100, 200,... | - [x] closes #31340
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31483 | 2020-01-31T08:49:46Z | 2020-02-01T23:20:37Z | 2020-02-01T23:20:37Z | 2020-02-01T23:20:49Z |
BUG: objToJson.c - fix return value | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index b84448e3bf896..9b3d496827d3f 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -123,7 +123,7 @@ ExtensionArray
Other
^^^^^
--
+- Regression fixed in objTOJSON.c fix return-type warning (:issue:`31463... | - [x] closes #31463
https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=27217&view=logs&j=3a03f79d-0b41-5610-1aa4-b4a014d0bc70&t=fe74a338-551b-5fbb-553d-25f48b1836e8&l=687
Seems like this warning is somehow causing an error in the users builds of pandas | https://api.github.com/repos/pandas-dev/pandas/pulls/31482 | 2020-01-31T08:08:46Z | 2020-02-02T17:09:19Z | 2020-02-02T17:09:19Z | 2020-02-02T17:10:20Z |
Backport PR #31461 on branch 1.0.x (DOC: Fix DataFrame.to_csv example) | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 32ea4760fb86d..f158126f52e8f 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3166,10 +3166,10 @@ def to_csv(
>>> df.to_csv(index=False)
'name,mask,weapon\nRaphael,red,sai\nDonatello,purple,bo staff\n'
- # ... | Backport PR #31461: DOC: Fix DataFrame.to_csv example | https://api.github.com/repos/pandas-dev/pandas/pulls/31481 | 2020-01-31T07:20:16Z | 2020-01-31T09:16:48Z | 2020-01-31T09:16:48Z | 2020-01-31T09:16:48Z |
CLN: remove DatetimelikeDelegateMixin | diff --git a/pandas/core/indexes/datetimelike.py b/pandas/core/indexes/datetimelike.py
index 0f385d9aba9c5..e123fdd228aaf 100644
--- a/pandas/core/indexes/datetimelike.py
+++ b/pandas/core/indexes/datetimelike.py
@@ -1,8 +1,7 @@
"""
Base and utility classes for tseries type pandas objects.
"""
-import operator
-from... | Made possibly by #31433. | https://api.github.com/repos/pandas-dev/pandas/pulls/31480 | 2020-01-31T04:21:35Z | 2020-01-31T12:01:35Z | 2020-01-31T12:01:34Z | 2020-01-31T15:48:02Z |
REGR: Fix TypeError in groupby min / max of period column | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index f9c756b2518af..20cfcfbde389c 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -20,6 +20,7 @@ Fixed regressions
- Fixed regression in ``DataFrame.__setitem__`` raising an ``AttributeError`` with a :clas... | - [x] closes #31471
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31477 | 2020-01-31T02:06:23Z | 2020-02-04T22:52:28Z | 2020-02-04T22:52:27Z | 2020-02-04T22:54:20Z |
BUG: Period[us] start_time off by 1 nanosecond | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 9fdda83abe944..6fe42560f80ef 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -109,6 +109,7 @@ Datetimelike
- :meth:`DatetimeArray.searchsorted`, :meth:`TimedeltaArray.searchsorted`, :meth:`PeriodArray... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31475 | 2020-01-31T00:19:37Z | 2020-02-04T00:12:17Z | 2020-02-04T00:12:17Z | 2020-02-04T00:13:45Z |
CLN: clean signature in Groupby.add_numeric_operations | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index aa21aa452be95..8ff04948240ab 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -1359,17 +1359,17 @@ def groupby_function(
@Substitution(name="groupby", f=name)
@Appender(_common... | Avoid **kwars, replace with named parameters. | https://api.github.com/repos/pandas-dev/pandas/pulls/31473 | 2020-01-30T22:33:41Z | 2020-01-31T03:51:26Z | 2020-01-31T03:51:26Z | 2020-02-12T22:13:34Z |
DOC: Fix examples in documentation | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index e2dc543360a62..8cf9f164d140a 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -267,11 +267,6 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then
-k"-nonzero -reindex -searchsorted -to_dict"
RET=$(($RET + $?)) ; echo $MSG "DONE"
- M... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31472 | 2020-01-30T20:36:31Z | 2020-03-07T20:10:21Z | 2020-03-07T20:10:21Z | 2020-03-14T14:05:25Z |
REF: use inherit_names for DTI | diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py
index 3afd1ff35806d..ca0ccf857276a 100644
--- a/pandas/core/indexes/datetimes.py
+++ b/pandas/core/indexes/datetimes.py
@@ -20,7 +20,6 @@
from pandas.core.dtypes.dtypes import DatetimeTZDtype
from pandas.core.dtypes.missing import is_val... | xref #31427, #31433. With all three of these in, we can then remove indexes.datetimelike.DatetimelikeDelegateMixin
Using inherit_names, we also have the option of making tz, tzinfo, dtype cache_readonly if that turns out to make a difference. | https://api.github.com/repos/pandas-dev/pandas/pulls/31468 | 2020-01-30T18:13:38Z | 2020-01-31T03:09:34Z | 2020-01-31T03:09:34Z | 2020-01-31T04:19:20Z |
Some code cleanups | diff --git a/pandas/core/base.py b/pandas/core/base.py
index 05e3302abddbe..9fe1af776dd2b 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -1,6 +1,7 @@
"""
Base and utility classes for pandas objects.
"""
+
import builtins
import textwrap
from typing import Dict, FrozenSet, List, Optional, Union
@@ -... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31462 | 2020-01-30T16:30:24Z | 2020-01-31T03:12:02Z | 2020-01-31T03:12:02Z | 2020-01-31T16:26:35Z |
DOC: Fix DataFrame.to_csv example | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index a2e348bf98e33..af3c3cce8fec4 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3077,10 +3077,10 @@ def to_csv(
>>> df.to_csv(index=False)
'name,mask,weapon\nRaphael,red,sai\nDonatello,purple,bo staff\n'
- # ... | - [x] closes #31460
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/31461 | 2020-01-30T16:11:16Z | 2020-01-31T07:19:58Z | 2020-01-31T07:19:57Z | 2020-01-31T07:19:58Z |
Fix to_csv and to_excel links on read_csv, read_table and read_excel See Also docs | diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py
index 2a91381b7fbeb..5ad56e30eeb39 100644
--- a/pandas/io/excel/_base.py
+++ b/pandas/io/excel/_base.py
@@ -205,8 +205,8 @@
See Also
--------
-to_excel : Write DataFrame to an Excel file.
-to_csv : Write DataFrame to a comma-separated values (csv) fil... | - [x] closes #31448
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/31458 | 2020-01-30T15:33:43Z | 2020-01-31T12:08:38Z | 2020-01-31T12:08:37Z | 2020-01-31T12:08:47Z |
BUG: Groupby.apply wasn't allowing for functions which return lists | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index ff8433c7cafd9..ce0634c879b93 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -15,7 +15,7 @@ including other versions of pandas.
Bug fixes
~~~~~~~~~
-
+- Bug in :meth:`GroupBy.apply` was raising ``T... | - [ ] closes #31441
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31456 | 2020-01-30T15:07:16Z | 2020-02-01T15:14:52Z | 2020-02-01T15:14:52Z | 2020-02-25T17:12:23Z |
DOC: Fixed example section in pandas/core/dtypes/*.py | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index b46989894ae12..fdc9fef5d7f77 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -305,6 +305,10 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then
pandas/core/arrays/boolean.py
RET=$(($RET + $?)) ; echo $MSG "DONE"
+ MSG='Doctests dt... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/31451 | 2020-01-30T13:36:49Z | 2020-02-10T09:13:13Z | 2020-02-10T09:13:12Z | 2020-03-19T23:29:34Z |
Backport PR #30907 on branch 1.0.x (DOC: add 1.0.1 whatsnew file) | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index 05c7f72882088..c9495d5b137fd 100644
--- a/doc/source/whatsnew/index.rst
+++ b/doc/source/whatsnew/index.rst
@@ -17,6 +17,7 @@ Version 1.0
:maxdepth: 2
v1.0.0
+ v1.0.1
Version 0.25
------------
diff --git a/doc/source/whatsn... | Backport PR #30907: DOC: add 1.0.1 whatsnew file | https://api.github.com/repos/pandas-dev/pandas/pulls/31443 | 2020-01-30T08:32:16Z | 2020-01-30T10:22:24Z | 2020-01-30T10:22:24Z | 2020-01-30T10:22:25Z |
Backport PR #31438 on branch 1.0.x (DOC: Fix 1.0.0 contributors) | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index ce078bfd4a6a9..989cc9b5d78c2 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -1292,4 +1292,4 @@ Other
Contributors
~~~~~~~~~~~~
-.. contributors:: v0.25.3..v1.0.0rc0
+.. contributors:: v0.25.3..v1.... | Backport PR #31438: DOC: Fix 1.0.0 contributors | https://api.github.com/repos/pandas-dev/pandas/pulls/31442 | 2020-01-30T08:31:13Z | 2020-01-30T10:21:46Z | 2020-01-30T10:21:46Z | 2020-01-30T10:21:46Z |
BUG: Fix qcut for nullable integers | diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst
index 305de5bbd57eb..56b11cdae15ae 100644
--- a/doc/source/whatsnew/v1.0.1.rst
+++ b/doc/source/whatsnew/v1.0.1.rst
@@ -131,6 +131,7 @@ ExtensionArray
^^^^^^^^^^^^^^
- Bug in dtype being lost in ``__invert__`` (``~`` operator) for extensi... | - [x] tests added / passed
- [x] passes `black pandas`
- [x] whatsnew entry
Related to #31389 but doesn't close any issues that I'm aware of. Seems the problems were indexing into a numpy array with a BooleanArray and using searchsorted in the presence of pd.NA. | https://api.github.com/repos/pandas-dev/pandas/pulls/31440 | 2020-01-30T04:34:24Z | 2020-02-02T22:19:06Z | 2020-02-02T22:19:06Z | 2020-02-02T22:22:40Z |
DOC: Fix 1.0.0 contributors | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index d0ea8a633bed5..c4414faefef01 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -1293,4 +1293,4 @@ Other
Contributors
~~~~~~~~~~~~
-.. contributors:: v0.25.3..v1.0.0rc0
+.. contributors:: v0.25.3..v1.... | I've also applied this locally in the doc build env. | https://api.github.com/repos/pandas-dev/pandas/pulls/31438 | 2020-01-30T02:24:22Z | 2020-01-30T08:29:56Z | 2020-01-30T08:29:56Z | 2020-01-31T22:50:56Z |
BUG: PeriodIndex.is_monotonic with leading NaT | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index 54175fada6e56..e07a8fa0469f4 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -149,6 +149,8 @@ Indexing
- Bug in slicing on a :class:`DatetimeIndex` with a partial-timestamp dropping high-resolution in... | Before long I expect to just have PeriodEngine subclass DatetimeEngine. | https://api.github.com/repos/pandas-dev/pandas/pulls/31437 | 2020-01-30T02:09:48Z | 2020-01-31T14:27:38Z | 2020-01-31T14:27:37Z | 2020-01-31T15:53:04Z |
TST: make sure fixture params are sorted list | diff --git a/pandas/tests/groupby/conftest.py b/pandas/tests/groupby/conftest.py
index 8901af7a90acc..ebac36c5f8c78 100644
--- a/pandas/tests/groupby/conftest.py
+++ b/pandas/tests/groupby/conftest.py
@@ -112,7 +112,7 @@ def reduction_func(request):
return request.param
-@pytest.fixture(params=transformation_k... | ATM running tests with --n 4 breaks locally because the tests that get collected dont match across processes. | https://api.github.com/repos/pandas-dev/pandas/pulls/31436 | 2020-01-30T01:14:52Z | 2020-01-30T19:15:24Z | 2020-01-30T19:15:24Z | 2020-01-30T19:21:33Z |
ENH: Added index to testing assert message when series values differ | diff --git a/pandas/_libs/testing.pyx b/pandas/_libs/testing.pyx
index 0e57b563d4d25..c6b8c3e876390 100644
--- a/pandas/_libs/testing.pyx
+++ b/pandas/_libs/testing.pyx
@@ -65,7 +65,7 @@ cpdef assert_dict_equal(a, b, bint compare_keys=True):
cpdef assert_almost_equal(a, b,
check_less_precise... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This implements the suggestion made in #31190
In short, where the values in 2 series differ, the assert exception message includes the index as wel... | https://api.github.com/repos/pandas-dev/pandas/pulls/31435 | 2020-01-29T23:44:41Z | 2020-03-22T20:42:35Z | 2020-03-22T20:42:35Z | 2020-03-22T20:42:42Z |
REF: use inherit_names for PeriodIndex | diff --git a/pandas/core/indexes/period.py b/pandas/core/indexes/period.py
index 1e18c16d02784..4c0121d50e84f 100644
--- a/pandas/core/indexes/period.py
+++ b/pandas/core/indexes/period.py
@@ -24,7 +24,6 @@
pandas_dtype,
)
-from pandas.core.accessor import delegate_names
from pandas.core.arrays.period import (... | analogous to #31427. | https://api.github.com/repos/pandas-dev/pandas/pulls/31433 | 2020-01-29T22:42:03Z | 2020-01-31T03:21:24Z | 2020-01-31T03:21:24Z | 2020-01-31T04:19:53Z |
Backport PR #31430 on branch 1.0.x (release date) | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 22e6da39550b3..ce078bfd4a6a9 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -1,7 +1,7 @@
.. _whatsnew_100:
-What's new in 1.0.0 (??)
-------------------------
+What's new in 1.0.0 (January 29, 2020... | Backport PR #31430: release date | https://api.github.com/repos/pandas-dev/pandas/pulls/31432 | 2020-01-29T21:43:26Z | 2020-01-29T21:43:38Z | 2020-01-29T21:43:38Z | 2020-01-30T09:53:27Z |
DOC: separate section with experimental features in 1.0.0 whatsnew (#… | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 3295241f2e8a3..22e6da39550b3 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -37,6 +37,43 @@ See :ref:`policies.version` for more.
Enhancements
~~~~~~~~~~~~
+.. _whatsnew_100.numba_rolling_apply:
+... | …31429)
Backport https://github.com/pandas-dev/pandas/pull/3142 | https://api.github.com/repos/pandas-dev/pandas/pulls/31431 | 2020-01-29T21:13:04Z | 2020-01-29T21:42:21Z | 2020-01-29T21:42:21Z | 2020-01-30T09:54:02Z |
release date | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index d0ea8a633bed5..8d2c99e3b35c8 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -1,7 +1,7 @@
.. _whatsnew_100:
-What's new in 1.0.0 (??)
-------------------------
+What's new in 1.0.0 (January 29, 2020... | https://api.github.com/repos/pandas-dev/pandas/pulls/31430 | 2020-01-29T21:06:32Z | 2020-01-29T21:42:30Z | 2020-01-29T21:42:30Z | 2020-01-29T21:43:38Z | |
DOC: separate section with experimental features in 1.0.0 whatsnew | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 2abe85f042af1..6586c19ee3426 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -37,6 +37,43 @@ See :ref:`policies.version` for more.
Enhancements
~~~~~~~~~~~~
+.. _whatsnew_100.numba_rolling_apply:
+... | Just a thought I had, to put the experimental features (pd.NA, string, boolean dtypes) in a separate section, better highlighting that those are experimental.
Since @TomAugspurger basically wants to release now, this is certainly not a blocker :) | https://api.github.com/repos/pandas-dev/pandas/pulls/31429 | 2020-01-29T20:30:27Z | 2020-01-29T21:05:04Z | 2020-01-29T21:05:04Z | 2020-01-30T09:55:56Z |
BUG: regression when applying groupby aggregation on categorical colu… | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 14a46e7e9b909..3295241f2e8a3 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -626,6 +626,54 @@ consistent with the behaviour of :class:`DataFrame` and :class:`Index`.
DeprecationWarning: The defaul... | Backport of https://github.com/pandas-dev/pandas/pull/31359 | https://api.github.com/repos/pandas-dev/pandas/pulls/31428 | 2020-01-29T20:26:12Z | 2020-01-29T20:54:37Z | 2020-01-29T20:54:37Z | 2020-01-30T10:18:05Z |
REF: use inherit_names for TimedeltaIndex | diff --git a/pandas/core/indexes/timedeltas.py b/pandas/core/indexes/timedeltas.py
index 1257e410b4125..cd4b2cbc780a7 100644
--- a/pandas/core/indexes/timedeltas.py
+++ b/pandas/core/indexes/timedeltas.py
@@ -16,7 +16,6 @@
)
from pandas.core.dtypes.missing import is_valid_nat_for_dtype
-from pandas.core.accessor im... | ATM we have two separate ways of doing inheritance/pass-through for our EA-backed Indexes. This moves TDI over to all-inherit_names, Will do the same for other EA-Indexes in their own PRs. | https://api.github.com/repos/pandas-dev/pandas/pulls/31427 | 2020-01-29T19:34:52Z | 2020-01-31T03:13:40Z | 2020-01-31T03:13:40Z | 2020-01-31T16:04:55Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.