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
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
DOC: clean 1.3.1 release notes
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 0297aeecf01a6..9e9e7dba83f88 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -16,19 +16,19 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Pandas could not be built on PyPy (:issue:`42355`) - :class:`DataF...
https://api.github.com/repos/pandas-dev/pandas/pulls/42685
2021-07-23T10:53:11Z
2021-07-25T07:11:11Z
null
2021-07-25T07:11:11Z
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
Update frame.py
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 8b82021375a28..fd5ffa82a20cf 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -6788,7 +6788,37 @@ def reorder_levels(self, order: Sequence[Axis], axis: Axis = 0) -> DataFrame: Returns ------- DataFrame - """ ...
Added an example to the reorder_levels function - [ ] 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/42667
2021-07-22T16:26:37Z
2021-08-13T22:52:54Z
null
2021-08-13T22:52:55Z
CI: move mypy check to pre-commit
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf76033f769b5..c2a250034a1a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,10 +68,6 @@ jobs: run: ci/code_checks.sh docstrings if: always() - - name: Typing validation - run: ci/code_checks.sh ty...
https://api.github.com/repos/pandas-dev/pandas/pulls/42666
2021-07-22T15:59:34Z
2021-07-22T19:01:24Z
null
2022-11-18T02:20:34Z
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
CLN: clean flake8 config
diff --git a/setup.cfg b/setup.cfg index 62ff0c6934f77..d92bf9ab0c3da 100644 --- a/setup.cfg +++ b/setup.cfg @@ -80,26 +80,6 @@ ignore = E402, # do not assign a lambda expression, use a def E731, - # found modulo formatter (incorrect picks up mod operations) - S001, - # controversial - B005, ...
https://api.github.com/repos/pandas-dev/pandas/pulls/42658
2021-07-22T02:59:21Z
2021-07-22T03:15:31Z
null
2022-11-18T02:20:32Z
TYP: Update input of `core.algorithms.duplicated`
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index df9f3d07ce7fd..c0ed515b6640a 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -903,14 +903,15 @@ def value_counts_arraylike(values, dropna: bool): def duplicated( - values: ArrayLike, keep: Literal["first", "last",...
- [x] closes #42604 - [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/42657
2021-07-22T02:42:37Z
2021-09-08T02:02:09Z
null
2021-09-08T02:54:41Z
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
Revert 42231 bug mi should compare
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
https://api.github.com/repos/pandas-dev/pandas/pulls/42649
2021-07-21T17:57:43Z
2021-07-24T22:21:01Z
null
2021-07-24T22:21:12Z
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
BUG: Pass copy argument to expanddim constructor in concat.
diff --git a/pandas/core/reshape/concat.py b/pandas/core/reshape/concat.py index d908638c4706b..10936b60031bf 100644 --- a/pandas/core/reshape/concat.py +++ b/pandas/core/reshape/concat.py @@ -504,7 +504,7 @@ def get_result(self): cons = sample._constructor_expanddim index, columns =...
- [x] closes #42501 - [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 Pass the provided copy argument through to the DataFrame constructor when constructing a D...
https://api.github.com/repos/pandas-dev/pandas/pulls/42643
2021-07-21T04:03:22Z
2021-07-21T04:55:46Z
null
2021-07-21T04:55:46Z
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
DOC: use the commonly accepted capitalization of LaTeX
diff --git a/doc/source/reference/io.rst b/doc/source/reference/io.rst index 82d4ec4950ef1..f70a78d65fee0 100644 --- a/doc/source/reference/io.rst +++ b/doc/source/reference/io.rst @@ -99,7 +99,7 @@ XML read_xml DataFrame.to_xml -Latex +LaTeX ~~~~~ .. autosummary:: :toctree: api/
Latex -> LaTeX - [ ] 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/42605
2021-07-19T12:11:02Z
2021-07-19T12:28:54Z
null
2022-07-15T23:39:17Z
⬆️ UPGRADE: Autoupdate pre-commit config
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a07aae11dc1b..9b9664293554f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: - id: absolufy-imports files: ^pandas/ - repo: https://github.com/python/black - rev: 21.6b0 + rev: 21.7b0 ...
<!-- START pr-commits --> <!-- END pr-commits --> ## Base PullRequest default branch (https://github.com/pandas-dev/pandas/tree/master) ## Command results <details> <summary>Details: </summary> <details> <summary><em>add path</em></summary> ```Shell /home/runner/work/_actions/technote-space/create-pr-action/v2/nod...
https://api.github.com/repos/pandas-dev/pandas/pulls/42602
2021-07-19T07:10:28Z
2021-07-19T11:02:23Z
null
2021-07-19T11:02:27Z
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
STYLE bump pandas-dev-flaker
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a07aae11dc1b..020745521c3e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: additional_dependencies: - flake8-comprehensions==3.1.0 - flake8-bugbear==21.3.2 - -...
- [ ] 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/42595
2021-07-18T18:37:02Z
2021-07-29T20:32:33Z
null
2021-07-29T20:32:33Z
This is a commit to test my environment
diff --git a/pandas/tests/reshape/test_pivot.py b/pandas/tests/reshape/test_pivot.py index 97e933e9821af..de75569288c40 100644 --- a/pandas/tests/reshape/test_pivot.py +++ b/pandas/tests/reshape/test_pivot.py @@ -2127,7 +2127,7 @@ def test_pivot_table_doctest_case(self): tm.assert_frame_equal(table, expected) ...
- [ ] 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 - [ ] This is a test to see if this passes the CI tests. I will close the pull request after the CI have completed....
https://api.github.com/repos/pandas-dev/pandas/pulls/42594
2021-07-18T15:24:25Z
2021-07-18T16:07:11Z
null
2021-07-18T16:07:11Z
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
TST: added test for issue #26568
diff --git a/pandas/tests/reshape/test_pivot.py b/pandas/tests/reshape/test_pivot.py index 97e933e9821af..ce23684b2926f 100644 --- a/pandas/tests/reshape/test_pivot.py +++ b/pandas/tests/reshape/test_pivot.py @@ -2148,6 +2148,24 @@ 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/42590
2021-07-17T23:24:37Z
2021-07-18T13:42:29Z
null
2021-07-18T13:42:29Z
TST: added test for GH26568
diff --git a/pandas/tests/reshape/test_pivot.py b/pandas/tests/reshape/test_pivot.py index 97e933e9821af..2abf536f5a6e0 100644 --- a/pandas/tests/reshape/test_pivot.py +++ b/pandas/tests/reshape/test_pivot.py @@ -2148,6 +2148,38 @@ 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 a test for #25658.
https://api.github.com/repos/pandas-dev/pandas/pulls/42589
2021-07-17T22:18:33Z
2021-07-17T22:23:06Z
null
2021-07-17T22:23:06Z
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
POC: disallow mutating in groupby ops
diff --git a/pandas/core/groupby/ops.py b/pandas/core/groupby/ops.py index 36fbda5974ea0..7b61e7b33b105 100644 --- a/pandas/core/groupby/ops.py +++ b/pandas/core/groupby/ops.py @@ -1011,7 +1011,8 @@ def _aggregate_series_fast(self, obj: Series, func: F) -> np.ndarray: obj = obj.take(indexer) ids = ids...
- [ ] 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/42586
2021-07-17T17:20:55Z
2021-08-17T14:23:26Z
null
2021-08-17T14:23:29Z
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
CI: clean Azure Windows
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e16fd36ac8f98..6aa78128f73fc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,6 +17,7 @@ pr: variables: PYTEST_WORKERS: auto + CONDA_CACHE_DIR: $(Pipeline.Workspace)\\.condarc jobs: # Mac and Linux use the same template diff --git ...
try if 4 workers work now and try cache
https://api.github.com/repos/pandas-dev/pandas/pulls/42581
2021-07-17T02:54:23Z
2021-09-07T22:01:25Z
null
2022-11-18T02:20:49Z
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
commenting import modules purpose
diff --git a/pandas/core/apply.py b/pandas/core/apply.py index ff3fc30b870dc..579b2646b1621 100644 --- a/pandas/core/apply.py +++ b/pandas/core/apply.py @@ -1,5 +1,6 @@ from __future__ import annotations +# importing abstract base class, inpecting live objects. import abc import inspect from typing import ( @@ -1...
- [ ] 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/42572
2021-07-16T19:03:17Z
2021-07-16T20:27:27Z
null
2021-07-17T09:52:13Z
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
ENH: Added autofilter parameter to Excel output for both xlsxwriter and openpyxl engines
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 939fd5b832cef..bdef48a3119aa 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -3786,6 +3786,7 @@ The look and feel of Excel worksheets created from pandas can be modified using * ``float_format`` : Format st...
Added autofilter parameter to Excel output for both xlsxwriter and openpyxl engines - [x] closes #15307 - [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/42560
2021-07-16T10:06:51Z
2022-01-16T18:01:46Z
null
2022-01-23T18:27:51Z
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
CI: Run all GHA checks on backport branch
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef694205beeaa..f8f75e1d603be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - 1.3.x pull_request: branches: - master @@ -132,15 +133,15 @@ jobs: ...
- [ ] closes #39696 - [ ] 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 cc @simonjayhawkins How this was tested I made a fake 1.3.x branch which is actuall...
https://api.github.com/repos/pandas-dev/pandas/pulls/42556
2021-07-15T23:46:27Z
2021-07-16T10:38:14Z
2021-07-16T10:38:14Z
2021-07-16T16:04:23Z
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...
I have added Ibis to pandas ecosystem under the section of Out_of_core. This solves issue #20483
https://api.github.com/repos/pandas-dev/pandas/pulls/42554
2021-07-15T22:44:41Z
2021-07-16T13:26:04Z
2021-07-16T13:26:03Z
2021-07-22T18:37:22Z
Revert "REGR: concat(ints, bools) casting to object #42092"
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 2ce146660f98c..8ba0986a2ab7b 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -23,7 +23,7 @@ Fixed regressions - Performance regression in :meth:`DataFrame.to_dict` and :meth:`Series.to_dict` when ``or...
Reverts pandas-dev/pandas#42541 This fails ArrayManager. cc @jbrockmendel
https://api.github.com/repos/pandas-dev/pandas/pulls/42553
2021-07-15T17:40:04Z
2021-07-17T00:26:46Z
null
2021-07-17T00:26:49Z
Backport PR #42538: CI: Run some checks on push on 1.3.x
diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 4193c5528e950..a132b1486ae12 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -2,7 +2,9 @@ name: Posix on: push: - branches: [master] + branches: + - master + - 1.3.x pull_request: bra...
Backport PR #42538
https://api.github.com/repos/pandas-dev/pandas/pulls/42551
2021-07-15T17:12:02Z
2021-07-15T23:25:27Z
2021-07-15T23:25:27Z
2021-07-16T09:48:07Z
Backport PR #42541 on branch 1.3.x (REGR: concat(ints, bools) casting to object #42092)
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 8ba0986a2ab7b..2ce146660f98c 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -23,7 +23,7 @@ Fixed regressions - Performance regression in :meth:`DataFrame.to_dict` and :meth:`Series.to_dict` when ``or...
Backport PR #42541: REGR: concat(ints, bools) casting to object #42092
https://api.github.com/repos/pandas-dev/pandas/pulls/42548
2021-07-15T04:19:07Z
2021-07-15T12:25:41Z
2021-07-15T12:25:41Z
2021-07-15T12:25:41Z
CLN: clean sqlalchemy import
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index df9c7e28bff69..afd045bd8bb2b 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -47,10 +47,6 @@ from pandas.util.version import Version -class SQLAlchemyRequired(ImportError): - pass - - class DatabaseError(IOError): pass @@ -58,26 +54,6 @@ cla...
xref #40686
https://api.github.com/repos/pandas-dev/pandas/pulls/42546
2021-07-15T00:57:11Z
2021-07-28T01:13:31Z
2021-07-28T01:13:31Z
2022-01-24T16:01:01Z
TYP: Make components of Suffixes Optional
diff --git a/pandas/_typing.py b/pandas/_typing.py index 9c20eb12dc7fc..68ec331c2781f 100644 --- a/pandas/_typing.py +++ b/pandas/_typing.py @@ -111,7 +111,7 @@ IndexLabel = Union[Hashable, Sequence[Hashable]] Level = Union[Hashable, int] Shape = Tuple[int, ...] -Suffixes = Tuple[str, str] +Suffixes = Tuple[Optional...
The documentation on the parameters that actually are of type `Suffixes`: > *suffixeslist-like, default is (“_x”, “_y”)* > A length-2 sequence where each element is optionally a string indicating the suffix to add to overlapping column names in left and right respectively. _**Pass a value of None**_ instead of a st...
https://api.github.com/repos/pandas-dev/pandas/pulls/42544
2021-07-15T00:47:26Z
2021-10-04T12:10:46Z
2021-10-04T12:10:46Z
2021-10-04T12:10:50Z
Backport PR #42473: REGR: isin with nullable types with missing values raising
diff --git a/asv_bench/benchmarks/algos/isin.py b/asv_bench/benchmarks/algos/isin.py index 427af9307f2c9..5d7a76bc01d49 100644 --- a/asv_bench/benchmarks/algos/isin.py +++ b/asv_bench/benchmarks/algos/isin.py @@ -1,7 +1,5 @@ import numpy as np -from pandas.compat.numpy import np_version_under1p20 - from pandas impo...
Backport PR #42473
https://api.github.com/repos/pandas-dev/pandas/pulls/42543
2021-07-15T00:25:06Z
2021-07-15T04:17:52Z
2021-07-15T04:17:52Z
2021-07-16T09:27:25Z
Backport PR #42539 on branch 1.3.x (Revert "CI: runtime warning in npdev build")
diff --git a/pandas/tests/scalar/timedelta/test_arithmetic.py b/pandas/tests/scalar/timedelta/test_arithmetic.py index 8f03bd71f3a90..9f6cdbb81bd89 100644 --- a/pandas/tests/scalar/timedelta/test_arithmetic.py +++ b/pandas/tests/scalar/timedelta/test_arithmetic.py @@ -18,6 +18,7 @@ NaT, Timedelta, Timest...
Backport PR #42539: Revert "CI: runtime warning in npdev build"
https://api.github.com/repos/pandas-dev/pandas/pulls/42542
2021-07-14T23:12:36Z
2021-07-16T01:53:30Z
null
2021-07-16T01:53:30Z
REGR: concat(ints, bools) casting to object #42092
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 8ba0986a2ab7b..2ce146660f98c 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -23,7 +23,7 @@ Fixed regressions - Performance regression in :meth:`DataFrame.to_dict` and :meth:`Series.to_dict` when ``or...
- [x] closes #42092 - [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/42541
2021-07-14T22:58:54Z
2021-07-15T04:18:39Z
2021-07-15T04:18:39Z
2021-07-19T15:36:44Z
Revert "CI: runtime warning in npdev build"
diff --git a/pandas/tests/scalar/timedelta/test_arithmetic.py b/pandas/tests/scalar/timedelta/test_arithmetic.py index 8f03bd71f3a90..9f6cdbb81bd89 100644 --- a/pandas/tests/scalar/timedelta/test_arithmetic.py +++ b/pandas/tests/scalar/timedelta/test_arithmetic.py @@ -18,6 +18,7 @@ NaT, Timedelta, Timest...
Reverts pandas-dev/pandas#42413 Test passing on 3.9 numpydev again? Numpydev is red again b/c of this I think.
https://api.github.com/repos/pandas-dev/pandas/pulls/42539
2021-07-14T20:27:46Z
2021-07-14T23:12:09Z
2021-07-14T23:12:08Z
2021-07-16T01:53:40Z
CI: Run some checks on push on 1.3.x
diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 6c83035316481..6b5ac3cd17304 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - 1.3.x pull_request: branches: - master diff --git a/.gi...
- [ ] xref #39696 - [ ] 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 Not turning on CI/Checks since that one is non-trivial since it requires configuring the doc...
https://api.github.com/repos/pandas-dev/pandas/pulls/42538
2021-07-14T19:38:00Z
2021-07-14T23:12:58Z
2021-07-14T23:12:57Z
2021-07-16T09:46:42Z
Backport PR #42527 on branch 1.3.x (CI: Test Python dev on 1.3.x PRs)
diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 23a693ad90475..85ef356e7fa14 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -8,6 +8,7 @@ on: pull_request: branches: - master + - 1.3.x paths-ignore: - "doc/**"...
Backport PR #42527: CI: Test Python dev on 1.3.x PRs
https://api.github.com/repos/pandas-dev/pandas/pulls/42531
2021-07-14T07:43:04Z
2021-07-14T09:04:48Z
2021-07-14T09:04:48Z
2021-07-14T09:04:49Z
DOC: add height param added to user_guide
diff --git a/doc/source/user_guide/style.ipynb b/doc/source/user_guide/style.ipynb index 24965a38a4ce1..f77d134d75988 100644 --- a/doc/source/user_guide/style.ipynb +++ b/doc/source/user_guide/style.ipynb @@ -1201,7 +1201,7 @@ "metadata": {}, "outputs": [], "source": [ - "df2.style.bar(align=0, vmin=-2.5...
https://api.github.com/repos/pandas-dev/pandas/pulls/42529
2021-07-14T05:43:14Z
2021-07-14T18:21:10Z
2021-07-14T18:21:10Z
2021-07-30T18:04:23Z
TST: Test reindex w/ multiindex df (GH21247)
diff --git a/pandas/tests/indexes/multi/test_reindex.py b/pandas/tests/indexes/multi/test_reindex.py index d9c77c5bdcd60..340b546125d8d 100644 --- a/pandas/tests/indexes/multi/test_reindex.py +++ b/pandas/tests/indexes/multi/test_reindex.py @@ -133,3 +133,31 @@ def test_reindex_not_all_tuples(): tm.assert_index_eq...
- [x] closes #21247 - [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 Whats new: Add a test to `pandas/tests/indexes/multi/test_reindex.py`
https://api.github.com/repos/pandas-dev/pandas/pulls/42528
2021-07-14T04:56:18Z
2021-07-14T23:21:27Z
2021-07-14T23:21:26Z
2021-07-14T23:21:31Z
CI: Test Python dev on 1.3.x PRs
diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 0881336664efc..ac06ddab4ade4 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -8,6 +8,7 @@ on: pull_request: branches: - master + - 1.3.x paths-ignore: - "doc/**"...
- [ ] 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/42527
2021-07-14T02:27:28Z
2021-07-14T07:42:34Z
2021-07-14T07:42:34Z
2021-07-14T19:03:17Z
Backport PR #42475: PERF/REGR: astype changing order of some 2d data
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 7653a7b60a8fc..3dba36bf5b933 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -18,6 +18,8 @@ Fixed regressions - :class:`DataFrame` constructed with an older version of pandas could not be unpickled (:...
https://api.github.com/repos/pandas-dev/pandas/pulls/42526
2021-07-14T00:49:51Z
2021-07-14T08:39:26Z
2021-07-14T08:39:26Z
2021-07-14T08:39:27Z
Backport PR #42524 on branch 1.3.x (CI: Xfail less on Python 3.10)
diff --git a/pandas/tests/indexes/test_base.py b/pandas/tests/indexes/test_base.py index af781f0b58f85..826649358e663 100644 --- a/pandas/tests/indexes/test_base.py +++ b/pandas/tests/indexes/test_base.py @@ -12,7 +12,6 @@ from pandas.compat import ( IS64, - PY310, np_datetime64_compat, ) from pandas....
Backport PR #42524: CI: Xfail less on Python 3.10
https://api.github.com/repos/pandas-dev/pandas/pulls/42525
2021-07-13T22:47:36Z
2021-07-14T10:16:22Z
2021-07-14T10:16:22Z
2021-07-14T10:16:22Z