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: 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....
- [ ] 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 Thanks realead for fixing the tests.
https://api.github.com/repos/pandas-dev/pandas/pulls/42524
2021-07-13T21:38:28Z
2021-07-13T22:47:27Z
2021-07-13T22:47:27Z
2021-07-14T00:32:33Z
Backport PR #42475 on branch 1.3.x (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 (:...
Backport PR #42475: PERF/REGR: astype changing order of some 2d data
https://api.github.com/repos/pandas-dev/pandas/pulls/42523
2021-07-13T21:18:34Z
2021-07-14T00:50:16Z
null
2021-07-14T00:50:16Z
REF: de-duplicate WrappedCythonOp._ea_wrap_cython_operation
diff --git a/pandas/core/groupby/ops.py b/pandas/core/groupby/ops.py index 874d7395b1950..84d7f2a0b8cb9 100644 --- a/pandas/core/groupby/ops.py +++ b/pandas/core/groupby/ops.py @@ -341,95 +341,54 @@ def _ea_wrap_cython_operation( comp_ids=comp_ids, **kwargs, ) - ori...
- [ ] 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 Puts us within spitting distance of making this something EAs can override
https://api.github.com/repos/pandas-dev/pandas/pulls/42521
2021-07-13T20:11:23Z
2021-07-13T22:54:13Z
2021-07-13T22:54:13Z
2021-07-14T01:18:16Z
DOC: Add user_guide examples and docstring example for df.plot.box and df.plot.hist
diff --git a/doc/source/user_guide/visualization.rst b/doc/source/user_guide/visualization.rst index ab4893537f834..4a4c3624aa614 100644 --- a/doc/source/user_guide/visualization.rst +++ b/doc/source/user_guide/visualization.rst @@ -316,6 +316,34 @@ The ``by`` keyword can be specified to plot grouped histograms: @s...
- [x] closes #42492 - [ ] 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/42520
2021-07-13T18:34:13Z
2021-07-28T01:06:32Z
2021-07-28T01:06:32Z
2021-07-28T01:06:36Z
BUG: Fix multi-index colname references in read_csv c engine.
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index cb2a59860783f..4f57597432e2c 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -230,7 +230,7 @@ MultiIndex I/O ^^^ - Bug in :func:`read_excel` attempting to read chart sheets from .xlsx files (:issue:...
This fixes an issue with the read_csv c engine when the input has more than one header row and arguments to dtype, na_values, or converters reference multi-index column names as tuples. - [x] closes #42446 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-d...
https://api.github.com/repos/pandas-dev/pandas/pulls/42519
2021-07-13T17:38:56Z
2021-07-15T04:20:24Z
2021-07-15T04:20:23Z
2021-07-15T04:20:33Z
WIP: try to debug segfault related issue
diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 0881336664efc..96bc5664937a5 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -57,7 +57,7 @@ jobs: - name: Test with pytest run: | - ci/run_tests.sh + coverage run -m...
https://api.github.com/repos/pandas-dev/pandas/pulls/42518
2021-07-13T15:08:41Z
2021-09-08T02:00:11Z
null
2022-11-18T02:20:29Z
Backport PR #42516 on branch 1.3.x (DOC: fixes for 1.3.1 release notes)
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index bf8cd00820f58..7653a7b60a8fc 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -15,11 +15,11 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Pandas could not be built on P...
Backport PR #42516: DOC: fixes for 1.3.1 release notes
https://api.github.com/repos/pandas-dev/pandas/pulls/42517
2021-07-13T12:47:30Z
2021-07-13T15:06:08Z
2021-07-13T15:06:08Z
2021-07-13T15:06:09Z
DOC: fixes for 1.3.1 release notes
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index bf8cd00820f58..7653a7b60a8fc 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -15,11 +15,11 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Pandas could not be built on P...
https://api.github.com/repos/pandas-dev/pandas/pulls/42516
2021-07-13T09:51:41Z
2021-07-13T12:47:06Z
2021-07-13T12:47:06Z
2021-07-13T12:47:10Z
Backport PR #42451: CI: Sync all 3.9 builds (part)
diff --git a/ci/deps/actions-39.yaml b/ci/deps/actions-39.yaml index b74f1af8ee0f6..03f2bc84bcc01 100644 --- a/ci/deps/actions-39.yaml +++ b/ci/deps/actions-39.yaml @@ -12,11 +12,30 @@ dependencies: - hypothesis>=3.58.0 # pandas dependencies + - beautifulsoup4 + - bottleneck + - fsspec>=0.8.0, <2021.6.0 + -...
Backport PR #42451 xref https://github.com/pandas-dev/pandas/pull/42451#issuecomment-878918384 > I think for the backport, will only backport changes in ci/deps/actions-39.yaml and leave ci/deps/actions-39-slow.yaml which maps to ci/deps/actions-37-slow.yaml unchanged.
https://api.github.com/repos/pandas-dev/pandas/pulls/42515
2021-07-13T09:22:59Z
2021-07-13T12:00:40Z
2021-07-13T12:00:40Z
2021-07-13T12:07:09Z
Backport PR #42464 on branch 1.3.x (BUG: `to_xml` with `index=False` and offset input index)
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 1683cdf2cce03..bf8cd00820f58 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -29,6 +29,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ - Fixed bug in :meth:`DataFrame.transpose` dropping values when the ...
Backport PR #42464: BUG: `to_xml` with `index=False` and offset input index
https://api.github.com/repos/pandas-dev/pandas/pulls/42513
2021-07-12T21:18:17Z
2021-07-13T10:17:12Z
2021-07-13T10:17:12Z
2021-07-13T10:17:12Z
ENH: validate the argument `width` on `Styler.bar`
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index cb2a59860783f..a63bd2fe749f5 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -32,6 +32,7 @@ Other enhancements - Add support for assigning values to ``by`` argument in :meth:`DataFrame.plot.hist` and ...
https://api.github.com/repos/pandas-dev/pandas/pulls/42511
2021-07-12T17:22:43Z
2021-07-13T22:56:26Z
2021-07-13T22:56:26Z
2021-07-14T05:09:21Z
TST CLN: test_bar.py cleanup 3/3: NaN cases
diff --git a/pandas/tests/io/formats/style/test_bar.py b/pandas/tests/io/formats/style/test_bar.py index 18a0c39a5cbc0..1f6fefd93cf6e 100644 --- a/pandas/tests/io/formats/style/test_bar.py +++ b/pandas/tests/io/formats/style/test_bar.py @@ -51,55 +51,6 @@ def df_mix(): return DataFrame([[-3], [1], [2]]) -class...
last cleanup to test_bar.py. This removes the NaN test cases and adds it as parameter to an existing test.
https://api.github.com/repos/pandas-dev/pandas/pulls/42510
2021-07-12T17:09:13Z
2021-07-12T20:08:44Z
2021-07-12T20:08:44Z
2021-07-13T05:49:33Z
read_excel() modifies provided types dict when accessing file with duplicate column
diff --git a/doc/source/whatsnew/v1.3.2.rst b/doc/source/whatsnew/v1.3.2.rst index c716460e997d0..4e6ea85e2ff1d 100644 --- a/doc/source/whatsnew/v1.3.2.rst +++ b/doc/source/whatsnew/v1.3.2.rst @@ -30,6 +30,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ +- Bug in :meth:`pandas.read_excel` modifies the dtypes dictionary ...
- [x] closes #42462 - [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/42508
2021-07-12T16:17:21Z
2021-08-04T21:55:15Z
2021-08-04T21:55:15Z
2021-08-05T04:02:43Z
CLN: remove deprecated sqlite cursor
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index 1a8012df5cb46..df9c7e28bff69 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -182,7 +182,7 @@ def _wrap_result( return frame -def execute(sql, con, cur=None, params=None): +def execute(sql, con, params=None): """ Execute the given SQL que...
some cleanup before update the SQL module for sqlalchemy 2.0.
https://api.github.com/repos/pandas-dev/pandas/pulls/42507
2021-07-12T16:01:16Z
2021-07-13T12:04:14Z
2021-07-13T12:04:14Z
2022-11-18T02:20:27Z
TST CLN: Styler bar tests cleanup 2/3
diff --git a/pandas/tests/io/formats/style/test_bar.py b/pandas/tests/io/formats/style/test_bar.py index 1551c18c1613a..18a0c39a5cbc0 100644 --- a/pandas/tests/io/formats/style/test_bar.py +++ b/pandas/tests/io/formats/style/test_bar.py @@ -36,104 +36,22 @@ def bar_from_to(x, y, color="#d65f5f"): ) -class Test...
cleanup 2/3 of `style/test_bar.py`. Parametrises the tests for `vmin/vmax` clipping and widening, to test with different combinations of `align`. Also adds fixtures for existing tests in the file.
https://api.github.com/repos/pandas-dev/pandas/pulls/42504
2021-07-12T14:20:40Z
2021-07-12T16:54:51Z
2021-07-12T16:54:51Z
2021-07-12T16:55:09Z
ENH - Improved error message for interpolating IntegerArrays (#41565)
diff --git a/pandas/core/missing.py b/pandas/core/missing.py index f144821220e4b..ff75d73dee47c 100644 --- a/pandas/core/missing.py +++ b/pandas/core/missing.py @@ -117,7 +117,10 @@ def clean_fill_method(method, allow_nearest: bool = False): valid_methods.append("nearest") expecting = "pad (ffill), ba...
- [X] closes #41565 ~~- [ ] 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] whatsnew entry This PR improves the error message when trying to interpolate dtype integer with metho...
https://api.github.com/repos/pandas-dev/pandas/pulls/42503
2021-07-12T13:05:31Z
2021-09-14T03:23:43Z
null
2021-09-14T03:23:43Z
Backport PR #42486 on branch 1.3.x (REGR: to_dict(orient={"records", "split", "dict"}) slowdown)
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index c32eda4928da7..e5834f311d259 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -232,6 +232,22 @@ def time_to_html_mixed(self): self.df2.to_html() +class ToDict: +...
Backport PR #42486: REGR: to_dict(orient={"records", "split", "dict"}) slowdown
https://api.github.com/repos/pandas-dev/pandas/pulls/42502
2021-07-12T12:43:54Z
2021-07-12T13:38:03Z
2021-07-12T13:38:03Z
2021-07-12T13:38:03Z
TYP/CLN: update setup.cfg
diff --git a/pandas/io/formats/string.py b/pandas/io/formats/string.py index 2610b7777207f..90a4800c805b6 100644 --- a/pandas/io/formats/string.py +++ b/pandas/io/formats/string.py @@ -119,13 +119,7 @@ def _join_multiline(self, strcols_input: Iterable[list[str]]) -> str: if self.fmt.index: idx =...
in #36092 a combination of a false positive from numpy and a mypy error outputing a Note for an ignored error meant that to get mypy green setup.cfg was modified. can now be removed.
https://api.github.com/repos/pandas-dev/pandas/pulls/42500
2021-07-12T10:33:21Z
2021-07-12T13:03:45Z
2021-07-12T13:03:45Z
2021-07-12T13:15:12Z
TYP/CLN: implicit re-export
diff --git a/pandas/core/describe.py b/pandas/core/describe.py index 6623440e68551..fd45da4a3ccc7 100644 --- a/pandas/core/describe.py +++ b/pandas/core/describe.py @@ -13,6 +13,7 @@ TYPE_CHECKING, Any, Callable, + Hashable, Sequence, cast, ) @@ -21,10 +22,7 @@ import numpy as np from p...
xref https://github.com/pandas-dev/pandas/pull/42422#discussion_r665268898
https://api.github.com/repos/pandas-dev/pandas/pulls/42498
2021-07-12T09:59:24Z
2021-07-12T13:19:11Z
2021-07-12T13:19:11Z
2021-07-12T13:21:29Z
CLN: renamed a test file
diff --git a/pandas/tests/io/formats/style/test_align.py b/pandas/tests/io/formats/style/test_bar.py similarity index 100% rename from pandas/tests/io/formats/style/test_align.py rename to pandas/tests/io/formats/style/test_bar.py
renamed a file called `test_align` since it tests `Styler.bar()` method in its entirety and not only the `align` argument.
https://api.github.com/repos/pandas-dev/pandas/pulls/42496
2021-07-12T09:04:06Z
2021-07-12T13:04:10Z
2021-07-12T13:04:09Z
2021-07-12T13:45:40Z
Omerdan03 bug pd.series.rename #42481
diff --git a/pandas/core/series.py b/pandas/core/series.py index 87d419d1f3d41..37fb6616ef746 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -1760,7 +1760,7 @@ def _set_name(self, name, inplace=False) -> Series: inplace = validate_bool_kwarg(inplace, "inplace") ser = self if inplace...
- [ ] closes #42481 - [ ] 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://github.com/pandas-dev/pandas/issues/42481
https://api.github.com/repos/pandas-dev/pandas/pulls/42495
2021-07-12T08:06:20Z
2021-08-17T02:48:43Z
null
2021-08-17T02:48:43Z
Improved docstring and return type hints for `to_datetime`
diff --git a/pandas/core/tools/datetimes.py b/pandas/core/tools/datetimes.py index f40f227259998..4d9420fc0510d 100644 --- a/pandas/core/tools/datetimes.py +++ b/pandas/core/tools/datetimes.py @@ -691,100 +691,134 @@ def to_datetime( """ Convert argument to datetime. + This function converts a scalar, ar...
- [x] closes https://github.com/pandas-dev/pandas/issues/17973 Improved (still not ideal) fix for #42229 (datetime parsing behaviour in case of multiple time offsets due to daylight-savings in timezones) following https://github.com/pandas-dev/pandas/pull/42244 See also https://github.com/pandas-dev/pandas/issue...
https://api.github.com/repos/pandas-dev/pandas/pulls/42494
2021-07-12T08:05:57Z
2022-01-05T00:49:08Z
2022-01-05T00:49:08Z
2022-01-05T20:26:50Z
⬆️ UPGRADE: Autoupdate pre-commit config
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea6c94ee45247..3a07aae11dc1b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -53,11 +53,11 @@ repos: types: [text] args: [--append-config=flake8/cython-template.cfg] - repo: https://github.com/PyCQA/isort - ...
<!-- 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/42493
2021-07-12T07:12:35Z
2021-07-12T13:04:45Z
2021-07-12T13:04:45Z
2021-07-12T13:42:33Z
Backport PR #42487 on branch 1.3.x (CI: add back xfail for flaky chunksize test)
diff --git a/pandas/tests/io/parser/common/test_chunksize.py b/pandas/tests/io/parser/common/test_chunksize.py index e78448a2c32d3..86891367e9bd6 100644 --- a/pandas/tests/io/parser/common/test_chunksize.py +++ b/pandas/tests/io/parser/common/test_chunksize.py @@ -191,8 +191,24 @@ def test_warn_if_chunks_have_mismatche...
Backport PR #42487: CI: add back xfail for flaky chunksize test
https://api.github.com/repos/pandas-dev/pandas/pulls/42491
2021-07-12T01:28:55Z
2021-07-12T12:44:11Z
2021-07-12T12:44:11Z
2021-07-12T12:44:12Z
Backport PR #42439 on branch 1.3.x (DOC: Refactor Numba enhancing performance and add parallelism caveat)
diff --git a/doc/source/user_guide/enhancingperf.rst b/doc/source/user_guide/enhancingperf.rst index aa9a1ba6d6bf0..c78d972f33d65 100644 --- a/doc/source/user_guide/enhancingperf.rst +++ b/doc/source/user_guide/enhancingperf.rst @@ -302,28 +302,63 @@ For more about ``boundscheck`` and ``wraparound``, see the Cython doc...
Backport PR #42439: DOC: Refactor Numba enhancing performance and add parallelism caveat
https://api.github.com/repos/pandas-dev/pandas/pulls/42490
2021-07-12T00:30:54Z
2021-07-12T01:27:14Z
2021-07-12T01:27:13Z
2021-07-12T01:27:14Z
Backport PR #42469 on branch 1.3.x (REGR: indexing with list subclass)
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 255747c3c5c6d..2c615618a98ef 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -18,6 +18,7 @@ Fixed regressions - :class:`DataFrame` constructed with with an older version of pandas could not be unpickl...
Backport PR #42469: REGR: indexing with list subclass
https://api.github.com/repos/pandas-dev/pandas/pulls/42489
2021-07-12T00:30:34Z
2021-07-12T01:26:47Z
2021-07-12T01:26:47Z
2021-07-12T01:26:47Z
TYP: npt.NDarray
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index a467798adf2e4..bf6887ed27005 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -27,6 +27,7 @@ ArrayLike, DtypeObj, Scalar, + npt, ) from pandas.util._decorators import doc @@ -528,7 +529,7 @@ def facto...
- [ ] 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 cc @simonjayhawkins
https://api.github.com/repos/pandas-dev/pandas/pulls/42488
2021-07-12T00:07:44Z
2021-07-14T07:50:10Z
2021-07-14T07:50:09Z
2021-07-14T15:15:57Z
CI: add back xfail for flaky chunksize test
diff --git a/pandas/tests/io/parser/common/test_chunksize.py b/pandas/tests/io/parser/common/test_chunksize.py index e78448a2c32d3..86891367e9bd6 100644 --- a/pandas/tests/io/parser/common/test_chunksize.py +++ b/pandas/tests/io/parser/common/test_chunksize.py @@ -191,8 +191,24 @@ def test_warn_if_chunks_have_mismatche...
This reverts the part of #42174 that (optimistically it turns out) removed the xfail for a `ResourceWarning` with the python parser.
https://api.github.com/repos/pandas-dev/pandas/pulls/42487
2021-07-11T20:26:37Z
2021-07-12T01:28:46Z
2021-07-12T01:28:46Z
2021-07-12T02:21:56Z
REGR: to_dict(orient={"records", "split", "dict"}) slowdown
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index c32eda4928da7..e5834f311d259 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -232,6 +232,22 @@ def time_to_html_mixed(self): self.df2.to_html() +class ToDict: +...
- [x] closes #42352 - [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 Regression was due to each scalar value hitting `is_datetime_or_timedelta_dtype` -> `_is_d...
https://api.github.com/repos/pandas-dev/pandas/pulls/42486
2021-07-11T19:09:07Z
2021-07-12T12:43:43Z
2021-07-12T12:43:43Z
2021-07-12T12:46:59Z
REF: implement Index._get_indexer_strict
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index fcca44d339711..d54a3047a3ab9 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3452,7 +3452,7 @@ def __getitem__(self, key): else: if is_iterator(key): key = list(key) - indexer = self.loc._ge...
- [ ] closes #xxxx - [ ] 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 #27181, a couple more steps to get that all the way accomplished
https://api.github.com/repos/pandas-dev/pandas/pulls/42485
2021-07-11T18:50:11Z
2021-07-15T23:54:03Z
2021-07-15T23:54:03Z
2021-07-16T04:51:39Z
Improve boolean indexing docs
diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index 584dd0f52ae28..ee7e7a32ed565 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -866,8 +866,15 @@ Boolean indexing .. _indexing.boolean: -Another common operation is the use of boolea...
- [ X] closes #42384 - [ 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/42484
2021-07-11T18:12:17Z
2021-08-17T02:46:38Z
null
2021-08-17T02:46:38Z
ENH: Styler.bar height control
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 26dac44f0d15f..cb2a59860783f 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -31,7 +31,7 @@ Other enhancements ^^^^^^^^^^^^^^^^^^ - Add support for assigning values to ``by`` argument in :meth:`DataF...
- [x] closes #36419 - [x] tests added / passed - [x] whatsnew entry I originally thought the issue was too complicated to code for such a small feature, but turns out it was only one or two lines of coding, so I added it in. Quite a nice addition for visualisations I think. ![Screen Shot 2021-07-11 at 17 23 59...
https://api.github.com/repos/pandas-dev/pandas/pulls/42483
2021-07-11T15:29:21Z
2021-07-13T12:02:03Z
2021-07-13T12:02:03Z
2021-07-13T13:40:08Z
REF: implement MultiIndex._get_indexer_level_0
diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py index 8903d29782610..d007964a7b266 100644 --- a/pandas/core/indexes/multi.py +++ b/pandas/core/indexes/multi.py @@ -73,7 +73,6 @@ from pandas.core.arrays import Categorical from pandas.core.arrays.categorical import factorize_from_iterables imp...
- [ ] 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/42480
2021-07-11T01:42:25Z
2021-07-12T13:06:38Z
2021-07-12T13:06:38Z
2021-07-12T14:39:08Z
TST: verify numpy.ravel works on a list of DataFrames with specified column names (#26247)
diff --git a/pandas/tests/frame/test_npfuncs.py b/pandas/tests/frame/test_npfuncs.py index 0b7699e46d720..6b9e68d39622b 100644 --- a/pandas/tests/frame/test_npfuncs.py +++ b/pandas/tests/frame/test_npfuncs.py @@ -26,3 +26,21 @@ def test_np_sqrt(self, float_frame): assert result.columns is float_frame.columns ...
- [x] closes #26247 - [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 Inserted test to verify that np.ravel can be used on DataFrames with specified column nam...
https://api.github.com/repos/pandas-dev/pandas/pulls/42478
2021-07-10T07:41:43Z
2021-07-11T18:33:07Z
null
2021-07-12T20:27:08Z
BUG: string slicing on MultiIndex DatetimeIndex level
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index fe6c7c7b7d213..ddb35e858124a 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -217,6 +217,8 @@ Indexing ^^^^^^^^ - Bug in indexing on a :class:`Series` or :class:`DataFrame` with a :class:`DatetimeInd...
- [ ] 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 Original motivation was to get rid of _get_partial_string_timestamp_match_key.
https://api.github.com/repos/pandas-dev/pandas/pulls/42476
2021-07-10T02:13:27Z
2021-07-15T04:19:59Z
2021-07-15T04:19:59Z
2021-07-15T04:39:19Z
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 1683cdf2cce03..8ca6065b54faf 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 with an older version of pandas could not be unpickl...
- [x] closes #42396 - [x] closes #38592 - [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 just lets `numpy` stick with the default of `order="C"` for both...
https://api.github.com/repos/pandas-dev/pandas/pulls/42475
2021-07-10T01:04:35Z
2021-07-13T21:18:24Z
2021-07-13T21:18:23Z
2021-07-14T00:36:35Z
[NOMERGE] Test object array copying
diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py index 1d286e379da86..a76f786ffa52a 100644 --- a/pandas/tests/frame/test_constructors.py +++ b/pandas/tests/frame/test_constructors.py @@ -2868,3 +2868,13 @@ def test_tzaware_data_tznaive_dtype(self, constructor): a...
In an effort to debug what's wrong with https://github.com/pandas-dev/pandas/pull/39272/, I'm opening a separate pull request with some tests to run on Azure pipelines. I can't reproduce these test fails locally with `environment.yml` or a docker developer environment. `test_1d_object_array_does_not_copy` DIDN'T fai...
https://api.github.com/repos/pandas-dev/pandas/pulls/42474
2021-07-10T00:36:01Z
2021-07-10T02:00:58Z
null
2021-07-10T02:00:58Z
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 159584d9120a5..5d7a76bc01d49 100644 --- a/asv_bench/benchmarks/algos/isin.py +++ b/asv_bench/benchmarks/algos/isin.py @@ -1,10 +1,5 @@ import numpy as np -try: - from pandas.compat import np_version_under1p20 -except Import...
- [x] closes #39844 - [x] closes #42405 - [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 Didn't look like there was a consensus reached on NA propagation in #...
https://api.github.com/repos/pandas-dev/pandas/pulls/42473
2021-07-09T22:12:40Z
2021-07-14T18:19:05Z
2021-07-14T18:19:04Z
2021-07-16T09:28:11Z
CLN TST: Refactor `Styler.bar` tests through parametrisation
diff --git a/pandas/tests/io/formats/style/test_align.py b/pandas/tests/io/formats/style/test_align.py index be7d2fc3be518..7451d9d2369ab 100644 --- a/pandas/tests/io/formats/style/test_align.py +++ b/pandas/tests/io/formats/style/test_align.py @@ -23,258 +23,20 @@ def no_bar(): return bar_grad() -def bar_to(x...
`Styler.bar` tests are refactored to avoid code duplication and enhance the testing process to cover a wider array of scenarios with simpler code. Summary of removed tests and their replacement coverage: Original Test | Replaced By | Parameters | --- | --- | --- | test_bar_align_left | test_align_positive_cases...
https://api.github.com/repos/pandas-dev/pandas/pulls/42472
2021-07-09T21:39:23Z
2021-07-12T01:30:00Z
2021-07-12T01:30:00Z
2021-07-12T08:58:54Z
DOC: GH42420 Fix typo in windows C compiler install guide
diff --git a/doc/source/development/contributing_environment.rst b/doc/source/development/contributing_environment.rst index bc0a3556b9ac1..f3e6f6129f5d7 100644 --- a/doc/source/development/contributing_environment.rst +++ b/doc/source/development/contributing_environment.rst @@ -72,7 +72,7 @@ These packages will autom...
Closes #42420
https://api.github.com/repos/pandas-dev/pandas/pulls/42470
2021-07-09T19:52:33Z
2021-07-11T19:15:04Z
2021-07-11T19:15:04Z
2021-07-13T20:23:48Z
REGR: indexing with list subclass
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 255747c3c5c6d..2c615618a98ef 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -18,6 +18,7 @@ Fixed regressions - :class:`DataFrame` constructed with with an older version of pandas could not be unpickl...
- [x] closes #42461 - [x] closes #42433 - [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/42469
2021-07-09T19:14:29Z
2021-07-12T00:29:58Z
2021-07-12T00:29:57Z
2021-07-13T09:52:29Z
Add Logging error message to easy debug
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 2f1d85f1340a4..75dee27e4bf66 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -3380,6 +3380,7 @@ def get_loc(self, key, method=None, tolerance=None): try: return self._engine.get_loc(c...
Add a Logging error message to debug easier. ![image](https://user-images.githubusercontent.com/5876946/125116176-83b2df00-e116-11eb-8567-bf12ec2cddc7.png)
https://api.github.com/repos/pandas-dev/pandas/pulls/42468
2021-07-09T17:34:26Z
2021-07-11T19:19:04Z
null
2021-07-11T19:19:04Z
CI: Don't auto-cancel on master
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a26848e89d124..ef694205beeaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: concurrency: group: ${{ github.ref }}-checks - cancel-in-progress: true + cancel-in-progress: ${{github...
- [ ] closes #42076 - [ ] 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 haven't tested that this skips the cancel on master branch, only that it cancels alread...
https://api.github.com/repos/pandas-dev/pandas/pulls/42467
2021-07-09T17:08:13Z
2021-07-12T13:06:01Z
2021-07-12T13:06:01Z
2021-07-19T16:51:58Z
BUG: MultiIndex.get_loc with string key on DatetimeIndex level
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 8608dffd58090..c441de3c21159 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -229,6 +229,7 @@ Missing MultiIndex ^^^^^^^^^^ +- Bug in :meth:`MultiIndex.get_loc` where the first level is a :class:`D...
- [ ] 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/42465
2021-07-09T16:41:54Z
2021-07-16T00:23:06Z
2021-07-16T00:23:06Z
2021-07-16T04:48:57Z
BUG: `to_xml` with `index=False` and offset input index
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 255747c3c5c6d..c1cf9d208673f 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -27,6 +27,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ - Fixed bug in :meth:`DataFrame.transpose` dropping values when the ...
Fixes #42458 It was assumed that the index contains the element `0`. This led to a defect when the index of the input Dataframe has an offset, which is a common use case when streaming Dataframes via generators. This fix consists of not relying on accessing the `0` element of `frame_dicts`. - [x] closes #42...
https://api.github.com/repos/pandas-dev/pandas/pulls/42464
2021-07-09T15:45:30Z
2021-07-12T21:17:34Z
2021-07-12T21:17:34Z
2021-07-30T12:34:46Z
Backport PR #42449 on branch 1.3.x (REGR: DataFrame.agg with axis=1, EA dtype, and duplicate index)
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 65719a11243f8..255747c3c5c6d 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -17,6 +17,7 @@ Fixed regressions - Pandas could not be built on PyPy (:issue:`42355`) - :class:`DataFrame` constructed wit...
Backport PR #42449: REGR: DataFrame.agg with axis=1, EA dtype, and duplicate index
https://api.github.com/repos/pandas-dev/pandas/pulls/42460
2021-07-09T13:09:33Z
2021-07-09T14:10:06Z
2021-07-09T14:10:06Z
2021-07-09T14:10:06Z
BUG: Mitigate division with zero in roll_var
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 92cf2bed9ca47..e74cc013ba201 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -244,7 +244,7 @@ Plotting Groupby/resample/rolling ^^^^^^^^^^^^^^^^^^^^^^^^ - Bug in :meth:`Series.rolling.apply`, :meth:...
- [ ] closes #42442 - [ ] 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/42459
2021-07-09T12:51:27Z
2021-07-28T01:54:46Z
2021-07-28T01:54:46Z
2021-07-28T01:54:50Z
BUG: df.astype changes order of dataframe
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 65719a11243f8..82b4d2def0b5c 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -25,7 +25,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ -- +-Bug in :meth:`pandas.DataFrame.astype` (:issue:`42396`) - ...
- [x] closes #42396 - [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] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42457
2021-07-09T08:52:55Z
2021-07-09T10:06:45Z
null
2021-08-11T04:34:14Z
Fixed Issue #42447
diff --git a/README.md b/README.md index d928195bf2a10..51e09ca1b5dea 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@ structures designed to make working with "relational" or "labeled" data both easy and intuitive. It aims to be the fundamental high-level building block for doing practical, **real world** d...
- [🗸 ] closes #42447 - [ ] 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/42454
2021-07-09T05:37:12Z
2021-07-09T07:33:22Z
null
2021-07-09T07:33:22Z
BUG: TypeError when shifting DataFrame created by concatenation of slices and fills with values
diff --git a/doc/source/whatsnew/v1.3.2.rst b/doc/source/whatsnew/v1.3.2.rst index 84e2f1ad33809..f4804215db8c1 100644 --- a/doc/source/whatsnew/v1.3.2.rst +++ b/doc/source/whatsnew/v1.3.2.rst @@ -17,6 +17,7 @@ Fixed regressions - Performance regression in :meth:`DataFrame.isin` and :meth:`Series.isin` for nullable da...
- [x] closes #42719 - [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/42453
2021-07-09T05:24:12Z
2021-07-27T19:58:53Z
2021-07-27T19:58:52Z
2021-07-28T01:06:28Z
CI: Sync all 3.9 builds
diff --git a/ci/deps/actions-39-slow.yaml b/ci/deps/actions-39-slow.yaml index cacafc2518b19..a39504bae1bca 100644 --- a/ci/deps/actions-39-slow.yaml +++ b/ci/deps/actions-39-slow.yaml @@ -14,25 +14,29 @@ dependencies: # pandas dependencies - beautifulsoup4 - - fsspec>=0.7.4, <2021.6.0 + - bottleneck + - fss...
- [x] closes #37826 IIUC, all the 3.9 builds(except numpydev) should have all dependencies.
https://api.github.com/repos/pandas-dev/pandas/pulls/42451
2021-07-08T18:54:12Z
2021-07-09T13:58:43Z
2021-07-09T13:58:42Z
2021-07-13T20:41:30Z
REGR: DataFrame.agg with axis=1, EA dtype, and duplicate index
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 65719a11243f8..255747c3c5c6d 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -17,6 +17,7 @@ Fixed regressions - Pandas could not be built on PyPy (:issue:`42355`) - :class:`DataFrame` constructed wit...
- [x] closes #42380 - [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 The issue in transpose was a bug that was introduced in 1.0.0, but induced a regression in...
https://api.github.com/repos/pandas-dev/pandas/pulls/42449
2021-07-08T18:16:08Z
2021-07-09T13:09:08Z
2021-07-09T13:09:07Z
2021-07-10T14:38:05Z
BUG: Issue with pd.cut on Series with duplicate index
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 2211722ad006d..bd22fdea6b0e1 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 ^^^^^^^^^ - :func:`concat` creating :class:`MultiIndex` with duplicat...
- [x] closes #42185 - [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 Creating a new PR. I had messed up the earlier one by mistake.
https://api.github.com/repos/pandas-dev/pandas/pulls/42448
2021-07-08T14:33:11Z
2021-07-28T01:01:42Z
2021-07-28T01:01:42Z
2021-07-28T03:41:52Z
Backport PR #42386 on branch 1.3.x (DOC fix the incorrect doc style in 1.2.1)
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index b87274307431b..03dfe475475a1 100755 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -338,19 +338,20 @@ maps labels to their new names along the default axis, is allowed to be passed b *pandas 0.25.x* -.....
Backport PR #42386: DOC fix the incorrect doc style in 1.2.1
https://api.github.com/repos/pandas-dev/pandas/pulls/42445
2021-07-08T13:11:12Z
2021-07-08T14:38:29Z
2021-07-08T14:38:29Z
2021-07-08T14:38:29Z
Backport PR #42338 on branch 1.3.x (PERF/REGR: revert #41785)
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 9c17a22bf6d52..65719a11243f8 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -16,6 +16,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Pandas could not be built on PyPy (:issue:`42355`) - :class:`DataFra...
Backport PR #42338: PERF/REGR: revert #41785
https://api.github.com/repos/pandas-dev/pandas/pulls/42444
2021-07-08T12:42:59Z
2021-07-08T14:38:14Z
2021-07-08T14:38:14Z
2021-07-08T14:38:14Z
BUG: MultiIndex.get_loc re-raise TypeError as KeyError
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 08f30f467dfa7..b764522d19bbe 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -235,6 +235,7 @@ MultiIndex ^^^^^^^^^^ - Bug in :meth:`MultiIndex.get_loc` where the first level is a :class:`DatetimeInde...
- [ ] 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/42440
2021-07-08T00:16:25Z
2021-07-25T14:19:26Z
2021-07-25T14:19:26Z
2021-07-25T14:41:18Z
DOC: Refactor Numba enhancing performance and add parallelism caveat
diff --git a/doc/source/user_guide/enhancingperf.rst b/doc/source/user_guide/enhancingperf.rst index aa9a1ba6d6bf0..c78d972f33d65 100644 --- a/doc/source/user_guide/enhancingperf.rst +++ b/doc/source/user_guide/enhancingperf.rst @@ -302,28 +302,63 @@ For more about ``boundscheck`` and ``wraparound``, see the Cython doc...
- [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/42439
2021-07-07T20:58:17Z
2021-07-12T00:30:46Z
2021-07-12T00:30:46Z
2021-07-12T00:38:57Z
Fix Formatting Issue
diff --git a/pandas/core/series.py b/pandas/core/series.py index 6e6e8b6d8b178..9eab934d7db83 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -201,7 +201,7 @@ class Series(base.IndexOpsMixin, generic.NDFrame): methods from ndarray have been overridden to automatically exclude missing data (c...
closes #42371 ![image](https://user-images.githubusercontent.com/63334933/124824875-c95d8500-df27-11eb-97a5-42cdb10f6404.png)
https://api.github.com/repos/pandas-dev/pandas/pulls/42438
2021-07-07T20:32:45Z
2021-07-08T13:08:56Z
2021-07-08T13:08:56Z
2021-07-08T13:09:00Z
CLN: clean doc validation script
diff --git a/scripts/validate_docstrings.py b/scripts/validate_docstrings.py index 9b65204403612..7562895d9db3e 100755 --- a/scripts/validate_docstrings.py +++ b/scripts/validate_docstrings.py @@ -17,37 +17,26 @@ import argparse import doctest -import glob import importlib +import io import json -import os +impor...
precursor of #41456
https://api.github.com/repos/pandas-dev/pandas/pulls/42436
2021-07-07T20:14:40Z
2021-07-08T13:00:43Z
2021-07-08T13:00:43Z
2021-07-08T13:23:21Z
BUG: .loc failing to drop first level
diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py index 05580b03feba1..8903d29782610 100644 --- a/pandas/core/indexes/multi.py +++ b/pandas/core/indexes/multi.py @@ -3030,16 +3030,20 @@ def maybe_mi_droplevels(indexer, levels): # everything ...
- [ ] 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 This does not fix any of the existing GH issues for dropping of levels.
https://api.github.com/repos/pandas-dev/pandas/pulls/42435
2021-07-07T18:21:01Z
2021-07-08T12:58:05Z
2021-07-08T12:58:05Z
2021-07-08T16:21:51Z
Backport PR #42419 on branch 1.3.x (CI: update vm image version for Azure)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b0766d1915321..1e59204b25d9b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,12 +21,12 @@ jobs: - template: ci/azure/posix.yml parameters: name: macOS - vmImage: macOS-10.14 + vmImage: macOS-10.15 - template: ci/azure/windo...
Backport PR #42419: CI: update vm image version for Azure
https://api.github.com/repos/pandas-dev/pandas/pulls/42432
2021-07-07T16:48:57Z
2021-07-07T19:54:54Z
2021-07-07T19:54:54Z
2021-07-07T19:54:55Z
TYP: dtype specializations for np.ndarray in algos.pyi (part)
diff --git a/pandas/_libs/algos.pyi b/pandas/_libs/algos.pyi index 9da5534c51321..5d55939f28c20 100644 --- a/pandas/_libs/algos.pyi +++ b/pandas/_libs/algos.pyi @@ -1,7 +1,11 @@ # Note: this covers algos.pyx and algos_common_helper but NOT algos_take_helper -from typing import Any +from typing import ( + Any, + ...
cc @jbrockmendel
https://api.github.com/repos/pandas-dev/pandas/pulls/42428
2021-07-07T15:52:33Z
2021-08-24T12:02:41Z
null
2021-08-24T16:35:55Z
DOC: Add more instructions for updating the whatsnew
diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst index e812aaa760a8f..721b1af126709 100644 --- a/doc/source/development/contributing_codebase.rst +++ b/doc/source/development/contributing_codebase.rst @@ -812,7 +812,21 @@ Changes should be reflected in the...
- [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/42427
2021-07-07T15:07:11Z
2021-07-08T13:09:36Z
2021-07-08T13:09:36Z
2021-10-19T03:46:06Z
BUG: pd.cut with duplicate index Series lowest included
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9b8b1e106fcf9..4cdd495fe0c31 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,12 +21,12 @@ jobs: - template: ci/azure/posix.yml parameters: name: macOS - vmImage: macOS-10.14 + vmImage: macOS-10.15 - template: ci/azure/windo...
- [x] closes #42185 - [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/42425
2021-07-07T12:48:51Z
2021-07-08T14:35:46Z
null
2021-07-08T14:35:46Z
TYP: clean for PY3.8 (final)
diff --git a/pandas/_libs/internals.pyi b/pandas/_libs/internals.pyi index d6fac14d3ee6e..3feefe7ac8ff4 100644 --- a/pandas/_libs/internals.pyi +++ b/pandas/_libs/internals.pyi @@ -1,6 +1,7 @@ from typing import ( Iterator, Sequence, + final, overload, ) @@ -50,10 +51,12 @@ class SharedBlock: c...
https://api.github.com/repos/pandas-dev/pandas/pulls/42422
2021-07-07T10:57:29Z
2021-07-14T23:42:59Z
2021-07-14T23:42:59Z
2021-07-19T13:56:25Z
CI: update vm image version for Azure
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9b8b1e106fcf9..4cdd495fe0c31 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,12 +21,12 @@ jobs: - template: ci/azure/posix.yml parameters: name: macOS - vmImage: macOS-10.14 + vmImage: macOS-10.15 - template: ci/azure/windo...
https://api.github.com/repos/pandas-dev/pandas/pulls/42419
2021-07-07T03:07:23Z
2021-07-07T16:48:31Z
2021-07-07T16:48:31Z
2021-08-17T04:20:44Z
Backport PR #42417 on branch 1.3.x (DOC: GH42409 Fix mistake in code example of Styler.to_latex documentation)
diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 0360b0f9307c5..12e6c746fd93c 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -703,7 +703,7 @@ def to_latex( >>> df = pd.DataFrame([[1]]) >>> df.style.set_properties( ... **{"font-weight"...
Backport PR #42417: DOC: GH42409 Fix mistake in code example of Styler.to_latex documentation
https://api.github.com/repos/pandas-dev/pandas/pulls/42418
2021-07-06T21:34:01Z
2021-07-07T00:02:50Z
2021-07-07T00:02:50Z
2021-07-07T00:02:50Z
DOC: GH42409 Fix mistake in code example of Styler.to_latex documentation
diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 72d85bf8cfb6b..abc0be6419667 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -702,7 +702,7 @@ def to_latex( >>> df = pd.DataFrame([[1]]) >>> df.style.set_properties( ... **{"font-weight"...
- [x] closes #42409 - [ ] 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/42417
2021-07-06T19:44:22Z
2021-07-06T21:33:52Z
2021-07-06T21:33:52Z
2021-07-06T21:43:51Z
Backport PR #42394 on branch 1.3.x (REGR: unpickling in 1.3.0 DataFrame created in 1.2.x #42345)
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index eaf514bcd2053..9c17a22bf6d52 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -15,6 +15,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Pandas could not be built on PyP...
Backport PR #42394: REGR: unpickling in 1.3.0 DataFrame created in 1.2.x #42345
https://api.github.com/repos/pandas-dev/pandas/pulls/42416
2021-07-06T19:40:46Z
2021-07-06T20:30:15Z
2021-07-06T20:30:15Z
2021-07-06T20:30:16Z
Backport PR #42413 on branch 1.3.x (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 9f6cdbb81bd89..8f03bd71f3a90 100644 --- a/pandas/tests/scalar/timedelta/test_arithmetic.py +++ b/pandas/tests/scalar/timedelta/test_arithmetic.py @@ -18,7 +18,6 @@ NaT, Timedelta, Timest...
Backport PR #42413: CI: runtime warning in npdev build
https://api.github.com/repos/pandas-dev/pandas/pulls/42415
2021-07-06T19:09:59Z
2021-07-06T20:29:58Z
2021-07-06T20:29:58Z
2021-07-06T20:29:58Z
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 9f6cdbb81bd89..8f03bd71f3a90 100644 --- a/pandas/tests/scalar/timedelta/test_arithmetic.py +++ b/pandas/tests/scalar/timedelta/test_arithmetic.py @@ -18,7 +18,6 @@ NaT, Timedelta, Timest...
- [x] closes #42381 - [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/42413
2021-07-06T16:51:35Z
2021-07-06T19:09:50Z
2021-07-06T19:09:50Z
2021-07-06T19:25:55Z
Backport PR #42411 on branch 1.3.x (CI: Don't test on 1.2.x)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a62942c7cd948..a7b566260fbb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,6 @@ on: pull_request: branches: - master - - 1.2.x - 1.3.x env: diff --git a/.github/workflows/database.yml b...
Backport PR #42411: CI: Don't test on 1.2.x
https://api.github.com/repos/pandas-dev/pandas/pulls/42412
2021-07-06T16:46:53Z
2021-07-06T18:07:54Z
2021-07-06T18:07:54Z
2021-07-06T18:07:54Z
CI: Don't test on 1.2.x
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e510657d14eb7..a26848e89d124 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,6 @@ on: pull_request: branches: - master - - 1.2.x - 1.3.x env: diff --git a/.github/workflows/database.yml b...
- [ ] 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/42411
2021-07-06T15:54:07Z
2021-07-06T16:46:26Z
2021-07-06T16:46:26Z
2021-07-06T16:50:00Z
DEPS: use importlib for backend discovery #41815
diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst index 6c245a0668394..e5c6a69ce0e30 100644 --- a/doc/source/getting_started/install.rst +++ b/doc/source/getting_started/install.rst @@ -262,7 +262,6 @@ Visualization ========================= ================== ===============...
- [x] closes #41815 We still use `pkg_resources` in mpl tests. But it doesn't affect end users.
https://api.github.com/repos/pandas-dev/pandas/pulls/42410
2021-07-06T15:50:32Z
2021-07-06T18:37:21Z
2021-07-06T18:37:21Z
2021-07-07T02:42:33Z
CLN: random state updates after dropping numpy 1.17
diff --git a/pandas/_typing.py b/pandas/_typing.py index d677564b5455e..588aa00116231 100644 --- a/pandas/_typing.py +++ b/pandas/_typing.py @@ -120,15 +120,13 @@ Frequency = Union[str, "DateOffset"] Axes = Collection[Any] -# BitGenerator isn't exposed until 1.18 -if TYPE_CHECKING: - RandomState = Union[ - ...
Followup to random state changes now that numpy 1.17 dropped
https://api.github.com/repos/pandas-dev/pandas/pulls/42407
2021-07-06T15:39:44Z
2021-07-06T19:44:37Z
2021-07-06T19:44:37Z
2021-07-06T20:04:35Z
REF: Skip all empty groups in _transform_general
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 49a90470be803..382cd0e178e15 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -1309,6 +1309,8 @@ def _transform_general(self, func, *args, **kwargs): fast_path, slow_path = self._define_paths(f...
- [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/42404
2021-07-06T14:41:26Z
2021-07-06T18:39:02Z
2021-07-06T18:39:02Z
2021-07-07T01:54:58Z
DOC: Adding examples to DataFrameGroupBy.rank #38972
diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index 5f462de19a398..c5609672a9e5a 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -2637,7 +2637,7 @@ def cumcount(self, ascending: bool = True): @final @Substitution(name="groupby") - @Append...
- [x] closes #38972 - [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 - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/42402
2021-07-06T12:12:25Z
2021-07-12T19:30:38Z
2021-07-12T19:30:38Z
2021-07-12T19:36:54Z
TYP: remove some ignores - nansum, _get_counts_nanvar
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 2466154f78294..e6847ce03fa54 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -6162,9 +6162,9 @@ def f(vals) -> tuple[np.ndarray, int]: return labels.astype("i8", copy=False), len(shape) if subset is None: - ...
https://api.github.com/repos/pandas-dev/pandas/pulls/42400
2021-07-06T11:24:23Z
2021-07-07T12:36:04Z
2021-07-07T12:36:04Z
2021-07-07T12:45:08Z
TYP: remove ignores from BlockManager.__cinit__
diff --git a/pandas/_libs/internals.pyx b/pandas/_libs/internals.pyx index cfd4695a5335b..fe76075c00280 100644 --- a/pandas/_libs/internals.pyx +++ b/pandas/_libs/internals.pyx @@ -585,12 +585,8 @@ cdef class BlockManager: # Populate known_consolidate, blknos, and blklocs lazily self._known_consolidat...
https://api.github.com/repos/pandas-dev/pandas/pulls/42398
2021-07-06T10:02:21Z
2021-07-07T12:35:03Z
2021-07-07T12:35:03Z
2021-07-07T12:47:02Z
REGR: unpickling in 1.3.0 DataFrame created in 1.2.x #42345
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index eaf514bcd2053..9c17a22bf6d52 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -15,6 +15,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Pandas could not be built on PyP...
- [x] closes #42345 - [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/42394
2021-07-06T01:19:33Z
2021-07-06T19:40:38Z
2021-07-06T19:40:38Z
2021-11-20T23:20:47Z
STYLE: update pyupgrade for py38 syntax
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cda7f64708dbd..c2c7590eca1a2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -60,7 +60,7 @@ repos: rev: v2.19.4 hooks: - id: pyupgrade - args: [--py37-plus] + args: [--py38-plus] - repo: https://...
https://api.github.com/repos/pandas-dev/pandas/pulls/42392
2021-07-05T19:50:19Z
2021-07-06T12:59:51Z
2021-07-06T12:59:51Z
2021-07-07T02:42:06Z
BUG: fix regression with SerieGrouper with Timestamp index (#42390)
diff --git a/pandas/_libs/reduction.pyx b/pandas/_libs/reduction.pyx index d730084692dd4..9767af568ab3d 100644 --- a/pandas/_libs/reduction.pyx +++ b/pandas/_libs/reduction.pyx @@ -165,10 +165,6 @@ cdef class SeriesBinGrouper(_BaseGrouper): result = np.empty(self.ngroups, dtype='O') - cached_index, ...
closes https://github.com/pandas-dev/pandas/issues/42390 This fixes a regression introduced in c355ed1 where cache is not initialized with correct state of islider and vslider. On Timestamp index this trigger a "ValueError Length of values does not match length of index"
https://api.github.com/repos/pandas-dev/pandas/pulls/42391
2021-07-05T17:07:02Z
2021-08-15T09:17:52Z
null
2021-08-15T09:17:52Z
TYP: remove ignores in refine_percentiles
diff --git a/pandas/core/describe.py b/pandas/core/describe.py index 0fd7838ab5acc..6623440e68551 100644 --- a/pandas/core/describe.py +++ b/pandas/core/describe.py @@ -11,6 +11,7 @@ ) from typing import ( TYPE_CHECKING, + Any, Callable, Sequence, cast, @@ -50,7 +51,7 @@ def describe_ndframe( ...
https://api.github.com/repos/pandas-dev/pandas/pulls/42389
2021-07-05T15:49:56Z
2021-07-07T12:35:42Z
2021-07-07T12:35:42Z
2021-07-07T12:49:01Z
DOC fix the incorrect doc style in 1.2.1
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index b87274307431b..03dfe475475a1 100755 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -338,19 +338,20 @@ maps labels to their new names along the default axis, is allowed to be passed b *pandas 0.25.x* -.....
- [x] closes #39290 - [ ] 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/42386
2021-07-05T13:09:28Z
2021-07-08T13:11:03Z
2021-07-08T13:11:03Z
2021-07-09T06:51:05Z
TYP: clean for PY3.8 (Literal)
diff --git a/pandas/_typing.py b/pandas/_typing.py index f3fc156cff556..d677564b5455e 100644 --- a/pandas/_typing.py +++ b/pandas/_typing.py @@ -21,6 +21,7 @@ Dict, Hashable, List, + Literal, Mapping, Optional, Sequence, @@ -37,7 +38,6 @@ # https://mypy.readthedocs.io/en/latest/common_...
https://api.github.com/repos/pandas-dev/pandas/pulls/42385
2021-07-05T11:48:52Z
2021-07-06T12:59:11Z
2021-07-06T12:59:11Z
2021-07-06T13:07:36Z
⬆️ UPGRADE: Autoupdate pre-commit config
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cda7f64708dbd..bf1df1f2483ee 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -57,7 +57,7 @@ repos: hooks: - id: isort - repo: https://github.com/asottile/pyupgrade - rev: v2.19.4 + rev: v2.20.0 hooks: ...
<!-- 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/42382
2021-07-05T07:11:18Z
2021-07-05T09:48:39Z
2021-07-05T09:48:38Z
2021-07-05T09:48:45Z
Fix Formatting Issue
diff --git a/pandas/core/series.py b/pandas/core/series.py index 6e6e8b6d8b178..d79773ef5bce1 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -201,7 +201,7 @@ class Series(base.IndexOpsMixin, generic.NDFrame): methods from ndarray have been overridden to automatically exclude missing data (c...
Escape the asterisks so they appear in the generated doc. Closes #42371. Untested. Asterisks formatted bold in my editor, kept it that way for consistency, someone should test.
https://api.github.com/repos/pandas-dev/pandas/pulls/42379
2021-07-05T03:57:41Z
2021-07-07T07:17:35Z
null
2021-07-07T16:45:18Z
REF: disambiguate get_loc_level k variable
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index c15aa3cf697da..ebe6ba2f26d5b 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3765,18 +3765,12 @@ class animal locomotion self._consolidate_inplace() if isinstance(index, MultiIndex): - try: - ...
2 logic-neutral prelims split off from other branches 1) instead of catching and re-issuing TypeError in NDFrame.xs, just issue it with the correct exception message in the first place 2) inside _get_loc_level there is a 'k' variable that is serving a dual purpose as a loop index and as a variable inside that loop....
https://api.github.com/repos/pandas-dev/pandas/pulls/42378
2021-07-05T03:53:11Z
2021-07-07T15:39:33Z
2021-07-07T15:39:33Z
2021-07-07T16:05:27Z
CI: Prefer conda-forge over defaults
diff --git a/ci/deps/azure-windows-39.yaml b/ci/deps/azure-windows-39.yaml index aaf86b7310eb2..57b2a4a984f92 100644 --- a/ci/deps/azure-windows-39.yaml +++ b/ci/deps/azure-windows-39.yaml @@ -1,7 +1,7 @@ name: pandas-dev channels: - - defaults - conda-forge + - defaults dependencies: - python=3.9 @@ -26,7...
- [ ] closes #42370 - [ ] 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 Apparently its recommended to install pyarrow from conda forge instead of the default cond...
https://api.github.com/repos/pandas-dev/pandas/pulls/42377
2021-07-05T03:30:42Z
2021-07-05T08:57:04Z
2021-07-05T08:57:04Z
2021-07-05T13:43:50Z
CLN: remove np17 compat
diff --git a/pandas/__init__.py b/pandas/__init__.py index db4043686bcbb..43f05617584cc 100644 --- a/pandas/__init__.py +++ b/pandas/__init__.py @@ -19,10 +19,7 @@ del hard_dependencies, dependency, missing_dependencies # numpy compat -from pandas.compat import ( - np_version_under1p18 as _np_version_under1p18, ...
followup #41989
https://api.github.com/repos/pandas-dev/pandas/pulls/42375
2021-07-05T02:23:24Z
2021-07-06T12:57:57Z
2021-07-06T12:57:57Z
2021-07-07T02:40:39Z
CLN: remove Python 3.8 compat
diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py index 369832e9bc05c..141c4224bc6de 100644 --- a/pandas/compat/__init__.py +++ b/pandas/compat/__init__.py @@ -27,7 +27,6 @@ pa_version_under4p0, ) -PY38 = sys.version_info >= (3, 8) PY39 = sys.version_info >= (3, 9) PY310 = sys.version_info >=...
followup #41989
https://api.github.com/repos/pandas-dev/pandas/pulls/42374
2021-07-04T22:07:17Z
2021-07-06T12:58:37Z
2021-07-06T12:58:37Z
2021-07-07T02:41:32Z
Backport PR #42360 on branch 1.3.x (BUG: fixes PyPy build (do not use _PyHASH_Imag))
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 805bddb7d63e7..eaf514bcd2053 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -14,7 +14,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ -- +- Pandas could not be built o...
Backport PR #42360: BUG: fixes PyPy build (do not use _PyHASH_Imag)
https://api.github.com/repos/pandas-dev/pandas/pulls/42373
2021-07-04T21:33:08Z
2021-07-05T03:15:52Z
2021-07-05T03:15:52Z
2021-07-05T03:15:52Z
TYP: remove some ignores
diff --git a/pandas/_testing/asserters.py b/pandas/_testing/asserters.py index a29767153b021..d0957b1814213 100644 --- a/pandas/_testing/asserters.py +++ b/pandas/_testing/asserters.py @@ -107,6 +107,7 @@ def assert_almost_equal( FutureWarning, stacklevel=2, ) + # https://githu...
https://api.github.com/repos/pandas-dev/pandas/pulls/42368
2021-07-04T15:05:12Z
2021-07-04T18:11:24Z
2021-07-04T18:11:24Z
2021-07-04T18:16:30Z
TYP: fix reportInvalidTypeVarUse from pyright
diff --git a/pandas/_libs/tslibs/dtypes.pyi b/pandas/_libs/tslibs/dtypes.pyi index f6a8d7887ced1..9dbf9d082d8cc 100644 --- a/pandas/_libs/tslibs/dtypes.pyi +++ b/pandas/_libs/tslibs/dtypes.pyi @@ -9,7 +9,7 @@ class PeriodDtypeBase: _dtype_code: int # PeriodDtypeCode # actually __cinit__ - def __new__(se...
This fixes the following warning from pyright: `TypeVar "..." appears only once in generic function signature (reportInvalidTypeVarUse)`. It would be great to enable pyright on the CI. It takes only ~90sec to run pyright on the entire codebase with the following configuration in pyproject.toml (ignores most type er...
https://api.github.com/repos/pandas-dev/pandas/pulls/42367
2021-07-04T04:26:25Z
2021-09-26T10:14:31Z
2021-09-26T10:14:31Z
2021-09-26T10:14:32Z
BUG: truncate has incorrect behavior when index has only one unique v…
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 24f307f23f435..ba52385ca24a9 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -159,7 +159,7 @@ Interval Indexing ^^^^^^^^ - Bug in indexing on a :class:`Series` or :class:`DataFrame` with a :class:`D...
…alue (#42365) - [x] closes #42365 - [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/42366
2021-07-04T03:12:03Z
2021-07-08T12:59:20Z
2021-07-08T12:59:20Z
2021-07-08T12:59:24Z
Backport PR #42342 on branch 1.3.x (DOC: fix docs after deprecation of args)
diff --git a/pandas/core/series.py b/pandas/core/series.py index 43738831981d2..2c191a2cc9a68 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -5074,9 +5074,9 @@ def between(self, left, right, inclusive="both") -> Series: 4 False dtype: bool - With `inclusive` set to ``Fal...
Backport PR #42342: DOC: fix docs after deprecation of args
https://api.github.com/repos/pandas-dev/pandas/pulls/42363
2021-07-03T22:47:00Z
2021-07-04T11:37:27Z
2021-07-04T11:37:27Z
2021-07-04T11:37:27Z
REF: handle length-0 setops cases higher up
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 53b5bf8f182bd..89b3fa1c6a6ce 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -3070,6 +3070,30 @@ def intersection(self, other, sort=False): return self.unique()._get_reconciled_name_object(other) ...
Trying to be more consistent about these
https://api.github.com/repos/pandas-dev/pandas/pulls/42362
2021-07-03T21:43:27Z
2021-07-04T18:14:53Z
2021-07-04T18:14:53Z
2021-07-04T18:16:41Z
CLN: make some private Index methods keyword-only
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 1abb01099f977..5b2088e995d51 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1152,7 +1152,7 @@ def rename( ] raise KeyError(f"{missing_labels} not found in axis") - new_index = ...
Not sure how much mileage we can get out of doing this for only private methods, but if we had it for everything then it'd be a lot easier to address #21677
https://api.github.com/repos/pandas-dev/pandas/pulls/42361
2021-07-03T20:28:11Z
2021-07-04T18:13:51Z
2021-07-04T18:13:51Z
2021-07-04T18:17:31Z
BUG: fixes PyPy build (do not use _PyHASH_Imag)
diff --git a/doc/source/whatsnew/v1.3.1.rst b/doc/source/whatsnew/v1.3.1.rst index 805bddb7d63e7..eaf514bcd2053 100644 --- a/doc/source/whatsnew/v1.3.1.rst +++ b/doc/source/whatsnew/v1.3.1.rst @@ -14,7 +14,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ -- +- Pandas could not be built o...
- [x] closes #42355 - [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] what's new entry `_PyHASH_Imag` is not defined in PyPy, thus we define and use our own `_PandasHASH_Imag`.
https://api.github.com/repos/pandas-dev/pandas/pulls/42360
2021-07-03T19:11:00Z
2021-07-04T21:32:44Z
2021-07-04T21:32:43Z
2021-07-05T06:34:40Z
ERR: better error message with invalid argument in sort_values
diff --git a/pandas/core/series.py b/pandas/core/series.py index c79ecd554bed5..e4b69e2b62e9b 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -3441,8 +3441,9 @@ def sort_values( ) ascending = ascending[0] - if not is_bool(ascending): - raise ValueError...
- [ ] 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 added a if branch to check the ascending type, as the existing one accepts value with string ...
https://api.github.com/repos/pandas-dev/pandas/pulls/42358
2021-07-03T17:46:05Z
2021-07-07T17:33:07Z
null
2021-07-07T17:33:08Z