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
BUG: avoid unnecessary casting when unstacking index with unused levels
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index dc305f36f32ec..dc3df2f16c6b3 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -444,6 +444,8 @@ Reshaping ^^^^^^^^^ - Bug in :func:`DataFrame.stack` which fails trying to sort mixed type levels u...
closes #17845 closes #18562 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/18460
2017-11-23T23:08:03Z
2018-01-16T00:18:49Z
2018-01-16T00:18:48Z
2018-01-17T16:43:24Z
CLN/DEPR: remove pd.ordered_merge
diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt index 92d9123d2cf4c..9716aab69143d 100644 --- a/doc/source/whatsnew/v0.22.0.txt +++ b/doc/source/whatsnew/v0.22.0.txt @@ -95,6 +95,7 @@ Removal of prior version deprecations/changes - The ``levels`` and ``labels`` attributes of a ``MultiInd...
- [ x] xref #13358 - [x ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ x] whatsnew entry ``pd.ordered_merge`` was deprecated in #13358 (pandas v.0.19). This PR removes it from the code base.
https://api.github.com/repos/pandas-dev/pandas/pulls/18459
2017-11-23T22:50:44Z
2017-11-24T20:03:18Z
2017-11-24T20:03:18Z
2017-11-24T20:32:20Z
DEPR: Deprecate NDFrame.as_matrix
diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt index 7229bd38fffa9..f1354161f1608 100644 --- a/doc/source/whatsnew/v0.22.0.txt +++ b/doc/source/whatsnew/v0.22.0.txt @@ -87,7 +87,7 @@ Deprecations ~~~~~~~~~~~~ - ``Series.from_array`` and ``SparseSeries.from_array`` are deprecated. Use...
- [x ] xref #18262 - [x ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ x] whatsnew entry Deprecating ``NDFrame.as_matrix`` as per discussion in #18262.
https://api.github.com/repos/pandas-dev/pandas/pulls/18458
2017-11-23T22:21:30Z
2017-11-26T15:04:04Z
2017-11-26T15:04:04Z
2017-11-26T15:07:25Z
CI: temp skip geopandas downstream tests (GH18456)
diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py index 0f0abd8cd3400..1ec25bc8bb295 100644 --- a/pandas/tests/test_downstream.py +++ b/pandas/tests/test_downstream.py @@ -92,6 +92,7 @@ def test_pandas_datareader(): pandas_datareader.get_data_google('AAPL') +@pytest.mark.skip(reaso...
xref https://github.com/pandas-dev/pandas/issues/18456
https://api.github.com/repos/pandas-dev/pandas/pulls/18457
2017-11-23T21:45:44Z
2017-11-23T21:46:10Z
2017-11-23T21:46:10Z
2017-11-23T21:46:15Z
Remove unused from datetime.pxd, check for fastpath in ensure_datetime64ns
diff --git a/pandas/_libs/src/datetime.pxd b/pandas/_libs/src/datetime.pxd index 3fc3625a06634..0624779e50497 100644 --- a/pandas/_libs/src/datetime.pxd +++ b/pandas/_libs/src/datetime.pxd @@ -5,7 +5,6 @@ from cpython cimport PyUnicode_Check, PyUnicode_AsASCIIString cdef extern from "numpy/ndarrayobject.h": - c...
Still a hodgepodge, but a somewhat smaller hodgepodge.
https://api.github.com/repos/pandas-dev/pandas/pulls/18453
2017-11-23T16:59:55Z
2017-11-24T20:05:55Z
2017-11-24T20:05:55Z
2017-11-24T20:33:55Z
CLN: ASV binary ops benchmark
diff --git a/asv_bench/benchmarks/binary_ops.py b/asv_bench/benchmarks/binary_ops.py index 0ca21b929ea17..429965c06cb48 100644 --- a/asv_bench/benchmarks/binary_ops.py +++ b/asv_bench/benchmarks/binary_ops.py @@ -1,4 +1,5 @@ -from .pandas_vb_common import * +import numpy as np +from pandas import DataFrame, Series, dat...
- Utilized `params` of timezones in the `Timeseries` class instead of creating a subclass of `TimeseriesTZ` - Division was being tested instead of modulo in `time_frame_int_mod` and `time_frame_float_mod` - Added `np.random.seed(1234)` in setup classes where random data is created xref #8144 - Renamed `time_ti...
https://api.github.com/repos/pandas-dev/pandas/pulls/18444
2017-11-23T03:46:09Z
2017-11-25T14:37:53Z
2017-11-25T14:37:53Z
2017-12-20T02:04:44Z
Cross off a few tslibs-TODOs
diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx index 956aeaf39b021..2ec4b5cf19b72 100644 --- a/pandas/_libs/lib.pyx +++ b/pandas/_libs/lib.pyx @@ -929,19 +929,6 @@ def write_csv_rows(list data, ndarray data_index, # ------------------------------------------------------------------------------ # Groupby-rel...
This is a hodge-podge addressing a few of the items in #17652. Individual commits should be item-specific(ish). - remove unused lib.arrmap - de-privatize _checknull_with_nat - fix a couple of C warnings caused by timedelta_struct - remove Period._comparables
https://api.github.com/repos/pandas-dev/pandas/pulls/18443
2017-11-23T03:42:00Z
2017-11-25T15:10:24Z
2017-11-25T15:10:24Z
2017-12-08T19:40:01Z
CLN: ASV attrs_caching benchmark
diff --git a/asv_bench/benchmarks/attrs_caching.py b/asv_bench/benchmarks/attrs_caching.py index b7610037bed4d..3c091be7a8424 100644 --- a/asv_bench/benchmarks/attrs_caching.py +++ b/asv_bench/benchmarks/attrs_caching.py @@ -1,4 +1,5 @@ -from .pandas_vb_common import * +import numpy as np +from pandas import DataFrame ...
- Added `np.random.seed(1234)` in setup classes where random data is created xref #8144 - Ran flake 8 and replaced star imports (with pep8 in mind, I think we should avoid `from .pandas_vb_common import *`) ``` $asv run -q -b ^attrs_caching [ 33.33%] ··· Running attrs_caching.CacheReadonly.time_cache_readonly ...
https://api.github.com/repos/pandas-dev/pandas/pulls/18441
2017-11-23T02:53:19Z
2017-11-23T15:54:43Z
2017-11-23T15:54:43Z
2017-11-24T00:41:33Z
BUG: in Python3 MultiIndex.from_tuples cannot take "zipped" tuples
diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt index 4bdff1355874e..a32035d0d906f 100644 --- a/doc/source/whatsnew/v0.22.0.txt +++ b/doc/source/whatsnew/v0.22.0.txt @@ -140,6 +140,7 @@ Indexing - Bug in :func:`Series.truncate` which raises ``TypeError`` with a monotonic ``PeriodIndex`` ...
MultiIndex.from_tuples accept zipped tuples in python 3. Ensures compatibility between 2 and 3. - [x] closes #18434 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/18440
2017-11-23T02:43:00Z
2017-11-25T20:56:49Z
2017-11-25T20:56:49Z
2017-11-25T22:13:05Z
REF: smarter NaN handling in remove_unused_levels()
diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py index cc99505b53bf5..81d892fba0fe2 100644 --- a/pandas/core/indexes/multi.py +++ b/pandas/core/indexes/multi.py @@ -1365,31 +1365,29 @@ def remove_unused_levels(self): new_labels = [] changed = False - for idx, (lev, lab...
- [x] tests passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Sorry for the bad timing @jreback , only after you merged #18426 this simpler way to proceed came to my mind.
https://api.github.com/repos/pandas-dev/pandas/pulls/18438
2017-11-23T00:05:02Z
2017-11-23T15:47:48Z
2017-11-23T15:47:48Z
2017-11-23T21:41:28Z
DOC: Remove obsolete reference to CONTRIBUTING.md generation
diff --git a/doc/source/development/contributing_documentation.rst b/doc/source/development/contributing_documentation.rst index 39bc582511148..583eecf1ca8ab 100644 --- a/doc/source/development/contributing_documentation.rst +++ b/doc/source/development/contributing_documentation.rst @@ -89,16 +89,6 @@ Some other impor...
It seems that a note was left over after https://github.com/pandas-dev/pandas/pull/45063 from the old CONTRIBUTING.md times ([still there in devdocs](https://pandas.pydata.org/docs/dev/development/contributing_documentation.html#about-the-pandas-documentation)). The note referred to generating the file from `contributi...
https://api.github.com/repos/pandas-dev/pandas/pulls/45699
2022-01-29T20:54:19Z
2022-01-30T17:51:44Z
2022-01-30T17:51:44Z
2022-01-30T17:51:56Z
Simplify conditional branch in _read function in readers.py
diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index ef693fcbd3720..5f93eef4fd977 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -542,13 +542,11 @@ def _read( """Generic reader of line files.""" # if we pass a date_parser and parse_dates=False, we sho...
- [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
https://api.github.com/repos/pandas-dev/pandas/pulls/45696
2022-01-29T17:36:34Z
2022-01-30T18:14:13Z
2022-01-30T18:14:13Z
2022-01-31T03:46:10Z
TST: Nan must not be converted to string using .loc
diff --git a/pandas/tests/indexing/test_loc.py b/pandas/tests/indexing/test_loc.py index 2e78fb8c44eee..49aa4d3d0dbf0 100644 --- a/pandas/tests/indexing/test_loc.py +++ b/pandas/tests/indexing/test_loc.py @@ -43,6 +43,22 @@ from pandas.tests.indexing.common import Base +@pytest.mark.parametrize( + "series, new_...
- [X] Closes #28403 - [X] tests added / passed - [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
https://api.github.com/repos/pandas-dev/pandas/pulls/45695
2022-01-29T17:10:34Z
2022-02-03T17:41:39Z
2022-02-03T17:41:38Z
2022-02-03T17:42:10Z
TST/CLN: organize SparseArray tests
diff --git a/pandas/tests/arrays/sparse/test_accessor.py b/pandas/tests/arrays/sparse/test_accessor.py index e45dbb393a8de..36af5d32ae461 100644 --- a/pandas/tests/arrays/sparse/test_accessor.py +++ b/pandas/tests/arrays/sparse/test_accessor.py @@ -14,13 +14,90 @@ class TestSeriesAccessor: - # TODO: collect oth...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry Sits on top of #45691
https://api.github.com/repos/pandas-dev/pandas/pulls/45693
2022-01-29T03:54:46Z
2022-01-29T22:54:04Z
2022-01-29T22:54:04Z
2022-01-29T23:04:15Z
TST: Remove unused fixtures
diff --git a/pandas/tests/apply/test_str.py b/pandas/tests/apply/test_str.py index 82997328529cd..f215df4c24206 100644 --- a/pandas/tests/apply/test_str.py +++ b/pandas/tests/apply/test_str.py @@ -55,7 +55,7 @@ def test_with_string_args(datetime_series): @pytest.mark.parametrize("op", ["mean", "median", "std", "var"...
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
https://api.github.com/repos/pandas-dev/pandas/pulls/45692
2022-01-29T03:24:32Z
2022-01-30T18:08:40Z
2022-01-30T18:08:40Z
2022-01-30T18:12:13Z
BUG: Series[sparse].where losing fill_value
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 1d4054d5ea0f1..59185690677dc 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -316,7 +316,7 @@ Reshaping Sparse ^^^^^^ -- +- Bug in :meth:`Series.where` and :meth:`DataFrame.where` with ``SparseDtyp...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45691
2022-01-29T00:07:10Z
2022-01-29T20:47:09Z
2022-01-29T20:47:09Z
2022-01-29T21:09:37Z
REF: make Block.delete return a new Block
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index f9657953045c6..88f3315fe0ab8 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -380,9 +380,9 @@ def set_inplace(self, locs, values: ArrayLike) -> None: """ self.values[locs] = value...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry I lost track of the original use case that motivated this, but in general i think we'r...
https://api.github.com/repos/pandas-dev/pandas/pulls/45689
2022-01-28T23:13:17Z
2022-01-30T18:50:27Z
2022-01-30T18:50:27Z
2022-01-30T18:52:40Z
TST: Use less autouse=True when unecessary
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index d76af1ce42546..2a34c71412789 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1365,8 +1365,6 @@ def itertuples( ----- The column names will be renamed to positional names if they are invalid Python identifiers, rep...
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
https://api.github.com/repos/pandas-dev/pandas/pulls/45688
2022-01-28T22:30:58Z
2022-01-29T19:55:55Z
2022-01-29T19:55:55Z
2022-01-29T22:33:49Z
ENH: Allow safe access to `.book` in ExcelWriter
diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index 3e1df9325713b..b33955737a111 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -1048,6 +1048,12 @@ def engine(self) -> str: """Name of engine.""" pass + @property + @abc.abstractmethod + def sheets(...
Towards #45572 - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them The plan to expose both `sheets` and `book` as public attributes of `ExcelWriter`. We need to make sure that `sheets` is correct if the u...
https://api.github.com/repos/pandas-dev/pandas/pulls/45687
2022-01-28T22:26:46Z
2022-02-01T00:34:16Z
2022-02-01T00:34:16Z
2022-02-05T20:45:44Z
Backport PR #45667 on branch 1.4.x (TST: Dynamically use doctest_namespace only if running the doctest)
diff --git a/pandas/conftest.py b/pandas/conftest.py index 9009484f8d386..04f460902c11a 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -115,6 +115,12 @@ def pytest_collection_modifyitems(items, config): ] for item in items: + if config.getoption("--doctest-modules") or config.getoption( ...
Backport PR #45667: TST: Dynamically use doctest_namespace only if running the doctest
https://api.github.com/repos/pandas-dev/pandas/pulls/45685
2022-01-28T22:09:45Z
2022-01-29T00:12:11Z
2022-01-29T00:12:11Z
2022-01-29T00:12:11Z
Backport PR #45655 on branch 1.4.x (BUG: Fix window aggregations to skip over unused elements (GH-45647))
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index d0a58a19df92f..c73ec34d4733b 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -27,6 +27,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ - Fixed segfault in :meth:``DataFrame.to_json`` when dumping tz-awar...
Backport PR #45655: BUG: Fix window aggregations to skip over unused elements (GH-45647)
https://api.github.com/repos/pandas-dev/pandas/pulls/45683
2022-01-28T19:52:59Z
2022-01-28T22:09:07Z
2022-01-28T22:09:07Z
2022-01-28T22:09:07Z
Backport PR #45662 on branch 1.4.x (BUG: Fix joining overlapping IntervalIndex objects (GH-45661))
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index d0a58a19df92f..23aefb783456d 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -18,6 +18,7 @@ Fixed regressions - Regression in :func:`.assert_frame_equal` not respecting ``check_flags=False`` (:issue:`...
Backport PR #45662: BUG: Fix joining overlapping IntervalIndex objects (GH-45661)
https://api.github.com/repos/pandas-dev/pandas/pulls/45682
2022-01-28T19:00:43Z
2022-01-28T22:08:09Z
2022-01-28T22:08:09Z
2022-01-28T22:08:09Z
BUG: Do not error on other dbapi2 connections
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 9509b96055255..ec4a1b7348262 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -20,7 +20,8 @@ Fixed regressions - Regression in :meth:`DataFrame.iat` setting values leading to not propagating correctly ...
Do not throw an error in `pandasSQL_builder` when the connection is a dbapi2 connection that is not `sqlite3` and `sqlalchemy` is not installed. Also restores the behaviour prior to #42546 when the connection is a string but `sqlalchemy` is not installed. This partially addresses #45660 (it removes the requirement f...
https://api.github.com/repos/pandas-dev/pandas/pulls/45679
2022-01-28T12:36:09Z
2022-01-31T13:29:53Z
2022-01-31T13:29:53Z
2022-02-03T15:46:38Z
BUG: read csv not breaking lines for warn messages
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 9aebcad1d8cae..000353aee99a0 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -285,6 +285,7 @@ I/O ^^^ - Bug in :meth:`DataFrame.to_stata` where no error is raised if the :class:`DataFrame` contains `...
- [x] closes #41710 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry We should probably unify the warning messages too
https://api.github.com/repos/pandas-dev/pandas/pulls/45677
2022-01-28T11:55:36Z
2022-01-28T18:52:40Z
2022-01-28T18:52:40Z
2022-01-28T19:45:45Z
TST: Move once-used fixtures to specific files
diff --git a/pandas/tests/window/conftest.py b/pandas/tests/window/conftest.py index 09233e3f31c89..f2832652ed58f 100644 --- a/pandas/tests/window/conftest.py +++ b/pandas/tests/window/conftest.py @@ -12,7 +12,6 @@ DataFrame, Series, bdate_range, - to_datetime, ) @@ -22,27 +21,6 @@ def raw(reques...
- [x] tests added / passed
https://api.github.com/repos/pandas-dev/pandas/pulls/45674
2022-01-28T05:22:11Z
2022-01-28T16:40:32Z
2022-01-28T16:40:32Z
2022-01-28T17:24:32Z
BUG: consistent downcast on fillna no-ops
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 919ed926f8195..f274c5c4c665e 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -278,7 +278,7 @@ Indexing Missing ^^^^^^^ -- +- Bug in :meth:`Series.fillna` and :meth:`DataFrame.fillna` with ``downcas...
- [x] xref #45423 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45673
2022-01-28T04:40:28Z
2022-02-01T00:03:48Z
2022-02-01T00:03:48Z
2022-02-01T00:17:44Z
REF: implement LossySetitemError
diff --git a/pandas/core/arrays/interval.py b/pandas/core/arrays/interval.py index 33732bcaca733..d23910c37b52b 100644 --- a/pandas/core/arrays/interval.py +++ b/pandas/core/arrays/interval.py @@ -39,6 +39,7 @@ from pandas.errors import IntCastingNaNError from pandas.util._decorators import Appender +from pandas.co...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry Catch this specifically instead of ValueError, which can have unrelated causes xref ht...
https://api.github.com/repos/pandas-dev/pandas/pulls/45672
2022-01-28T02:38:52Z
2022-02-01T00:02:13Z
2022-02-01T00:02:13Z
2022-02-01T01:34:30Z
Backport PR #45565 on branch 1.4.x (REGR: check_flags not respected in assert_frame_equal)
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 21aab5058d25b..d0a58a19df92f 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -15,6 +15,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Regression in :meth:`Series.mask...
Backport PR #45565: REGR: check_flags not respected in assert_frame_equal
https://api.github.com/repos/pandas-dev/pandas/pulls/45671
2022-01-28T02:00:00Z
2022-01-28T10:44:42Z
2022-01-28T10:44:42Z
2022-01-28T10:44:42Z
Backport PR #45612 on branch 1.4.x (DOC: Improve reshaping.rst)
diff --git a/doc/source/user_guide/reshaping.rst b/doc/source/user_guide/reshaping.rst index e74272c825e46..f9e68b1b39ddc 100644 --- a/doc/source/user_guide/reshaping.rst +++ b/doc/source/user_guide/reshaping.rst @@ -13,37 +13,12 @@ Reshaping by pivoting DataFrame objects .. image:: ../_static/reshaping_pivot.png ...
Backport PR #45612: DOC: Improve reshaping.rst
https://api.github.com/repos/pandas-dev/pandas/pulls/45669
2022-01-28T00:34:46Z
2022-01-28T03:00:50Z
2022-01-28T03:00:50Z
2022-01-28T03:00:50Z
BUG: unnecessary FutureWarning in sort_values
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 10b605f6ef43e..9e4b3479341b3 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -28,6 +28,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ - Fixed segfault in :meth:``DataFrame.to_json`` when dumping tz-awar...
- [x] closes #45618 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45668
2022-01-28T00:30:29Z
2022-01-30T23:49:43Z
2022-01-30T23:49:42Z
2022-01-31T00:09:47Z
TST: Dynamically use doctest_namespace only if running the doctest
diff --git a/pandas/conftest.py b/pandas/conftest.py index e61d9ee18cadb..952177f342c46 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -115,6 +115,12 @@ def pytest_collection_modifyitems(items, config): ] for item in items: + if config.getoption("--doctest-modules") or config.getoption( ...
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them Will probably speed up the test suite. Example locally with running `pandas/tests/window/moments` Main ``` ================...
https://api.github.com/repos/pandas-dev/pandas/pulls/45667
2022-01-28T00:11:05Z
2022-01-28T22:09:38Z
2022-01-28T22:09:38Z
2022-01-28T22:29:07Z
Backport PR #45642 on branch 1.4.x (REGR: Series.fillna(downcast=False))
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 1bd8da2d2b03c..21aab5058d25b 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -15,6 +15,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Regression in :meth:`Series.mask...
Backport PR #45642: REGR: Series.fillna(downcast=False)
https://api.github.com/repos/pandas-dev/pandas/pulls/45666
2022-01-27T22:24:59Z
2022-01-28T00:26:33Z
2022-01-28T00:26:33Z
2022-01-28T00:26:34Z
CI/TST: Skip external s3 bucket test that hangs on min build
diff --git a/pandas/tests/io/xml/test_xml.py b/pandas/tests/io/xml/test_xml.py index 8809c423a29ba..aef94af60c3dd 100644 --- a/pandas/tests/io/xml/test_xml.py +++ b/pandas/tests/io/xml/test_xml.py @@ -1102,6 +1102,10 @@ def test_unsuported_compression(datapath, parser): @tm.network @td.skip_if_no("s3fs") @td.skip_if...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/45665
2022-01-27T22:22:44Z
2022-01-28T06:41:11Z
2022-01-28T06:41:11Z
2022-01-28T06:41:15Z
CLN: suppress distutils warnings, assorted
diff --git a/pandas/core/array_algos/putmask.py b/pandas/core/array_algos/putmask.py index daf7d0bd3f213..1082f8d71af01 100644 --- a/pandas/core/array_algos/putmask.py +++ b/pandas/core/array_algos/putmask.py @@ -12,6 +12,7 @@ ArrayLike, npt, ) +from pandas.compat import np_version_under1p20 from pandas.c...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45663
2022-01-27T18:47:30Z
2022-01-29T00:16:13Z
2022-01-29T00:16:13Z
2022-01-29T00:35:18Z
BUG: Fix joining overlapping IntervalIndex objects (GH-45661)
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 1bd8da2d2b03c..d62a1ebdb5eec 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -16,6 +16,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Regression in :meth:`Series.mask` with ``inplace=True`` and ``PeriodD...
Replacing calls to `get_indexer()` with `get_indexer_for()` as `IntervalIndex`es can be unique and overlapping. Similar to #44588 - [x] closes #45661 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-c...
https://api.github.com/repos/pandas-dev/pandas/pulls/45662
2022-01-27T18:36:54Z
2022-01-28T19:00:34Z
2022-01-28T19:00:33Z
2022-02-09T16:19:13Z
BUG: Fix window aggregations to skip over unused elements (GH-45647)
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 1bd8da2d2b03c..c950a71222c6c 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -25,6 +25,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ - Fixed segfault in :meth:``DataFrame.to_json`` when dumping tz-awar...
- [x] closes #45647 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45655
2022-01-27T10:53:45Z
2022-01-28T19:52:52Z
2022-01-28T19:52:51Z
2022-01-28T19:53:09Z
CI/TST: Skip another s3 test that can crash GHA worker
diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 4beba743209b6..8080a81519d8f 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -50,7 +50,7 @@ jobs: COVERAGE: ${{ !contains(matrix.settings[0], 'pypy') }} concurrency: # https://github.community/t...
Example from https://github.com/pandas-dev/pandas/runs/4957463823?check_suite_focus=true ``` .....ss...s...s.........sss..........ss..........ss..................ssssss...s...s...x.............................XXXXXXXXX.XxXX2022-01-26 21:25:12,489 - s3fs - DEBUG - Setting up s3fs instance 2022-01-26T21:25:12.544260...
https://api.github.com/repos/pandas-dev/pandas/pulls/45651
2022-01-26T23:58:12Z
2022-01-27T07:12:02Z
2022-01-27T07:12:02Z
2022-02-01T14:01:04Z
Backport PR #45623 on branch 1.4.x (REGR: loc.setitem losing index name when df was empty before)
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 79dae514b77e9..026051d126d5b 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -15,6 +15,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Regression in :meth:`Series.mask...
Backport PR #45623: REGR: loc.setitem losing index name when df was empty before
https://api.github.com/repos/pandas-dev/pandas/pulls/45650
2022-01-26T23:35:11Z
2022-01-27T01:14:08Z
2022-01-27T01:14:08Z
2022-01-27T01:14:08Z
Backport PR #45646 on branch 1.4.x (Revert "PERF: nancorr pearson (#42761)")
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 79dae514b77e9..1b69c42e90e95 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -32,7 +32,7 @@ Bug fixes Other ~~~~~ -- +- Reverted performance speedup of :meth:`DataFrame.corr` for ``method=pearson``...
Backport PR #45646: Revert "PERF: nancorr pearson (#42761)"
https://api.github.com/repos/pandas-dev/pandas/pulls/45649
2022-01-26T23:34:11Z
2022-01-27T01:13:41Z
2022-01-27T01:13:41Z
2022-01-27T01:13:41Z
Revert "PERF: nancorr pearson (#42761)"
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 79dae514b77e9..1b69c42e90e95 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -32,7 +32,7 @@ Bug fixes Other ~~~~~ -- +- Reverted performance speedup of :meth:`DataFrame.corr` for ``method=pearson``...
- [x] closes #45640 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45646
2022-01-26T20:55:42Z
2022-01-26T23:34:02Z
2022-01-26T23:34:01Z
2022-01-28T10:19:04Z
Backport PR #45627 on branch 1.4.x (CLN: Use pytest -r to show skipped tests instead of print_skipped.py)
diff --git a/.github/workflows/assign.yml b/.github/workflows/assign.yml index a6d3f1f383751..a1812843b1a8f 100644 --- a/.github/workflows/assign.yml +++ b/.github/workflows/assign.yml @@ -4,11 +4,10 @@ on: types: created jobs: - one: + issue_assign: runs-on: ubuntu-latest steps: - if: github.e...
Backport PR #45627: CLN: Use pytest -r to show skipped tests instead of print_skipped.py
https://api.github.com/repos/pandas-dev/pandas/pulls/45645
2022-01-26T20:20:32Z
2022-01-26T23:05:26Z
2022-01-26T23:05:26Z
2022-01-26T23:05:26Z
BUG: frame.shift(axis=1) with ArrayManager
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 2a34c71412789..4badae6acf4de 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -93,6 +93,7 @@ ) from pandas.core.dtypes.cast import ( + can_hold_element, construct_1d_arraylike_from_scalar, construct_2d_arraylike_from_scalar, ...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45644
2022-01-26T20:12:01Z
2022-01-30T23:51:34Z
2022-01-30T23:51:34Z
2022-01-31T00:08:47Z
REGR: Series.fillna(downcast=False)
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 1bd8da2d2b03c..21aab5058d25b 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -15,6 +15,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Regression in :meth:`Series.mask...
- [x] closes #45603 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45642
2022-01-26T18:15:20Z
2022-01-27T22:24:29Z
2022-01-27T22:24:29Z
2022-01-27T22:58:53Z
Switch deps to Conda
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4492f9c20cd0a..6f91c885bf1e8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,7 +50,7 @@ repos: - flake8==4.0.1 - flake8-comprehensions==3.7.0 - flake8-bugbear==21.3.2 - - pandas-dev-flaker==0...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45641
2022-01-26T17:31:28Z
2022-02-06T22:37:35Z
2022-02-06T22:37:35Z
2022-02-06T22:38:50Z
BUG: ArrayManager indexing mismatched behavior
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index 5f9bc142c5836..a98ba832e8a62 100644 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -20,6 +20,7 @@ from pandas.util._decorators import doc from pandas.util._exceptions import find_stack_level +from pandas.core.dtypes.cast import can...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45639
2022-01-26T16:28:18Z
2022-01-28T02:04:36Z
2022-01-28T02:04:36Z
2022-01-28T02:52:13Z
added staircase entry in Domain Specific and Accessors section of pan…
diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst index 16cae9bbfbf46..15fa58f8d804a 100644 --- a/doc/source/ecosystem.rst +++ b/doc/source/ecosystem.rst @@ -363,6 +363,15 @@ Geopandas extends pandas data objects to include geographic information which su geometric operations. If your work entails maps ...
…das ecosystem docs - [ ] closes #45635
https://api.github.com/repos/pandas-dev/pandas/pulls/45636
2022-01-26T13:01:39Z
2022-01-27T01:41:42Z
2022-01-27T01:41:42Z
2022-01-27T04:54:19Z
DOC: Fix typo in nth docstring
diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index 229e8a1a4aa9d..b682723cb10de 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -2675,7 +2675,7 @@ def nth( A single nth value for the row or a list of nth values or slices. .....
Correct spelling mistake nth docstring in pandas/core/groupby/groupby.py
https://api.github.com/repos/pandas-dev/pandas/pulls/45633
2022-01-26T10:46:42Z
2022-01-26T17:49:15Z
2022-01-26T17:49:15Z
2022-02-10T19:26:39Z
TST: Added test for setitem loc using datetime-like str
diff --git a/pandas/tests/indexing/test_loc.py b/pandas/tests/indexing/test_loc.py index 4b751fa7d5e3e..14ce47562c93d 100644 --- a/pandas/tests/indexing/test_loc.py +++ b/pandas/tests/indexing/test_loc.py @@ -2748,6 +2748,26 @@ def test_loc_setitem_uint8_upcast(value): tm.assert_frame_equal(df, expected) +@pyt...
Test to ensure index type conversion when updating existing dataframe which has datetime as index with datetime-like str using loc - [x] closes #28249 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-com...
https://api.github.com/repos/pandas-dev/pandas/pulls/45632
2022-01-26T08:53:10Z
2022-01-28T00:35:54Z
2022-01-28T00:35:53Z
2022-01-28T00:36:00Z
Backport PR #45628 on branch 1.4.x (CI/TST: Call join on server process test)
diff --git a/pandas/tests/io/test_user_agent.py b/pandas/tests/io/test_user_agent.py index fb6128bd514f9..bba8a45005e11 100644 --- a/pandas/tests/io/test_user_agent.py +++ b/pandas/tests/io/test_user_agent.py @@ -217,6 +217,7 @@ def responder(request): ) server_process.start() yield port + server_proc...
Backport PR #45628: CI/TST: Call join on server process test
https://api.github.com/repos/pandas-dev/pandas/pulls/45631
2022-01-26T05:12:07Z
2022-01-26T15:59:46Z
2022-01-26T15:59:46Z
2022-01-26T15:59:46Z
CI/TST: Call join on server process test
diff --git a/pandas/tests/io/test_user_agent.py b/pandas/tests/io/test_user_agent.py index 3d4c157e5f09e..78f2365a09d4c 100644 --- a/pandas/tests/io/test_user_agent.py +++ b/pandas/tests/io/test_user_agent.py @@ -218,6 +218,7 @@ def responder(request): ) server_process.start() yield port + server_proc...
Troubleshooting this current CI failure ``` @pytest.fixture def responder(request): """ Fixture that starts a local http server in a separate process on localhost and returns the port. Running in a separate process instead of a thread to allow termination/killing ...
https://api.github.com/repos/pandas-dev/pandas/pulls/45628
2022-01-26T02:14:28Z
2022-01-26T05:11:54Z
2022-01-26T05:11:54Z
2022-01-26T05:12:15Z
CLN: Use pytest -r to show skipped tests instead of print_skipped.py
diff --git a/.github/workflows/assign.yml b/.github/workflows/assign.yml index a6d3f1f383751..a1812843b1a8f 100644 --- a/.github/workflows/assign.yml +++ b/.github/workflows/assign.yml @@ -4,11 +4,10 @@ on: types: created jobs: - one: + issue_assign: runs-on: ubuntu-latest steps: - if: github.e...
Example when using `pytest -r s` ``` =========================== short test summary info ============================ SKIPPED [1] pandas/tests/test_downstream.py:30: skipping as toolz not available SKIPPED [1] pandas/tests/test_downstream.py:30: skipping as dask not available SKIPPED [1] pandas/tests/test_downst...
https://api.github.com/repos/pandas-dev/pandas/pulls/45627
2022-01-25T23:53:06Z
2022-01-26T20:19:37Z
2022-01-26T20:19:37Z
2022-01-26T20:27:46Z
BUG: parse_time_string with np.str_ obj
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 4e73ea348dfde..03da62983df22 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -264,6 +264,7 @@ Indexing - Bug in :meth:`Series.__setitem__` when setting ``boolean`` dtype values containing ``NA`` incor...
- [x] closes #45580 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45626
2022-01-25T23:12:07Z
2022-01-28T00:36:45Z
2022-01-28T00:36:45Z
2022-01-28T00:40:17Z
BUG: SeriesGroupBy.value_counts - index name missing in categorical columns
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 039a86da0541e..18fc16b5f38d3 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -224,6 +224,7 @@ Datetimelike - Bug in :func:`to_datetime` with sequences of ``np.str_`` objects incorrectly raising (:issu...
- [X] closes #44324 - [X] tests added / passed - [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [X] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45625
2022-01-25T22:29:57Z
2022-02-05T23:19:28Z
2022-02-05T23:19:27Z
2022-02-06T22:02:07Z
DOC CLN: remove unnecessary substitution, due to curly brackets
diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 432e12f303919..f97f558fd0e0b 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -1659,7 +1659,6 @@ def _apply_index( alt="applymap", altwise="elementwise", func="take a Series and return a stri...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/45624
2022-01-25T21:21:25Z
2022-01-26T01:41:16Z
2022-01-26T01:41:16Z
2022-01-26T06:16:24Z
REGR: loc.setitem losing index name when df was empty before
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 79dae514b77e9..026051d126d5b 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -15,6 +15,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Regression in :meth:`Series.mask...
- [x] closes #45621 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45623
2022-01-25T21:15:50Z
2022-01-26T23:35:01Z
2022-01-26T23:35:01Z
2022-01-28T10:19:23Z
BUG: NumericArray * td64_array
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 270a58c33cb8a..9b4131de10689 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -234,6 +234,7 @@ Timezones Numeric ^^^^^^^ - Bug in operations with array-likes with ``dtype="boolean"`` and :attr:`NA` i...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45622
2022-01-25T21:09:44Z
2022-01-28T00:33:24Z
2022-01-28T00:33:24Z
2022-01-28T00:35:35Z
Backport PR #45437 on branch 1.4.x (CI: Don't split slow vs non slow jobs for GHA posix)
diff --git a/.github/workflows/datamanger.yml b/.github/workflows/datamanger.yml index 3fc515883a225..28ce7bc5c0ef4 100644 --- a/.github/workflows/datamanger.yml +++ b/.github/workflows/datamanger.yml @@ -26,12 +26,9 @@ jobs: AWS_SECRET_ACCESS_KEY: foobar_secret ports: - 5000:5000 - st...
Backport PR #45437: CI: Don't split slow vs non slow jobs for GHA posix
https://api.github.com/repos/pandas-dev/pandas/pulls/45620
2022-01-25T18:29:47Z
2022-01-25T21:29:43Z
2022-01-25T21:29:43Z
2022-01-25T21:29:43Z
BUG: is_bool_dtype raises AttributeError when checking categorical Series
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 9509b96055255..9c813a4803004 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -31,7 +31,7 @@ Bug fixes - Fixed segfault in :meth:``DataFrame.to_json`` when dumping tz-aware datetimes in Python 3.10 (:i...
- [X] closes #45615 - [X] tests added / passed - [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [X] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45616
2022-01-25T14:11:30Z
2022-01-31T13:23:05Z
2022-01-31T13:23:05Z
2022-02-08T16:44:05Z
TST/CI: Mark TestS3 as xfail(strict=False) due to flakiness
diff --git a/pandas/tests/io/parser/test_network.py b/pandas/tests/io/parser/test_network.py index 1e6d7e8ef50ab..d4c3c93a32af0 100644 --- a/pandas/tests/io/parser/test_network.py +++ b/pandas/tests/io/parser/test_network.py @@ -69,14 +69,14 @@ def tips_df(datapath): @pytest.mark.usefixtures("s3_resource") +@pytes...
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them Another example: https://github.com/pandas-dev/pandas/runs/4930469212?check_suite_focus=true#step:10:58
https://api.github.com/repos/pandas-dev/pandas/pulls/45613
2022-01-25T04:35:37Z
2022-01-25T16:46:11Z
2022-01-25T16:46:11Z
2022-01-25T16:46:15Z
DOC: Improve reshaping.rst
diff --git a/doc/source/user_guide/reshaping.rst b/doc/source/user_guide/reshaping.rst index e74272c825e46..f9e68b1b39ddc 100644 --- a/doc/source/user_guide/reshaping.rst +++ b/doc/source/user_guide/reshaping.rst @@ -13,37 +13,12 @@ Reshaping by pivoting DataFrame objects .. image:: ../_static/reshaping_pivot.png ...
* Add more sphinx references * Links function docs back to `reshaping.rst` * Convert `code-block` to `ipython`
https://api.github.com/repos/pandas-dev/pandas/pulls/45612
2022-01-25T04:29:53Z
2022-01-28T00:34:01Z
2022-01-28T00:34:01Z
2022-01-28T00:54:31Z
TYP: return type of read_csv/table
diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index c5b84dd18ec13..7684fa32fbd66 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -11,7 +11,10 @@ IO, Any, Callable, + Literal, NamedTuple, + Sequence, + overload, ) import warnings ...
Return type of read_csv/table (union for now, overload can be used when positional keywords are deprecated), type TextFileReader, and type some random arguments of read_csv/table
https://api.github.com/repos/pandas-dev/pandas/pulls/45610
2022-01-25T02:34:26Z
2022-03-02T01:55:38Z
2022-03-02T01:55:38Z
2022-03-09T02:56:04Z
CLN: Remove Python 2 compat in np_datetime.c
diff --git a/pandas/_libs/tslibs/src/datetime/np_datetime.c b/pandas/_libs/tslibs/src/datetime/np_datetime.c index 0efed210a7fdf..8f59f53a555d8 100644 --- a/pandas/_libs/tslibs/src/datetime/np_datetime.c +++ b/pandas/_libs/tslibs/src/datetime/np_datetime.c @@ -27,10 +27,6 @@ This file is derived from NumPy 1.7. See NUM...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45606
2022-01-24T23:48:55Z
2022-01-26T01:40:29Z
2022-01-26T01:40:29Z
2022-01-26T01:59:47Z
Backport PR #45576 on branch 1.4.x (CI: Use xsel instead of xclip for numpydev)
diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 135ca0703de8b..1cc8188919980 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -35,7 +35,7 @@ jobs: [actions-pypy-38.yaml, "not slow and not clipboard", "", "", "", "", "--max-worker-restart 0"], ...
Backport PR #45576: CI: Use xsel instead of xclip for numpydev
https://api.github.com/repos/pandas-dev/pandas/pulls/45604
2022-01-24T22:27:49Z
2022-01-25T14:20:48Z
2022-01-25T14:20:48Z
2022-01-25T14:20:49Z
Backport PR #45597 on branch 1.4.x (CI: Fix failing CI for test_alignment_deprecation_many_inputs)
diff --git a/pandas/compat/numpy/__init__.py b/pandas/compat/numpy/__init__.py index c6666551ffad6..623c5fbecc48c 100644 --- a/pandas/compat/numpy/__init__.py +++ b/pandas/compat/numpy/__init__.py @@ -9,7 +9,7 @@ np_version_under1p19 = _nlv < Version("1.19") np_version_under1p20 = _nlv < Version("1.20") np_version_u...
Backport PR #45597: CI: Fix failing CI for test_alignment_deprecation_many_inputs
https://api.github.com/repos/pandas-dev/pandas/pulls/45600
2022-01-24T20:43:17Z
2022-01-24T21:57:50Z
2022-01-24T21:57:50Z
2022-01-24T21:57:50Z
CI: Fix failing CI for test_alignment_deprecation_many_inputs
diff --git a/pandas/compat/numpy/__init__.py b/pandas/compat/numpy/__init__.py index c6666551ffad6..623c5fbecc48c 100644 --- a/pandas/compat/numpy/__init__.py +++ b/pandas/compat/numpy/__init__.py @@ -9,7 +9,7 @@ np_version_under1p19 = _nlv < Version("1.19") np_version_under1p20 = _nlv < Version("1.20") np_version_u...
xref https://github.com/pandas-dev/pandas/issues/45182 https://github.com/pandas-dev/pandas/pull/45179 was a little too strict since numpy just had a point release. This should (hopefully) get us to green @jbrockmendel
https://api.github.com/repos/pandas-dev/pandas/pulls/45597
2022-01-24T18:49:40Z
2022-01-24T20:43:06Z
2022-01-24T20:43:06Z
2022-02-10T17:26:10Z
REF: share IntegerArray/FloatingArray coerce_to_array
diff --git a/pandas/core/arrays/floating.py b/pandas/core/arrays/floating.py index 82dc7e4454227..d55aef953b5b5 100644 --- a/pandas/core/arrays/floating.py +++ b/pandas/core/arrays/floating.py @@ -2,20 +2,9 @@ import numpy as np -from pandas._libs import ( - lib, - missing as libmissing, -) from pandas._typ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45596
2022-01-24T18:05:34Z
2022-01-27T00:40:29Z
2022-01-27T00:40:29Z
2022-01-27T02:17:41Z
DOC: don't suggest melt instead of lookup
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 36e698fa576d8..12f749bd2aa6f 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4561,7 +4561,7 @@ def lookup( .. deprecated:: 1.2.0 DataFrame.lookup is deprecated, - use DataFrame.melt and DataFrame.loc inste...
- [X] closes #45589 - [ ] tests added / passed - [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45592
2022-01-24T16:21:02Z
2022-01-24T17:56:01Z
2022-01-24T17:56:01Z
2022-01-24T19:25:39Z
DOC/WEB: update versions.json to include 1.4 stable docs url
diff --git a/web/pandas/versions.json b/web/pandas/versions.json index 2ad317c50fef1..3085efe02738b 100644 --- a/web/pandas/versions.json +++ b/web/pandas/versions.json @@ -5,6 +5,10 @@ }, { "name": "1.4 (stable)", + "version": "docs" + }, + { + "name": "1.4", "version": ...
Small follow-up on https://github.com/pandas-dev/pandas/pull/45555
https://api.github.com/repos/pandas-dev/pandas/pulls/45590
2022-01-24T14:37:29Z
2022-01-24T17:14:11Z
2022-01-24T17:14:11Z
2022-01-24T17:14:13Z
DOC: append deprecation
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 47a087d38d146..7340f2475e1f6 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -637,11 +637,11 @@ will continue to return :class:`Int64Index`, :class:`UInt64Index` and .. _whatsnew_140.deprecations.fr...
- [ ] adds to documentation for #35407
https://api.github.com/repos/pandas-dev/pandas/pulls/45587
2022-01-24T11:31:30Z
2022-02-11T14:30:39Z
2022-02-11T14:30:38Z
2022-02-11T14:31:08Z
BUG: fix skiprows callable infinite loop
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 919ed926f8195..baccd4b45a906 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -289,6 +289,7 @@ MultiIndex I/O ^^^ - Bug in :meth:`DataFrame.to_stata` where no error is raised if the :class:`DataFrame...
- [X] closes #45585 - [X] tests added / passed - [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry Not sure what to do about the `whatsnew` entry. Please advise (I've read the contribu...
https://api.github.com/repos/pandas-dev/pandas/pulls/45586
2022-01-24T10:40:19Z
2022-02-06T22:41:09Z
2022-02-06T22:41:08Z
2022-02-06T22:41:16Z
Backport PR #45558 on branch 1.4.x (BUG: Segfault in to_json with tzaware datetime)
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 48b62637c26b1..79dae514b77e9 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -23,7 +23,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ -- +- Fixed segfault in :meth:``DataFrame.to_json`` when dumping tz...
Backport PR #45558: BUG: Segfault in to_json with tzaware datetime
https://api.github.com/repos/pandas-dev/pandas/pulls/45584
2022-01-24T07:03:10Z
2022-01-24T14:00:44Z
2022-01-24T14:00:44Z
2022-01-24T14:00:44Z
REF: avoid upcast/downcast in Block.where
diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py index fe5b464a5a18d..216dd1e65de3a 100644 --- a/pandas/core/dtypes/cast.py +++ b/pandas/core/dtypes/cast.py @@ -87,6 +87,7 @@ ) from pandas.core.dtypes.inference import is_list_like from pandas.core.dtypes.missing import ( + array_equivalent, ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry Puts us within a stone's throw of being able to share Block.where with EABackedBlock.w...
https://api.github.com/repos/pandas-dev/pandas/pulls/45582
2022-01-24T04:32:40Z
2022-01-30T23:45:56Z
2022-01-30T23:45:56Z
2022-01-31T00:10:07Z
CI: Fix actions-310 testing 3.9 instead of 3.10
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index 9829380620f86..bbc468f9d8f43 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -2,7 +2,7 @@ name: pandas-dev channels: - conda-forge dependencies: - - python=3.9 + - python=3.10 # test dependencies - cython=0.29....
- [x] tests added / passed
https://api.github.com/repos/pandas-dev/pandas/pulls/45581
2022-01-24T03:49:53Z
2022-01-25T02:56:14Z
2022-01-25T02:56:14Z
2022-02-01T11:03:33Z
REF: Use more context managers to close files
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index c51e91336b023..34f10c1b3ec28 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -839,9 +839,8 @@ The simplest case is to just pass in ``parse_dates=True``: .. ipython:: python :suppress: - f = open("foo....
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
https://api.github.com/repos/pandas-dev/pandas/pulls/45579
2022-01-24T01:26:18Z
2022-01-24T04:03:45Z
2022-01-24T04:03:45Z
2022-01-24T04:03:48Z
TST: Change test_groupby_copy to apply_mutate.py
diff --git a/pandas/tests/groupby/test_apply_mutate.py b/pandas/tests/groupby/test_apply_mutate.py index 05c1f5b716f40..01fe7512c0fe9 100644 --- a/pandas/tests/groupby/test_apply_mutate.py +++ b/pandas/tests/groupby/test_apply_mutate.py @@ -4,6 +4,20 @@ import pandas._testing as tm +def test_group_by_copy(): + ...
Pending tasks from #45509 In line with issue #44803 Change test_groupby_copy from `pandas/tests/groupby/test_groupby.py` to `pandas/tests/groupby/test_apply_mutate.py` - [X] Already closed #44803 via #45509
https://api.github.com/repos/pandas-dev/pandas/pulls/45578
2022-01-23T22:56:39Z
2022-01-24T21:26:29Z
2022-01-24T21:26:29Z
2022-01-25T13:52:45Z
BUG: frame.mask(foo, bar, inplace=True) with EAs incorrectly raising
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 4e73ea348dfde..1f846cd867fad 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -263,6 +263,7 @@ Indexing - Bug when setting a value too large for a :class:`Series` dtype failing to coerce to a common ty...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45577
2022-01-23T20:30:06Z
2022-01-28T00:27:12Z
2022-01-28T00:27:12Z
2022-01-28T00:33:23Z
CI: Use xsel instead of xclip for numpydev
diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 135ca0703de8b..1cc8188919980 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -35,7 +35,7 @@ jobs: [actions-pypy-38.yaml, "not slow and not clipboard", "", "", "", "", "--max-worker-restart 0"], ...
Hopefully fixes this flaky clipboard test ``` _________________________ test_raw_roundtrip[abcd...] __________________________ [gw1] linux -- Python 3.10.0 /usr/share/miniconda/envs/pandas-dev/bin/python data = 'abcd...' @pytest.mark.single @pytest.mark.clipboard @pytest.mark.parametrize("data"...
https://api.github.com/repos/pandas-dev/pandas/pulls/45576
2022-01-23T20:13:33Z
2022-01-24T22:27:40Z
2022-01-24T22:27:40Z
2022-01-24T22:51:55Z
PERF: faster groupby diff
diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py index 74bdf7cccff70..cf6f3f92068e8 100644 --- a/asv_bench/benchmarks/groupby.py +++ b/asv_bench/benchmarks/groupby.py @@ -18,6 +18,7 @@ method_blocklist = { "object": { + "diff", "median", "prod", "s...
- [x] closes #16706 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry As @jreback suggests in the original issue, there is a large perf improvement to gr...
https://api.github.com/repos/pandas-dev/pandas/pulls/45575
2022-01-23T20:01:51Z
2022-02-28T13:41:08Z
2022-02-28T13:41:08Z
2022-05-07T03:12:25Z
DEPR: datetimelike.astype(int_other_than_i8) return requested dtype
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 571bcb7a6d2b2..f2acd0eb3f47a 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -192,6 +192,7 @@ Other Deprecations - Deprecated behavior of :meth:`DatetimeIndex.intersection` and :meth:`DatetimeIndex.sy...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry xref #45034 this should be just non-controversial parts of that discussion cc @jorisva...
https://api.github.com/repos/pandas-dev/pandas/pulls/45574
2022-01-23T18:45:58Z
2022-02-14T08:22:21Z
2022-02-14T08:22:21Z
2022-02-14T16:31:24Z
DEPR: treating float data as wall-times in DTA._from_sequence
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 71394a858aefe..d5b092e21a596 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -240,6 +240,7 @@ Other Deprecations - Deprecated :meth:`Series.is_monotonic` and :meth:`Index.is_monotonic` in favor of :me...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45573
2022-01-23T18:28:11Z
2022-02-19T01:14:37Z
2022-02-19T01:14:37Z
2022-02-19T03:00:43Z
PERF: TimedeltaArray.astype(object)
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index c845d9c8cdbde..2f26f6cc22f80 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -37,6 +37,7 @@ delta_to_nanoseconds, iNaT, ints_to_pydatetime, + ints_to_pytimedelta, ...
``` In [2]: tdi = pd.timedelta_range("1 second", periods=10**5, freq="s") In [5]: %timeit tdi.astype(object) 388 ms ± 43.5 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) # <- PR 588 ms ± 63.4 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) # <- main ```
https://api.github.com/repos/pandas-dev/pandas/pulls/45571
2022-01-23T16:24:19Z
2022-01-23T19:53:45Z
2022-01-23T19:53:45Z
2022-01-23T20:53:51Z
Fixes mypy attribute issue in io/parquet by adding a hasattr check
diff --git a/pandas/io/parquet.py b/pandas/io/parquet.py index c5bfbd2b6b35d..1b8526275c155 100644 --- a/pandas/io/parquet.py +++ b/pandas/io/parquet.py @@ -180,8 +180,12 @@ def write( mode="wb", is_dir=partition_cols is not None, ) - if isinstance(path_or_handle, io.BufferedWr...
- [x] closes #45480, #44914 - [x] Passes tests in pytest - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
https://api.github.com/repos/pandas-dev/pandas/pulls/45570
2022-01-23T15:43:26Z
2022-01-23T23:35:37Z
2022-01-23T23:35:37Z
2022-01-23T23:35:54Z
BUG: Series[Interval[int]][1] = np.nan incorrect coercion/raising
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 4e73ea348dfde..da42b2c228ec6 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -259,6 +259,7 @@ Indexing ^^^^^^^^ - Bug in :meth:`loc.__getitem__` with a list of keys causing an internal inconsistency ...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45568
2022-01-23T05:14:56Z
2022-01-28T02:07:27Z
2022-01-28T02:07:27Z
2022-01-28T02:39:28Z
TST: Update error msg for Python 3.10
diff --git a/pandas/tests/io/json/test_ujson.py b/pandas/tests/io/json/test_ujson.py index b4ae54d48dc68..d2fb25ed6ea91 100644 --- a/pandas/tests/io/json/test_ujson.py +++ b/pandas/tests/io/json/test_ujson.py @@ -15,7 +15,6 @@ import pandas._libs.json as ujson from pandas.compat import ( IS64, - PY310, i...
- [ ] closes #41940 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45567
2022-01-23T03:38:25Z
2022-01-23T19:50:01Z
2022-01-23T19:50:01Z
2022-01-23T22:26:53Z
REGR: check_flags not respected in assert_frame_equal
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 21aab5058d25b..d0a58a19df92f 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -15,6 +15,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Regression in :meth:`Series.mask...
- [x] closes #45554 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/45565
2022-01-23T03:20:09Z
2022-01-28T01:59:52Z
2022-01-28T01:59:51Z
2022-01-28T10:04:22Z
BUG: align not adding levels only on one side if intersection is equal
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index ea5258cf1537d..1084bcc1eeeb5 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -316,6 +316,7 @@ Indexing ^^^^^^^^ - Bug in :meth:`loc.__getitem__` with a list of keys causing an internal inconsistency ...
- [x] closes #45224 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry This is now consistent with the case when both sides do not have the same intersectio...
https://api.github.com/repos/pandas-dev/pandas/pulls/45564
2022-01-23T03:07:36Z
2022-02-15T01:02:31Z
2022-02-15T01:02:31Z
2022-02-15T12:49:30Z
Backport PR #45503 on branch 1.4.x (BLD: Fix pydata-sphix-theme version GH45374)
diff --git a/environment.yml b/environment.yml index 15dd329f80deb..9b8eec70a30e0 100644 --- a/environment.yml +++ b/environment.yml @@ -120,6 +120,6 @@ dependencies: - tabulate>=0.8.3 # DataFrame.to_markdown - natsort # DataFrame.sort_values - pip: - - git+https://github.com/pydata/pydata-sphinx-theme.gi...
Backport PR #45503: BLD: Fix pydata-sphix-theme version GH45374
https://api.github.com/repos/pandas-dev/pandas/pulls/45563
2022-01-23T02:30:23Z
2022-01-23T12:08:54Z
2022-01-23T12:08:54Z
2022-01-23T12:08:54Z
Backport PR #45546 on branch 1.4.x (REGR: changed behavior in series[period].mask(foo, bar, inplace=True))
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index f321aabc0a8a5..48b62637c26b1 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -14,7 +14,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ -- +- Regression in :meth:`Series...
Backport PR #45546: REGR: changed behavior in series[period].mask(foo, bar, inplace=True)
https://api.github.com/repos/pandas-dev/pandas/pulls/45560
2022-01-23T00:06:22Z
2022-01-23T03:14:46Z
2022-01-23T03:14:46Z
2022-01-23T03:14:46Z
Backport PR #45507 on branch 1.4.x (CI: Troubleshoot)
diff --git a/pandas/tests/io/parser/test_unsupported.py b/pandas/tests/io/parser/test_unsupported.py index 0d383cc4bde8f..e223378b600e0 100644 --- a/pandas/tests/io/parser/test_unsupported.py +++ b/pandas/tests/io/parser/test_unsupported.py @@ -12,6 +12,7 @@ import pytest +from pandas.compat import is_platform_win...
Backport PR #45507: CI: Troubleshoot
https://api.github.com/repos/pandas-dev/pandas/pulls/45559
2022-01-22T22:34:56Z
2022-01-22T23:46:15Z
2022-01-22T23:46:15Z
2022-01-22T23:46:15Z
BUG: Segfault in to_json with tzaware datetime
diff --git a/doc/source/whatsnew/v1.4.1.rst b/doc/source/whatsnew/v1.4.1.rst index 48b62637c26b1..79dae514b77e9 100644 --- a/doc/source/whatsnew/v1.4.1.rst +++ b/doc/source/whatsnew/v1.4.1.rst @@ -23,7 +23,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ -- +- Fixed segfault in :meth:``DataFrame.to_json`` when dumping tz...
- [ ] closes #42130 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry Basically, timedelta.total_seconds returns a float. PyInt_AsLong(actually PyLong_AsLo...
https://api.github.com/repos/pandas-dev/pandas/pulls/45558
2022-01-22T21:29:22Z
2022-01-24T07:02:37Z
2022-01-24T07:02:37Z
2022-01-24T14:22:00Z
Backport PR #45555 on branch 1.4.x (WEB: update web/pandas/versions.json for docs dropdown menu)
diff --git a/web/pandas/versions.json b/web/pandas/versions.json index 76c06210e2238..2ad317c50fef1 100644 --- a/web/pandas/versions.json +++ b/web/pandas/versions.json @@ -4,13 +4,9 @@ "version": "docs/dev" }, { - "name": "1.4 (rc)", + "name": "1.4 (stable)", "version": "panda...
Backport PR #45555: WEB: update web/pandas/versions.json for docs dropdown menu
https://api.github.com/repos/pandas-dev/pandas/pulls/45556
2022-01-22T21:12:58Z
2022-01-22T23:46:43Z
2022-01-22T23:46:43Z
2022-01-22T23:46:43Z
WEB: update web/pandas/versions.json for docs dropdown menu
diff --git a/web/pandas/versions.json b/web/pandas/versions.json index 76c06210e2238..2ad317c50fef1 100644 --- a/web/pandas/versions.json +++ b/web/pandas/versions.json @@ -4,13 +4,9 @@ "version": "docs/dev" }, { - "name": "1.4 (rc)", + "name": "1.4 (stable)", "version": "panda...
I don't think the milestone is relevant for web updates so backport not needed?
https://api.github.com/repos/pandas-dev/pandas/pulls/45555
2022-01-22T19:55:47Z
2022-01-22T21:12:49Z
2022-01-22T21:12:49Z
2022-01-24T14:37:58Z
Backport PR #45550 on branch 1.4.x (DOC: start v1.4.1 release notes)
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index df33174804a33..a3214834fb764 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -16,6 +16,7 @@ Version 1.4 .. toctree:: :maxdepth: 2 + v1.4.1 v1.4.0 Version 1.3 diff --git a/doc/source/whatsne...
Backport PR #45550: DOC: start v1.4.1 release notes
https://api.github.com/repos/pandas-dev/pandas/pulls/45552
2022-01-22T12:39:37Z
2022-01-22T13:53:36Z
2022-01-22T13:53:36Z
2022-01-22T13:53:36Z
DOC: start v1.4.1 release notes
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index 026d998613b16..cb38166fcbc70 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -24,6 +24,7 @@ Version 1.4 .. toctree:: :maxdepth: 2 + v1.4.1 v1.4.0 Version 1.3 diff --git a/doc/source/whatsne...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/45550
2022-01-22T11:35:48Z
2022-01-22T12:39:09Z
2022-01-22T12:39:09Z
2022-01-22T12:39:12Z
DOC: Shared doc string in render methods
diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 6293ad6ae3ddf..432e12f303919 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -97,6 +97,15 @@ def _mpl(func: Callable): color = """color : str, default 'yellow' Background color to use for highlighting."""...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/45548
2022-01-22T08:19:38Z
2022-01-25T17:32:36Z
2022-01-25T17:32:35Z
2022-02-21T06:21:29Z
CLN: clean setup.py
diff --git a/setup.py b/setup.py index 9a9d12ce4d2ba..78a789c808efb 100755 --- a/setup.py +++ b/setup.py @@ -7,6 +7,7 @@ """ import argparse +from distutils.command.build import build from distutils.sysconfig import get_config_vars from distutils.version import LooseVersion import multiprocessing @@ -16,10 +17,1...
an attempt to clean setup.py
https://api.github.com/repos/pandas-dev/pandas/pulls/37732
2020-11-10T04:04:44Z
2020-11-14T16:53:31Z
2020-11-14T16:53:30Z
2021-01-09T17:10:58Z
REF: use extract_array in DataFrame.combine_first
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 80743f8cc924b..4fa0b59808a52 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -114,7 +114,6 @@ is_object_dtype, is_scalar, is_sequence, - needs_i8_conversion, pandas_dtype, ) from pandas.core.dtypes.missing import isn...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/37731
2020-11-10T03:03:16Z
2020-11-11T00:58:34Z
2020-11-11T00:58:34Z
2020-11-11T00:58:38Z
TST/REF: collect/parametrize tests from tests.generic
diff --git a/pandas/tests/frame/test_alter_axes.py b/pandas/tests/frame/test_alter_axes.py index 4bd1d5fa56468..862f5b87785f5 100644 --- a/pandas/tests/frame/test_alter_axes.py +++ b/pandas/tests/frame/test_alter_axes.py @@ -1,6 +1,8 @@ from datetime import datetime import numpy as np +import pytest +import pytz ...
For some of these its just breaking up big tests and giving them meaningful names.
https://api.github.com/repos/pandas-dev/pandas/pulls/37730
2020-11-10T01:16:38Z
2020-11-13T05:10:22Z
2020-11-13T05:10:22Z
2020-11-13T05:14:00Z
TST/REF: collect indexing tests by method
diff --git a/pandas/tests/frame/indexing/test_getitem.py b/pandas/tests/frame/indexing/test_getitem.py index 079cc12389835..2e65770d7afad 100644 --- a/pandas/tests/frame/indexing/test_getitem.py +++ b/pandas/tests/frame/indexing/test_getitem.py @@ -7,11 +7,13 @@ CategoricalIndex, DataFrame, MultiIndex, +...
https://api.github.com/repos/pandas-dev/pandas/pulls/37729
2020-11-10T01:08:07Z
2020-11-10T03:17:42Z
2020-11-10T03:17:42Z
2020-11-10T03:33:24Z
Bug in iloc aligned objects
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 62da3c0c5cddc..1f05c35097b22 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -589,6 +589,7 @@ Indexing - Bug in :meth:`DataFrame.xs` ignored ``droplevel=False`` for columns (:issue:`19056`) - Bug in ...
- [x] closes #22046 - [x] closes #37593 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry If iloc should be purely position based, this PR fixes the bug described in the issue. One test depends on the wrong behavior, ...
https://api.github.com/repos/pandas-dev/pandas/pulls/37728
2020-11-10T00:27:19Z
2020-11-19T00:22:07Z
2020-11-19T00:22:06Z
2020-11-19T20:00:27Z