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
TST: verify we can add and subtract from indices (#8142)
diff --git a/pandas/tests/indexes/test_base.py b/pandas/tests/indexes/test_base.py index d9f8e5e7f382b..18dbe6624008a 100644 --- a/pandas/tests/indexes/test_base.py +++ b/pandas/tests/indexes/test_base.py @@ -1800,6 +1800,25 @@ def test_string_index_repr(self): assert coerce(idx) == expected + @...
This just provides a validating test that some basic arithmetic on int64 and float64 indices works, and in particular that things like `pd.Int64Index([1, 2]) - 1` no longer raise `Exception: Input must be iterable!`. Should be able to close #8142, which in practice hasn't been applicable for a long time.
https://api.github.com/repos/pandas-dev/pandas/pulls/16629
2017-06-08T04:00:31Z
2017-06-08T10:48:23Z
2017-06-08T10:48:23Z
2017-06-08T11:57:52Z
TST: NaN in MultiIndex should not become a string (#7031)
diff --git a/pandas/tests/indexes/test_multi.py b/pandas/tests/indexes/test_multi.py index ba917f33d8595..ae734a44e10d2 100644 --- a/pandas/tests/indexes/test_multi.py +++ b/pandas/tests/indexes/test_multi.py @@ -2858,3 +2858,24 @@ def test_tuples_with_name_string(self): pd.Index(li, name='abc') w...
This verifies that NaNs in multiindexes don't become strings under outer joins or during arithmetic. This seems to have been fixed between 0.14.1 and 0.15.0. Too minor and internal for a whatsnew update.
https://api.github.com/repos/pandas-dev/pandas/pulls/16625
2017-06-07T17:07:04Z
2017-06-08T10:48:01Z
2017-06-08T10:48:01Z
2017-06-08T11:58:40Z
BUG: Fix Series.get failure on missing NaN (#8569)
diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt index 2032209c4aa23..049737f948e17 100644 --- a/doc/source/whatsnew/v0.20.3.txt +++ b/doc/source/whatsnew/v0.20.3.txt @@ -48,7 +48,7 @@ Conversion Indexing ^^^^^^^^ - +- Bug in ``Float64Index`` causing an empty array instead of None to b...
Handle obscure case where `.get(np.nan)` wouldn't behave as expected. Fortunately the only change needed is within the unlikely branch, and so performance of get shouldn't be affected at all in the ordinary case. [X] fixes #8569 [X] tests added / passed [X] passes git diff upstream/master --name-only -- '*.py' | ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16619
2017-06-07T03:25:55Z
2017-06-08T10:47:33Z
2017-06-08T10:47:32Z
2017-06-08T11:56:57Z
BUG: Fix/test SparseSeries/SparseDataFrame stack/unstack
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 261e12b824509..8d6dc95f094af 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -588,7 +588,7 @@ Sparse - Bug in ``SparseSeries`` raises ``AttributeError`` when a dictionary is passed in as data (:...
- [X] fixes #15045, closes #16614 - [X] tests added / passed - [X] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [X] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16616
2017-06-06T19:26:36Z
2017-09-26T19:01:41Z
2017-09-26T19:01:40Z
2017-09-26T19:01:48Z
Fix some lgtm alerts
diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py index fd61813a57c98..16b0a5c8a74ca 100644 --- a/pandas/core/dtypes/cast.py +++ b/pandas/core/dtypes/cast.py @@ -668,7 +668,7 @@ def maybe_convert_objects(values, convert_dates=True, convert_numeric=True, if convert_timedeltas == 'coerce': ...
Hi, I just wanted to quickly fix a few alerts flagged up by lgtm.com. These are mostly simple ones but they were a few misnamed arguments in some calls. A total of 209 alerts have been found by lgtm.com, you can enable PR integration for automated PR reviews and flag these in the future before they find their way ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16613
2017-06-06T17:55:17Z
2017-06-07T00:41:32Z
2017-06-07T00:41:32Z
2017-08-04T11:06:03Z
BUG: pickle compat with UTC tz's
diff --git a/doc/source/whatsnew.rst b/doc/source/whatsnew.rst index b1f9990a3e6af..3385bafc26467 100644 --- a/doc/source/whatsnew.rst +++ b/doc/source/whatsnew.rst @@ -20,6 +20,8 @@ These are new features and improvements of note in each release. .. include:: whatsnew/v0.21.0.txt +.. include:: whatsnew/v0.20.3.tx...
closes #16608
https://api.github.com/repos/pandas-dev/pandas/pulls/16611
2017-06-06T10:20:26Z
2017-06-06T13:10:01Z
2017-06-06T13:10:01Z
2017-07-07T13:12:14Z
Fix reading Series with read_hdf
diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt index 249e05623a27f..967dd0be99280 100644 --- a/doc/source/whatsnew/v0.20.3.txt +++ b/doc/source/whatsnew/v0.20.3.txt @@ -56,6 +56,7 @@ I/O ^^^ -- Bug in ``pd.read_csv()`` in which files weren't opened as binary files by the C engine on ...
- [x] closes #16583 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16610
2017-06-06T08:50:51Z
2017-06-19T23:36:45Z
2017-06-19T23:36:45Z
2017-07-07T13:12:14Z
Fix automatic xlims in line plots
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 23a98d59554e9..00ce097d9d980 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -525,6 +525,8 @@ Plotting ^^^^^^^^ - Bug in plotting methods using ``secondary_y`` and ``fontsize`` not setting second...
- [x] closes #11310, closes #11471, closes #15495 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16600
2017-06-05T12:39:46Z
2017-09-19T18:52:04Z
2017-09-19T18:52:04Z
2017-09-24T10:10:41Z
DOC: Whatsnew fixups
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index e1469cf15e20c..31125db0f34d4 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -1,14 +1,12 @@ .. _whatsnew_0202: -v0.20.2 (June 3, 2017) +v0.20.2 (June 4, 2017) ---------------------- This is ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16596
2017-06-04T11:29:05Z
2017-06-04T11:29:15Z
2017-06-04T11:29:15Z
2017-06-04T20:29:16Z
Fix typo in merge doc for validate kwarg
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 25c3c3fe4e48e..2b2e7be62427b 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -184,7 +184,7 @@ dataset. * "many_to_one" or "m:1": check if merge keys are unique in right dataset. - * "many_to_may" or "m:m": allowed, but ...
- [x] tests added / passed
https://api.github.com/repos/pandas-dev/pandas/pulls/16595
2017-06-04T07:59:06Z
2017-06-04T10:42:47Z
2017-06-04T10:42:47Z
2017-06-05T06:41:55Z
PERF: vectorize _interp_limit
diff --git a/pandas/core/missing.py b/pandas/core/missing.py index 51778684d68f5..5aabc9d8730dd 100644 --- a/pandas/core/missing.py +++ b/pandas/core/missing.py @@ -143,12 +143,6 @@ def interpolate_1d(xvalues, yvalues, method='linear', limit=None, 'DatetimeIndex') method = 'values...
xref https://github.com/pandas-dev/pandas/issues/16584 Here are the timings vs. master ``` before after ratio [ff0d1f4d] [6b1552f1] - 12.3±0.3ms 2.28±0.04ms 0.18 frame_methods.Interpolate.time_interpolate_some_good_infer - 12.6±0.7ms 1.15±0.01ms ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16592
2017-06-03T17:46:55Z
2017-06-04T10:39:31Z
2017-06-04T10:39:31Z
2017-06-04T20:29:17Z
DOC: Fix typo in timeseries.rst
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index 71d85f9b3995b..1dd80aec4fd6c 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -1922,7 +1922,7 @@ then you can use a ``PeriodIndex`` and/or ``Series`` of ``Periods`` to do comput span = pd.period_range('1215-01-01', '13...
Simple typo fix
https://api.github.com/repos/pandas-dev/pandas/pulls/16590
2017-06-03T12:53:28Z
2017-06-04T00:52:51Z
2017-06-04T00:52:51Z
2017-06-04T02:31:56Z
consolidated the duplicate definitions of NA values (in parsers & IO)
diff --git a/doc/source/io.rst b/doc/source/io.rst index 7ea476514e88d..69377fad15270 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -225,9 +225,9 @@ NA and Missing Data Handling na_values : scalar, str, list-like, or dict, default ``None`` Additional strings to recognize as NA/NaN. If dict passed, spe...
xref https://github.com/pandas-dev/pandas/pull/16534#issuecomment-305636727 xref #16606
https://api.github.com/repos/pandas-dev/pandas/pulls/16589
2017-06-03T03:53:28Z
2017-06-13T23:17:45Z
2017-06-13T23:17:45Z
2017-06-15T15:58:26Z
DOC: whatsnew 0.20.2 edits
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index d58a98703f22a..c9486954258c8 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -1,7 +1,7 @@ .. _whatsnew_0202: -v0.20.2 (???) -------------- +v0.20.2 (June 3, 2017) +---------------------- This...
https://api.github.com/repos/pandas-dev/pandas/pulls/16587
2017-06-02T22:29:09Z
2017-06-02T22:30:10Z
2017-06-02T22:30:10Z
2017-06-04T17:03:48Z
BUG: fix missing sort keyword for PeriodIndex.join
diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt index ce7e8be16d8e2..8744bc4f70026 100644 --- a/doc/source/whatsnew/v0.20.3.txt +++ b/doc/source/whatsnew/v0.20.3.txt @@ -82,7 +82,7 @@ Sparse Reshaping ^^^^^^^^^ - +- ``PeriodIndex`` / ``TimedeltaIndex.join`` was missing the ``sort=`` k...
- [x] closes #16541 - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16586
2017-06-02T19:57:47Z
2017-07-07T12:16:56Z
2017-07-07T12:16:56Z
2017-07-07T13:17:10Z
API: Make is_strictly_monotonic_* private
diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst index ea00588ba156f..711c3e9a95d05 100644 --- a/doc/source/advanced.rst +++ b/doc/source/advanced.rst @@ -948,6 +948,16 @@ On the other hand, if the index is not monotonic, then both slice bounds must be In [11]: df.loc[2:3, :] KeyError: 'Cannot g...
xref https://github.com/pandas-dev/pandas/pull/16555#issuecomment-305608528
https://api.github.com/repos/pandas-dev/pandas/pulls/16576
2017-06-01T20:42:45Z
2017-06-02T09:54:41Z
2017-06-02T09:54:41Z
2017-06-04T20:29:19Z
TST: Make HDF5 fspath write test robust
diff --git a/pandas/tests/io/test_common.py b/pandas/tests/io/test_common.py index 289f86eb2dc53..b527e3c5dc254 100644 --- a/pandas/tests/io/test_common.py +++ b/pandas/tests/io/test_common.py @@ -143,7 +143,6 @@ def test_read_fspath_all(self, reader, module, path): ('to_csv', {}, 'os'), ('to_excel', ...
The test_write_fspath_all test would fail on the HDF5 example occasionally (about 1/100 in my experience). Apparently you don't get an identical HDF5 every single time. This refactors that test out to its own where we write and read both versions, and compare equality that way. See https://github.com/pandas-dev/p...
https://api.github.com/repos/pandas-dev/pandas/pulls/16575
2017-06-01T18:35:41Z
2017-06-01T22:09:52Z
2017-06-01T22:09:52Z
2017-06-04T20:29:22Z
0.20.2 backports 2
diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py index 6a2c9d48c4a28..d941ef20dc7ac 100644 --- a/asv_bench/benchmarks/indexing.py +++ b/asv_bench/benchmarks/indexing.py @@ -204,6 +204,12 @@ def setup(self): [np.arange(100), list('A'), list('A')], names=['one', '...
https://api.github.com/repos/pandas-dev/pandas/pulls/16570
2017-06-01T12:16:44Z
2017-06-04T17:01:55Z
2017-06-04T17:01:55Z
2017-06-04T17:01:59Z
PERF/BUG: reimplement MultiIndex.remove_unused_levels
diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py index 6a2c9d48c4a28..d941ef20dc7ac 100644 --- a/asv_bench/benchmarks/indexing.py +++ b/asv_bench/benchmarks/indexing.py @@ -204,6 +204,12 @@ def setup(self): [np.arange(100), list('A'), list('A')], names=['one', '...
* Add a large random test case for remove_unused_levels that failed the previous implementation * Fix #16556, a performance issue with the previous implementation * <strike>Add inplace functionality</strike> * Always return (if not inplace) at least a view instead of the original index
https://api.github.com/repos/pandas-dev/pandas/pulls/16565
2017-06-01T01:40:30Z
2017-06-02T00:23:11Z
2017-06-02T00:23:11Z
2022-11-24T14:47:26Z
COMPAT: cython str-to-int can raise a ValueError on non-CPython
diff --git a/pandas/_libs/index.pyx b/pandas/_libs/index.pyx index 21680fb0b3921..5e92c506b5d0c 100644 --- a/pandas/_libs/index.pyx +++ b/pandas/_libs/index.pyx @@ -152,7 +152,7 @@ cdef class IndexEngine: try: return self.mapping.get_item(val) - except TypeError: + except (TypeErro...
closes #16336
https://api.github.com/repos/pandas-dev/pandas/pulls/16563
2017-05-31T21:14:36Z
2017-05-31T23:04:56Z
2017-05-31T23:04:56Z
2017-05-31T23:05:00Z
BUG: conversion of Series to Categorical
diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt index 2032209c4aa23..83cd5cc4b470c 100644 --- a/doc/source/whatsnew/v0.20.3.txt +++ b/doc/source/whatsnew/v0.20.3.txt @@ -44,6 +44,7 @@ Conversion ^^^^^^^^^^ - Bug in pickle compat prior to the v0.20.x series, when ``UTC`` is a timezone ...
Patch to bug fix #16524
https://api.github.com/repos/pandas-dev/pandas/pulls/16557
2017-05-31T18:08:15Z
2017-06-09T15:51:12Z
2017-06-09T15:51:12Z
2017-07-07T13:12:14Z
Strictly monotonic
diff --git a/doc/source/api.rst b/doc/source/api.rst index 888bb6d67e94b..e210849d9a0ca 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -1286,6 +1286,8 @@ Attributes Index.is_monotonic Index.is_monotonic_increasing Index.is_monotonic_decreasing + Index.is_strictly_monotonic_increasing + Inde...
Closes https://github.com/pandas-dev/pandas/issues/16515 I think this can go in 0.20.2, even though part of it is a (small) enhancement.
https://api.github.com/repos/pandas-dev/pandas/pulls/16555
2017-05-31T16:44:52Z
2017-06-01T10:37:00Z
2017-06-01T10:37:00Z
2017-06-04T17:02:56Z
DOC: Remove incorrect elements of PeriodIndex docstring
diff --git a/pandas/core/indexes/period.py b/pandas/core/indexes/period.py index 15fd9b7dc2b6a..f8af6c8303d99 100644 --- a/pandas/core/indexes/period.py +++ b/pandas/core/indexes/period.py @@ -125,15 +125,7 @@ def _new_PeriodIndex(cls, **d): class PeriodIndex(DatelikeOps, DatetimeIndexOpsMixin, Int64Index): """ ...
- Closes #9056
https://api.github.com/repos/pandas-dev/pandas/pulls/16553
2017-05-31T14:52:54Z
2017-06-01T19:59:44Z
2017-06-01T19:59:44Z
2017-06-12T14:25:23Z
BUG: Bug in .resample() and .groupby() when aggregating on integers
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index 676da5c370041..9f88d629880ed 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -88,6 +88,7 @@ Groupby/Resample/Rolling - Bug creating datetime rolling window on an empty DataFrame (:issue:`15819`)...
closes #16361
https://api.github.com/repos/pandas-dev/pandas/pulls/16549
2017-05-31T11:55:07Z
2017-05-31T22:44:40Z
2017-05-31T22:44:40Z
2017-06-04T17:03:56Z
DOC: change doc build to python 3.6
diff --git a/.travis.yml b/.travis.yml index 8b6700e11d2c5..5dc4256a268ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,7 +74,11 @@ matrix: # In allow_failures - os: linux env: - - JOB="3.5_DOC" DOC=true + - JOB="3.6_DOC" DOC=true + addons: + apt: + packages: + ...
see https://github.com/pandas-dev/pandas/pull/16432
https://api.github.com/repos/pandas-dev/pandas/pulls/16545
2017-05-31T09:42:59Z
2017-06-02T12:26:44Z
2017-06-02T12:26:44Z
2017-06-02T12:29:03Z
BUG: Fixed pd.unique on array of tuples
diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt index 676da5c370041..2f0ee7a1a6e71 100644 --- a/doc/source/whatsnew/v0.20.2.txt +++ b/doc/source/whatsnew/v0.20.2.txt @@ -44,8 +44,7 @@ Bug Fixes - Bug in ``DataFrame.update()`` with ``overwrite=False`` and ``NaN values`` (:issue:`15593`) ...
Closes #16519
https://api.github.com/repos/pandas-dev/pandas/pulls/16543
2017-05-30T22:05:37Z
2017-06-01T10:30:58Z
2017-06-01T10:30:58Z
2017-06-04T20:29:23Z
TST: Avoid global state in matplotlib tests
diff --git a/pandas/tests/plotting/test_datetimelike.py b/pandas/tests/plotting/test_datetimelike.py index 0e15aaa2555f4..0cff365be3ec8 100644 --- a/pandas/tests/plotting/test_datetimelike.py +++ b/pandas/tests/plotting/test_datetimelike.py @@ -55,16 +55,15 @@ def test_ts_plot_with_tz(self): def test_fontsize_se...
Replaces most uses of implicit global state from matplotlib in test_datetimelike.py and test_series.py. This was potentially causing random failures where a figure expected to be on a new, blank figure would instead plot on an existing axes (that's the guess at least). Closes #16371 (hopefully).
https://api.github.com/repos/pandas-dev/pandas/pulls/16539
2017-05-30T14:54:45Z
2017-05-31T02:39:16Z
2017-05-31T02:39:16Z
2017-06-04T20:29:34Z
0.20.2 backports 1
diff --git a/.travis.yml b/.travis.yml index e5e05ed26da56..b7c18d2850a15 100644 --- a/.travis.yml +++ b/.travis.yml @@ -123,7 +123,7 @@ after_success: after_script: - echo "after_script start" - - source activate pandas && python -c "import pandas; pandas.show_versions();" + - source activate pandas && pushd /...
First round of backports. Covers everything up to and including https://github.com/pandas-dev/pandas/pull/16526 @jorisvandenbossche I can't remember, did you make PRs for batches of backports or commit directly to the maintenance branch? I think I prefer PRs, if only for another historical record. And I think we ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16535
2017-05-29T20:24:19Z
2017-05-30T12:23:46Z
2017-05-30T12:23:46Z
2017-06-04T20:29:10Z
Backport PR #48285 on branch 1.5.x (WEB: Unpin pydata sphinx theme)
diff --git a/doc/_templates/sidebar-nav-bs.html b/doc/_templates/sidebar-nav-bs.html index 7e0043e771e72..f592a910dfbda 100644 --- a/doc/_templates/sidebar-nav-bs.html +++ b/doc/_templates/sidebar-nav-bs.html @@ -1,9 +1,9 @@ <nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation"> <div class="bd-toc-ite...
Backport PR #48285: WEB: Unpin pydata sphinx theme
https://api.github.com/repos/pandas-dev/pandas/pulls/48585
2022-09-16T17:33:06Z
2022-09-16T19:56:37Z
2022-09-16T19:56:37Z
2022-09-16T19:56:37Z
Backport PR #48572 on branch 1.5.x (DOC: Fixing styles for the dark theme)
diff --git a/doc/source/_static/css/getting_started.css b/doc/source/_static/css/getting_started.css index 84eafa308175c..2a348e5b84e6e 100644 --- a/doc/source/_static/css/getting_started.css +++ b/doc/source/_static/css/getting_started.css @@ -154,7 +154,7 @@ ul.task-bullet > li > p:first-child { .comparison-card ....
Backport PR #48572: DOC: Fixing styles for the dark theme
https://api.github.com/repos/pandas-dev/pandas/pulls/48584
2022-09-16T17:30:30Z
2022-09-16T19:56:48Z
2022-09-16T19:56:48Z
2022-09-16T19:56:48Z
Backport PR #48397 on branch 1.5.x (WARN: Remove false positive warning for iloc inplaceness)
diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py index 1035fd08a1a36..c15e597558221 100644 --- a/pandas/_testing/__init__.py +++ b/pandas/_testing/__init__.py @@ -459,7 +459,8 @@ def all_timeseries_index_generator(k: int = 10) -> Iterable[Index]: def make_rand_series(name=None, dtype=np.float64) ...
Backport PR #48397: WARN: Remove false positive warning for iloc inplaceness
https://api.github.com/repos/pandas-dev/pandas/pulls/48583
2022-09-16T17:19:14Z
2022-09-16T19:57:03Z
2022-09-16T19:57:03Z
2022-09-16T19:57:03Z
CLN: Simplify factorize
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index da1aac827defe..d98534e6f3917 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -762,10 +762,6 @@ def factorize( if not isinstance(values, ABCMultiIndex): values = extract_array(values, extract_numpy=True) - ...
- [ ] closes #xxxx (Replace xxxx with the Github issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/48580
2022-09-16T02:15:54Z
2022-10-11T16:31:06Z
2022-10-11T16:31:06Z
2022-10-13T17:01:10Z
BUG: Fix calling groupBy(...).apply(func) on an empty dataframe invokes func
diff --git a/doc/source/whatsnew/v1.5.1.rst b/doc/source/whatsnew/v1.5.1.rst index ef41b749c89e6..3157723167020 100644 --- a/doc/source/whatsnew/v1.5.1.rst +++ b/doc/source/whatsnew/v1.5.1.rst @@ -77,6 +77,7 @@ Fixed regressions - Fixed performance regression in :func:`factorize` when ``na_sentinel`` is not ``None`` a...
- [x] closes #47985 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
https://api.github.com/repos/pandas-dev/pandas/pulls/48579
2022-09-16T01:56:57Z
2022-09-27T20:21:24Z
2022-09-27T20:21:24Z
2022-09-30T14:39:08Z
API: Add pandas.api.typing
diff --git a/doc/source/reference/groupby.rst b/doc/source/reference/groupby.rst index 8374b0c739f89..771163ae1b0bc 100644 --- a/doc/source/reference/groupby.rst +++ b/doc/source/reference/groupby.rst @@ -7,7 +7,9 @@ GroupBy ======= .. currentmodule:: pandas.core.groupby -GroupBy objects are returned by groupby cal...
- [x] closes #48577 (Replace xxxx with the Github issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/48578
2022-09-16T01:51:42Z
2023-04-17T23:26:04Z
2023-04-17T23:26:04Z
2023-04-18T13:28:07Z
Make pandas/io/sql.py work with sqlalchemy 2.0
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index 25032ed1c76b0..24676856f9fad 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -48,7 +48,7 @@ dependencies: - pyxlsb - s3fs>=2021.08.0 - scipy - - sqlalchemy<1.4.46 + - sqlalchemy - tabulate - tzdata>=2022a ...
- [x] closes #40686 - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ]...
https://api.github.com/repos/pandas-dev/pandas/pulls/48576
2022-09-15T23:28:30Z
2023-02-09T17:35:09Z
2023-02-09T17:35:09Z
2023-03-13T16:23:09Z
DOC: Fixing styles for the dark theme
diff --git a/doc/source/_static/css/getting_started.css b/doc/source/_static/css/getting_started.css index 84eafa308175c..2a348e5b84e6e 100644 --- a/doc/source/_static/css/getting_started.css +++ b/doc/source/_static/css/getting_started.css @@ -154,7 +154,7 @@ ul.task-bullet > li > p:first-child { .comparison-card ....
- [X] closes ##48527 - [X] xref #48285 I checked that the bright theme continues to look good, and it fixes the most obvious problems of the dark theme.
https://api.github.com/repos/pandas-dev/pandas/pulls/48572
2022-09-15T23:02:20Z
2022-09-16T17:30:23Z
2022-09-16T17:30:23Z
2022-09-16T17:30:32Z
Backport PR #48557 on branch 1.5.x (WEB: Add new footer to web)
diff --git a/web/pandas/_templates/layout.html b/web/pandas/_templates/layout.html index 67876d88a2d1a..0829bec043b2b 100644 --- a/web/pandas/_templates/layout.html +++ b/web/pandas/_templates/layout.html @@ -91,7 +91,7 @@ </li> </ul> <p> - pandas is a fiscally ...
Backport PR #48557: WEB: Add new footer to web
https://api.github.com/repos/pandas-dev/pandas/pulls/48571
2022-09-15T17:36:54Z
2022-09-15T20:04:14Z
2022-09-15T20:04:14Z
2022-09-15T20:04:14Z
Add OpenSSF Scorecards GitHub Action
diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml new file mode 100644 index 0000000000000..7799c33b66683 --- /dev/null +++ b/.github/workflows/scorecards.yml @@ -0,0 +1,54 @@ +name: Scorecards supply-chain security +on: + # Only the default branch is supported. + branch_protection_rule...
Closes #48566 As per the linked issue, this PR adds the OpenSSF Scorecards GitHub Action, which automatically checks the repo's supply-chain security processes and reports results to the repo's Security dashboard. I have also taken the liberty of adding a [badge][1] to the README.md displaying the project's scor...
https://api.github.com/repos/pandas-dev/pandas/pulls/48570
2022-09-15T17:29:06Z
2022-09-20T17:48:28Z
2022-09-20T17:48:27Z
2022-10-13T17:01:09Z
Backport PR #48555 on branch 1.5.x (DEPR: Series.astype(np.datetime64))
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 581cc9b5f61a9..39d99416db1bc 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -936,6 +936,7 @@ Other Deprecations - Deprecated the ``sort_columns`` argument in :meth:`DataFrame.plot` and :meth:`Series....
Backport PR #48555: DEPR: Series.astype(np.datetime64)
https://api.github.com/repos/pandas-dev/pandas/pulls/48569
2022-09-15T16:55:10Z
2022-09-15T18:53:37Z
2022-09-15T18:53:37Z
2022-09-15T18:53:37Z
Backport PR #48539 on branch 1.5.x (REGR: groupby doesn't identify null values when sort=False)
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 581cc9b5f61a9..bed545fccba1c 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -1016,7 +1016,6 @@ Numeric - Bug in division, ``pow`` and ``mod`` operations on array-likes with ``dtype="boolean"`` not be...
Backport PR #48539: REGR: groupby doesn't identify null values when sort=False
https://api.github.com/repos/pandas-dev/pandas/pulls/48568
2022-09-15T16:49:26Z
2022-09-15T18:53:20Z
2022-09-15T18:53:20Z
2022-09-15T18:53:21Z
Backport PR #48563 on branch 1.5.x (DOC: Fix read_sas 1.5 release notes)
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 4d717aa45ccea..581cc9b5f61a9 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -965,7 +965,7 @@ Performance improvements - Performance improvement in :class:`BusinessHour` ``str`` and ``repr`` (:issue:`...
Backport PR #48563: DOC: Fix read_sas 1.5 release notes
https://api.github.com/repos/pandas-dev/pandas/pulls/48565
2022-09-15T11:47:04Z
2022-09-15T15:19:27Z
2022-09-15T15:19:27Z
2022-09-15T15:19:27Z
Backport PR #48562 on branch 1.5.x (TST: Testing that no warnings are emitted and that inplace fillna produces the correct result (GH48480))
diff --git a/pandas/tests/frame/methods/test_fillna.py b/pandas/tests/frame/methods/test_fillna.py index 3d7e5c6823e9d..697b28a65ac2e 100644 --- a/pandas/tests/frame/methods/test_fillna.py +++ b/pandas/tests/frame/methods/test_fillna.py @@ -780,3 +780,16 @@ def test_fillna_nonconsolidated_frame(): df_nonconsol = d...
Backport PR #48562: TST: Testing that no warnings are emitted and that inplace fillna produces the correct result (GH48480)
https://api.github.com/repos/pandas-dev/pandas/pulls/48564
2022-09-15T11:44:15Z
2022-09-15T15:19:16Z
2022-09-15T15:19:16Z
2022-09-15T15:19:17Z
DOC: Fix read_sas 1.5 release notes
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 4d717aa45ccea..581cc9b5f61a9 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -965,7 +965,7 @@ Performance improvements - Performance improvement in :class:`BusinessHour` ``str`` and ``repr`` (:issue:`...
xref https://github.com/pandas-dev/pandas/pull/47403#issuecomment-1242755217 CC @datapythonista
https://api.github.com/repos/pandas-dev/pandas/pulls/48563
2022-09-15T09:36:15Z
2022-09-15T11:46:57Z
2022-09-15T11:46:57Z
2022-09-15T11:47:05Z
TST: Testing that no warnings are emitted and that inplace fillna produces the correct result (GH48480)
diff --git a/pandas/tests/frame/methods/test_fillna.py b/pandas/tests/frame/methods/test_fillna.py index 3d7e5c6823e9d..697b28a65ac2e 100644 --- a/pandas/tests/frame/methods/test_fillna.py +++ b/pandas/tests/frame/methods/test_fillna.py @@ -780,3 +780,16 @@ def test_fillna_nonconsolidated_frame(): df_nonconsol = d...
- [x] closes #48480 - [x] [Tests added and passed] - [x] All [code checks passed] In GH48480 it was stated that using fillna in-place on a dataframe with Nones emits a future warning. The issue was already resolved as also stated in the issue, so I included a test which tests on an example that no warning is emitt...
https://api.github.com/repos/pandas-dev/pandas/pulls/48562
2022-09-15T09:19:19Z
2022-09-15T11:44:08Z
2022-09-15T11:44:08Z
2022-09-15T11:48:38Z
Backport PR #48556 on branch 1.5.x (DOC: Fix docs footer)
diff --git a/doc/_templates/pandas_footer.html b/doc/_templates/pandas_footer.html new file mode 100644 index 0000000000000..c24bce52e67e0 --- /dev/null +++ b/doc/_templates/pandas_footer.html @@ -0,0 +1,3 @@ +<p class="copyright"> + &copy {{copyright}} pandas via <a href="https://numfocus.org">NumFOCUS, Inc.</a> Ho...
Backport PR #48556: DOC: Fix docs footer
https://api.github.com/repos/pandas-dev/pandas/pulls/48558
2022-09-15T00:17:21Z
2022-09-15T07:33:54Z
2022-09-15T07:33:54Z
2022-09-15T07:33:55Z
WEB: Add new footer to web
diff --git a/web/pandas/_templates/layout.html b/web/pandas/_templates/layout.html index 67876d88a2d1a..0829bec043b2b 100644 --- a/web/pandas/_templates/layout.html +++ b/web/pandas/_templates/layout.html @@ -91,7 +91,7 @@ </li> </ul> <p> - pandas is a fiscally ...
- [X] closes #48012 Replacing current footer in the web by new standard one with copyright and OVH hosting.
https://api.github.com/repos/pandas-dev/pandas/pulls/48557
2022-09-14T23:25:24Z
2022-09-15T17:36:47Z
2022-09-15T17:36:47Z
2022-09-15T17:36:55Z
DOC: Fix docs footer
diff --git a/doc/_templates/pandas_footer.html b/doc/_templates/pandas_footer.html new file mode 100644 index 0000000000000..c24bce52e67e0 --- /dev/null +++ b/doc/_templates/pandas_footer.html @@ -0,0 +1,3 @@ +<p class="copyright"> + &copy {{copyright}} pandas via <a href="https://numfocus.org">NumFOCUS, Inc.</a> Ho...
Follow up of #48543 Seems like Sphinx escapes html tags in the copyright setting, and links can't be created. Using a template for the new footer. Good news is that with a custom template, we can't now get rid of the `Copyright` word in the footer.
https://api.github.com/repos/pandas-dev/pandas/pulls/48556
2022-09-14T22:56:52Z
2022-09-15T00:16:47Z
2022-09-15T00:16:47Z
2022-09-15T00:16:56Z
DEPR: Series.astype(np.datetime64)
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 4d717aa45ccea..2c06dfe8272dc 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -936,6 +936,7 @@ Other Deprecations - Deprecated the ``sort_columns`` argument in :meth:`DataFrame.plot` and :meth:`Series....
- [x] closes #47844 (Replace xxxx with the Github issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/48555
2022-09-14T22:29:29Z
2022-09-15T16:55:01Z
2022-09-15T16:55:01Z
2022-09-15T17:01:41Z
Backport PR #48550 on branch 1.5.x (TST: remove 2D tests irrelevant for pyarrow)
diff --git a/pandas/tests/extension/base/dim2.py b/pandas/tests/extension/base/dim2.py index f71f3cf164bfc..1d5a5c4532a5d 100644 --- a/pandas/tests/extension/base/dim2.py +++ b/pandas/tests/extension/base/dim2.py @@ -12,6 +12,9 @@ class Dim2CompatTests(BaseExtensionTests): + # Note: these are ONLY for Extension...
Backport PR #48550: TST: remove 2D tests irrelevant for pyarrow
https://api.github.com/repos/pandas-dev/pandas/pulls/48554
2022-09-14T21:32:26Z
2022-09-15T00:04:44Z
2022-09-15T00:04:44Z
2022-09-15T00:04:44Z
Manual Backport PR #48417 on branch 1.5.x (Revert set_index inplace and copy keyword changes)
diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index 92729a16c6a30..f939945fc6cda 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -1723,12 +1723,13 @@ the given columns to a MultiIndex: frame Other options in ``set_index`` allow yo...
xref #48417
https://api.github.com/repos/pandas-dev/pandas/pulls/48552
2022-09-14T19:16:34Z
2022-09-15T00:03:58Z
2022-09-15T00:03:58Z
2022-09-15T00:04:25Z
ENH: added finalize to binary operators on DataFrame, GH28283
diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst index 405b8cc0a5ded..ea3ba77dcca0f 100644 --- a/doc/source/whatsnew/v1.6.0.rst +++ b/doc/source/whatsnew/v1.6.0.rst @@ -32,6 +32,7 @@ Other enhancements - :meth:`Series.add_suffix`, :meth:`DataFrame.add_suffix`, :meth:`Series.add_prefix` and ...
- [ ] xref #28283 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] ...
https://api.github.com/repos/pandas-dev/pandas/pulls/48551
2022-09-14T19:04:44Z
2022-09-19T23:08:21Z
2022-09-19T23:08:21Z
2022-10-13T17:01:09Z
TST: remove 2D tests irrelevant for pyarrow
diff --git a/pandas/tests/extension/base/dim2.py b/pandas/tests/extension/base/dim2.py index d2c1e6971c56e..85e19f1860b21 100644 --- a/pandas/tests/extension/base/dim2.py +++ b/pandas/tests/extension/base/dim2.py @@ -18,6 +18,9 @@ class Dim2CompatTests(BaseExtensionTests): + # Note: these are ONLY for Extension...
Gets rid of 3367 irrelevant xfails cc @mroeschke
https://api.github.com/repos/pandas-dev/pandas/pulls/48550
2022-09-14T16:35:52Z
2022-09-14T21:31:54Z
2022-09-14T21:31:54Z
2022-09-14T21:40:35Z
Backport PR #48543 on branch 1.5.x (DOC: Update footer and include OVH)
diff --git a/doc/source/conf.py b/doc/source/conf.py index 84958595f6618..3225582269b64 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -163,7 +163,11 @@ # General information about the project. project = "pandas" -copyright = f"2008-{datetime.now().year}, the pandas development team" +copyright = ( + ...
Backport PR #48543: DOC: Update footer and include OVH
https://api.github.com/repos/pandas-dev/pandas/pulls/48548
2022-09-14T16:07:24Z
2022-09-14T17:30:32Z
2022-09-14T17:30:31Z
2022-09-14T17:30:32Z
DOC: Update footer and include OVH
diff --git a/doc/source/conf.py b/doc/source/conf.py index 84958595f6618..3225582269b64 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -163,7 +163,11 @@ # General information about the project. project = "pandas" -copyright = f"2008-{datetime.now().year}, the pandas development team" +copyright = ( + ...
- [X] xref #48012 The OVH agreement for the new hosting has been signed, adding an OVH mention to the documentation footer for 1.5, and standardizing to the agreed footer. Note that Sphinx poor design doesn't provide a way to have the footer we want (it forces the footer to start with `© Copyright`), without crea...
https://api.github.com/repos/pandas-dev/pandas/pulls/48543
2022-09-14T10:44:17Z
2022-09-14T16:06:52Z
2022-09-14T16:06:52Z
2022-09-14T16:07:00Z
Added test case to lock in behaviour
diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst index a7c9a7eb88221..a8baa6782d5a0 100644 --- a/doc/source/whatsnew/v1.6.0.rst +++ b/doc/source/whatsnew/v1.6.0.rst @@ -212,6 +212,7 @@ Sparse ExtensionArray ^^^^^^^^^^^^^^ - Bug in :meth:`Series.mean` overflowing unnecessarily with nullabl...
* In previous versions, concatenating to empty EA was resetting type information to np.object - [x] closes #48510 (Replace xxxx with the Github issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a ne...
https://api.github.com/repos/pandas-dev/pandas/pulls/48541
2022-09-14T05:53:37Z
2022-09-15T16:46:03Z
2022-09-15T16:46:03Z
2022-10-13T17:01:08Z
ENH: Added append functionality for DataFrame.to_json
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 63e6b007f77a8..1d56b4fbd48b5 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -1918,6 +1918,7 @@ with optional parameters: * ``date_unit`` : The time unit to encode to, governs timestamp and ISO8601 precision....
- [X] closes #35849 - [X] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [X]...
https://api.github.com/repos/pandas-dev/pandas/pulls/48540
2022-09-14T03:35:36Z
2022-10-20T17:58:24Z
2022-10-20T17:58:24Z
2022-10-20T18:55:26Z
REGR: groupby doesn't identify null values when sort=False
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index d8a319da2065e..baa91b61828a7 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -1018,7 +1018,6 @@ Numeric - Bug in division, ``pow`` and ``mod`` operations on array-likes with ``dtype="boolean"`` not be...
- [x] closes #48506 (Replace xxxx with the Github issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/48539
2022-09-14T02:13:13Z
2022-09-15T16:49:17Z
2022-09-15T16:49:16Z
2022-09-17T12:50:09Z
Backport PR #48489 on branch 1.5.x (BUG: fix test_arrow.py tests)
diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py index f5262aa7ceeaa..aeb9bc7a31674 100644 --- a/pandas/core/dtypes/common.py +++ b/pandas/core/dtypes/common.py @@ -1188,10 +1188,10 @@ def needs_i8_conversion(arr_or_dtype) -> bool: """ if arr_or_dtype is None: return False - ...
Backport PR #48489: BUG: fix test_arrow.py tests
https://api.github.com/repos/pandas-dev/pandas/pulls/48532
2022-09-13T19:15:37Z
2022-09-13T22:41:38Z
2022-09-13T22:41:38Z
2022-09-13T22:41:39Z
CI/TST: Remove --color=yes for more consistent log output
diff --git a/pyproject.toml b/pyproject.toml index 97a0d30092804..89afdcfd32d22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ exclude = ''' [tool.pytest.ini_options] # sync minversion with pyproject.toml & install.rst minversion = "6.0" -addopts = "--strict-data-files --strict-markers --strict-...
While debugging https://github.com/pandas-dev/pandas/pull/48258, I noticed the pytest logs would not correctly render since we've activated `--color=yes`. Example: https://github.com/pandas-dev/pandas/actions/runs/3025310849/jobs/4867636909 Example wo/ color: https://github.com/pandas-dev/pandas/actions/runs/302603...
https://api.github.com/repos/pandas-dev/pandas/pulls/48531
2022-09-13T16:31:27Z
2022-09-14T16:00:24Z
2022-09-14T16:00:24Z
2022-10-13T17:01:07Z
Backport PR #48525 on branch 1.5.x (CI: Fix py311 builds different exception message)
diff --git a/pandas/tests/dtypes/test_concat.py b/pandas/tests/dtypes/test_concat.py index f624c56b54001..772dfdfe8fb03 100644 --- a/pandas/tests/dtypes/test_concat.py +++ b/pandas/tests/dtypes/test_concat.py @@ -38,7 +38,9 @@ def test_concat_periodarray_2d(): result = _concat.concat_compat([arr[:, :2], arr[:, 2:]...
Backport PR #48525: CI: Fix py311 builds different exception message
https://api.github.com/repos/pandas-dev/pandas/pulls/48529
2022-09-13T16:13:11Z
2022-09-13T18:07:01Z
2022-09-13T18:07:01Z
2022-09-13T18:07:01Z
CI: Fix py311 builds different exception message
diff --git a/pandas/tests/dtypes/test_concat.py b/pandas/tests/dtypes/test_concat.py index f624c56b54001..772dfdfe8fb03 100644 --- a/pandas/tests/dtypes/test_concat.py +++ b/pandas/tests/dtypes/test_concat.py @@ -38,7 +38,9 @@ def test_concat_periodarray_2d(): result = _concat.concat_compat([arr[:, :2], arr[:, 2:]...
- [ ] closes #xxxx (Replace xxxx with the Github issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/48525
2022-09-13T10:56:08Z
2022-09-13T16:12:34Z
2022-09-13T16:12:34Z
2022-10-23T17:40:15Z
change test such that it passes in headless mode (instead of xpass)
diff --git a/pandas/tests/io/test_clipboard.py b/pandas/tests/io/test_clipboard.py index db85cb416145f..d76b731ba43f9 100644 --- a/pandas/tests/io/test_clipboard.py +++ b/pandas/tests/io/test_clipboard.py @@ -1,3 +1,4 @@ +import os from textwrap import dedent import numpy as np @@ -389,11 +390,12 @@ def test_invali...
…and xpass in non-headless mode (instead of error). - [ ] closes #48483 - [ ] [Tests *modified* and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests). - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.h...
https://api.github.com/repos/pandas-dev/pandas/pulls/48520
2022-09-12T21:50:23Z
2022-09-13T16:14:14Z
2022-09-13T16:14:14Z
2022-10-13T17:01:07Z
Manual Backport PR #48428 on branch 1.5.x (BUG/TST: fix a bunch of arraymanager+pyarrow tests)
diff --git a/pandas/core/internals/array_manager.py b/pandas/core/internals/array_manager.py index dcf69dfda1ae8..fd156ccfc8b31 100644 --- a/pandas/core/internals/array_manager.py +++ b/pandas/core/internals/array_manager.py @@ -297,19 +297,10 @@ def apply_with_block(self: T, f, align_keys=None, swap_axis=True, **kwarg...
xref https://github.com/pandas-dev/pandas/pull/48428
https://api.github.com/repos/pandas-dev/pandas/pulls/48518
2022-09-12T19:30:48Z
2022-09-13T17:23:50Z
2022-09-13T17:23:50Z
2022-09-13T17:23:53Z
Backport PR #48490 on branch 1.5.x (CI: Use -j1 for python-dev build to avoid flaky build error)
diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 46cb564b494f6..8b97c3821efe5 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -80,9 +80,10 @@ jobs: python -m pip install python-dateutil pytz cython hypothesis==6.52.1 pytest>=6.2.5 py...
Backport PR #48490: CI: Use -j1 for python-dev build to avoid flaky build error
https://api.github.com/repos/pandas-dev/pandas/pulls/48517
2022-09-12T17:00:38Z
2022-09-12T19:14:39Z
2022-09-12T19:14:39Z
2022-09-12T19:14:40Z
BUG: Fix bug in pd.eval when UnaryOp in function
diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst index a7c9a7eb88221..500f63bd0a51f 100644 --- a/doc/source/whatsnew/v1.6.0.rst +++ b/doc/source/whatsnew/v1.6.0.rst @@ -148,6 +148,7 @@ Numeric Conversion ^^^^^^^^^^ - Bug in constructing :class:`Series` with ``int64`` dtype from a string l...
- [x] closes #46471 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [ ]...
https://api.github.com/repos/pandas-dev/pandas/pulls/48511
2022-09-12T04:21:17Z
2022-09-14T15:58:27Z
2022-09-14T15:58:27Z
2022-10-13T17:01:06Z
TYP: type all arguments with str default values
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 36ff38a849969..966fda1ed710a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -268,7 +268,7 @@ repos: |/_testing/ - id: autotyping name: autotyping - entry: python -m libcst.tool codemod autotyp...
After this PR autotyping will gently nudge people to add type annotations for arguments with a string default value. This PR is bigger than expected - there were many untyped arguments that have a string default value. Typing arguments that have default values is important, as pyright assumes that untyped argumen...
https://api.github.com/repos/pandas-dev/pandas/pulls/48508
2022-09-11T23:11:54Z
2022-09-22T16:05:19Z
2022-09-22T16:05:19Z
2023-08-14T17:09:27Z
ENH: Keep dtypes in MultiIndex.union without NAs
diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst index 7f16b109a2aac..ba6db137de083 100644 --- a/doc/source/whatsnew/v1.6.0.rst +++ b/doc/source/whatsnew/v1.6.0.rst @@ -104,6 +104,7 @@ Performance improvements ~~~~~~~~~~~~~~~~~~~~~~~~ - Performance improvement in :meth:`.GroupBy.median` fo...
- [ ] closes #xxxx (Replace xxxx with the Github issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/48505
2022-09-11T13:02:52Z
2022-09-13T17:24:31Z
2022-09-13T17:24:31Z
2022-10-13T17:01:04Z
PERF: merge on sorted MultiIndex
diff --git a/asv_bench/benchmarks/join_merge.py b/asv_bench/benchmarks/join_merge.py index e3c6bf9bd4e07..753559eb62b35 100644 --- a/asv_bench/benchmarks/join_merge.py +++ b/asv_bench/benchmarks/join_merge.py @@ -6,6 +6,7 @@ DataFrame, MultiIndex, Series, + array, concat, date_range, me...
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] Added [type annotati...
https://api.github.com/repos/pandas-dev/pandas/pulls/48504
2022-09-11T03:02:05Z
2022-09-19T23:11:07Z
2022-09-19T23:11:07Z
2022-10-13T17:01:03Z
SAS7BDAT parser: Speed up blank_missing
diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst index ee5085fd9ad89..9b0bef2cde1c0 100644 --- a/doc/source/whatsnew/v1.6.0.rst +++ b/doc/source/whatsnew/v1.6.0.rst @@ -106,6 +106,7 @@ Performance improvements - Performance improvement for :meth:`Series.value_counts` with nullable dtype (:i...
Move `blank_missing` to Cython. ASV: ``` # Old io.sas.SAS.time_read_sas7bdat 10.6±0.05ms # New io.sas.SAS.time_read_sas7bdat 5.47±0.02ms ``` - [ ] closes #xxxx (Replace xxxx with the Github issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing...
https://api.github.com/repos/pandas-dev/pandas/pulls/48502
2022-09-10T23:19:28Z
2022-09-13T00:04:09Z
2022-09-13T00:04:09Z
2022-10-13T17:01:03Z
Backport PR #48473 on branch 1.5.x (REGR: .describe on unsigned dtypes results in object)
diff --git a/pandas/conftest.py b/pandas/conftest.py index b6e1559b9f8cf..cf735bf535ddd 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -1603,6 +1603,45 @@ def any_numpy_dtype(request): return request.param +@pytest.fixture( + params=tm.ALL_REAL_NUMPY_DTYPES + + tm.COMPLEX_DTYPES + + tm.AL...
Backport PR #48473: REGR: .describe on unsigned dtypes results in object
https://api.github.com/repos/pandas-dev/pandas/pulls/48501
2022-09-10T21:33:43Z
2022-09-11T11:37:31Z
2022-09-11T11:37:31Z
2022-09-11T11:37:31Z
DOC: Add SeriesGroupBy and DataFrameGroupBy reference pages
diff --git a/doc/source/reference/groupby.rst b/doc/source/reference/groupby.rst index 63d7c19b7841d..138018eacef49 100644 --- a/doc/source/reference/groupby.rst +++ b/doc/source/reference/groupby.rst @@ -14,10 +14,14 @@ Indexing, iteration .. autosummary:: :toctree: api/ - GroupBy.__iter__ - GroupBy.groups ...
- [x] closes #48399 (Replace xxxx with the Github issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/c...
https://api.github.com/repos/pandas-dev/pandas/pulls/48500
2022-09-10T18:08:26Z
2022-09-15T23:19:50Z
2022-09-15T23:19:50Z
2022-10-13T17:01:02Z
BUG: MultiIndex.union losing extension array dtype
diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst index ee5085fd9ad89..1c2fa280465e8 100644 --- a/doc/source/whatsnew/v1.6.0.rst +++ b/doc/source/whatsnew/v1.6.0.rst @@ -168,6 +168,7 @@ Missing MultiIndex ^^^^^^^^^^ - Bug in :meth:`MultiIndex.unique` losing extension array dtype (:issue:`4...
- [ ] closes #xxxx (Replace xxxx with the Github issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/48498
2022-09-10T12:56:23Z
2022-09-12T17:59:23Z
2022-09-12T17:59:23Z
2022-10-13T17:01:01Z
Bug: raise TypeError when doing infer_freq using RangeIndex
diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst index ee5085fd9ad89..975909686c28f 100644 --- a/doc/source/whatsnew/v1.6.0.rst +++ b/doc/source/whatsnew/v1.6.0.rst @@ -121,7 +121,7 @@ Categorical Datetimelike ^^^^^^^^^^^^ -- +- Bug in :func:`pandas.infer_freq`, raising ``TypeError`` whe...
- [x] closes #48439 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x...
https://api.github.com/repos/pandas-dev/pandas/pulls/48497
2022-09-10T12:27:56Z
2022-09-13T07:32:35Z
2022-09-13T07:32:35Z
2022-10-13T17:01:00Z
ENH: Support mask properly in GroupBy.quantile
diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst index ee5085fd9ad89..88e122221f770 100644 --- a/doc/source/whatsnew/v1.6.0.rst +++ b/doc/source/whatsnew/v1.6.0.rst @@ -28,6 +28,7 @@ enhancement2 Other enhancements ^^^^^^^^^^^^^^^^^^ +- :meth:`.GroupBy.quantile` now preserving nullable d...
- [x] xref #37493 (Replace xxxx with the Github issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/cont...
https://api.github.com/repos/pandas-dev/pandas/pulls/48496
2022-09-10T11:04:08Z
2022-09-12T17:58:10Z
2022-09-12T17:58:10Z
2022-10-13T17:01:00Z
BUG/PERF: use lexsort_indexer in MultiIndex.argsort
diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst index 0bc91d3cd9637..2394d4721edfc 100644 --- a/doc/source/whatsnew/v1.6.0.rst +++ b/doc/source/whatsnew/v1.6.0.rst @@ -220,6 +220,7 @@ Missing MultiIndex ^^^^^^^^^^ +- Bug in :meth:`MultiIndex.argsort` raising ``TypeError`` when index con...
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] Added [type annotati...
https://api.github.com/repos/pandas-dev/pandas/pulls/48495
2022-09-10T10:18:36Z
2022-10-07T11:01:45Z
2022-10-07T11:01:44Z
2022-10-26T10:18:36Z
Backport PR #48443 on branch 1.5.x (BUG: Fix pyarrow groupby tests)
diff --git a/pandas/core/series.py b/pandas/core/series.py index d2f66e9bd36e2..0e6f40564c003 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -572,7 +572,10 @@ def _set_axis(self, axis: int, labels: AnyArrayLike | list) -> None: """ labels = ensure_index(labels) - if labels....
#48443
https://api.github.com/repos/pandas-dev/pandas/pulls/48494
2022-09-10T08:49:24Z
2022-09-12T17:13:51Z
2022-09-12T17:13:51Z
2022-09-12T17:31:42Z
CI: Fix failing tests
diff --git a/pandas/tests/extension/test_arrow.py b/pandas/tests/extension/test_arrow.py index f700a7c918d49..fdb3c3f8fe4af 100644 --- a/pandas/tests/extension/test_arrow.py +++ b/pandas/tests/extension/test_arrow.py @@ -1437,17 +1437,7 @@ def test_diff(self, data, periods, request): @pytest.mark.parametrize("drop...
- [ ] closes #xxxx (Replace xxxx with the Github issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/48493
2022-09-10T08:45:02Z
2022-09-10T10:54:34Z
2022-09-10T10:54:34Z
2022-10-13T17:00:58Z
WEB: Update Python for Data Analysis book
diff --git a/web/pandas/getting_started.md b/web/pandas/getting_started.md index dc43a6a273832..84893db505908 100644 --- a/web/pandas/getting_started.md +++ b/web/pandas/getting_started.md @@ -51,10 +51,10 @@ and more about JupyterLab in the ## Books -The book we recommend to learn pandas is [Python for Data Analy...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/48491
2022-09-10T01:26:16Z
2022-09-12T18:00:41Z
2022-09-12T18:00:41Z
2022-10-13T17:00:58Z
CI: Use -j1 for python-dev build to avoid flaky build error
diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 46cb564b494f6..8b97c3821efe5 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -80,9 +80,10 @@ jobs: python -m pip install python-dateutil pytz cython hypothesis==6.52.1 pytest>=6.2.5 py...
xref #47305 e.g. https://github.com/pandas-dev/pandas/runs/8280474438?check_suite_focus=true
https://api.github.com/repos/pandas-dev/pandas/pulls/48490
2022-09-10T00:24:34Z
2022-09-12T17:00:07Z
2022-09-12T17:00:07Z
2022-09-12T17:00:11Z
BUG: fix test_arrow.py tests
diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py index f5262aa7ceeaa..aeb9bc7a31674 100644 --- a/pandas/core/dtypes/common.py +++ b/pandas/core/dtypes/common.py @@ -1188,10 +1188,10 @@ def needs_i8_conversion(arr_or_dtype) -> bool: """ if arr_or_dtype is None: return False - ...
Sits on top of #48428
https://api.github.com/repos/pandas-dev/pandas/pulls/48489
2022-09-09T23:45:30Z
2022-09-13T19:15:28Z
2022-09-13T19:15:28Z
2022-09-13T20:34:06Z
Backport PR #48472 on branch 1.5.x (PERF: keep using ObjectEngine for ExtensionArrays for 1.5)
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 91c658a4cef5d..ace3df3ae97a4 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -5154,6 +5154,9 @@ def _get_engine_target(self) -> ArrayLike: if isinstance(vals, StringArray): # GH#45652 much mo...
Backport PR #48472: PERF: keep using ObjectEngine for ExtensionArrays for 1.5
https://api.github.com/repos/pandas-dev/pandas/pulls/48486
2022-09-09T17:18:44Z
2022-09-09T20:42:23Z
2022-09-09T20:42:23Z
2022-09-09T20:42:23Z
DOC: A blank line is needed at the beginning of list.
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index e471e7efb20ae..9982e14532400 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -6624,15 +6624,17 @@ def drop_duplicates( subset : column label or sequence of labels, optional Only consider certain columns for identifying ...
Fixes not displaying as a list in keep parameter of ``DataFrame.drop_duplicates``. Added a blank line. ![image](https://user-images.githubusercontent.com/30496251/189386107-1421391f-22bf-461f-9cd2-0f8d87471272.png)
https://api.github.com/repos/pandas-dev/pandas/pulls/48485
2022-09-09T15:26:46Z
2022-09-09T17:08:00Z
2022-09-09T17:08:00Z
2022-10-13T17:00:57Z
BUG: fix valueError for groupby with empty inputs when sample method is called
diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst index ee5085fd9ad89..ab23e44bb30bb 100644 --- a/doc/source/whatsnew/v1.6.0.rst +++ b/doc/source/whatsnew/v1.6.0.rst @@ -188,7 +188,7 @@ Plotting Groupby/resample/rolling ^^^^^^^^^^^^^^^^^^^^^^^^ -- +- Bug in :meth:`DataFrameGroupBy.sample`...
- [x] closes ##48459 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
https://api.github.com/repos/pandas-dev/pandas/pulls/48484
2022-09-09T13:30:59Z
2022-09-12T16:57:48Z
2022-09-12T16:57:48Z
2022-10-13T17:00:56Z
Backport PR #48354 on branch 1.5.x (CI: Bump timeout to 180 minutes)
diff --git a/.github/workflows/macos-windows.yml b/.github/workflows/macos-windows.yml index 9cbd41917110e..8b3d69943bd9d 100644 --- a/.github/workflows/macos-windows.yml +++ b/.github/workflows/macos-windows.yml @@ -28,7 +28,7 @@ jobs: defaults: run: shell: bash -el {0} - timeout-minutes: 120 +...
Backport PR #48354: CI: Bump timeout to 180 minutes
https://api.github.com/repos/pandas-dev/pandas/pulls/48474
2022-09-08T21:32:07Z
2022-09-09T09:40:10Z
2022-09-09T09:40:10Z
2022-09-09T09:40:11Z
REGR: .describe on unsigned dtypes results in object
diff --git a/pandas/conftest.py b/pandas/conftest.py index 6f31e2a11486a..446d7f7263cbe 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -1606,6 +1606,45 @@ def any_numpy_dtype(request): return request.param +@pytest.fixture( + params=tm.ALL_REAL_NUMPY_DTYPES + + tm.COMPLEX_DTYPES + + tm.AL...
- [x] closes #48340 (Replace xxxx with the Github issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/48473
2022-09-08T20:33:20Z
2022-09-10T21:33:15Z
2022-09-10T21:33:15Z
2022-09-11T13:13:25Z
PERF: keep using ObjectEngine for ExtensionArrays for 1.5
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 7ea017e322bd3..78e1f713644dd 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -5155,6 +5155,9 @@ def _get_engine_target(self) -> ArrayLike: if isinstance(vals, StringArray): # GH#45652 much mo...
Closes https://github.com/pandas-dev/pandas/issues/45652, see https://github.com/pandas-dev/pandas/pull/45514#issuecomment-1025637651 for context. @jbrockmendel I think we discussed this at some point a few months ago, but I forgot about it, that if we didn't improve ExtensionEngine for nullable dtypes before 1.5, w...
https://api.github.com/repos/pandas-dev/pandas/pulls/48472
2022-09-08T19:13:49Z
2022-09-09T17:18:36Z
2022-09-09T17:18:36Z
2022-09-09T17:18:42Z
Backport PR #48416 on branch 1.5.x (REF: ensure to apply suffixes before concat step in merge code)
diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py index 159ab33a8a04f..fe51230961327 100644 --- a/pandas/core/reshape/merge.py +++ b/pandas/core/reshape/merge.py @@ -764,8 +764,9 @@ def _reindex_and_concat( from pandas import concat + left.columns = llabels + right.colu...
Backport PR #48416: REF: ensure to apply suffixes before concat step in merge code
https://api.github.com/repos/pandas-dev/pandas/pulls/48470
2022-09-08T18:44:22Z
2022-09-08T21:14:12Z
2022-09-08T21:14:12Z
2022-09-08T21:14:12Z
Revert FutureWarning check
diff --git a/pandas/tests/frame/methods/test_update.py b/pandas/tests/frame/methods/test_update.py index af7a13f6adb5a..a35530100a425 100644 --- a/pandas/tests/frame/methods/test_update.py +++ b/pandas/tests/frame/methods/test_update.py @@ -136,8 +136,7 @@ def test_update_from_non_df(self): def test_update_datetim...
- [ ] closes #xxxx (Replace xxxx with the Github issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/48468
2022-09-08T16:28:14Z
2022-09-08T18:54:59Z
2022-09-08T18:54:59Z
2022-10-13T17:00:56Z
DOC: complete documentation for pd.get_dummies (#48466)
diff --git a/pandas/core/reshape/encoding.py b/pandas/core/reshape/encoding.py index da4de8cc57e65..9567a1053c9a6 100644 --- a/pandas/core/reshape/encoding.py +++ b/pandas/core/reshape/encoding.py @@ -35,6 +35,10 @@ def get_dummies( """ Convert categorical variable into dummy/indicator variables. + Each ...
- [x] closes #48466
https://api.github.com/repos/pandas-dev/pandas/pulls/48467
2022-09-08T16:10:47Z
2022-09-08T18:59:01Z
2022-09-08T18:59:01Z
2022-10-13T17:00:55Z
Backport PR #48426 on branch 1.5.x (BUG: Column.size should be a method)
diff --git a/pandas/core/interchange/column.py b/pandas/core/interchange/column.py index c9bafbfaad2d2..dc24c928d1f39 100644 --- a/pandas/core/interchange/column.py +++ b/pandas/core/interchange/column.py @@ -81,7 +81,6 @@ def __init__(self, column: pd.Series, allow_copy: bool = True) -> None: self._col = colu...
Backport PR #48426: BUG: Column.size should be a method
https://api.github.com/repos/pandas-dev/pandas/pulls/48465
2022-09-08T15:14:44Z
2022-09-08T18:28:56Z
2022-09-08T18:28:56Z
2022-09-08T18:28:56Z
BUG: merge with CategoricalIndex for left_on/right_on
diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst index 42d3ce8069322..790f7f882322a 100644 --- a/doc/source/whatsnew/v1.6.0.rst +++ b/doc/source/whatsnew/v1.6.0.rst @@ -190,7 +190,7 @@ Groupby/resample/rolling Reshaping ^^^^^^^^^ -- +- Bug in :func:`join` when ``left_on`` or ``right_on``...
- [ ] closes #xxxx (Replace xxxx with the Github issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/48464
2022-09-08T15:05:05Z
2022-09-09T16:41:21Z
2022-09-09T16:41:21Z
2022-10-13T17:00:54Z
TST: Fix unsigned pyarrow types in SIGNED_INT_PYARROW_DTYPES
diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py index adc52a506fcaf..ce6b6ceea5604 100644 --- a/pandas/_testing/__init__.py +++ b/pandas/_testing/__init__.py @@ -199,7 +199,7 @@ import pyarrow as pa UNSIGNED_INT_PYARROW_DTYPES = [pa.uint8(), pa.uint16(), pa.uint32(), pa.uint64()] - ...
- [x] closes #48471 48471 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). ...
https://api.github.com/repos/pandas-dev/pandas/pulls/48457
2022-09-08T03:43:00Z
2022-10-14T17:04:30Z
2022-10-14T17:04:30Z
2022-10-14T18:15:42Z
TYP: remove mypy ignores from io/formats/printing.py
diff --git a/pandas/io/formats/printing.py b/pandas/io/formats/printing.py index 77431533e703a..1753cdf86a282 100644 --- a/pandas/io/formats/printing.py +++ b/pandas/io/formats/printing.py @@ -491,17 +491,13 @@ def _justify( max_length = [max(x, y) for x, y in zip(max_length, length)] # justify each ite...
- [x] Related to https://github.com/pandas-dev/pandas/issues/37715 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development...
https://api.github.com/repos/pandas-dev/pandas/pulls/48456
2022-09-08T00:57:27Z
2022-09-09T17:21:00Z
2022-09-09T17:21:00Z
2022-10-13T17:00:52Z
DOC: Add missing API item to reference docs
diff --git a/doc/source/reference/arrays.rst b/doc/source/reference/arrays.rst index 6d09e10f284af..61ee894f4b126 100644 --- a/doc/source/reference/arrays.rst +++ b/doc/source/reference/arrays.rst @@ -19,20 +19,21 @@ objects contained with a :class:`Index`, :class:`Series`, or For some data types, pandas extends NumPy...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). * `Float32/64Dtype` & `arrays.FloatingArray` * `NaT` & `NA` * `lreshape` * `set_eng_float_format` * `NamedAgg`
https://api.github.com/repos/pandas-dev/pandas/pulls/48455
2022-09-08T00:46:07Z
2022-09-13T22:58:37Z
2022-09-13T22:58:37Z
2022-10-13T17:00:51Z
DOC: Fix typo
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index a5a75e0a3f7fb..8b2a563fffd30 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -9898,7 +9898,7 @@ def where( :ref:`indexing <indexing.where_mask>`. The dtype of the object takes precedence. The fill value is casted ...
- [ ] closes #xxxx (Replace xxxx with the Github issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/48452
2022-09-07T20:45:20Z
2022-09-08T07:34:54Z
2022-09-08T07:34:54Z
2022-10-13T17:00:51Z
Backport PR #48444 on branch 1.4.x (CI: Pin ipython version (#48444)
diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index 6df234a027ee9..64baf082fe9b9 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -1980,7 +1980,6 @@ frequency. Arithmetic is not allowed between ``Period`` with different ``freq`` ...
#48444
https://api.github.com/repos/pandas-dev/pandas/pulls/48451
2022-09-07T20:38:11Z
2022-09-08T07:12:11Z
2022-09-08T07:12:11Z
2022-09-08T07:12:15Z
Manual Backport PR #48427 on branch 1.5.x (BLD: Refactor Dockerfile to not install dev enviornment on base)
diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml index c9c5058fb365c..6aff77c708378 100644 --- a/.github/workflows/code-checks.yml +++ b/.github/workflows/code-checks.yml @@ -153,6 +153,9 @@ jobs: - name: Build image run: docker build --pull --no-cache --tag pandas-dev-...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/48450
2022-09-07T20:32:39Z
2022-09-08T11:25:36Z
2022-09-08T11:25:36Z
2022-09-08T15:14:24Z
Backport PR #48444 on branch 1.5.x (CI: Pin ipython version)
diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index ed7688f229ca8..474068e43a4d4 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -1981,7 +1981,6 @@ frequency. Arithmetic is not allowed between ``Period`` with different ``freq`` ...
Backport PR #48444: CI: Pin ipython version
https://api.github.com/repos/pandas-dev/pandas/pulls/48449
2022-09-07T20:24:12Z
2022-09-08T07:12:36Z
2022-09-08T07:12:36Z
2022-09-08T07:12:36Z
BUG: Index.equals raising with index of tuples that contain NA
diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst index a7c9a7eb88221..8891fa77cd989 100644 --- a/doc/source/whatsnew/v1.6.0.rst +++ b/doc/source/whatsnew/v1.6.0.rst @@ -168,7 +168,7 @@ Indexing Missing ^^^^^^^ -- +- Bug in :meth:`Index.equals` raising ``TypeError` when :class:`Index` con...
- [ ] closes #xxxx (Replace xxxx with the Github issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/48446
2022-09-07T18:31:30Z
2022-09-14T16:19:18Z
2022-09-14T16:19:18Z
2022-10-13T17:00:50Z
Backport PR #48380 on branch 1.5.x (DOC: Clarify that objects dtype takes precedence in where)
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index c479c59082464..af0ba1bd75124 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -308,6 +308,7 @@ Other enhancements - Implemented a complex-dtype :class:`Index`, passing a complex-dtype array-like to ``p...
Backport PR #48380: DOC: Clarify that objects dtype takes precedence in where
https://api.github.com/repos/pandas-dev/pandas/pulls/48445
2022-09-07T18:08:24Z
2022-09-08T07:12:58Z
2022-09-08T07:12:58Z
2022-09-08T07:12:58Z