title
stringlengths
1
185
diff
stringlengths
0
32.2M
body
stringlengths
0
123k
url
stringlengths
57
58
created_at
stringlengths
20
20
closed_at
stringlengths
20
20
merged_at
stringlengths
20
20
updated_at
stringlengths
20
20
CI: skip checking freq on flaky pytables test
diff --git a/pandas/tests/io/pytables/test_store.py b/pandas/tests/io/pytables/test_store.py index 819f8ed9bc07f..cb281e7cafd1f 100644 --- a/pandas/tests/io/pytables/test_store.py +++ b/pandas/tests/io/pytables/test_store.py @@ -650,7 +650,9 @@ def test_coordinates(setup_path): expected = concat([df1, df2], ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/39262
2021-01-18T23:27:56Z
2021-01-19T16:21:05Z
2021-01-19T16:21:05Z
2021-01-19T16:23:39Z
REGR: fix numpy accumulate ufuncs for DataFrame
diff --git a/doc/source/whatsnew/v1.2.1.rst b/doc/source/whatsnew/v1.2.1.rst index 4e583ce4d3af9..4d41a2998bbb5 100644 --- a/doc/source/whatsnew/v1.2.1.rst +++ b/doc/source/whatsnew/v1.2.1.rst @@ -32,6 +32,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.replace` raising ``ValueError`` when :class:`DataFr...
Closes #39259 So we shouldn't call non-`__call__` ufuncs block-by-block, since they can work along a certain axis, like `accumulate`. In this case there were 2 problems: 1) we were applying the ufunc on the Block values, which is 2D but transposed compared to the DataFrame (so the accumulation was done in the wrong ...
https://api.github.com/repos/pandas-dev/pandas/pulls/39260
2021-01-18T21:33:49Z
2021-01-19T16:19:24Z
2021-01-19T16:19:24Z
2021-01-19T18:00:19Z
DEPR: astype dt64<->dt64tz
diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index 8909f5b33066b..01ff62d984544 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -2605,17 +2605,10 @@ For example, to localize and convert a naive stamp to time zone aware. s_na...
- [x] closes #38622 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/39258
2021-01-18T17:49:00Z
2021-01-21T15:15:19Z
2021-01-21T15:15:19Z
2021-01-21T15:23:36Z
CLN refactor maybe-castable
diff --git a/pandas/core/construction.py b/pandas/core/construction.py index 640c8d66807ad..8aa3d7900e8e9 100644 --- a/pandas/core/construction.py +++ b/pandas/core/construction.py @@ -588,9 +588,13 @@ def _try_cast(arr, dtype: Optional[DtypeObj], copy: bool, raise_cast_failure: bo Otherwise an object array is...
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them extracted from #37586
https://api.github.com/repos/pandas-dev/pandas/pulls/39257
2021-01-18T16:58:22Z
2021-02-07T16:36:59Z
2021-02-07T16:36:59Z
2021-02-11T11:53:37Z
DOC: keep color for note admonitions in sphinx theme
diff --git a/doc/source/_static/css/pandas.css b/doc/source/_static/css/pandas.css index 43cd631890330..403d182e3d3e5 100644 --- a/doc/source/_static/css/pandas.css +++ b/doc/source/_static/css/pandas.css @@ -1,3 +1,10 @@ +/* Override some aspects of the pydata-sphinx-theme */ + +:root { + /* Use softer blue from boot...
This doesn't change anything about the appearance in the docs, but is meant to keep the current look anticipating a change in the default color in the theme upstream (https://github.com/pandas-dev/pydata-sphinx-theme/pull/281)
https://api.github.com/repos/pandas-dev/pandas/pulls/39256
2021-01-18T16:54:05Z
2021-01-19T08:33:15Z
2021-01-19T08:33:15Z
2021-01-19T08:33:20Z
Backport PR #39202 on branch 1.2.x
diff --git a/doc/source/whatsnew/v1.2.1.rst b/doc/source/whatsnew/v1.2.1.rst index 2d9290dda060a..1a243c846d01c 100644 --- a/doc/source/whatsnew/v1.2.1.rst +++ b/doc/source/whatsnew/v1.2.1.rst @@ -17,6 +17,7 @@ Fixed regressions - Fixed regression in :meth:`~DataFrame.to_csv` that created corrupted zip files when ther...
https://api.github.com/repos/pandas-dev/pandas/pulls/39255
2021-01-18T16:05:47Z
2021-01-18T19:03:52Z
2021-01-18T19:03:52Z
2021-01-18T21:07:13Z
REGR: codecs.open() is always opened in text mode
diff --git a/doc/source/whatsnew/v1.2.1.rst b/doc/source/whatsnew/v1.2.1.rst index 24ba9be4383eb..4e583ce4d3af9 100644 --- a/doc/source/whatsnew/v1.2.1.rst +++ b/doc/source/whatsnew/v1.2.1.rst @@ -15,6 +15,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`~Data...
- [x] closes #39247 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/39253
2021-01-18T15:38:54Z
2021-01-19T13:58:32Z
2021-01-19T13:58:31Z
2021-01-19T21:50:22Z
Backport PR #39235 on branch 1.2.x (Revert "Inconsistent indexes for tick label plotting (#28733)")
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 8e9361125513b..95757448a7978 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -751,7 +751,7 @@ Plotting - Bug in :meth:`DataFrame.plot` was rotating xticklabels when ``subplots=True``, even if the x-...
Backport PR #39235: Revert "Inconsistent indexes for tick label plotting (#28733)"
https://api.github.com/repos/pandas-dev/pandas/pulls/39252
2021-01-18T15:20:00Z
2021-01-18T16:10:44Z
2021-01-18T16:10:44Z
2021-01-18T16:10:44Z
Backport PR #39246 on branch 1.2.x (DOC: clean-up of v1.2.1 whatsnew)
diff --git a/doc/source/whatsnew/v1.2.1.rst b/doc/source/whatsnew/v1.2.1.rst index 411eeed1714f1..2d9290dda060a 100644 --- a/doc/source/whatsnew/v1.2.1.rst +++ b/doc/source/whatsnew/v1.2.1.rst @@ -14,26 +14,25 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ -- Fixed regression in :meth:`t...
Backport PR #39246: DOC: clean-up of v1.2.1 whatsnew
https://api.github.com/repos/pandas-dev/pandas/pulls/39248
2021-01-18T10:55:54Z
2021-01-18T11:48:13Z
2021-01-18T11:48:13Z
2021-01-18T11:48:13Z
DOC: clean-up of v1.2.1 whatsnew
diff --git a/doc/source/whatsnew/v1.2.1.rst b/doc/source/whatsnew/v1.2.1.rst index 411eeed1714f1..2d9290dda060a 100644 --- a/doc/source/whatsnew/v1.2.1.rst +++ b/doc/source/whatsnew/v1.2.1.rst @@ -14,26 +14,25 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ -- Fixed regression in :meth:`t...
First commit is fixing links to the reference docs (many were not actually working links), the second commit is just a reorder to group related ones together (but together it makes the diff a bit difficult to interpret) cc @simonjayhawkins
https://api.github.com/repos/pandas-dev/pandas/pulls/39246
2021-01-18T09:16:39Z
2021-01-18T10:55:38Z
2021-01-18T10:55:38Z
2021-01-18T10:56:28Z
ENH: Make Timestamp implementation bounds match DTA/DTI/Series
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index b1b38505b9476..9578fed2d1fd9 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -447,10 +447,10 @@ cpdef array_to_datetime( raise ValueError('Tz-aware datetime.datetime ' ...
- [x] xref #24124 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/39245
2021-01-17T23:01:12Z
2021-01-20T22:08:09Z
2021-01-20T22:08:09Z
2022-02-25T21:57:14Z
BUG: Timestamp.round floating point error
diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index eed712ae7de0f..b902aceff62a7 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -233,6 +233,7 @@ Datetimelike - Bug in :meth:`DatetimeIndex.intersection`, :meth:`DatetimeIndex.symmetric_difference`, :met...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry xref #38964 analogous bug in Timedelta (separate PR upcoming) ``` ts = pd.Timestamp.max...
https://api.github.com/repos/pandas-dev/pandas/pulls/39244
2021-01-17T22:46:46Z
2021-01-21T17:36:50Z
2021-01-21T17:36:50Z
2021-01-21T18:22:40Z
Updated Comparison to Excel documentation with code example of read_excel and to_excel for #38990
diff --git a/doc/source/getting_started/comparison/comparison_with_spreadsheets.rst b/doc/source/getting_started/comparison/comparison_with_spreadsheets.rst index 13029173b2e65..55f999c099e23 100644 --- a/doc/source/getting_started/comparison/comparison_with_spreadsheets.rst +++ b/doc/source/getting_started/comparison/...
- This is my first time contributing - please let me know if any other detail is needed! Essentially I just swapped the order of the "Excel" and "CSV" paragraphs in the data importing section, so that the examples given for to_excel and read_excel would flow from the CSV example without needing repeated code/codeblocks...
https://api.github.com/repos/pandas-dev/pandas/pulls/39242
2021-01-17T22:02:49Z
2021-01-21T23:41:08Z
2021-01-21T23:41:08Z
2021-01-21T23:41:12Z
DEPR: raise deprecation warning in numpy ufuncs on DataFrames if not aligned + fallback to <1.2.0 behaviour
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 95757448a7978..dfd23309faaef 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -286,6 +286,8 @@ Other enhancements - Added methods :meth:`IntegerArray.prod`, :meth:`IntegerArray.min`, and :meth:`Integer...
Closes #39184 This is obviously a last-minute change, but if people agree on the deprecation, I think we should try to include it in v1.2.1. I *think* my patch is relatively safe, since converting the input to numpy arrays (what I am doing now manually as fallback) is what happened before adding `DataFrame.__array_u...
https://api.github.com/repos/pandas-dev/pandas/pulls/39239
2021-01-17T20:15:01Z
2021-01-20T07:22:57Z
2021-01-20T07:22:57Z
2021-01-20T09:42:33Z
CLN: remove unused axis kwarg from Block.putmask
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 6a80fa3e93362..857b97f58d8a0 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8935,9 +8935,7 @@ def _where( # reconstruct the block manager self._check_inplace_setting(other) - new_data = self._...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/39238
2021-01-17T19:11:11Z
2021-01-19T18:11:37Z
2021-01-19T18:11:37Z
2021-01-19T18:15:08Z
Backport PR #39233 on branch 1.2.x (DOC: 1.2.1 release date)
diff --git a/doc/source/whatsnew/v1.2.1.rst b/doc/source/whatsnew/v1.2.1.rst index fa5347aa7a507..411eeed1714f1 100644 --- a/doc/source/whatsnew/v1.2.1.rst +++ b/doc/source/whatsnew/v1.2.1.rst @@ -1,6 +1,6 @@ .. _whatsnew_121: -What's new in 1.2.1 (January ??, 2021) +What's new in 1.2.1 (January 18, 2021) ---------...
Backport PR #39233: DOC: 1.2.1 release date
https://api.github.com/repos/pandas-dev/pandas/pulls/39237
2021-01-17T19:10:46Z
2021-01-17T20:50:36Z
2021-01-17T20:50:36Z
2021-01-17T20:50:36Z
REF: roll IntBlock, BoolBlock, ComplexBlock into NumericBlock
diff --git a/pandas/core/internals/__init__.py b/pandas/core/internals/__init__.py index e71143224556b..ff4e186e147d7 100644 --- a/pandas/core/internals/__init__.py +++ b/pandas/core/internals/__init__.py @@ -2,14 +2,12 @@ from pandas.core.internals.base import DataManager from pandas.core.internals.blocks import ( ...
https://api.github.com/repos/pandas-dev/pandas/pulls/39236
2021-01-17T19:05:02Z
2021-01-19T18:10:37Z
2021-01-19T18:10:37Z
2021-01-19T18:15:29Z
Revert "Inconsistent indexes for tick label plotting (#28733)"
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 8e9361125513b..95757448a7978 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -751,7 +751,7 @@ Plotting - Bug in :meth:`DataFrame.plot` was rotating xticklabels when ``subplots=True``, even if the x-...
This reverts commit fb379d8266492f917ed880f7619f3d0d9bc7c8db. reverts #28733 cc @nrebena @jreback @WillAyd @charlesdong1991 just the complete revert for now for ci testing, will add commits for release notes. will NOT add regression tests see https://github.com/pandas-dev/pandas/issues/38721#issuecomment-76184...
https://api.github.com/repos/pandas-dev/pandas/pulls/39235
2021-01-17T18:42:05Z
2021-01-18T15:19:20Z
2021-01-18T15:19:20Z
2021-01-18T15:36:57Z
DOC: Start v1.2.2 release notes
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index e07abffd95545..e71b600412b03 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -24,6 +24,7 @@ Version 1.2 .. toctree:: :maxdepth: 2 + v1.2.2 v1.2.1 v1.2.0 diff --git a/doc/source/whatsnew/...
https://api.github.com/repos/pandas-dev/pandas/pulls/39234
2021-01-17T17:44:59Z
2021-01-20T13:23:48Z
2021-01-20T13:23:48Z
2021-01-20T13:23:52Z
DOC: 1.2.1 release date
diff --git a/doc/source/whatsnew/v1.2.1.rst b/doc/source/whatsnew/v1.2.1.rst index fa5347aa7a507..411eeed1714f1 100644 --- a/doc/source/whatsnew/v1.2.1.rst +++ b/doc/source/whatsnew/v1.2.1.rst @@ -1,6 +1,6 @@ .. _whatsnew_121: -What's new in 1.2.1 (January ??, 2021) +What's new in 1.2.1 (January 18, 2021) ---------...
https://api.github.com/repos/pandas-dev/pandas/pulls/39233
2021-01-17T17:38:51Z
2021-01-17T19:08:25Z
2021-01-17T19:08:25Z
2021-01-18T09:19:55Z
CI: pre-commit fixup
diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 5a6425ef4ec8c..782562f455607 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -222,7 +222,7 @@ def _init_tooltips(self): if self.tooltips is None: self.tooltips = _Tooltips() - def set_toolti...
https://api.github.com/repos/pandas-dev/pandas/pulls/39232
2021-01-17T16:17:35Z
2021-01-17T17:37:21Z
2021-01-17T17:37:21Z
2021-01-17T17:47:55Z
Backport PR #39139 on branch 1.2.x (BUG: Placeholders not being filled on docstrings)
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 2f7e78d696d7c..8da3bae190f82 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -10889,8 +10889,10 @@ def all(self, axis=0, bool_only=None, skipna=True, level=None, **kwargs): # [assignment] cls.all = all # type: igno...
Backport PR #39139: BUG: Placeholders not being filled on docstrings
https://api.github.com/repos/pandas-dev/pandas/pulls/39231
2021-01-17T15:59:53Z
2021-01-17T17:24:05Z
2021-01-17T17:24:05Z
2021-01-17T17:24:05Z
Backport PR #39064 on branch 1.2.x (Added docs for the change of behavior of isin)
diff --git a/pandas/core/series.py b/pandas/core/series.py index 1449b78ee91d8..b4e8696ad9e13 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -4622,6 +4622,15 @@ def isin(self, values) -> "Series": 4 True 5 False Name: animal, dtype: bool + + Strings and intege...
Backport PR #39064: Added docs for the change of behavior of isin
https://api.github.com/repos/pandas-dev/pandas/pulls/39230
2021-01-17T15:37:17Z
2021-01-17T16:35:58Z
2021-01-17T16:35:58Z
2021-01-17T16:35:58Z
BUG: Series.resample fails on NaT index
diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index dca31641a4634..ef904c1d7021a 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -354,6 +354,7 @@ Groupby/resample/rolling - Fixed bug in :meth:`DataFrameGroupBy.cumsum`, :meth:`SeriesGroupBy.cumsum`, :me...
- [x] closes #39227 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry This will also resolve the core issue of https://github.com/pandas-dev/pandas/pull/34998#d...
https://api.github.com/repos/pandas-dev/pandas/pulls/39229
2021-01-17T14:37:26Z
2021-01-26T00:01:50Z
2021-01-26T00:01:49Z
2021-01-26T15:00:28Z
Revert "CI: Skip numpy dev failing tests (#39090)"
diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py index ab62abe3bfeff..2ac9b9e2c875c 100644 --- a/pandas/compat/__init__.py +++ b/pandas/compat/__init__.py @@ -12,7 +12,6 @@ import warnings from pandas._typing import F -from pandas.compat.numpy import is_numpy_dev PY38 = sys.version_info >= (3, ...
This reverts commit 3bd3d1ec - [x] xref #39205 can close this now probably - [x] closes #39089 - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
https://api.github.com/repos/pandas-dev/pandas/pulls/39225
2021-01-17T12:16:27Z
2021-01-17T14:17:38Z
2021-01-17T14:17:38Z
2021-01-17T14:18:41Z
BUG: Timestamp comparison with barely-out-of-bounds datetime64
diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index ff11ebc022ffb..3885d3ab6e794 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -234,6 +234,7 @@ Datetimelike - Bug in :meth:`DatetimeIndex.intersection`, :meth:`DatetimeIndex.symmetric_difference`, :met...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/39221
2021-01-17T03:35:59Z
2021-01-21T23:39:41Z
2021-01-21T23:39:41Z
2021-01-22T00:08:11Z
DEPR: EWM.vol
diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index 6a85bfd852e19..5422134f220d7 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -192,6 +192,7 @@ Deprecations - Deprecated comparison of :class:`Timestamp` object with ``datetime.date`` objects. Instead...
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry `vol` is undocumented and was just `std` which is more standard in our API
https://api.github.com/repos/pandas-dev/pandas/pulls/39220
2021-01-17T01:50:39Z
2021-01-19T15:53:55Z
2021-01-19T15:53:55Z
2021-01-19T16:16:31Z
DOC/REF: Rolling/Expanding/EWM docstrings
diff --git a/pandas/core/window/common.py b/pandas/core/window/common.py index 6ebf610587d30..8e935b7c05300 100644 --- a/pandas/core/window/common.py +++ b/pandas/core/window/common.py @@ -8,22 +8,6 @@ from pandas.core.dtypes.generic import ABCDataFrame, ABCSeries from pandas.core.indexes.api import MultiIndex -fro...
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - Create a new `window/doc.py` file for common template - Using `@doc` decorator instead of `@Appender` - Standardize descriptions and sections <img width...
https://api.github.com/repos/pandas-dev/pandas/pulls/39219
2021-01-17T01:10:52Z
2021-02-04T00:04:26Z
2021-02-04T00:04:26Z
2021-02-04T00:04:29Z
REF: Split up parsers into smaller files
diff --git a/pandas/io/json/_json.py b/pandas/io/json/_json.py index e53c828fe30cb..497cf261fcece 100644 --- a/pandas/io/json/_json.py +++ b/pandas/io/json/_json.py @@ -38,7 +38,7 @@ ) from pandas.io.json._normalize import convert_to_line_delimits from pandas.io.json._table_schema import build_table_schema, parse_ta...
- [x] closes #38930 - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them Refactored them into 4 files, similar to described in the issue. If this is accepted I will try to clean this up a bit more through unifyi...
https://api.github.com/repos/pandas-dev/pandas/pulls/39217
2021-01-17T00:38:48Z
2021-01-21T23:48:43Z
2021-01-21T23:48:43Z
2021-01-22T18:44:52Z
API/BUG: treat different UTC tzinfos as equal
diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index 6a85bfd852e19..bd20144268436 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -240,7 +240,7 @@ Timedelta Timezones ^^^^^^^^^ - +- Bug in different ``tzinfo`` objects representing UTC not being treat...
- [x] closes #23959 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/39216
2021-01-16T23:09:44Z
2021-01-19T22:43:13Z
2021-01-19T22:43:13Z
2021-01-19T23:31:14Z
TST GH26807 Break up test_strings
diff --git a/pandas/tests/strings/__init__.py b/pandas/tests/strings/__init__.py new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/pandas/tests/strings/conftest.py b/pandas/tests/strings/conftest.py new file mode 100644 index 0000000000000..4fedbee91f649 --- /dev/null +++ b/pandas/tests/strings/conft...
This PR partially addresses xref #26807 in the case of pandas/tests/test_strings.py. It deletes that file and makes a new subpackage pandas/tests/strings/ with 8 new test modules plus a conftest file. I have only moved tests and flattened the structure by moving the tests from being methods to functions - I haven'...
https://api.github.com/repos/pandas-dev/pandas/pulls/39215
2021-01-16T22:42:10Z
2021-01-19T20:44:08Z
2021-01-19T20:44:07Z
2021-01-19T20:44:11Z
CLN: use getvalue() instead of seek(0)+read()
diff --git a/pandas/io/stata.py b/pandas/io/stata.py index c9cd94b7cc711..d60a7537dd850 100644 --- a/pandas/io/stata.py +++ b/pandas/io/stata.py @@ -714,8 +714,7 @@ def generate_value_label(self, byteorder: str) -> bytes: for text in self.txt: bio.write(text + null_byte) - bio.seek(0) - ...
`BytesIO`'s `getvalue()` is the same as `seek(0)` followed by `read()` if the buffer is not used in any other place (`getvalue` doesn't change the position within the buffer). getvalue is slightly faster then seek+read.
https://api.github.com/repos/pandas-dev/pandas/pulls/39213
2021-01-16T21:04:45Z
2021-01-19T20:20:38Z
2021-01-19T20:20:38Z
2021-01-19T21:19:24Z
BUG: DataFrame.apply axis=1 for str ops with no axis argument
diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index ab00b749d5725..c601c6f496682 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -346,6 +346,7 @@ Reshaping - Bug in :func:`join` over :class:`MultiIndex` returned wrong result, when one of both indexes h...
- [x] closes #39211 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/39212
2021-01-16T20:31:42Z
2021-01-19T20:29:25Z
2021-01-19T20:29:25Z
2021-01-21T02:11:51Z
Backport PR #39204: BUG: assert_frame_equal raising TypeError with check_like and mixed dtype in Index or columns
diff --git a/doc/source/whatsnew/v1.2.1.rst b/doc/source/whatsnew/v1.2.1.rst index 448260148c83d..fa5347aa7a507 100644 --- a/doc/source/whatsnew/v1.2.1.rst +++ b/doc/source/whatsnew/v1.2.1.rst @@ -29,6 +29,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrameGroupBy.diff` raising for ``int8`` and ``int16`` col...
Backport PR #39204
https://api.github.com/repos/pandas-dev/pandas/pulls/39208
2021-01-16T14:47:42Z
2021-01-16T15:43:09Z
2021-01-16T15:43:09Z
2021-01-16T15:48:54Z
Backport PR #39194: REGR: fillna on datetime64[ns, UTC] column hits RecursionError
diff --git a/doc/source/whatsnew/v1.2.1.rst b/doc/source/whatsnew/v1.2.1.rst index 918e85ffa4af1..448260148c83d 100644 --- a/doc/source/whatsnew/v1.2.1.rst +++ b/doc/source/whatsnew/v1.2.1.rst @@ -27,6 +27,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.apply` with ``axis=1`` using str accessor in apply ...
Backport PR #39194
https://api.github.com/repos/pandas-dev/pandas/pulls/39206
2021-01-16T11:50:02Z
2021-01-16T12:55:08Z
2021-01-16T12:55:08Z
2021-01-16T12:55:13Z
Regression in merge_asof raising KeyError when at least one by columnis in index
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 33f286fccccef..bdb66413506cc 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -26,6 +26,7 @@ Fixed regressions - Regression in :func:`concat` between objects with bool dtype and integer dtype casting t...
- [x] xref #34488 - [x] closes https://github.com/pandas-dev/pandas/issues/29130 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry This time correctly. This s...
https://api.github.com/repos/pandas-dev/pandas/pulls/42692
2021-07-23T20:27:39Z
2021-07-23T23:14:49Z
2021-07-23T23:14:49Z
2021-07-24T09:38:28Z
Revert "Regression in merge_asof raising KeyError when at least one by column is in index
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index bdb66413506cc..33f286fccccef 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -26,7 +26,6 @@ Fixed regressions - Regression in :func:`concat` between objects with bool dtype and integer dtype casting t...
I am really sorry for this. I messed up my acces token and accidentially pushed to master. Not sure how this could happen :( If someone has a better idea than simply reverting we can close this cc @pandas-dev/pandas-core
https://api.github.com/repos/pandas-dev/pandas/pulls/42691
2021-07-23T20:12:09Z
2021-07-23T20:25:25Z
2021-07-23T20:25:25Z
2021-07-23T23:07:30Z
REGR: ValueError raised when both prefix and names are set to None
diff --git a/doc/source/whatsnew/v1.3.2.rst b/doc/source/whatsnew/v1.3.2.rst index 3350d9469a9ee..116bdd6e1d98f 100644 --- a/doc/source/whatsnew/v1.3.2.rst +++ b/doc/source/whatsnew/v1.3.2.rst @@ -19,6 +19,7 @@ Fixed regressions - Regression in :meth:`DataFrame.from_records` with empty records (:issue:`42456`) - Fixe...
- [ ] closes #42387 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42690
2021-07-23T19:45:48Z
2021-07-30T08:07:43Z
2021-07-30T08:07:42Z
2021-07-30T14:30:49Z
BUG: ArrayManager construction unwanted copy
diff --git a/pandas/core/internals/construction.py b/pandas/core/internals/construction.py index e35997c2a7e48..c707c1493bf71 100644 --- a/pandas/core/internals/construction.py +++ b/pandas/core/internals/construction.py @@ -331,14 +331,14 @@ def ndarray_to_mgr( if dtype is None and is_object_dtype(values.dtyp...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry This is also going to be necessary in order to allow round-tripping DataFrame(arr).values a...
https://api.github.com/repos/pandas-dev/pandas/pulls/42689
2021-07-23T17:42:26Z
2021-07-23T23:24:43Z
2021-07-23T23:24:43Z
2021-07-23T23:25:17Z
DOC: Start v1.3.2 release notes
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index 1f04eb6f68ae8..77686935e071c 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -24,6 +24,7 @@ Version 1.3 .. toctree:: :maxdepth: 2 + v1.3.2 v1.3.1 v1.3.0 diff --git a/doc/source/whatsnew/...
will fail till v1.3.1 tag exists
https://api.github.com/repos/pandas-dev/pandas/pulls/42687
2021-07-23T11:09:46Z
2021-07-25T12:29:55Z
2021-07-25T12:29:55Z
2021-07-25T12:30:58Z
DOC: 1.3.1 release date
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 33f286fccccef..ff06f43c9ae7c 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -1,6 +1,6 @@ .. _whatsnew_131: -What's new in 1.3.1 (July ??, 2021) +What's new in 1.3.1 (July 25, 2021) ---------------...
https://api.github.com/repos/pandas-dev/pandas/pulls/42686
2021-07-23T10:59:08Z
2021-07-24T11:19:05Z
2021-07-24T11:19:05Z
2021-07-24T11:19:09Z
Fixed bug: Dataframe.sort_values not raising ValueError for ascending-incompatible value and Series.sort_values raising ValueError for int value
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 63644384cad85..02aa1de661985 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -227,6 +227,8 @@ Indexing - Bug in :meth:`Series.loc` when with a :class:`MultiIndex` whose first level contains only ``np....
- [x] closes #41634 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42684
2021-07-23T10:46:25Z
2021-07-30T22:15:04Z
2021-07-30T22:15:03Z
2021-08-10T08:26:48Z
Backport PR #42579 on branch 1.3.x (BUG: DataFrame.copy not consolidating)
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index b6fdbec68d776..513e3f44050c8 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -36,7 +36,7 @@ Bug fixes ~~~~~~~~~ - Fixed bug in :meth:`DataFrame.transpose` dropping values when the DataFrame had an Ex...
Backport PR #42579: BUG: DataFrame.copy not consolidating
https://api.github.com/repos/pandas-dev/pandas/pulls/42679
2021-07-23T01:02:36Z
2021-07-23T08:05:33Z
2021-07-23T08:05:33Z
2021-07-23T08:05:33Z
Backport PR #42633 on branch 1.3.x (Fixed regression for SettingWithCopyWarning showing incorrect stacklevel)
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index b6fdbec68d776..b5f4b5f5375e8 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -25,6 +25,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.isin` and :meth:`Series.isin` raising ``TypeError``...
Backport PR #42633: Fixed regression for SettingWithCopyWarning showing incorrect stacklevel
https://api.github.com/repos/pandas-dev/pandas/pulls/42678
2021-07-22T22:54:26Z
2021-07-23T01:02:45Z
2021-07-23T01:02:45Z
2021-07-23T01:02:45Z
Backport PR #42648 on branch 1.3.x (DOC: Boolean Array Is Experimental)
diff --git a/doc/source/user_guide/boolean.rst b/doc/source/user_guide/boolean.rst index 76c922fcef638..54c67674b890c 100644 --- a/doc/source/user_guide/boolean.rst +++ b/doc/source/user_guide/boolean.rst @@ -12,6 +12,11 @@ Nullable Boolean data type ************************** +.. note:: + + BooleanArray is curre...
Backport PR #42648: DOC: Boolean Array Is Experimental
https://api.github.com/repos/pandas-dev/pandas/pulls/42676
2021-07-22T21:48:23Z
2021-07-23T01:01:55Z
2021-07-23T01:01:55Z
2021-07-23T01:01:55Z
Bug in concat creating invalid MultiIndex
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index ae1844b0a913c..3fc29441c2c3b 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -261,7 +261,7 @@ Groupby/resample/rolling Reshaping ^^^^^^^^^ -- +- :func:`concat` creating :class:`MultiIndex` with dup...
- [x] closes #42651 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry I am checking the levels here to make it clear, what caused the issue previously.
https://api.github.com/repos/pandas-dev/pandas/pulls/42675
2021-07-22T20:44:51Z
2021-07-25T14:18:38Z
2021-07-25T14:18:38Z
2021-07-25T15:35:16Z
ENH: Add BytesIOWrapper
diff --git a/pandas/io/common.py b/pandas/io/common.py index 06b00a9cbb4eb..4e97eaf8b953c 100644 --- a/pandas/io/common.py +++ b/pandas/io/common.py @@ -6,11 +6,13 @@ from collections import abc import dataclasses import gzip +import io from io import ( BufferedIOBase, BytesIO, RawIOBase, String...
- [ ] closes #39383 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry Precursor for pyarrow csv reader integration. @jorisvandenbossche Do you know if there ...
https://api.github.com/repos/pandas-dev/pandas/pulls/42669
2021-07-22T18:14:53Z
2021-08-04T23:46:18Z
2021-08-04T23:46:18Z
2021-08-09T17:06:55Z
BUG: compute.use_numexpr option not respected
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 8d96d49daba4f..dcaab9c211599 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -201,7 +201,7 @@ Numeric ^^^^^^^ - Bug in :meth:`DataFrame.rank` raising ``ValueError`` with ``object`` columns and ``meth...
- [x] closes #32556 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42668
2021-07-22T16:56:28Z
2021-07-28T01:23:33Z
2021-07-28T01:23:32Z
2021-07-28T01:23:37Z
TST: Test Loc to set Multiple Items to multiple new columns
diff --git a/pandas/tests/indexing/test_loc.py b/pandas/tests/indexing/test_loc.py index 6de83e34122c2..492424255bcf2 100644 --- a/pandas/tests/indexing/test_loc.py +++ b/pandas/tests/indexing/test_loc.py @@ -2768,3 +2768,19 @@ def test_loc_setitem_dict_timedelta_multiple_set(self): [[Timedelta(6, unit="s"...
- [x] closes #25594 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry added test to pandas/tests/indexing/multi/test_loc.py
https://api.github.com/repos/pandas-dev/pandas/pulls/42665
2021-07-22T14:54:56Z
2021-07-28T06:39:51Z
2021-07-28T06:39:50Z
2021-07-28T21:09:23Z
move release note for fix for #42259
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 2e3c15eca972f..b6fdbec68d776 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -25,6 +25,8 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.isin` and :meth:`Series.isin` raising ``TypeError``...
xref #42660, https://github.com/pandas-dev/pandas/issues/42259#issuecomment-884870958 release note is moved in backport #42660, so this PR does not need backport.
https://api.github.com/repos/pandas-dev/pandas/pulls/42661
2021-07-22T12:41:33Z
2021-07-22T20:25:05Z
2021-07-22T20:25:05Z
2021-07-22T20:26:43Z
Backport PR #42261 (BUG: Fix to_datetime() cache behaviour to not omit duplicated output values)
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 2e3c15eca972f..b6fdbec68d776 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -25,6 +25,8 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.isin` and :meth:`Series.isin` raising ``TypeError``...
Backport PR #42261
https://api.github.com/repos/pandas-dev/pandas/pulls/42660
2021-07-22T12:36:29Z
2021-07-22T20:24:45Z
2021-07-22T20:24:45Z
2021-07-22T20:24:49Z
TST: test transform('cumcount')
diff --git a/pandas/tests/groupby/transform/test_transform.py b/pandas/tests/groupby/transform/test_transform.py index 9062049029e4d..6275a5440a0e2 100644 --- a/pandas/tests/groupby/transform/test_transform.py +++ b/pandas/tests/groupby/transform/test_transform.py @@ -1276,3 +1276,16 @@ def test_string_rank_grouping():...
- [x] closes #27472 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
https://api.github.com/repos/pandas-dev/pandas/pulls/42656
2021-07-22T01:43:10Z
2021-07-22T18:05:00Z
2021-07-22T18:04:59Z
2021-07-22T18:05:11Z
DOC: fix small typo in HDF section of cookbook docs
diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst index e1aae0fd481b1..5f3da133d9c09 100644 --- a/doc/source/user_guide/cookbook.rst +++ b/doc/source/user_guide/cookbook.rst @@ -1300,7 +1300,7 @@ is closed. .. ipython:: python - store = pd.HDFStore("test.h5", "w", diver="H5FD_C...
This merge request fixes a trivial typo (diver -> driver) I found while reading docs about HDF support. - [-] closes #xxxx - [-] tests added / passed - [-] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [-] wh...
https://api.github.com/repos/pandas-dev/pandas/pulls/42655
2021-07-22T01:33:25Z
2021-07-22T04:10:51Z
2021-07-22T04:10:51Z
2021-07-22T04:11:01Z
TST: Add test for setitem preserving period dtype
diff --git a/pandas/tests/frame/indexing/test_setitem.py b/pandas/tests/frame/indexing/test_setitem.py index 25682330fe19a..1e23f7d61efde 100644 --- a/pandas/tests/frame/indexing/test_setitem.py +++ b/pandas/tests/frame/indexing/test_setitem.py @@ -179,6 +179,16 @@ def test_setitem_with_unaligned_sparse_value(self): ...
- [x] closes #26861 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
https://api.github.com/repos/pandas-dev/pandas/pulls/42654
2021-07-22T01:24:57Z
2021-07-23T23:22:00Z
2021-07-23T23:22:00Z
2021-07-23T23:22:06Z
BUG: EWM silently failed float32
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index ad6a9d994bf7b..6763c3043b102 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -270,6 +270,7 @@ Groupby/resample/rolling - Bug in :meth:`Series.rolling.apply`, :meth:`DataFrame.rolling.apply`, :meth:`Se...
- [x] closes #42452 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42650
2021-07-21T18:14:18Z
2021-08-04T04:23:27Z
2021-08-04T04:23:26Z
2021-08-04T04:31:55Z
DOC: Boolean Array Is Experimental
diff --git a/doc/source/user_guide/boolean.rst b/doc/source/user_guide/boolean.rst index 76c922fcef638..54c67674b890c 100644 --- a/doc/source/user_guide/boolean.rst +++ b/doc/source/user_guide/boolean.rst @@ -12,6 +12,11 @@ Nullable Boolean data type ************************** +.. note:: + + BooleanArray is curre...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry BooleanArray and BooleanDtype are marked experimental, but its not marked as experimental i...
https://api.github.com/repos/pandas-dev/pandas/pulls/42648
2021-07-21T16:41:41Z
2021-07-22T21:47:55Z
2021-07-22T21:47:55Z
2021-07-22T22:05:04Z
BUG: ArrayManager reindex with copy=True not copying
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index bf79e58077179..f5164abb06ae2 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -4831,6 +4831,8 @@ def _reindex_axes( copy=copy, allow_dups=False, ) + # If we've made a copy once...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42647
2021-07-21T16:30:33Z
2021-08-04T22:18:05Z
2021-08-04T22:18:05Z
2021-08-04T22:48:59Z
BUG: misleading error creating df from 2d array
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 63644384cad85..432dd46000eb3 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -265,6 +265,7 @@ Groupby/resample/rolling Reshaping ^^^^^^^^^ +- Improved error message when creating a :class:`DataFram...
- [x] closes #42463 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42646
2021-07-21T15:42:00Z
2021-07-28T12:37:39Z
2021-07-28T12:37:39Z
2021-07-28T13:04:00Z
BUG: KeyError when a series popped from data frame with bool indexer
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 8d96d49daba4f..148cb6aaf632e 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -224,7 +224,7 @@ Indexing - Bug in :meth:`Series.loc` when with a :class:`MultiIndex` whose first level contains only ``np....
- [x] closes #42530 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42644
2021-07-21T08:45:03Z
2021-07-26T12:43:02Z
2021-07-26T12:43:02Z
2021-07-26T15:01:05Z
Backport PR #42583 on branch 1.3.x (CI: auto-cancel Azure builds in PR)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1e59204b25d9b..edc9c42fe805a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,9 +9,11 @@ trigger: - 'doc/*' pr: -- master -- 1.2.x -- 1.3.x + autoCancel: true + branches: + include: + - master + - 1.3.x variables: PYTE...
Backport PR #42583: CI: auto-cancel Azure builds in PR
https://api.github.com/repos/pandas-dev/pandas/pulls/42641
2021-07-20T23:47:41Z
2021-07-21T08:53:09Z
2021-07-21T08:53:09Z
2021-07-21T08:53:09Z
BUG: Fix bug in SeriesGroupBy.value_counts when DataFrame has one row (#42618)
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 838b7e5fc1a8b..099d818236bd2 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -28,7 +28,7 @@ Fixed regressions - Fixed regression for ``SettingWithCopyWarning`` displaying incorrect stacklevel (:issue:...
- [x] closes #42618 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry Was introduced in v1.3.0 [here](https://github.com/pandas-dev/pandas/pull/39326). I could...
https://api.github.com/repos/pandas-dev/pandas/pulls/42640
2021-07-20T22:58:32Z
2021-07-24T03:29:23Z
2021-07-24T03:29:22Z
2021-07-24T03:29:23Z
CLN: move isort config to pyproject.toml
diff --git a/pyproject.toml b/pyproject.toml index e24704e24c5cb..bb9b0e5517872 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -102,3 +102,17 @@ module = [ "pandas.tests.test_expressions", ] ignore_errors = true + +# To be kept consistent with "Import Formatting" section in contributing.rst +[tool.isort] +kno...
https://api.github.com/repos/pandas-dev/pandas/pulls/42637
2021-07-20T20:29:43Z
2021-07-21T17:10:16Z
2021-07-21T17:10:16Z
2021-08-17T04:16:21Z
ENH: add kw `levels` to `Styler.hide_index` to hide only specific levels
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 7395f9d2dcb9e..9da2e296a6a78 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -34,6 +34,7 @@ Other enhancements - :meth:`Series.sample`, :meth:`DataFrame.sample`, and :meth:`.GroupBy.sample` now accept...
- [x] closes #25475 - [x] tests added / passed - [x] whatsnew entry 1.4.0 ![Screen Shot 2021-07-21 at 14 13 35](https://user-images.githubusercontent.com/24256554/126486650-af383d0b-3372-4c19-bb4a-db19dff25e6f.png)
https://api.github.com/repos/pandas-dev/pandas/pulls/42636
2021-07-20T19:44:49Z
2021-08-05T11:58:35Z
2021-08-05T11:58:35Z
2021-08-05T16:40:41Z
pd.to_datetime() fails for KeyError when raising monotonic increasing index ValueError
diff --git a/pandas/tests/tools/test_to_datetime.py b/pandas/tests/tools/test_to_datetime.py index 9da7951c199ca..7351f50aea8c1 100644 --- a/pandas/tests/tools/test_to_datetime.py +++ b/pandas/tests/tools/test_to_datetime.py @@ -2530,3 +2530,15 @@ def test_empty_string_datetime_coerce__unit(): # verify that no exc...
- [x] closes #28238 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry Test added to test_to_datetime.py to test the conversion to datetime for a series with a f...
https://api.github.com/repos/pandas-dev/pandas/pulls/42635
2021-07-20T18:46:56Z
2021-07-25T14:07:02Z
2021-07-25T14:07:02Z
2021-07-25T14:07:06Z
CI: Try to speed up ArrayManager
diff --git a/ci/run_tests.sh b/ci/run_tests.sh index 0d6f26d8c29f8..8304b89499465 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -30,7 +30,10 @@ fi echo $PYTEST_CMD sh -c "$PYTEST_CMD" -PYTEST_AM_CMD="PANDAS_DATA_MANAGER=array pytest -m \"$PATTERN and arraymanager\" -n $PYTEST_WORKERS --dist=loadfile $TEST_...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry Don't re-run ArrayManager tests if we are already in ArrayManager mode. P.S. I'm not sur...
https://api.github.com/repos/pandas-dev/pandas/pulls/42634
2021-07-20T18:04:29Z
2021-07-25T14:15:41Z
2021-07-25T14:15:41Z
2021-11-11T01:38:31Z
Fixed regression for SettingWithCopyWarning showing incorrect stacklevel
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index b6fdbec68d776..b5f4b5f5375e8 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -25,6 +25,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.isin` and :meth:`Series.isin` raising ``TypeError``...
- [x] closes #42570 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry Is there a better way to check the stacklevel here?
https://api.github.com/repos/pandas-dev/pandas/pulls/42633
2021-07-20T17:55:13Z
2021-07-22T22:54:16Z
2021-07-22T22:54:16Z
2021-07-22T22:54:19Z
Backport PR #42612: Pin fastparquet
diff --git a/ci/deps/actions-37-db.yaml b/ci/deps/actions-37-db.yaml index a9e4113bf9d18..cfdcf266236e6 100644 --- a/ci/deps/actions-37-db.yaml +++ b/ci/deps/actions-37-db.yaml @@ -15,7 +15,7 @@ dependencies: - beautifulsoup4 - botocore>=1.11 - dask - - fastparquet>=0.4.0 + - fastparquet>=0.4.0, < 0.7.0 -...
Backport PR #42612
https://api.github.com/repos/pandas-dev/pandas/pulls/42632
2021-07-20T17:11:19Z
2021-07-20T19:25:25Z
2021-07-20T19:25:25Z
2021-07-20T19:26:25Z
PERF: DataFrame construction
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index ae1844b0a913c..635750181d939 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -164,6 +164,7 @@ Performance improvements ~~~~~~~~~~~~~~~~~~~~~~~~ - Performance improvement in :meth:`.GroupBy.sample`, e...
``` In [1]: from asv_bench.benchmarks.frame_ctor import * In [2]: cls = FromArrays In [3]: self = cls() In [4]: self.setup() In [5]: %timeit self.time_frame_from_arrays_int() 6.21 ms ± 184 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- master 3.27 ms ± 182 µs per loop (mean ± std. dev. of...
https://api.github.com/repos/pandas-dev/pandas/pulls/42631
2021-07-20T16:26:31Z
2021-07-23T23:22:25Z
2021-07-23T23:22:25Z
2021-07-24T04:25:45Z
DOC: typo in user_guide/visualization.rst
diff --git a/doc/source/user_guide/visualization.rst b/doc/source/user_guide/visualization.rst index 1c02be989eeeb..ab4893537f834 100644 --- a/doc/source/user_guide/visualization.rst +++ b/doc/source/user_guide/visualization.rst @@ -1740,7 +1740,7 @@ Starting in version 0.25, pandas can be extended with third-party plo...
Correct typo in `user_guide/visualization.rst`: *passsing* -> *passing*
https://api.github.com/repos/pandas-dev/pandas/pulls/42628
2021-07-20T15:27:19Z
2021-07-20T18:51:41Z
2021-07-20T18:51:41Z
2021-07-20T20:56:01Z
Backport PR #42577 on branch 1.3.x (BUG: Series(dask.array) GH#38645)
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 2ce146660f98c..2e3c15eca972f 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -24,6 +24,7 @@ Fixed regressions - Fixed regression in indexing with a ``list`` subclass incorrectly raising ``TypeError`` ...
Backport PR #42577: BUG: Series(dask.array) GH#38645
https://api.github.com/repos/pandas-dev/pandas/pulls/42623
2021-07-20T12:17:32Z
2021-07-20T13:48:30Z
2021-07-20T13:48:29Z
2021-07-20T13:48:30Z
BUG: `Styler.set_sticky` not handling display of `index names`. 1/2
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 33f286fccccef..70bfc349607da 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -37,6 +37,7 @@ Bug fixes ~~~~~~~~~ - Fixed bug in :meth:`DataFrame.transpose` dropping values when the DataFrame had an Ex...
This addresses part of the bug identified in #42537, where column/index objects are not `MultiIndexes`. Will need a follow-on to fully correct for the `MultiIndex` case.
https://api.github.com/repos/pandas-dev/pandas/pulls/42622
2021-07-20T10:28:28Z
2021-07-23T23:25:52Z
2021-07-23T23:25:52Z
2021-07-28T17:24:34Z
DOC: fix small issues
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index c63aeb736d16a..7865cdb0455b2 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2988,7 +2988,7 @@ def to_clipboard( -------- DataFrame.to_csv : Write a DataFrame to a comma-separated values (csv) file. - ...
read_clipboard passes the text to read_csv not read_table. See here for example: https://pandas.pydata.org/docs/dev/reference/api/pandas.read_clipboard.html also replace "OS X" -> macOS - [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas...
https://api.github.com/repos/pandas-dev/pandas/pulls/42621
2021-07-20T04:40:51Z
2021-07-22T04:23:41Z
2021-07-22T04:23:41Z
2021-07-26T02:57:10Z
CLN: move mypy config to pyproject.toml
diff --git a/pyproject.toml b/pyproject.toml index 5deb92281475b..e24704e24c5cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,3 +67,38 @@ markers = [ "arm_slow: mark a test as slow for arm64 architecture", "arraymanager: mark a test to run with ArrayManager enabled", ] + +[tool.mypy] +platform = "linux...
xref #40656
https://api.github.com/repos/pandas-dev/pandas/pulls/42620
2021-07-20T03:59:24Z
2021-07-20T18:42:09Z
2021-07-20T18:42:09Z
2021-07-20T19:34:34Z
DOC: update redirecting URLs
diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst index e5c6a69ce0e30..e42ef334c60a4 100644 --- a/doc/source/getting_started/install.rst +++ b/doc/source/getting_started/install.rst @@ -12,7 +12,7 @@ cross platform distribution for data analysis and scientific computing. This...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42619
2021-07-20T02:10:07Z
2021-08-06T04:44:17Z
2021-08-06T04:44:17Z
2021-08-06T13:29:45Z
Backport PR #42614 on branch 1.3.x (CI/TYP: remove unneeded stata ignore)
diff --git a/pandas/io/stata.py b/pandas/io/stata.py index 4eb42640d9b70..20e035891a625 100644 --- a/pandas/io/stata.py +++ b/pandas/io/stata.py @@ -1673,12 +1673,7 @@ def read( if self.dtyplist[i] is not None: col = data.columns[i] dtype = data[col].dtype - ...
Backport PR #42614: CI/TYP: remove unneeded stata ignore
https://api.github.com/repos/pandas-dev/pandas/pulls/42616
2021-07-19T20:24:00Z
2021-07-19T21:46:30Z
2021-07-19T21:46:30Z
2021-07-19T21:46:30Z
CI/TYP: remove unneeded stata ignore
diff --git a/pandas/io/stata.py b/pandas/io/stata.py index 7f37f0293e417..705f5c82be915 100644 --- a/pandas/io/stata.py +++ b/pandas/io/stata.py @@ -1673,12 +1673,7 @@ def read( if self.dtyplist[i] is not None: col = data.columns[i] dtype = data[col].dtype - ...
Should fix typing failure on master
https://api.github.com/repos/pandas-dev/pandas/pulls/42614
2021-07-19T19:17:28Z
2021-07-19T20:23:49Z
2021-07-19T20:23:49Z
2021-07-19T21:10:47Z
Pin fastparquet
diff --git a/ci/deps/actions-38-db.yaml b/ci/deps/actions-38-db.yaml index b4495fa6887f4..421eeb7a9c2d0 100644 --- a/ci/deps/actions-38-db.yaml +++ b/ci/deps/actions-38-db.yaml @@ -15,7 +15,7 @@ dependencies: - beautifulsoup4 - botocore>=1.11 - dask - - fastparquet>=0.4.0 + - fastparquet>=0.4.0, < 0.7.0 -...
- [ ] xref #42588 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry Get CI to green.
https://api.github.com/repos/pandas-dev/pandas/pulls/42612
2021-07-19T16:53:33Z
2021-07-20T16:57:12Z
2021-07-20T16:57:11Z
2021-07-20T17:12:50Z
PERF: select_dtypes
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index d54a3047a3ab9..8b82021375a28 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -55,6 +55,7 @@ ColspaceArgType, CompressionOptions, Dtype, + DtypeObj, FilePathOrBuffer, FillnaOptions, FloatFormatType, @@ -4297,5...
``` In [1]: from asv_bench.benchmarks.dtypes import * In [2]: cls = SelectDtypes In [3]: self = cls() In [4]: dtype = "Int32" In [5]: self.setup(dtype) In [6]: %timeit self.time_select_dtype_string_exclude(dtype) 1.79 ms ± 50.7 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <-- master 4...
https://api.github.com/repos/pandas-dev/pandas/pulls/42611
2021-07-19T16:43:50Z
2021-07-20T12:19:03Z
2021-07-20T12:19:03Z
2021-07-20T14:34:33Z
Backport PR #42576 on branch 1.3.x (BUG: concat bool+int with ArrayManager)
diff --git a/pandas/core/internals/concat.py b/pandas/core/internals/concat.py index 203e48ae48b58..34d0137c26fda 100644 --- a/pandas/core/internals/concat.py +++ b/pandas/core/internals/concat.py @@ -123,12 +123,16 @@ def concat_arrays(to_concat: list) -> ArrayLike: # ignore the all-NA proxies to determine the re...
Backport PR #42576: BUG: concat bool+int with ArrayManager
https://api.github.com/repos/pandas-dev/pandas/pulls/42610
2021-07-19T15:35:55Z
2021-07-19T17:57:07Z
2021-07-19T17:57:07Z
2021-07-19T17:57:07Z
TYP: clean for PY3.8 (TypedDict)
diff --git a/pandas/_typing.py b/pandas/_typing.py index 6583a9f60ee15..ef9f38bbf5168 100644 --- a/pandas/_typing.py +++ b/pandas/_typing.py @@ -37,8 +37,6 @@ # and use a string literal forward reference to it in subsequent types # https://mypy.readthedocs.io/en/latest/common_issues.html#import-cycles if TYPE_CHECKI...
https://api.github.com/repos/pandas-dev/pandas/pulls/42607
2021-07-19T14:06:39Z
2021-07-21T11:02:47Z
2021-07-21T11:02:47Z
2021-07-21T13:12:51Z
TST: Fixing broken doctests in pandas/core
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 59548ecd3c710..9f59958b4e827 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -107,44 +107,20 @@ fi ### DOCTESTS ### if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then - MSG='Doctests for individual files' ; echo $MSG - pytest -q --doctest-mo...
- [X] xref #22459 Fixing 4 broken doctests, so we can validate the whole `pandas/core` directory. And also, significantly reduce the list of directories/files in the call to validate the doctests.
https://api.github.com/repos/pandas-dev/pandas/pulls/42598
2021-07-18T22:38:09Z
2021-07-22T18:46:34Z
2021-07-22T18:46:34Z
2021-07-22T18:46:34Z
BUG: SeriesGroupBy.nlargest/smallest inconsistent shape
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 7395f9d2dcb9e..d5f85682dba61 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -274,6 +274,7 @@ Groupby/resample/rolling - Bug in :meth:`Series.rolling.apply`, :meth:`DataFrame.rolling.apply`, :meth:`Se...
- [x] Closes #15272 - [x] Closes #16345 - [x] Closes #29129 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42596
2021-07-18T18:45:31Z
2021-08-05T23:33:54Z
2021-08-05T23:33:54Z
2021-08-06T00:25:16Z
BUG: pivot_table with margins=True and numeric columns is buggy
diff --git a/pandas/tests/reshape/test_pivot.py b/pandas/tests/reshape/test_pivot.py index 97e933e9821af..528d4d29b5bb7 100644 --- a/pandas/tests/reshape/test_pivot.py +++ b/pandas/tests/reshape/test_pivot.py @@ -2148,6 +2148,23 @@ def test_pivot_table_sort_false(self): ) tm.assert_frame_equal(result,...
- [x] closes #26568 - [x] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] Added test for issue #26568
https://api.github.com/repos/pandas-dev/pandas/pulls/42591
2021-07-18T13:43:21Z
2021-07-22T21:50:03Z
2021-07-22T21:50:03Z
2021-07-23T08:53:08Z
DEPR: Raise FutureWarning when creating empty series without dtype
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 8d96d49daba4f..7042e8f250ac8 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -155,6 +155,7 @@ Deprecations - Deprecated treating integer keys in :meth:`Series.__setitem__` as positional when the index...
- [x] closes #30017 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry Note, this would make the next release 1.4 for sure.
https://api.github.com/repos/pandas-dev/pandas/pulls/42587
2021-07-17T17:26:03Z
2021-07-23T23:27:32Z
2021-07-23T23:27:32Z
2021-07-24T16:32:28Z
CI: auto-cancel Azure builds in PR
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4cdd495fe0c31..e16fd36ac8f98 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,9 +9,11 @@ trigger: - 'doc/*' pr: -- master -- 1.2.x -- 1.3.x + autoCancel: true + branches: + include: + - master + - 1.3.x variables: PYTE...
https://api.github.com/repos/pandas-dev/pandas/pulls/42583
2021-07-17T05:12:40Z
2021-07-20T23:47:13Z
2021-07-20T23:47:13Z
2021-07-21T01:08:39Z
BUG: DataFrame.copy not consolidating
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 2e3c15eca972f..9f373234b0ef2 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -34,7 +34,7 @@ Bug fixes ~~~~~~~~~ - Fixed bug in :meth:`DataFrame.transpose` dropping values when the DataFrame had an Ex...
- [x] closes #42477 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry @mzeitlin11 did you want to suggest an improved warning message for .insert?
https://api.github.com/repos/pandas-dev/pandas/pulls/42579
2021-07-16T22:07:40Z
2021-07-23T01:02:27Z
2021-07-23T01:02:26Z
2022-04-01T15:44:49Z
Backport PR #42571 on branch 1.3.x (CI: Fixed a typo in Web and Docs)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12c9aeee16713..d39a33e7a88c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -125,15 +125,15 @@ jobs: echo "${{ secrets.server_ssh_key }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa echo "${{ secrets.s...
Backport PR #42571: CI: Fixed a typo in Web and Docs
https://api.github.com/repos/pandas-dev/pandas/pulls/42578
2021-07-16T22:02:13Z
2021-07-17T00:35:14Z
2021-07-17T00:35:13Z
2021-07-17T00:35:14Z
BUG: Series(dask.array) GH#38645
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 2ce146660f98c..2e3c15eca972f 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -24,6 +24,7 @@ Fixed regressions - Fixed regression in indexing with a ``list`` subclass incorrectly raising ``TypeError`` ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry This should close #38645 in conjunction with dask/dask#7888, will hold off on closing the i...
https://api.github.com/repos/pandas-dev/pandas/pulls/42577
2021-07-16T21:59:34Z
2021-07-20T12:17:05Z
2021-07-20T12:17:05Z
2021-07-20T12:17:38Z
BUG: concat bool+int with ArrayManager
diff --git a/pandas/core/internals/concat.py b/pandas/core/internals/concat.py index 203e48ae48b58..34d0137c26fda 100644 --- a/pandas/core/internals/concat.py +++ b/pandas/core/internals/concat.py @@ -123,12 +123,16 @@ def concat_arrays(to_concat: list) -> ArrayLike: # ignore the all-NA proxies to determine the re...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42576
2021-07-16T21:47:26Z
2021-07-19T15:35:24Z
2021-07-19T15:35:24Z
2021-07-19T16:27:29Z
Revert "PERF: tighten _should_compare for MultiIndex"
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 5866644860831..13d1caedbb50a 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -5514,16 +5514,6 @@ def _get_indexer_non_comparable( """ if method is not None: other = unpack_nested_dty...
Reverts pandas-dev/pandas#42231 This introduced a bug discussed in #42231. The long-term fix is in MultiIndex.get_indexer, but that's going to take me a little while to get done.
https://api.github.com/repos/pandas-dev/pandas/pulls/42575
2021-07-16T21:39:40Z
2021-07-25T14:20:50Z
2021-07-25T14:20:50Z
2021-07-25T14:42:48Z
DOC: Correct singular "die"/plural "dice"
diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index 990ccbc2a015b..8b2ac31532344 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -1306,8 +1306,8 @@ def hist(self, by=None, bins=10, **kwargs): Examples -------- - When we draw a dice 6000 times, we exp...
Minor change to DataFrame.plot.hist documentation: "Dice" is traditionally plural (one die, two dice). Nowadays it can also be singular, but "die" is clearer. "Dices" is simply not a thing.
https://api.github.com/repos/pandas-dev/pandas/pulls/42574
2021-07-16T20:58:02Z
2021-07-22T17:55:06Z
2021-07-22T17:55:06Z
2021-07-22T17:55:16Z
CI: Fixed a typo in Web and Docs
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8f75e1d603be..bf76033f769b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,15 +133,15 @@ jobs: echo "${{ secrets.server_ssh_key }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa echo "${{ secrets.s...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry I accidentally made a typo in #42556. Hopefully works this time. The docs weren't getting...
https://api.github.com/repos/pandas-dev/pandas/pulls/42571
2021-07-16T17:20:21Z
2021-07-16T22:01:44Z
2021-07-16T22:01:44Z
2021-07-17T00:15:38Z
BUG: partial-indexing on MultiIndex with IntervalIndex level
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 13d1caedbb50a..5f12a918c0520 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -672,6 +672,11 @@ def _format_duplicate_message(self) -> DataFrame: assert len(duplicates) out = Series(np.arange(le...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry To see the bug, see the changed `expected` in test_mi_intervalindex_slicing_with_scalar
https://api.github.com/repos/pandas-dev/pandas/pulls/42569
2021-07-16T16:24:46Z
2021-07-28T01:47:13Z
2021-07-28T01:47:13Z
2021-07-28T17:37:28Z
DEPR: Index.reindex with duplicate index
diff --git a/doc/source/user_guide/duplicates.rst b/doc/source/user_guide/duplicates.rst index 7cda067fb24ad..36c2ec53d58b4 100644 --- a/doc/source/user_guide/duplicates.rst +++ b/doc/source/user_guide/duplicates.rst @@ -28,6 +28,7 @@ duplicates present. The output can't be determined, and so pandas raises. .. ipyth...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry Discussed on this week's call.
https://api.github.com/repos/pandas-dev/pandas/pulls/42568
2021-07-16T16:20:53Z
2021-08-08T23:10:36Z
2021-08-08T23:10:36Z
2021-08-09T01:50:41Z
BUG: Groupby min/max with nullable dtypes
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index e2b42a0ea14f5..5f4d504e0dc75 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -393,6 +393,7 @@ Groupby/resample/rolling ^^^^^^^^^^^^^^^^^^^^^^^^ - Fixed bug in :meth:`SeriesGroupBy.apply` where passin...
- [x] closes #41743 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry asvs show no change for non-nullable dtypes
https://api.github.com/repos/pandas-dev/pandas/pulls/42567
2021-07-16T16:15:27Z
2021-09-05T01:29:54Z
2021-09-05T01:29:53Z
2021-09-05T18:04:32Z
ENH: Add support for nullable boolean and integers in Stata writers
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 8d081ed8068aa..3bdcab4fbcfea 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -123,7 +123,8 @@ Other enhancements - Methods that relied on hashmap based algos such as :meth:`DataFrameGroupBy.value_coun...
Add code that allows nullable arrays to be written closes #40855 - [X] closes #40855 - [X] tests added / passed - [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [X] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42565
2021-07-16T13:47:29Z
2021-09-14T16:35:22Z
2021-09-14T16:35:21Z
2021-09-14T16:35:25Z
Backport PR #42554 on branch 1.3.x (Modified ecosystem.rst to include ibis)
diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst index ee061e7b7d3e6..e58779c090d8f 100644 --- a/doc/source/ecosystem.rst +++ b/doc/source/ecosystem.rst @@ -445,6 +445,12 @@ provides a familiar ``DataFrame`` interface for out-of-core, parallel and distri Dask-ML enables parallel and distributed machi...
Backport PR #42554: Modified ecosystem.rst to include ibis
https://api.github.com/repos/pandas-dev/pandas/pulls/42564
2021-07-16T13:26:32Z
2021-07-16T15:01:59Z
2021-07-16T15:01:59Z
2021-07-16T15:01:59Z
Backport PR #42558: CI: Remove xfail for xpassing test
diff --git a/pandas/tests/scalar/timedelta/test_arithmetic.py b/pandas/tests/scalar/timedelta/test_arithmetic.py index 8f03bd71f3a90..7dfda0463ecaf 100644 --- a/pandas/tests/scalar/timedelta/test_arithmetic.py +++ b/pandas/tests/scalar/timedelta/test_arithmetic.py @@ -10,7 +10,6 @@ import numpy as np import pytest ...
Backport PR #42558
https://api.github.com/repos/pandas-dev/pandas/pulls/42563
2021-07-16T13:25:07Z
2021-07-16T15:02:25Z
2021-07-16T15:02:25Z
2021-07-16T15:02:28Z
Backport PR #42556: CI: Run all GHA checks on backport branch
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7b566260fbb6..12c9aeee16713 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,9 @@ name: CI on: push: - branches: [master] + branches: + - master + - 1.3.x pull_request: branches: -...
Backport PR #42556
https://api.github.com/repos/pandas-dev/pandas/pulls/42561
2021-07-16T10:49:03Z
2021-07-16T13:13:29Z
2021-07-16T13:13:29Z
2021-07-16T13:13:40Z
CI: Remove xfail for xpassing test
diff --git a/pandas/tests/scalar/timedelta/test_arithmetic.py b/pandas/tests/scalar/timedelta/test_arithmetic.py index 9f6cdbb81bd89..7dfda0463ecaf 100644 --- a/pandas/tests/scalar/timedelta/test_arithmetic.py +++ b/pandas/tests/scalar/timedelta/test_arithmetic.py @@ -10,7 +10,6 @@ import numpy as np import pytest ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42558
2021-07-16T00:33:53Z
2021-07-16T13:15:37Z
2021-07-16T13:15:37Z
2021-07-17T01:31:24Z