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 |
|---|---|---|---|---|---|---|---|
ENH: itertuples() returns namedtuples (closes #11269) | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index e11c612a510db..757cff43f87e7 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1211,9 +1211,10 @@ To iterate over the rows of a DataFrame, you can use the following methods:
* :meth:`~DataFrame.iterrows`: Iterate over the rows of a DataF... | closes #11269
This will make itertuples return namedtuples. I'm not sure about tests, here. Since `namedtuple` is a drop-in replacement for ordinary tuples (once they are created) I naively expect things to work.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11325 | 2015-10-14T13:00:55Z | 2015-10-28T11:13:27Z | 2015-10-28T11:13:27Z | 2015-10-28T11:58:03Z |
BUG: Bug in list-like indexing with a mixed-integer Index, #11320 | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 507c829e5763f..86f6a85898a15 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -65,7 +65,7 @@ Bug Fixes
- Bug in tz-conversions with an ambiguous time and ``.dt`` accessors (:issues:`11295`)
-
+... | closes #11320
| https://api.github.com/repos/pandas-dev/pandas/pulls/11322 | 2015-10-14T10:55:15Z | 2015-10-14T11:43:50Z | 2015-10-14T11:43:50Z | 2015-10-14T11:43:50Z |
DEPR: deprecate pandas.io.ga, #11308 | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 1eff7d01d9d91..b9e674c819e49 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -43,6 +43,8 @@ API changes
Deprecations
^^^^^^^^^^^^
+- The ``pandas.io.ga`` module which implements ``google-analyt... | closes #11308
| https://api.github.com/repos/pandas-dev/pandas/pulls/11318 | 2015-10-13T22:12:13Z | 2015-10-14T00:09:21Z | 2015-10-14T00:09:21Z | 2015-10-14T00:09:21Z |
TST: validation tests for #11314, set_index with a tz | diff --git a/pandas/tseries/tests/test_timeseries.py b/pandas/tseries/tests/test_timeseries.py
index ed174bc285e4f..a80bdf970cccb 100644
--- a/pandas/tseries/tests/test_timeseries.py
+++ b/pandas/tseries/tests/test_timeseries.py
@@ -3376,6 +3376,14 @@ def test_dti_set_index_reindex(self):
df = df.reindex(idx2)... | xref #11314
| https://api.github.com/repos/pandas-dev/pandas/pulls/11316 | 2015-10-13T19:06:15Z | 2015-10-13T19:31:47Z | 2015-10-13T19:31:47Z | 2015-10-13T19:31:48Z |
Fixed typo | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 91e607757e4f1..3cf05698dd9d0 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -169,7 +169,7 @@ Selection
recommend the optimized pandas data access methods, ``.at``, ``.iat``,
``.loc``, ``.iloc`` and ``.ix``.
-See the indexing docum... | https://api.github.com/repos/pandas-dev/pandas/pulls/11315 | 2015-10-13T18:35:36Z | 2015-10-13T18:39:13Z | 2015-10-13T18:39:13Z | 2015-10-13T18:39:17Z | |
Correct typo in error message. | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 2cdb6d9b04341..920d9ad96c5b6 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1925,7 +1925,7 @@ def _getitem_column(self, key):
if self.columns.is_unique:
return self._get_item_cache(key)
- # duplicate columns ... | Change `# duplicate columns & possible reduce dimensionaility` error message comment to `# duplicate columns & possible reduce dimensionality`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11313 | 2015-10-13T15:26:45Z | 2015-10-13T15:50:55Z | 2015-10-13T15:50:55Z | 2015-10-13T15:58:47Z |
REGR: change in output formatting for long floats/nan, #11302 | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 94f66f8cfc672..d119a27c9cefa 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -34,7 +34,7 @@ API changes
- min and max reductions on ``datetime64`` and ``timedelta64`` dtyped series now
result... | closes #11302
| https://api.github.com/repos/pandas-dev/pandas/pulls/11309 | 2015-10-13T11:43:48Z | 2015-10-13T13:57:40Z | 2015-10-13T13:57:40Z | 2015-10-13T13:57:40Z |
BUG: Bug in tz-conversions with an ambiguous time and .dt accessors, #11295 | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index e4372ad1d23b8..79eef77b74ff7 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -55,8 +55,12 @@ Bug Fixes
- Bug in ``.to_latex()`` output broken when the index has a name (:issue: `10660`)
- Bug i... | closes #11295
| https://api.github.com/repos/pandas-dev/pandas/pulls/11301 | 2015-10-12T15:45:45Z | 2015-10-13T12:25:28Z | 2015-10-13T12:25:27Z | 2015-10-13T12:25:28Z |
PERF: Checking monotonic-ness before sorting on an index #11080 | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index 9bece56e15c90..a04a9d0814a30 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -930,6 +930,16 @@ def time_frame_xs_row(self):
self.df.xs(50000)
+class frame_sort_... | closes #11080
Worked for this during PyCon JP 2015 pandas sprint /w @sinhrks
I found `test_frame.py:TestDataFrame.test_sort_index` cover this change.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11294 | 2015-10-12T08:26:46Z | 2015-10-14T10:56:26Z | 2015-10-14T10:56:26Z | 2015-10-14T10:56:38Z |
TST: Add hex color strings test | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 1eff7d01d9d91..5696d8d7416fc 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -64,7 +64,7 @@ Bug Fixes
-
+- Bug in ``DataFrame.plot`` cannot use hex strings colors (:issue:`10299`)
diff ... | It's already resolved. I added hex string color test.
closes #10299
| https://api.github.com/repos/pandas-dev/pandas/pulls/11293 | 2015-10-12T07:40:01Z | 2015-10-15T14:20:58Z | 2015-10-15T14:20:58Z | 2015-10-15T14:45:02Z |
Fix mistake in Pytables querying with numpy scalar value. Fixes #11283 | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 74ace42eb7e22..47a83e9894521 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -53,7 +53,7 @@ Bug Fixes
- Bug in ``.to_latex()`` output broken when the index has a name (:issue: `10660`)
- Bug in... | Fixes #11283
First PR to this project. The fix is minuscule, but let me know if I did anything awry.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11291 | 2015-10-12T03:13:05Z | 2015-10-13T11:49:26Z | 2015-10-13T11:49:26Z | 2015-10-13T11:49:29Z |
ENH: Improvement to the BigQuery streaming insert failure message #11285 | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 668873e838597..41a3ea9347a04 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -20,6 +20,8 @@ Enhancements
.. _whatsnew_0171.enhancements.other:
+- Improve the error message in :func:`pandas.io.... | closes #11285
This is a minor change to include `'Location'` in the error message reported when a streaming insert fails using the `df.to_gbq()`
| https://api.github.com/repos/pandas-dev/pandas/pulls/11286 | 2015-10-11T12:03:18Z | 2015-10-11T15:40:28Z | 2015-10-11T15:40:28Z | 2015-10-14T12:00:45Z |
DOC: whatsnew fixes | diff --git a/doc/source/whatsnew/v0.12.0.txt b/doc/source/whatsnew/v0.12.0.txt
index fd726af3912f0..4c7d799ec5202 100644
--- a/doc/source/whatsnew/v0.12.0.txt
+++ b/doc/source/whatsnew/v0.12.0.txt
@@ -191,7 +191,7 @@ I/O Enhancements
df = DataFrame({'a': range(3), 'b': list('abc')})
print(df)
... | Some fixes I applied to the v0.17.0 docs I uploaded (older whatsnew was failing due to changes in 0.17)
| https://api.github.com/repos/pandas-dev/pandas/pulls/11280 | 2015-10-10T10:12:33Z | 2015-10-10T10:12:54Z | 2015-10-10T10:12:54Z | 2015-10-10T10:12:54Z |
Update sql.py | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 721a2c1f350ee..799d1e88260f2 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -309,8 +309,8 @@ def read_sql_table(table_name, con, schema=None, index_col=None,
schema : string, default None
Name of SQL schema in database to query (if database f... | Fix documentation for index_col parameter to read_sql, read_sql_table and read_sql_query to reflect that a list can be passed.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11277 | 2015-10-09T21:13:48Z | 2015-10-10T10:10:18Z | 2015-10-10T10:10:18Z | 2015-10-10T10:10:18Z |
PERF: Removed the GIL from parts of the TextReader class | diff --git a/asv_bench/benchmarks/gil.py b/asv_bench/benchmarks/gil.py
index fdeace108f76e..2eb6786356511 100644
--- a/asv_bench/benchmarks/gil.py
+++ b/asv_bench/benchmarks/gil.py
@@ -1,15 +1,24 @@
from .pandas_vb_common import *
from pandas.core import common as com
+
+try:
+ from cStringIO import StringIO
+exce... | The GIL was removed around the tokenizer functions and the conversion function(_string_convert excluded).
## Benchmark:
### Data Generation:
``` python
import pandas as pd
import numpy as np
df = pd.DataFrame(np.random.randn(1000000,10))
df.to_csv('test.csv')
```
### Benchmark Code:
``` python
import pandas as pd
fr... | https://api.github.com/repos/pandas-dev/pandas/pulls/11272 | 2015-10-09T16:08:15Z | 2015-11-04T20:28:15Z | 2015-11-04T20:28:15Z | 2015-11-04T21:04:53Z |
PERF: Release GIL on some datetime ops | diff --git a/asv_bench/benchmarks/gil.py b/asv_bench/benchmarks/gil.py
index 4b82781fc39d9..eeca2d54381b2 100644
--- a/asv_bench/benchmarks/gil.py
+++ b/asv_bench/benchmarks/gil.py
@@ -320,3 +320,49 @@ def time_nogil_kth_smallest(self):
def run(arr):
algos.kth_smallest(arr, self.k)
run()
... | This is a WIP, but far enough along I thought I'd share and see if the approach was reasonable.
This releases the GIL on most vectorized field accessors (e.g. `dt.year`) and conversion to and from `Period`. May be places it could be done - obviously would be nice for parsing, but I'm not sure that's possible.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11263 | 2015-10-08T03:29:23Z | 2015-10-17T14:48:10Z | 2015-10-17T14:48:10Z | 2015-10-21T22:42:05Z |
CI: fix numpy to 1.9.3 in 2.7,3.5 builds for now, as packages for 1.1.0 not released ATM | diff --git a/ci/requirements-2.7.build b/ci/requirements-2.7.build
index 3fe6f60aee98b..6c9965ac0305e 100644
--- a/ci/requirements-2.7.build
+++ b/ci/requirements-2.7.build
@@ -1,4 +1,4 @@
dateutil=2.1
pytz=2013b
-numpy
+numpy=1.9.3
cython=0.19.1
diff --git a/ci/requirements-2.7.run b/ci/requirements-2.7.run
index 8... | xref #11187
conda packages are not yet updated, so need to fix to 1.9.3 for now
| https://api.github.com/repos/pandas-dev/pandas/pulls/11262 | 2015-10-08T02:42:15Z | 2015-10-08T03:00:33Z | 2015-10-08T03:00:33Z | 2015-10-08T03:00:33Z |
DOC: Included halflife as one 3 optional params that must be specified | diff --git a/pandas/stats/moments.py b/pandas/stats/moments.py
index 2e13082ee5366..c4791c43278b9 100644
--- a/pandas/stats/moments.py
+++ b/pandas/stats/moments.py
@@ -97,7 +97,7 @@
_ewm_notes = r"""
Notes
-----
-Either center of mass or span must be specified
+Either center of mass, span or halflife must be specif... | This documentation appears to not be consistent with the function usage, i.e. halflife can also be specified as an alternative to center of mass or span.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11261 | 2015-10-08T01:56:48Z | 2015-10-08T03:00:41Z | 2015-10-08T03:00:41Z | 2015-10-08T03:00:41Z |
BUG/ERR: raise when trying to set a subset of values in a datetime64[ns, tz] columns with another tz | diff --git a/pandas/core/internals.py b/pandas/core/internals.py
index 4790f3aa3841e..51f6c7043817f 100644
--- a/pandas/core/internals.py
+++ b/pandas/core/internals.py
@@ -2099,7 +2099,7 @@ def _try_coerce_args(self, values, other):
if is_null_datelike_scalar(other):
other = tslib.iNaT
e... | https://api.github.com/repos/pandas-dev/pandas/pulls/11259 | 2015-10-07T19:13:42Z | 2015-10-07T21:05:33Z | 2015-10-07T21:05:33Z | 2015-10-07T21:05:33Z | |
DOC: some hacks to get rid of warnings | diff --git a/doc/source/api.rst b/doc/source/api.rst
index b1c7b569c0c42..bfd1c92d14acd 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -611,7 +611,7 @@ strings and apply several methods to it. These can be acccessed like
..
The following is needed to ensure the generated pages are created with the
... | This PR includes some hacks to numpydoc to get rid of a bunch of warnings (split of from https://github.com/pydata/pandas/pull/11069 as I want these merged for 0.17.0). There is some more explanation in the commit messages.
Closes #6100
The disadvantage of this is that this causes a deviation from numpydoc upstream, ... | https://api.github.com/repos/pandas-dev/pandas/pulls/11257 | 2015-10-07T11:19:56Z | 2015-10-07T21:42:44Z | 2015-10-07T21:42:44Z | 2018-12-06T21:13:45Z |
COMPAT/PERF: lib.ismember_int64 on older numpies/cython not comparing correctly #11232 | diff --git a/asv_bench/benchmarks/series_methods.py b/asv_bench/benchmarks/series_methods.py
index d2167a8b6e9e1..37969a6949157 100644
--- a/asv_bench/benchmarks/series_methods.py
+++ b/asv_bench/benchmarks/series_methods.py
@@ -5,22 +5,21 @@ class series_isin_int64(object):
goal_time = 0.2
def setup(self):... | closes #11232
PERF: use np.in1d on larger isin sizes
| https://api.github.com/repos/pandas-dev/pandas/pulls/11252 | 2015-10-06T11:07:25Z | 2015-10-06T18:04:08Z | 2015-10-06T18:04:08Z | 2018-01-22T18:34:53Z |
DOC: to_timedelta in convert_objects warning | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 3473dd0f7cd88..2def8180a43e4 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2595,7 +2595,7 @@ def convert_objects(self, convert_dates=True, convert_numeric=False,
"""
from warnings import warn
warn("conve... | closes #11246
| https://api.github.com/repos/pandas-dev/pandas/pulls/11248 | 2015-10-05T23:24:45Z | 2015-10-06T07:55:46Z | 2015-10-06T07:55:46Z | 2015-10-06T23:58:39Z |
BUG: datetime64 series reduces to nan when empty instead of nat | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 668873e838597..60c8b58768f83 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -28,6 +28,9 @@ Other Enhancements
API changes
~~~~~~~~~~~
+- min and max reductions on ``datetime64`` and ``timedelt... | I ran into some strange behavior with a series of dtype datetime64[ns] where I called max and got back a `nan`. I think the correct behavior here is to return `nat`. I looked through test_nanops but I am not sure where the correct place to put the test for this is.
The new behavior is:
``` python
In [1]: pd.Series(dt... | https://api.github.com/repos/pandas-dev/pandas/pulls/11245 | 2015-10-05T18:41:09Z | 2015-10-11T15:17:51Z | 2015-10-11T15:17:51Z | 2015-10-11T15:17:56Z |
BUG: to_excel duplicate columns | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 543eea399f447..668873e838597 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -70,3 +70,7 @@ Bug Fixes
- Bug in ``DataFrame.to_latex()`` produces an extra rule when ``header=False`` (:issue:`71... | closes #11007
closes #10970 (data in wrong order)
closes #10982 (columns lost).
Using the approach suggested [here](https://github.com/pydata/pandas/issues/11007#issuecomment-141019207)
All three occurred when using `to_excel` with duplicate columns in the `DataFrame`
| https://api.github.com/repos/pandas-dev/pandas/pulls/11237 | 2015-10-04T18:21:15Z | 2015-10-10T00:23:39Z | 2015-10-10T00:23:39Z | 2015-10-11T23:36:11Z |
BUG: to_latex() output broken when the index has a name (GH10660) | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 736554672a089..e4a3183983fa9 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -42,3 +42,4 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+Bug in ``.to_latex()`` output broken when the index has... | closes #10660
first try at contributing to pandas. feedbacks will be greatly appreciated.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11233 | 2015-10-04T06:55:29Z | 2015-10-09T13:03:57Z | 2015-10-09T13:03:57Z | 2015-10-09T13:04:03Z |
DOC: Add note about unicode layout | diff --git a/doc/source/_static/option_unicode01.png b/doc/source/_static/option_unicode01.png
new file mode 100644
index 0000000000000..d7168de126c5b
Binary files /dev/null and b/doc/source/_static/option_unicode01.png differ
diff --git a/doc/source/_static/option_unicode02.png b/doc/source/_static/option_unicode02.pn... | Follow-up for #11102. Added note because doc output may look incorrect depending on font.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11231 | 2015-10-03T23:23:35Z | 2015-10-07T15:52:05Z | 2015-10-07T15:52:05Z | 2015-10-08T05:09:42Z |
defer or remove loading of openhub in docs | diff --git a/doc/source/themes/nature_with_gtoc/layout.html b/doc/source/themes/nature_with_gtoc/layout.html
index 3fae6ef500bdf..fd0755e096023 100644
--- a/doc/source/themes/nature_with_gtoc/layout.html
+++ b/doc/source/themes/nature_with_gtoc/layout.html
@@ -34,12 +34,6 @@ <h3 style="margin-top: 1.5em;">{{ _('Search'... | Their service was slowing down the loading of our docs. I've added a defer tag so that our docs load first.
Or we can delete that entirely, anyone know why it's in there to begin with?
| https://api.github.com/repos/pandas-dev/pandas/pulls/11225 | 2015-10-02T19:43:34Z | 2015-10-02T21:26:58Z | 2015-10-02T21:26:58Z | 2016-11-03T12:38:29Z |
ENH: added compression kw to to_csv GH7615 | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 74ace42eb7e22..94f66f8cfc672 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -18,6 +18,8 @@ Highlights include:
Enhancements
~~~~~~~~~~~~
+- Support for ``compression`` (gzip/bz2) in :method:`D... | This closes #7615 and represents work that started in #2636.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11219 | 2015-10-02T12:34:30Z | 2015-10-12T15:49:37Z | 2015-10-12T15:49:37Z | 2016-04-23T07:37:46Z |
BUG: edge case when reading from postgresl with read_sql_query and datetime with tz and chunksize | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 34f28e2fbfacb..721a2c1f350ee 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -18,6 +18,7 @@
from pandas.core.api import DataFrame, Series
from pandas.core.common import isnull
from pandas.core.base import PandasObject
+from pandas.core.dtypes import Date... | - When we don't specifiy a chunksize we get an object dtype which is ok
- We create a propery datetime64[ns, tz] type, but its a pytz.FixedOffset(....)
which ATM is not really a useful/palatable type and is mostly confusing for now.
In the future could attempt to coerce this to a nice tz, e.g. US/Eastern, ,not sure... | https://api.github.com/repos/pandas-dev/pandas/pulls/11216 | 2015-10-02T01:55:57Z | 2015-10-03T15:48:50Z | 2015-10-03T15:48:50Z | 2017-01-16T10:56:11Z |
DEPR: set_axis inplace keyword | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 0ceac8aeb9db8..c95660bf86114 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -847,6 +847,7 @@ Other Deprecations
- Deprecated the ``inplace`` keyword in :meth:`Categorical.set_ordered`, :meth:`Categor... | - [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/48130 | 2022-08-17T19:54:38Z | 2022-08-18T16:17:59Z | 2022-08-18T16:17:59Z | 2022-08-18T16:59:52Z |
DEPR: positional arguments of read/to_state | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 0ceac8aeb9db8..bad5b15bf45d6 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -850,6 +850,7 @@ Other Deprecations
- Deprecated producing a single element when iterating over a :class:`DataFrameGroupBy`... | - [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/48128 | 2022-08-17T17:33:25Z | 2022-08-17T21:15:14Z | 2022-08-17T21:15:14Z | 2022-09-21T15:29:01Z |
WEB: Update inactive maintainers | diff --git a/web/pandas/config.yml b/web/pandas/config.yml
index 79a77e80830f3..b33ea5b0dd972 100644
--- a/web/pandas/config.yml
+++ b/web/pandas/config.yml
@@ -69,21 +69,16 @@ maintainers:
- jorisvandenbossche
- TomAugspurger
- jreback
- - sinhrks
- - cpcloud
- gfyoung
- WillAyd
- mroeschke
- - js... | Following the proposal in the pandas core dev list, and after sending direct messages to all the people moved to inactive here, and getting an ok, or no answer, I update the lists of active/inactive maintainers.
If any of the people being updated here is still active in the project, just let me know, happy to revert... | https://api.github.com/repos/pandas-dev/pandas/pulls/48119 | 2022-08-17T05:19:20Z | 2022-08-19T17:36:23Z | 2022-08-19T17:36:23Z | 2022-08-19T17:36:23Z |
DOC: GH48097 remove optional from data for DatetimeIndex docs | diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py
index 2625d8c683a0c..835d6a3948724 100644
--- a/pandas/core/indexes/datetimes.py
+++ b/pandas/core/indexes/datetimes.py
@@ -146,8 +146,8 @@ class DatetimeIndex(DatetimeTimedeltaMixin):
Parameters
----------
- data : array-li... | - [x] closes #48097
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/48118 | 2022-08-17T04:33:59Z | 2022-08-17T16:51:05Z | 2022-08-17T16:51:05Z | 2022-08-17T16:51:12Z |
Revert Interval/IntervalIndex/interval_range.inclusive deprecation | diff --git a/asv_bench/benchmarks/reshape.py b/asv_bench/benchmarks/reshape.py
index 89c627865049e..05e12630d7540 100644
--- a/asv_bench/benchmarks/reshape.py
+++ b/asv_bench/benchmarks/reshape.py
@@ -268,9 +268,7 @@ def setup(self, bins):
self.datetime_series = pd.Series(
np.random.randint(N, siz... | xref https://github.com/pandas-dev/pandas/issues/47365#issuecomment-1215904502
Reverts these PRs
https://github.com/pandas-dev/pandas/pull/47775
https://github.com/pandas-dev/pandas/pull/47655
https://github.com/pandas-dev/pandas/pull/47646
https://github.com/pandas-dev/pandas/pull/47636
https://github.com/pa... | https://api.github.com/repos/pandas-dev/pandas/pulls/48116 | 2022-08-17T00:42:41Z | 2022-08-18T15:41:46Z | 2022-08-18T15:41:46Z | 2022-08-18T15:41:50Z |
DEPR: inplace kwarg in set_index | diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst
index f939945fc6cda..92729a16c6a30 100644
--- a/doc/source/user_guide/indexing.rst
+++ b/doc/source/user_guide/indexing.rst
@@ -1723,13 +1723,12 @@ the given columns to a MultiIndex:
frame
Other options in ``set_index`` allow yo... | - [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/48115 | 2022-08-16T19:26:18Z | 2022-08-17T21:19:39Z | 2022-08-17T21:19:39Z | 2022-08-17T21:43:39Z |
Fix spelling error: 'smaller than' -> 'smaller than' | diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py
index 6c32cc98df9ac..4434ed5a8b5f7 100644
--- a/pandas/core/config_init.py
+++ b/pandas/core/config_init.py
@@ -262,7 +262,7 @@ def use_numba_cb(key) -> None:
pc_chop_threshold_doc = """
: float or None
- if set to a float value, all float valu... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/48114 | 2022-08-16T19:02:23Z | 2022-08-16T19:03:57Z | 2022-08-16T19:03:57Z | 2022-08-16T19:04:04Z |
DOC: update contributing to pandas documentation | diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst
index e76197e302ca4..fe4cb005248f3 100644
--- a/doc/source/development/contributing.rst
+++ b/doc/source/development/contributing.rst
@@ -194,30 +194,10 @@ Doing 'git status' again should give something like::
# mo... | - [x] closes #48035
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/48113 | 2022-08-16T18:51:04Z | 2022-09-01T20:24:37Z | 2022-09-01T20:24:37Z | 2022-10-13T16:59:59Z |
revert Timestamp and Timedelta constructors typing allowing NaTType return | diff --git a/pandas/_libs/tslibs/nattype.pyi b/pandas/_libs/tslibs/nattype.pyi
index 0aa80330b15bc..e9ae46cee7aec 100644
--- a/pandas/_libs/tslibs/nattype.pyi
+++ b/pandas/_libs/tslibs/nattype.pyi
@@ -67,8 +67,17 @@ class NaTType:
def round(self) -> NaTType: ...
def floor(self) -> NaTType: ...
def ceil(s... | Re discussion at https://github.com/pandas-dev/pandas/pull/46171#issuecomment-1216906549
Has `Timestamp` and `Timedelta` constructors return union that includes `NaTType`
| https://api.github.com/repos/pandas-dev/pandas/pulls/48112 | 2022-08-16T17:42:26Z | 2022-08-17T00:48:36Z | 2022-08-17T00:48:36Z | 2023-02-13T20:50:28Z |
ENH: Add cumulative methods to ea | diff --git a/doc/source/reference/extensions.rst b/doc/source/reference/extensions.rst
index ce8d8d5c2ca10..595b415ff7342 100644
--- a/doc/source/reference/extensions.rst
+++ b/doc/source/reference/extensions.rst
@@ -32,6 +32,7 @@ objects.
.. autosummary::
:toctree: api/
+ api.extensions.ExtensionArra... | - [x] closes #28385 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/48111 | 2022-08-16T15:31:03Z | 2022-12-13T01:43:52Z | 2022-12-13T01:43:52Z | 2022-12-13T22:32:36Z |
ENH: Support mask in unique | diff --git a/asv_bench/benchmarks/hash_functions.py b/asv_bench/benchmarks/hash_functions.py
index d9a291dc27125..da752b902b4fd 100644
--- a/asv_bench/benchmarks/hash_functions.py
+++ b/asv_bench/benchmarks/hash_functions.py
@@ -39,6 +39,21 @@ def time_unique(self, exponent):
pd.unique(self.a2)
+class Uniq... | - [x] closes #30037 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/48109 | 2022-08-16T10:55:18Z | 2022-08-18T06:16:39Z | 2022-08-18T06:16:39Z | 2022-08-18T07:29:10Z |
DEV: Add gitpod files | diff --git a/.gitpod.yml b/.gitpod.yml
new file mode 100644
index 0000000000000..6bba39823791e
--- /dev/null
+++ b/.gitpod.yml
@@ -0,0 +1,58 @@
+# Building pandas on init
+# Might delegate this later to prebuild with Q2 improvements on gitpod
+# https://www.gitpod.io/docs/config-start-tasks/#configuring-the-terminal
+#... | xref #47790
1. I split the Docker file into 2 Dockers
2. The base Docker includes the pandas environment, and has a new way to run Mamba in Docker, and builds on my machine (M1 mac).
3. The `gitpod.docker` copies the base docker, which will speed things up for any Gitpod user, and includes a shallow clone of the ... | https://api.github.com/repos/pandas-dev/pandas/pulls/48107 | 2022-08-16T10:17:00Z | 2022-12-02T08:41:44Z | 2022-12-02T08:41:44Z | 2022-12-02T08:41:44Z |
REGR: setting numeric value in Categorical Series with enlargement raise internal error | diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py
index 5340bc6b590c4..3dfc544273a64 100644
--- a/pandas/core/dtypes/cast.py
+++ b/pandas/core/dtypes/cast.py
@@ -591,6 +591,12 @@ def _maybe_promote(dtype: np.dtype, fill_value=np.nan):
fv = na_value_for_dtype(dtype)
return dtype, fv
... | - [x] closes #47677 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/48106 | 2022-08-16T09:55:33Z | 2022-08-16T21:23:46Z | 2022-08-16T21:23:46Z | 2022-08-16T21:23:50Z |
ASV: Add asv for clip with date range | diff --git a/asv_bench/benchmarks/series_methods.py b/asv_bench/benchmarks/series_methods.py
index 1d3bd4a357d24..09c318af76159 100644
--- a/asv_bench/benchmarks/series_methods.py
+++ b/asv_bench/benchmarks/series_methods.py
@@ -144,6 +144,16 @@ def time_clip(self, n):
self.s.clip(0, 1)
+class ClipDt:
+ ... | - [x] closes #47955 (Replace xxxx with the Github issue number)
| https://api.github.com/repos/pandas-dev/pandas/pulls/48105 | 2022-08-16T09:25:54Z | 2022-08-16T17:40:51Z | 2022-08-16T17:40:51Z | 2022-08-16T17:41:16Z |
DOC: GH48019 add styler to excel | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index d9264e8a18f2e..bc736773510fa 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2256,6 +2256,7 @@ def to_excel(
ExcelWriter : Class for writing DataFrame objects into excel sheets.
read_excel : Read an Excel file into... | - [x] closes #48019
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/48104 | 2022-08-16T07:18:13Z | 2022-08-16T18:26:26Z | 2022-08-16T18:26:26Z | 2022-08-16T18:26:33Z |
DOC: GH48089 Update doc for df to latex | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index d9264e8a18f2e..93d831105339d 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3351,7 +3351,8 @@ def to_latex(
{returns}
See Also
--------
- Styler.to_latex : Render a DataFrame to LaTeX with conditio... | - [x] closes #48089 (Replace xxxx with the Github issue number)
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
| https://api.github.com/repos/pandas-dev/pandas/pulls/48102 | 2022-08-16T00:40:29Z | 2022-08-16T18:25:32Z | 2022-08-16T18:25:32Z | 2022-08-16T18:32:47Z |
TYP: reshape | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 6cfca4ebdc612..0db4cdf9f5c26 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -8942,7 +8942,7 @@ def explode(
if is_scalar(column) or isinstance(column, tuple):
columns = [column]
elif isinstance(column, list) a... | - [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/48099 | 2022-08-15T22:30:25Z | 2022-08-16T18:29:33Z | 2022-08-16T18:29:33Z | 2022-08-16T19:15:57Z |
CI/TST: Fix test_resample_empty_dataframe for 32 bit build | diff --git a/pandas/tests/resample/test_base.py b/pandas/tests/resample/test_base.py
index 403eeb8db73f9..04f147ee40e62 100644
--- a/pandas/tests/resample/test_base.py
+++ b/pandas/tests/resample/test_base.py
@@ -169,7 +169,7 @@ def test_resample_empty_dataframe(empty_frame_dti, freq, resample_method):
expecte... | - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
xref https://github.com/... | https://api.github.com/repos/pandas-dev/pandas/pulls/48095 | 2022-08-15T20:13:49Z | 2022-08-15T23:09:09Z | 2022-08-15T23:09:09Z | 2022-08-16T10:06:02Z |
BUG: df.__setitem__ casting ea to object when setting with scalar key and frame value | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index a1a2149da7cf6..94167299efa90 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -968,6 +968,7 @@ Indexing
- Bug in :meth:`Index.reindex` raising ``AssertionError`` when ``level`` was specified but no :cl... | - [x] closes #46896 (Replace xxxx with the Github issue number)
- [x] closes #20476 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks... | https://api.github.com/repos/pandas-dev/pandas/pulls/48094 | 2022-08-15T20:01:14Z | 2022-08-17T00:58:24Z | 2022-08-17T00:58:24Z | 2022-08-17T07:39:35Z |
TST: Filter/test pyarrow PerformanceWarnings | diff --git a/pandas/tests/base/test_value_counts.py b/pandas/tests/base/test_value_counts.py
index 55a6cc48ebfc8..762fc060c0ffd 100644
--- a/pandas/tests/base/test_value_counts.py
+++ b/pandas/tests/base/test_value_counts.py
@@ -4,6 +4,9 @@
import numpy as np
import pytest
+from pandas.compat import pa_version_unde... | - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
* Add `tm.maybe_produces... | https://api.github.com/repos/pandas-dev/pandas/pulls/48093 | 2022-08-15T19:13:56Z | 2022-08-19T21:17:14Z | 2022-08-19T21:17:14Z | 2022-08-19T21:41:12Z |
ENH: move an exception and add a prehook to check for exception place… | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index cef3d6aea5d27..da0162ce7e160 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -236,6 +236,14 @@ repos:
entry: python scripts/validate_min_versions_in_sync.py
language: python
files: ^(ci/deps/actions-.*-... | - [x] closes #27656.
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Th... | https://api.github.com/repos/pandas-dev/pandas/pulls/48088 | 2022-08-15T16:49:51Z | 2022-09-20T18:31:49Z | 2022-09-20T18:31:49Z | 2022-10-13T16:59:59Z |
ENH: Make categories setitem error more readable | diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py
index b50ddd42997cb..0d228582992d2 100644
--- a/pandas/core/arrays/categorical.py
+++ b/pandas/core/arrays/categorical.py
@@ -1588,7 +1588,7 @@ def _validate_scalar(self, fill_value):
raise TypeError(
"Canno... | - [X] closes #46646
| https://api.github.com/repos/pandas-dev/pandas/pulls/48087 | 2022-08-15T15:46:16Z | 2022-08-15T18:13:05Z | 2022-08-15T18:13:05Z | 2022-08-15T18:13:14Z |
ENH: Add axis parameter to add_prefix and add_suffix | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 83dfacb46784b..6b7ae767d79d4 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -28,7 +28,7 @@ enhancement2
Other enhancements
^^^^^^^^^^^^^^^^^^
--
+- :meth:`Series.add_suffix`, :meth:`DataFrame.add_... | - [X] closes #47819
- [X] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [X]... | https://api.github.com/repos/pandas-dev/pandas/pulls/48085 | 2022-08-15T12:18:17Z | 2022-08-31T17:14:36Z | 2022-08-31T17:14:36Z | 2022-10-13T16:59:58Z |
REF: avoid internals in merge code | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index 3e3ff68bb8719..50aaac211c7a5 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -83,7 +83,6 @@
import pandas.core.common as com
from pandas.core.construction import extract_array
from pandas.core.frame import ... | After this, concatenate_block_managers is only used in one place. | https://api.github.com/repos/pandas-dev/pandas/pulls/48082 | 2022-08-15T01:53:35Z | 2022-08-17T00:55:02Z | 2022-08-17T00:55:02Z | 2022-09-17T18:56:44Z |
ENH: Add support for groupby.ohlc for ea dtypes | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index b71d294b97f9a..b042f37e71e38 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -287,6 +287,7 @@ Other enhancements
- ``times`` argument in :class:`.ExponentialMovingWindow` now accepts ``np.timedelta64`... | - [x] xref #37493 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/cont... | https://api.github.com/repos/pandas-dev/pandas/pulls/48081 | 2022-08-14T20:10:41Z | 2022-08-15T17:47:37Z | 2022-08-15T17:47:37Z | 2022-08-15T17:48:04Z |
ENH: Support mask for groupby var and mean | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index 2de1f25fceace..90cb31577a1b4 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -560,6 +560,45 @@ def time_frame_agg(self, dtype, method):
self.df.groupby("key").agg(method)
+class GroupB... | - [x] xref #37493 (Replace xxxx with the Github issue number)
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new ... | https://api.github.com/repos/pandas-dev/pandas/pulls/48078 | 2022-08-14T10:11:09Z | 2022-09-02T19:48:13Z | 2022-09-02T19:48:13Z | 2022-10-13T16:59:57Z |
Backport PR #48065 on branch 1.4.x (CI/DEPS: Fix timezone test due to pytz upgrade) | diff --git a/pandas/tests/tseries/offsets/test_dst.py b/pandas/tests/tseries/offsets/test_dst.py
index 50c5a91fc2390..9c6d6a686e9a5 100644
--- a/pandas/tests/tseries/offsets/test_dst.py
+++ b/pandas/tests/tseries/offsets/test_dst.py
@@ -31,6 +31,10 @@
)
from pandas.tests.tseries.offsets.test_offsets import get_utc_... | Backport PR #48065: CI/DEPS: Fix timezone test due to pytz upgrade | https://api.github.com/repos/pandas-dev/pandas/pulls/48076 | 2022-08-14T05:39:14Z | 2022-08-14T09:43:11Z | 2022-08-14T09:43:11Z | 2022-08-14T09:43:11Z |
TST: Address test warnings | diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py
index 8a261f09e7118..f1a8a70674582 100644
--- a/pandas/core/groupby/generic.py
+++ b/pandas/core/groupby/generic.py
@@ -973,7 +973,7 @@ def _aggregate_frame(self, func, *args, **kwargs) -> DataFrame:
result: dict[Hashable, NDFrame | n... | - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
The goal is to enable `p... | https://api.github.com/repos/pandas-dev/pandas/pulls/48075 | 2022-08-14T04:51:56Z | 2022-08-19T21:15:02Z | 2022-08-19T21:15:02Z | 2022-08-19T21:41:04Z |
DEPR: `sort_columns` in `plot` (#47563) | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index b71d294b97f9a..7fe970ef36e14 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -845,6 +845,7 @@ Other Deprecations
- Deprecated unused arguments ``encoding`` and ``verbose`` in :meth:`Series.to_excel` a... | - [x] closes #47563
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x]... | https://api.github.com/repos/pandas-dev/pandas/pulls/48073 | 2022-08-13T20:28:00Z | 2022-08-16T00:07:00Z | 2022-08-16T00:07:00Z | 2022-08-20T12:55:22Z |
TST: Check dtype in test_resample_empty_dataframe | diff --git a/pandas/tests/resample/test_base.py b/pandas/tests/resample/test_base.py
index 1a25749808820..403eeb8db73f9 100644
--- a/pandas/tests/resample/test_base.py
+++ b/pandas/tests/resample/test_base.py
@@ -169,13 +169,13 @@ def test_resample_empty_dataframe(empty_frame_dti, freq, resample_method):
expec... | - [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/48072 | 2022-08-13T18:40:41Z | 2022-08-15T17:27:58Z | 2022-08-15T17:27:58Z | 2022-08-15T19:43:09Z |
ENH: Support mask in GroupBy.cumsum | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 0ceac8aeb9db8..bc5f24e6fb7dd 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -287,7 +287,7 @@ Other enhancements
- ``times`` argument in :class:`.ExponentialMovingWindow` now accepts ``np.timedelta64`... | - [x] xref #37493 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/cont... | https://api.github.com/repos/pandas-dev/pandas/pulls/48070 | 2022-08-13T14:52:58Z | 2022-08-18T18:29:50Z | 2022-08-18T18:29:50Z | 2022-08-18T20:29:13Z |
STYLE: upgrade flake8 | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index dbddba57ef21c..2ca5b5c9b896b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -11,7 +11,7 @@ repos:
- id: absolufy-imports
files: ^pandas/
- repo: https://github.com/jendrikseipp/vulture
- rev: 'v2.4'
+ re... | - [x] closes #48061
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ]... | https://api.github.com/repos/pandas-dev/pandas/pulls/48069 | 2022-08-13T12:48:01Z | 2022-08-14T16:04:09Z | 2022-08-14T16:04:09Z | 2022-08-14T18:14:55Z |
TST: Check index when grouping all columns of empty DF (#32464) | diff --git a/pandas/tests/groupby/test_function.py b/pandas/tests/groupby/test_function.py
index 93e9b5bb776ab..45ac77bac9e02 100644
--- a/pandas/tests/groupby/test_function.py
+++ b/pandas/tests/groupby/test_function.py
@@ -1574,3 +1574,15 @@ def test_corrwith_with_1_axis():
)
expected = Series([np.nan] * 6,... | - [x] closes #32464
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x]... | https://api.github.com/repos/pandas-dev/pandas/pulls/48067 | 2022-08-13T00:54:30Z | 2022-08-15T21:11:53Z | 2022-08-15T21:11:53Z | 2022-08-20T12:55:28Z |
CI: Avoid flaky build errors & show installed packages in 32 bit build | diff --git a/.github/workflows/32-bit-linux.yml b/.github/workflows/32-bit-linux.yml
index e091160c952f8..67e99b4486a12 100644
--- a/.github/workflows/32-bit-linux.yml
+++ b/.github/workflows/32-bit-linux.yml
@@ -39,8 +39,9 @@ jobs:
. ~/virtualenvs/pandas-dev/bin/activate && \
python -m pip instal... | xref #47305 & https://github.com/pandas-dev/pandas/pull/48065#discussion_r944893462
| https://api.github.com/repos/pandas-dev/pandas/pulls/48066 | 2022-08-12T22:30:17Z | 2022-08-17T01:59:13Z | 2022-08-17T01:59:13Z | 2022-08-17T02:12:14Z |
CI/DEPS: Fix timezone test due to pytz upgrade | diff --git a/pandas/tests/tseries/offsets/test_dst.py b/pandas/tests/tseries/offsets/test_dst.py
index 50c5a91fc2390..9c6d6a686e9a5 100644
--- a/pandas/tests/tseries/offsets/test_dst.py
+++ b/pandas/tests/tseries/offsets/test_dst.py
@@ -31,6 +31,10 @@
)
from pandas.tests.tseries.offsets.test_offsets import get_utc_... | - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
| https://api.github.com/repos/pandas-dev/pandas/pulls/48065 | 2022-08-12T19:16:03Z | 2022-08-14T05:38:44Z | 2022-08-14T05:38:44Z | 2022-08-14T05:38:47Z |
BUG: Groupby cumprod nan influences other columns with skipna False | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index b71d294b97f9a..92a99098db05c 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -1075,6 +1075,7 @@ Groupby/resample/rolling
- Bug in :meth:`.GroupBy.cummin` and :meth:`.GroupBy.cummax` with nullable dtyp... | - [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/48064 | 2022-08-12T19:13:39Z | 2022-08-15T17:25:23Z | 2022-08-15T17:25:23Z | 2022-08-15T17:27:57Z |
fixed docstring error with pandas.Series.plot.area:Unknown parameter: {'stacked'} | diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py
index 96f9abb301471..8d6c2062f9484 100644
--- a/pandas/plotting/_core.py
+++ b/pandas/plotting/_core.py
@@ -1484,7 +1484,7 @@ def kde(self, bw_method=None, ind=None, **kwargs) -> PlotAccessor:
density = kde
- def area(self, x=None, y=None, **k... | When you run python `./scripts/validate_docstrings.py --errors=PR02`, one of the errors is `/home/pandas/pandas/plotting/_core.py:1470:PR02:pandas.Series.plot.area:Unknown parameters {'stacked'}`
The error I believe is because "stacked" is declared in the docstring, but is not a parameter within the function. Even t... | https://api.github.com/repos/pandas-dev/pandas/pulls/48063 | 2022-08-12T18:29:42Z | 2022-08-26T21:40:24Z | 2022-08-26T21:40:24Z | 2022-08-26T21:40:47Z |
REF: make copy keyword non-stateful | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index cb392eee1d589..799becbc652f6 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -117,11 +117,10 @@ def merge(
right_index=right_index,
sort=sort,
suffixes=suffixes,
- copy=copy,
... | - [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/48062 | 2022-08-12T17:42:40Z | 2022-08-15T17:21:13Z | 2022-08-15T17:21:13Z | 2022-08-15T17:42:53Z |
REGR: Avoid overflow with groupby sum | diff --git a/pandas/_libs/algos.pyi b/pandas/_libs/algos.pyi
index 9ffcf25f6eacd..5a2005722c85c 100644
--- a/pandas/_libs/algos.pyi
+++ b/pandas/_libs/algos.pyi
@@ -132,6 +132,7 @@ def ensure_int8(arr: object, copy=...) -> npt.NDArray[np.int8]: ...
def ensure_int16(arr: object, copy=...) -> npt.NDArray[np.int16]: ...
... | This is the alternative to #48044.
I would very much prefer this one, even though it is a bit slower.
cc @mroeschke cc @jorisvandenbossche | https://api.github.com/repos/pandas-dev/pandas/pulls/48059 | 2022-08-12T15:53:33Z | 2022-08-12T19:09:38Z | 2022-08-12T19:09:38Z | 2022-08-12T19:09:41Z |
REGR: fix reset_index (Index.insert) regression with custom Index subclasses | diff --git a/doc/source/whatsnew/v1.4.4.rst b/doc/source/whatsnew/v1.4.4.rst
index 25db2ef7253d9..b09d14010545c 100644
--- a/doc/source/whatsnew/v1.4.4.rst
+++ b/doc/source/whatsnew/v1.4.4.rst
@@ -22,6 +22,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrame.loc` not aligning index in some cases when setting ... | - [x] closes #47071
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.
I added a new ... | https://api.github.com/repos/pandas-dev/pandas/pulls/48058 | 2022-08-12T14:41:46Z | 2022-08-22T19:46:20Z | 2022-08-22T19:46:20Z | 2022-08-23T05:07:42Z |
REGR: fix regression in scalar setitem with setting a length-1 array-like | diff --git a/doc/source/whatsnew/v1.4.4.rst b/doc/source/whatsnew/v1.4.4.rst
index 57b8fdee5888a..32b4d1f8a8012 100644
--- a/doc/source/whatsnew/v1.4.4.rst
+++ b/doc/source/whatsnew/v1.4.4.rst
@@ -18,6 +18,7 @@ Fixed regressions
- Fixed regression in :func:`concat` materializing :class:`Index` during sorting even if :... | - [x] closes #46268
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x]... | https://api.github.com/repos/pandas-dev/pandas/pulls/48057 | 2022-08-12T13:22:48Z | 2022-08-19T17:26:20Z | 2022-08-19T17:26:20Z | 2022-08-22T11:03:51Z |
Fixed docstring error with style.py, unknown parameter: {'text_color_threshold'} | diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py
index 0522e113d6525..fe10d4e312a1e 100644
--- a/pandas/io/formats/style.py
+++ b/pandas/io/formats/style.py
@@ -2987,7 +2987,10 @@ def _get_numeric_subset_default(self):
name="background",
alt="text",
image_prefix="bg",
- ... | When you run python` ./scripts/validate_docstrings.py --errors=PR02`, one of the errors is `/home/pandas/pandas/io/formats/style.py:3144:PR02:pandas.io.formats.style.Styler.text_gradient:Unknown parameters {'text_color_threshold'}`
The error I believe was because the function text_gradient was using the doc-string f... | https://api.github.com/repos/pandas-dev/pandas/pulls/48055 | 2022-08-12T10:48:08Z | 2022-08-18T15:43:06Z | 2022-08-18T15:43:06Z | 2022-08-18T15:43:15Z |
DOC: add source link to properties | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 33c916f532e90..84958595f6618 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -653,12 +653,20 @@ def linkcode_resolve(domain, info):
try:
fn = inspect.getsourcefile(inspect.unwrap(obj))
except TypeError:
- fn = None
+ ... | The current version of `linkcode_resolve` is unable to handle properties and ignore them. Hence there are no links to the source code for properties unlike for everything else. This add support to properties I did in https://github.com/geopandas/geopandas/pull/2526#issuecomment-1212926545 which is based on pandas code,... | https://api.github.com/repos/pandas-dev/pandas/pulls/48054 | 2022-08-12T10:05:30Z | 2022-08-12T20:04:40Z | 2022-08-12T20:04:39Z | 2022-08-12T21:09:13Z |
WEB: Update list of maintainers and improve inactive maintainers format | diff --git a/web/pandas/about/team.md b/web/pandas/about/team.md
index 2982105616f47..261d577b2abc1 100644
--- a/web/pandas/about/team.md
+++ b/web/pandas/about/team.md
@@ -6,10 +6,10 @@ _pandas_ is made with love by more than [2,000 volunteer contributors](https://g
If you want to support pandas development, you ca... | - Adding @lithomas1 and @mzeitlin11 to the maintainers list in the website (sorry it wasn't done when you were promoted)
- Moving @shoyer, @chris-b1 and @toobaz to inactive, renaming the section "Inactive maintainers", and using the same logic to display the names with links as we have for active maintainers
| https://api.github.com/repos/pandas-dev/pandas/pulls/48053 | 2022-08-12T05:59:34Z | 2022-08-12T17:59:44Z | 2022-08-12T17:59:44Z | 2022-08-12T17:59:51Z |
REF: dont alter self in _validate_specification | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index cb392eee1d589..c84926deb314e 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -639,8 +639,6 @@ def __init__(
self.axis = 1 - axis if self.left.ndim == 2 else 0
self.on = com.maybe_make_list(... | Besides being better-practice, this will make it easier to annotate. Done separately bc im tracking down what appear to be incorrect annotations that need to be fixed in order to annotate these methods. | https://api.github.com/repos/pandas-dev/pandas/pulls/48051 | 2022-08-11T23:39:17Z | 2022-08-15T16:08:15Z | 2022-08-15T16:08:15Z | 2022-08-15T16:14:04Z |
ENH: allow user to infer SAS file encoding; add correct encoding names | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 405b8cc0a5ded..252a618150aff 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -28,6 +28,7 @@ enhancement2
Other enhancements
^^^^^^^^^^^^^^^^^^
+- :func:`read_sas` now supports using ``encoding='inf... | - [x] closes #48048 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/48050 | 2022-08-11T22:32:14Z | 2022-09-19T23:21:57Z | 2022-09-19T23:21:57Z | 2022-10-13T16:59:56Z |
ENH: set_index copy kwd | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 6bf0f288645b7..599ef6150168a 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -293,6 +293,7 @@ Other enhancements
- :meth:`RangeIndex.union` now can return a :class:`RangeIndex` instead of a :class:`In... | - [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con... | https://api.github.com/repos/pandas-dev/pandas/pulls/48043 | 2022-08-11T20:43:58Z | 2022-08-12T18:17:09Z | 2022-08-12T18:17:09Z | 2022-08-13T17:59:20Z |
TST: GH39984 Addition to tests | diff --git a/pandas/tests/indexes/multi/test_constructors.py b/pandas/tests/indexes/multi/test_constructors.py
index 7fad59fc6654c..4dc3c5a4ae8b9 100644
--- a/pandas/tests/indexes/multi/test_constructors.py
+++ b/pandas/tests/indexes/multi/test_constructors.py
@@ -7,6 +7,8 @@
import numpy as np
import pytest
+from ... | - [x] closes #39984 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/48042 | 2022-08-11T20:41:51Z | 2022-08-26T19:02:55Z | 2022-08-26T19:02:55Z | 2022-10-13T16:59:56Z |
CI: Include FutureWarning from numpy in npdev build | diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index a759280c74521..c4398efb12c3d 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -64,7 +64,7 @@ jobs:
env_file: actions-310-numpydev.yaml
pattern: "not slow and not network and not single... | - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
xref https://github.com/pandas-dev/pandas/pull/46767#discussion_r849950834
cc @jbrockmendel
| https://api.github.com/repos/pandas-dev/pandas/pulls/48041 | 2022-08-11T19:22:13Z | 2022-08-17T01:59:32Z | 2022-08-17T01:59:32Z | 2022-08-17T02:12:07Z |
REF: make indicator_name a cache_readonly | diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py
index cb392eee1d589..659cb1d2f6838 100644
--- a/pandas/core/reshape/merge.py
+++ b/pandas/core/reshape/merge.py
@@ -35,6 +35,7 @@
from pandas.util._decorators import (
Appender,
Substitution,
+ cache_readonly,
)
from pandas.util._e... | Too much going on in `__init__` ATM. | https://api.github.com/repos/pandas-dev/pandas/pulls/48040 | 2022-08-11T18:20:08Z | 2022-08-12T18:26:17Z | 2022-08-12T18:26:17Z | 2022-08-12T18:42:04Z |
Doc: Series.rename parameter documentation with Tests | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 206fcbe05d006..c96a5c7f15e71 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -4859,17 +4859,23 @@ def rename(
Parameters
----------
- axis : {0 or 'index'}
- Unused. Parameter needed for compatibilit... | - [x] closes #46889
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
| https://api.github.com/repos/pandas-dev/pandas/pulls/48036 | 2022-08-11T11:51:04Z | 2022-08-12T18:02:05Z | 2022-08-12T18:02:04Z | 2022-08-12T18:02:12Z |
TST: catch some test warnings | diff --git a/pandas/tests/apply/test_frame_apply.py b/pandas/tests/apply/test_frame_apply.py
index 1ef0865fff552..ff3abaf819206 100644
--- a/pandas/tests/apply/test_frame_apply.py
+++ b/pandas/tests/apply/test_frame_apply.py
@@ -1583,7 +1583,7 @@ def test_apply_on_empty_dataframe():
# GH 39111
df = DataFrame(... | I get a hundred and change warnings locally when I run the test suite, am surprised the npdev build isn't failing on these. This gets a handful of them. | https://api.github.com/repos/pandas-dev/pandas/pulls/48031 | 2022-08-11T01:06:09Z | 2022-08-11T16:57:49Z | 2022-08-11T16:57:49Z | 2022-08-11T19:04:57Z |
BUG: use uuid4 instead of md5 for fake column in cross merge | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index a0d33cb513722..d794692de5005 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -1095,6 +1095,7 @@ Reshaping
- Bug in :func:`concat` not sorting the column names when ``None`` is included (:issue:`47331`... | - [x] closes #48024 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/48029 | 2022-08-10T21:40:08Z | 2022-08-11T00:55:24Z | 2022-08-11T00:55:24Z | 2022-08-11T10:30:51Z |
ENH: Support masks in groupby prod | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index c197f3df45814..6522a8008aee6 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -1112,7 +1112,7 @@ Groupby/resample/rolling
- Bug when using ``engine="numba"`` would return the same jitted function when ... | - [x] xref #37493 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/cont... | https://api.github.com/repos/pandas-dev/pandas/pulls/48027 | 2022-08-10T21:05:14Z | 2022-08-29T21:44:03Z | 2022-08-29T21:44:03Z | 2022-08-29T21:46:21Z |
DEPR fixup warning message of MultiIndex.lexsort_depth deprecation | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index a0d33cb513722..f51f31af4799a 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -843,6 +843,7 @@ Other Deprecations
- Deprecated setting a categorical's categories with ``cat.categories = ['a', 'b', 'c']... | xref https://github.com/pandas-dev/pandas/pull/38701/files#r942749562 | https://api.github.com/repos/pandas-dev/pandas/pulls/48025 | 2022-08-10T18:49:20Z | 2022-08-12T11:38:52Z | 2022-08-12T11:38:52Z | 2022-08-12T11:40:47Z |
PERF cache find_stack_level | diff --git a/pandas/_libs/interval.pyx b/pandas/_libs/interval.pyx
index ec1dbff6903e7..bcd85f915e4a2 100644
--- a/pandas/_libs/interval.pyx
+++ b/pandas/_libs/interval.pyx
@@ -1,3 +1,4 @@
+import inspect
import numbers
from operator import (
le,
@@ -45,6 +46,7 @@ cnp.import_array()
import warnings
from pand... | This would be a precursor to #47998 and #47828. If repeatedly calling `find_stack_level`, then performance takes a hit
Demo of impact: if we run the file
```python
import cProfile
import pstats, cProfile
import re
import pandas as pd
data = pd.date_range('1990', '2000').strftime('%d/%m/%Y').tolist()
def... | https://api.github.com/repos/pandas-dev/pandas/pulls/48023 | 2022-08-10T13:20:49Z | 2022-08-11T16:53:53Z | 2022-08-11T16:53:53Z | 2022-10-14T08:00:43Z |
ENH: change get_dummies default dtype to bool | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index bdaea89776b7c..0cad6f3caaf91 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -118,6 +118,7 @@ Other API changes
^^^^^^^^^^^^^^^^^
- Passing ``nanoseconds`` greater than 999 or less than 0 in :class:`... | Added a future warning when no dtype is passed to `get_dummies` stating the the default dtype will change to `bool` from `np.uint8`
- [x] Closes #45848
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new featur... | https://api.github.com/repos/pandas-dev/pandas/pulls/48022 | 2022-08-10T11:51:16Z | 2022-10-11T16:29:10Z | 2022-10-11T16:29:10Z | 2023-03-01T07:26:05Z |
ENH: Support mask in groupby sum | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 502e37705abfb..e2cd7cb472ea5 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -1047,6 +1047,7 @@ Groupby/resample/rolling
- Bug when using ``engine="numba"`` would return the same jitted function when ... | - [x] xref #37493 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/cont... | https://api.github.com/repos/pandas-dev/pandas/pulls/48018 | 2022-08-09T21:12:19Z | 2022-08-11T17:23:53Z | 2022-08-11T17:23:53Z | 2022-08-12T18:29:10Z |
BUG: iloc raising for ea and null slice and length one list | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index 20997bdde5da1..46c375b92dd83 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -1725,6 +1725,9 @@ def _unwrap_setitem_indexer(self, indexer):
elif com.is_null_slice(indexer[1]):
... | This is also a regression on main
| https://api.github.com/repos/pandas-dev/pandas/pulls/48016 | 2022-08-09T17:49:52Z | 2022-08-09T19:43:46Z | 2022-08-09T19:43:46Z | 2022-08-09T21:12:52Z |
DOC: Update whatsnew 1.5 | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 502e37705abfb..e5ef9b16b62eb 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -932,8 +932,7 @@ Indexing
- Bug in setting a NA value (``None`` or ``np.nan``) into a :class:`Series` with int-based :class... | Accidentially stumbled across the fact, that this was a regression on main, not in our releases. Hence, removed the whatsnew
| https://api.github.com/repos/pandas-dev/pandas/pulls/48013 | 2022-08-09T06:40:56Z | 2022-08-09T18:34:15Z | 2022-08-09T18:34:15Z | 2022-08-09T18:55:11Z |
DOC: Add examples to frequency classes and methods | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index e7c3a709bb251..d553c0d77bc56 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -367,7 +367,23 @@ cdef class BaseOffset:
def __init__(self, n=1, normalize=False):
n = self._validate_n(n)... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
The goal is to eventually enable the `EX01` (all docstrings have examples), so adding simple examples to the public frequency classes and methods. | https://api.github.com/repos/pandas-dev/pandas/pulls/48011 | 2022-08-09T04:24:03Z | 2022-08-10T21:00:37Z | 2022-08-10T21:00:37Z | 2022-08-10T21:00:40Z |
TST: Refactor index setops test for xdist stability | diff --git a/pandas/conftest.py b/pandas/conftest.py
index e176707d8a8f1..c3c1867d2dad1 100644
--- a/pandas/conftest.py
+++ b/pandas/conftest.py
@@ -665,21 +665,6 @@ def index_flat(request):
index_flat2 = index_flat
-@pytest.fixture(
- params=[
- key
- for key in indices_dict
- if not isins... | - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
It appears `pytest-xdist... | https://api.github.com/repos/pandas-dev/pandas/pulls/48010 | 2022-08-09T04:20:06Z | 2022-08-09T16:46:06Z | 2022-08-09T16:46:06Z | 2022-08-09T16:46:09Z |
Backport PR #47979 on branch 1.4.x (DEPS: Update cython) | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index 46640505a4c84..b1ea2682b7ea7 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -42,7 +42,7 @@
// followed by the pip installed packages).
"matrix": {
"numpy": [],
- "Cython": ["0.29.30"],
+ "Cython"... | Backport PR #47979 | https://api.github.com/repos/pandas-dev/pandas/pulls/48009 | 2022-08-08T19:13:16Z | 2022-08-08T21:28:08Z | 2022-08-08T21:28:08Z | 2023-02-22T11:40:50Z |
BUG: Fixed ignoring of nanoseconds when adding to series #47856 | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 0b450fab53137..aece8caef65f1 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -824,6 +824,7 @@ Datetimelike
- Bug in :meth:`DatetimeIndex.resolution` incorrectly returning "day" instead of "nanosecond"... | - [ ] closes #47856 (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/48008 | 2022-08-08T17:52:55Z | 2022-08-10T00:12:34Z | 2022-08-10T00:12:34Z | 2022-08-10T00:12:40Z |
BUG in read_pickle | diff --git a/pandas/io/pickle.py b/pandas/io/pickle.py
index 2928d8c6520b0..373d608876c3e 100644
--- a/pandas/io/pickle.py
+++ b/pandas/io/pickle.py
@@ -160,11 +160,14 @@ def read_pickle(
Notes
-----
- read_pickle is only guaranteed to be backwards compatible to pandas 0.20.3.
+ read_pickle is only gu... | - [x] closes #47895
- [x] passes all checks
- [ ] Fixed note in the latest `pandas/io/pickle.py`
| https://api.github.com/repos/pandas-dev/pandas/pulls/48007 | 2022-08-08T15:54:11Z | 2022-08-09T19:10:46Z | 2022-08-09T19:10:46Z | 2022-08-09T19:11:33Z |
DOC: move release note for #47581 | diff --git a/doc/source/whatsnew/v1.4.4.rst b/doc/source/whatsnew/v1.4.4.rst
index dce8fb60ecdd6..b4224b5b210e0 100644
--- a/doc/source/whatsnew/v1.4.4.rst
+++ b/doc/source/whatsnew/v1.4.4.rst
@@ -16,6 +16,7 @@ Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :func:`concat` materializing :class:`Index` durin... | xref https://github.com/pandas-dev/pandas/pull/47581#issuecomment-1179682819 | https://api.github.com/repos/pandas-dev/pandas/pulls/48006 | 2022-08-08T13:13:41Z | 2022-08-08T14:38:28Z | 2022-08-08T14:38:28Z | 2022-08-08T14:38:37Z |
DOC: move release note for #47905 | diff --git a/doc/source/whatsnew/v1.4.4.rst b/doc/source/whatsnew/v1.4.4.rst
index a49772fb83ca7..dce8fb60ecdd6 100644
--- a/doc/source/whatsnew/v1.4.4.rst
+++ b/doc/source/whatsnew/v1.4.4.rst
@@ -27,7 +27,6 @@ Bug fixes
~~~~~~~~~
- The :class:`errors.FutureWarning` raised when passing arguments (other than ``filepat... | xref https://github.com/pandas-dev/pandas/pull/47925#issuecomment-1207902781 | https://api.github.com/repos/pandas-dev/pandas/pulls/48005 | 2022-08-08T09:51:13Z | 2022-08-08T13:07:26Z | 2022-08-08T13:07:26Z | 2022-08-08T13:07:30Z |
TYP: annotate functions that always error with NoReturn | diff --git a/pandas/core/groupby/ops.py b/pandas/core/groupby/ops.py
index d6b63956422c7..5feed98cbc75b 100644
--- a/pandas/core/groupby/ops.py
+++ b/pandas/core/groupby/ops.py
@@ -15,6 +15,7 @@
Generic,
Hashable,
Iterator,
+ NoReturn,
Sequence,
final,
)
@@ -1243,7 +1244,7 @@ def groupings(... | There are more non-abstract functions that also error. Most of them should probably be abstract functions. I ignored those functions. | https://api.github.com/repos/pandas-dev/pandas/pulls/48002 | 2022-08-07T15:52:33Z | 2022-08-08T21:17:53Z | 2022-08-08T21:17:53Z | 2022-09-10T01:38:43Z |
WARN,TST check stacklevel for all warnings | diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst
index c74c44fb1d5f0..bc85a54e61f22 100644
--- a/doc/source/development/contributing_codebase.rst
+++ b/doc/source/development/contributing_codebase.rst
@@ -122,6 +122,7 @@ Otherwise, you need to do it manual... | - [ ] closes #47919 (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/47998 | 2022-08-07T09:51:14Z | 2022-08-17T22:00:08Z | 2022-08-17T22:00:08Z | 2022-08-17T22:00:08Z |
Added improvements in to_datetime Error reporting message | diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx
index fe4078f611f7e..55057ff628619 100644
--- a/pandas/_libs/tslib.pyx
+++ b/pandas/_libs/tslib.pyx
@@ -595,7 +595,7 @@ cpdef array_to_datetime(
continue
elif is_raise:
... | - closes https://github.com/pandas-dev/pandas/issues/16757
- Changes description
: For issue https://github.com/pandas-dev/pandas/issues/16757 - added more details in error message about field and its position causing the issue in pandas/_libs/tslib.pyx in array_to_datetime
- Examples of changed error message... | https://api.github.com/repos/pandas-dev/pandas/pulls/47995 | 2022-08-06T21:56:14Z | 2022-08-16T18:35:24Z | 2022-08-16T18:35:24Z | 2022-08-31T18:22:03Z |
BUG: compare returning all nan columns when comparing ea and np dtypes | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index bdf811f6a8f6a..790aa5cefb29f 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -908,6 +908,8 @@ Indexing
- Bug in :meth:`DataFrame.mask` with ``inplace=True`` and ``ExtensionDtype`` columns incorrectly ... | - [x] closes #44014 (Replace xxxx with the Github issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co... | https://api.github.com/repos/pandas-dev/pandas/pulls/47994 | 2022-08-06T21:41:39Z | 2022-08-08T21:25:56Z | 2022-08-08T21:25:56Z | 2022-08-08T21:29:06Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.