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 |
|---|---|---|---|---|---|---|---|
REF: remove dtstruct_to_dt64 | diff --git a/pandas/_libs/tslibs/conversion.pyx b/pandas/_libs/tslibs/conversion.pyx
index fb77e2b5f3a0c..00e2c8b8b6be6 100644
--- a/pandas/_libs/tslibs/conversion.pyx
+++ b/pandas/_libs/tslibs/conversion.pyx
@@ -40,7 +40,6 @@ from pandas._libs.tslibs.np_datetime cimport (
NPY_FR_ns,
astype_overflowsafe,
... | Broken off from a less-easy branch. | https://api.github.com/repos/pandas-dev/pandas/pulls/47492 | 2022-06-23T22:07:49Z | 2022-06-24T21:12:47Z | 2022-06-24T21:12:47Z | 2022-06-25T04:06:35Z |
ENH: Move PyperclipException and PyperclipWindowsException to error/_… | diff --git a/doc/source/reference/testing.rst b/doc/source/reference/testing.rst
index 2c419e8df9517..c3ce267ff9dc7 100644
--- a/doc/source/reference/testing.rst
+++ b/doc/source/reference/testing.rst
@@ -43,6 +43,8 @@ Exceptions and warnings
errors.ParserError
errors.ParserWarning
errors.PerformanceWarning... | - [x] xref #27656. this GitHub issue is being done in multiple parts
- [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/developme... | https://api.github.com/repos/pandas-dev/pandas/pulls/47491 | 2022-06-23T19:37:34Z | 2022-06-25T17:13:18Z | 2022-06-25T17:13:18Z | 2022-06-25T17:13:32Z |
Backport PR #47473 on branch 1.4.x (DOC: Start v1.4.4 release notes) | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index 47a46c86c3a44..817edd82ccada 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.4
v1.4.3
v1.4.2
v1.4.1
diff --git a/doc/source/... | Backport PR #47473: DOC: Start v1.4.4 release notes | https://api.github.com/repos/pandas-dev/pandas/pulls/47486 | 2022-06-23T12:56:12Z | 2022-06-23T18:13:19Z | 2022-06-23T18:13:19Z | 2022-06-23T18:13:20Z |
CI: Run all code checks even if one fails | diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml
index e8f54b33a92c0..a7bacad1f3152 100644
--- a/.github/workflows/code-checks.yml
+++ b/.github/workflows/code-checks.yml
@@ -65,37 +65,39 @@ jobs:
id: build
uses: ./.github/actions/build_pandas
+ # The following check... | xref https://github.com/pandas-dev/pandas/pull/47469#issuecomment-1163790491=
Solution gleaned from: https://stackoverflow.com/a/58859404
Want to `always()` run all these steps _If_ pandas was built correctly
Note: Cannot use `continue-on-error` because if a check fails the build will still pass which we don't... | https://api.github.com/repos/pandas-dev/pandas/pulls/47482 | 2022-06-23T02:35:21Z | 2022-06-23T16:51:34Z | 2022-06-23T16:51:33Z | 2022-07-06T14:09:19Z |
BUG: Fix issues with numeric_only deprecation | diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py
index b4aea4240e458..a4462a292f4f9 100644
--- a/pandas/core/groupby/generic.py
+++ b/pandas/core/groupby/generic.py
@@ -1610,17 +1610,20 @@ def idxmax(
numeric_only_arg = numeric_only
def func(df):
- res = df... | Part of #46560
- [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] Ad... | https://api.github.com/repos/pandas-dev/pandas/pulls/47481 | 2022-06-23T02:08:20Z | 2022-06-23T22:55:06Z | 2022-06-23T22:55:06Z | 2022-06-24T18:23:50Z |
Revert "Backport PR #47318 on branch 1.4.x (CI: Pin PYTEST_WORKERS=1 for Windows builds due to memory errors)" | diff --git a/.github/workflows/macos-windows.yml b/.github/workflows/macos-windows.yml
index 923ac8f2e0fd6..560a421ec74ec 100644
--- a/.github/workflows/macos-windows.yml
+++ b/.github/workflows/macos-windows.yml
@@ -15,6 +15,7 @@ on:
env:
PANDAS_CI: 1
PYTEST_TARGET: pandas
+ PYTEST_WORKERS: auto
PATTERN: "n... | Reverts pandas-dev/pandas#47445
checking ci with this reverted. | https://api.github.com/repos/pandas-dev/pandas/pulls/47479 | 2022-06-23T01:22:00Z | 2022-06-23T09:55:07Z | null | 2022-06-24T09:58:09Z |
Backport PR #47476 on branch 1.4.x (DOC: v1.4.3 release date) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 2550a12ebbb9d..be5ac74201be8 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -1,7 +1,7 @@
.. _whatsnew_143:
-What's new in 1.4.3 (April ??, 2022)
-------------------------------------
+What's new in... | Backport PR #47476: DOC: v1.4.3 release date | https://api.github.com/repos/pandas-dev/pandas/pulls/47478 | 2022-06-23T00:19:17Z | 2022-06-23T00:57:30Z | 2022-06-23T00:57:30Z | 2022-06-23T00:57:30Z |
DOC: v1.4.3 release date | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 2550a12ebbb9d..be5ac74201be8 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -1,7 +1,7 @@
.. _whatsnew_143:
-What's new in 1.4.3 (April ??, 2022)
-------------------------------------
+What's new in... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/47476 | 2022-06-22T23:27:29Z | 2022-06-23T00:18:51Z | 2022-06-23T00:18:51Z | 2022-06-23T00:18:54Z |
REGR: maybe_convert_objects ignoring uints | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 7aa1c1e84aa09..f19cc88fa1690 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -857,6 +857,7 @@ Conversion
- Bug in :meth:`DataFrame.to_records` returning inconsistent numpy types if the index was a :cl... | - [x] closes #47294 (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/47475 | 2022-06-22T23:19:59Z | 2022-07-10T15:54:05Z | 2022-07-10T15:54:04Z | 2022-07-11T12:10:29Z |
BUG: to_sql with method=callable not returning int raising TypeError | diff --git a/doc/source/whatsnew/v1.4.4.rst b/doc/source/whatsnew/v1.4.4.rst
index 0af25daf0468a..6ee140f59e096 100644
--- a/doc/source/whatsnew/v1.4.4.rst
+++ b/doc/source/whatsnew/v1.4.4.rst
@@ -24,7 +24,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
- The :class:`errors.FutureWarning` raised when passing arguments (o... | - [x] closes #46891 (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/47474 | 2022-06-22T22:08:22Z | 2022-07-03T15:13:05Z | 2022-07-03T15:13:04Z | 2022-07-05T16:45:18Z |
DOC: Start v1.4.4 release notes | diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst
index ccec4f90183bc..926b73d0f3fd9 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.4
v1.4.3
v1.4.2
v1.4.1
diff --git a/doc/source/... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/47473 | 2022-06-22T21:32:24Z | 2022-06-23T12:56:03Z | 2022-06-23T12:56:03Z | 2022-06-23T12:56:08Z |
Backport PR #47372 on branch 1.4.x (REGR: revert behaviour change for concat with empty/all-NaN data) | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 7340f2475e1f6..9f9bde65b482f 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -271,6 +271,9 @@ the given ``dayfirst`` value when the value is a delimited date string (e.g.
Ignoring dtypes in concat wit... | Backport PR #47372 | https://api.github.com/repos/pandas-dev/pandas/pulls/47472 | 2022-06-22T21:19:20Z | 2022-06-22T22:52:53Z | 2022-06-22T22:52:53Z | 2022-06-22T22:52:57Z |
BUG: GH33912 fixed issue with precision of the the left end | diff --git a/pandas/core/reshape/tile.py b/pandas/core/reshape/tile.py
index 00b2b30eb3122..e451a747557c3 100644
--- a/pandas/core/reshape/tile.py
+++ b/pandas/core/reshape/tile.py
@@ -582,7 +582,8 @@ def _format_labels(
breaks = [formatter(b) for b in bins]
if right and include_lowest:
# adjust lhs ... | - [ ] closes #33912
- [ ] [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/47470 | 2022-06-22T20:21:42Z | 2022-08-15T16:43:17Z | null | 2022-08-15T16:43:18Z |
TYP: Fix typing errors on main | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 72f6a7bce4d0e..7f9d77c4193ca 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -1064,7 +1064,13 @@ def checked_add_with_arr(
elif arr_mask is not None:
not_nan = np.logical_not(arr_mask)
elif b_mask is no... |
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
| https://api.github.com/repos/pandas-dev/pandas/pulls/47469 | 2022-06-22T19:40:32Z | 2022-06-23T00:37:56Z | 2022-06-23T00:37:56Z | 2022-06-23T02:09:05Z |
ENH/TST: Add BaseInterfaceTests tests for ArrowExtensionArray PT2 | diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py
index 27d74f2140434..18d965ff26e10 100644
--- a/pandas/core/arrays/arrow/array.py
+++ b/pandas/core/arrays/arrow/array.py
@@ -31,6 +31,7 @@
)
from pandas.core.dtypes.missing import isna
+from pandas.core.arraylike import OpsMixin
fr... | xref https://github.com/pandas-dev/pandas/pull/47377#issuecomment-1163230392=
* Min pyarrow version with timezones type coerces to integer when setting (xfailing)
* ArrayManger tests with duration types oddly checks for a ndim attribute (xfailing) | https://api.github.com/repos/pandas-dev/pandas/pulls/47468 | 2022-06-22T18:15:20Z | 2022-06-24T18:27:51Z | 2022-06-24T18:27:51Z | 2022-06-24T18:29:24Z |
DEPS/TST: tzdata is optional, not required | diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml
index 65918005ad6f1..5f7beb24674e7 100644
--- a/ci/deps/actions-310.yaml
+++ b/ci/deps/actions-310.yaml
@@ -47,6 +47,7 @@ dependencies:
- scipy
- sqlalchemy
- tabulate
+ - tzdata>=2022a
- xarray
- xlrd
- xlsxwriter
diff --git a/ci/deps/... | - [ ] closes #47332 (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/c... | https://api.github.com/repos/pandas-dev/pandas/pulls/47467 | 2022-06-22T17:56:29Z | 2022-08-12T00:44:10Z | 2022-08-12T00:44:10Z | 2022-08-12T00:45:22Z |
Fix signature of initObjToJSON | diff --git a/pandas/_libs/src/ujson/python/ujson.c b/pandas/_libs/src/ujson/python/ujson.c
index def06cdf2db84..5d4a5693c0ff6 100644
--- a/pandas/_libs/src/ujson/python/ujson.c
+++ b/pandas/_libs/src/ujson/python/ujson.c
@@ -43,7 +43,7 @@ Numeric decoder derived from TCL library
/* objToJSON */
PyObject *objToJSON(... | This patch is required to make Pandas compile with `-Wl,--fatal-warnings`. It is also needed to prevent an "indirect call signature mismatch" error when using pandas in wasm. This is the only patch Pyodide currently applies to Pandas. | https://api.github.com/repos/pandas-dev/pandas/pulls/47466 | 2022-06-22T15:24:55Z | 2022-06-23T20:20:20Z | 2022-06-23T20:20:20Z | 2022-06-23T20:20:27Z |
Update ecosystem.rst | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index 256c3ee36e80c..fc3b857422c88 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -87,7 +87,7 @@ Featuretools is a Python library for automated feature engineering built on top
Compose is a machine learning tool for labeling da... | Fix capitalization for some headings
- [ ] 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.py... | https://api.github.com/repos/pandas-dev/pandas/pulls/47464 | 2022-06-22T14:40:24Z | 2022-06-24T17:36:20Z | null | 2022-06-24T17:36:21Z |
Revert "TST: fix groupby-empty xfails (#44092)" | diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py
index b4aea4240e458..dc7e04d28ca43 100644
--- a/pandas/core/groupby/generic.py
+++ b/pandas/core/groupby/generic.py
@@ -1622,7 +1622,6 @@ def func(df):
result = [index[i] if i >= 0 else np.nan for i in indices]
return... | This reverts commit 884d00f8af4fa73a24a5e522dad4e216caca95e0.
closes #46496 | https://api.github.com/repos/pandas-dev/pandas/pulls/47463 | 2022-06-22T14:08:55Z | 2022-06-22T15:40:17Z | null | 2022-06-22T15:40:18Z |
Revert "ENH/TST: Add BaseInterfaceTests tests for ArrowExtensionArray" | diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py
index 043f682f7dfa8..c1380fcdbba06 100644
--- a/pandas/core/arrays/arrow/array.py
+++ b/pandas/core/arrays/arrow/array.py
@@ -31,7 +31,6 @@
)
from pandas.core.dtypes.missing import isna
-from pandas.core.arraylike import OpsMixin
fr... | Reverts pandas-dev/pandas#47377 | https://api.github.com/repos/pandas-dev/pandas/pulls/47462 | 2022-06-22T13:39:49Z | 2022-06-22T15:06:03Z | 2022-06-22T15:06:03Z | 2022-06-22T15:06:07Z |
Backport PR #47393 on branch 1.4.x (CI/TST: Don't require length for construct_1d_arraylike_from_scalar cast to float64) | diff --git a/pandas/core/construction.py b/pandas/core/construction.py
index 2595cff5c43c4..957fcf4ac10fc 100644
--- a/pandas/core/construction.py
+++ b/pandas/core/construction.py
@@ -533,7 +533,10 @@ def sanitize_array(
if dtype is not None and is_float_dtype(data.dtype) and is_integer_dtype(dtype):
... | Backport PR #47393: CI/TST: Don't require length for construct_1d_arraylike_from_scalar cast to float64 | https://api.github.com/repos/pandas-dev/pandas/pulls/47460 | 2022-06-22T12:07:21Z | 2022-06-22T20:52:47Z | 2022-06-22T20:52:47Z | 2022-06-22T20:52:48Z |
PERF improve performance of is_lexsorted | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 76f6e864a174f..373323649eacb 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -739,6 +739,7 @@ Performance improvements
- Performance improvement in :func:`factorize` (:issue:`46109`)
- Performance im... | If `result` is False, there's no need to keep the outer loop going, right?
Timing result, with `failure` taken from `test_is_lexsorted`:
```
%load_ext cython
%%cython -a
cimport cython
from cython cimport Py_ssize_t
from numpy cimport int64_t, import_array, ndarray, PyArray_DATA
import numpy as np
fr... | https://api.github.com/repos/pandas-dev/pandas/pulls/47459 | 2022-06-22T10:13:39Z | 2022-06-24T02:11:20Z | 2022-06-24T02:11:20Z | 2022-06-24T06:41:25Z |
Backport PR #47431 on branch 1.4.x (Fix segmentation fault when JSON serializing a PeriodIndex) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index a4d81533df23d..4034655ccd325 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -30,6 +30,7 @@ Fixed regressions
- Fixed regression in :func:`assert_index_equal` when ``check_order=False`` and :class:`In... | Backport PR #47431: Fix segmentation fault when JSON serializing a PeriodIndex | https://api.github.com/repos/pandas-dev/pandas/pulls/47457 | 2022-06-22T09:18:45Z | 2022-06-22T11:07:32Z | 2022-06-22T11:07:32Z | 2022-06-22T11:07:32Z |
Cache Conda env | diff --git a/.github/actions/build_pandas/action.yml b/.github/actions/build_pandas/action.yml
index 39d5998b4ee74..23bb988ef4d73 100644
--- a/.github/actions/build_pandas/action.yml
+++ b/.github/actions/build_pandas/action.yml
@@ -6,8 +6,8 @@ runs:
- name: Environment Detail
run: |
- conda info
-... | - [ ] 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/47454 | 2022-06-22T07:02:08Z | 2022-06-27T16:55:06Z | 2022-06-27T16:55:06Z | 2022-06-27T16:55:45Z |
Manual Backport PR #47287 on branch 1.4.x (DEPS: Sync environment.yml with CI dep files)" | diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml
index 87b80204d0c19..eaf9fafbff993 100644
--- a/.github/workflows/code-checks.yml
+++ b/.github/workflows/code-checks.yml
@@ -166,3 +166,32 @@ jobs:
- name: Build image
run: docker build --pull --no-cache --tag pandas-d... | PR #47287 | https://api.github.com/repos/pandas-dev/pandas/pulls/47453 | 2022-06-22T02:32:11Z | 2022-07-18T16:52:19Z | null | 2022-07-18T16:52:24Z |
DOC: Remove unused/flaky statsmodels intersphinx_mapping | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 49025288f0449..2a6ec8947c8d7 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -447,7 +447,6 @@
"py": ("https://pylib.readthedocs.io/en/latest/", None),
"python": ("https://docs.python.org/3/", None),
"scipy": ("https://docs... | The doc build can occasionally fail with
```
2022-06-21T19:46:59.4564919Z WARNING: failed to reach any of the inventories with the following issues:
2022-06-21T19:46:59.4567149Z intersphinx inventory 'https://www.statsmodels.org/devel/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>... | https://api.github.com/repos/pandas-dev/pandas/pulls/47452 | 2022-06-21T20:50:05Z | 2022-06-21T22:00:43Z | 2022-06-21T22:00:43Z | 2022-06-21T22:00:46Z |
Improve error message for DataFrame.from_dict when wrong orient is provided | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 39e9a55b5c384..70b451a231453 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -52,6 +52,7 @@ Bug fixes
~~~~~~~~~
- Bug in :func:`pandas.eval`, :meth:`DataFrame.eval` and :meth:`DataFrame.query` where ... | - [X] closes #47450
- [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/47451 | 2022-06-21T20:17:07Z | 2022-06-24T10:24:57Z | 2022-06-24T10:24:56Z | 2022-06-25T04:55:40Z |
Backport PR #47327 on branch 1.4.x (REGR: Fix fillna making a copy when dict was given as fill value and inplace is set) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index a4d81533df23d..d031426a2abbf 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -18,6 +18,7 @@ Fixed regressions
- Fixed regression in :meth:`DataFrame.to_csv` raising error when :class:`DataFrame` conta... | Backport PR #47327 | https://api.github.com/repos/pandas-dev/pandas/pulls/47448 | 2022-06-21T18:47:56Z | 2022-06-22T23:31:10Z | 2022-06-22T23:31:10Z | 2022-06-22T23:31:14Z |
Deprecate non-keyword arguments for rsplit | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index a5cb716317689..4c23e5e5b1906 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -705,6 +705,7 @@ Other Deprecations
- Deprecated the ``closed`` argument in :meth:`interval_range` in favor of ``inclusive`... | - [x] closes #47423
- [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/47446 | 2022-06-21T17:26:03Z | 2022-06-23T20:49:58Z | 2022-06-23T20:49:58Z | 2022-06-23T20:49:58Z |
Backport PR #47318 on branch 1.4.x (CI: Pin PYTEST_WORKERS=1 for Windows builds due to memory errors) | diff --git a/.github/workflows/macos-windows.yml b/.github/workflows/macos-windows.yml
index 560a421ec74ec..923ac8f2e0fd6 100644
--- a/.github/workflows/macos-windows.yml
+++ b/.github/workflows/macos-windows.yml
@@ -15,7 +15,6 @@ on:
env:
PANDAS_CI: 1
PYTEST_TARGET: pandas
- PYTEST_WORKERS: auto
PATTERN: "n... | Backport PR #47318: CI: Pin PYTEST_WORKERS=1 for Windows builds due to memory errors | https://api.github.com/repos/pandas-dev/pandas/pulls/47445 | 2022-06-21T17:01:53Z | 2022-06-21T18:41:45Z | 2022-06-21T18:41:45Z | 2022-06-21T18:41:45Z |
PDEP-1: Purpose and guidelines for pandas enhancement proposals | diff --git a/web/pandas/about/roadmap.md b/web/pandas/about/roadmap.md
index 3c6c4d4fdf9a2..6e922d01518ba 100644
--- a/web/pandas/about/roadmap.md
+++ b/web/pandas/about/roadmap.md
@@ -15,10 +15,35 @@ fundamental changes to the project that are likely to take months or
years of developer time. Smaller-scoped items wil... | Closes #28568
Initial PDEP to define purpose and guidelines for pandas enhancement proposals (equivalent to PEPs or NEPs). **Feedback very welcome**.
This PR also makes the PDEPs public in the [roadmap page](https://pandas.pydata.org/about/roadmap.html) of our website.
| https://api.github.com/repos/pandas-dev/pandas/pulls/47444 | 2022-06-21T08:40:26Z | 2022-08-03T05:53:58Z | 2022-08-03T05:53:58Z | 2022-08-03T09:16:38Z |
CI: start testing Python 3.11 | diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml
index d93b92a9662ec..580cafd6e4949 100644
--- a/.github/workflows/python-dev.yml
+++ b/.github/workflows/python-dev.yml
@@ -1,9 +1,21 @@
-# This file is purposely frozen(does not run). DO NOT DELETE IT
-# Unfreeze(by commentingthe if: fals... | - [ ] xref #46680 (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/cont... | https://api.github.com/repos/pandas-dev/pandas/pulls/47442 | 2022-06-21T05:57:11Z | 2022-08-17T22:33:04Z | 2022-08-17T22:33:04Z | 2022-08-17T23:01:36Z |
DOC: Update v1.3.0 changelog to reflect breaking change in join dtypes | diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst
index a392aeb5274c2..59fa3acc3883d 100644
--- a/doc/source/whatsnew/v1.3.0.rst
+++ b/doc/source/whatsnew/v1.3.0.rst
@@ -709,6 +709,7 @@ Other API changes
- :meth:`ExtensionDtype.construct_array_type` is now a required method instead of an opt... | Minor update to old docs to reflect a change in how dtype is chosen in joins. Docs only.
- [ * ] closes #47384
- [ n/a ] [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
- [ n/a ] All [code checks passe... | https://api.github.com/repos/pandas-dev/pandas/pulls/47441 | 2022-06-21T05:07:17Z | 2022-07-19T20:36:42Z | null | 2022-07-22T05:41:34Z |
REF: stop passing self as arg from ExtensionArray methods | diff --git a/pandas/core/arrays/_mixins.py b/pandas/core/arrays/_mixins.py
index f17d343024915..3f896ed4c51f9 100644
--- a/pandas/core/arrays/_mixins.py
+++ b/pandas/core/arrays/_mixins.py
@@ -45,7 +45,7 @@
ExtensionDtype,
PeriodDtype,
)
-from pandas.core.dtypes.missing import array_equivalent
+from pandas.c... | - [x] closes #46843
- [ ] All [code checks passed].
- [x] Added [type annotations] to new arguments/methods/functions.
🐼
| https://api.github.com/repos/pandas-dev/pandas/pulls/47440 | 2022-06-21T01:45:26Z | 2022-08-15T16:42:22Z | null | 2022-08-18T19:27:31Z |
REF: if statements merge + typehint correction | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 39a940169e1f3..2852fddb133d4 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -4536,9 +4536,8 @@ def predicate(arr: ArrayLike) -> bool:
if not dtype_predicate(dtype, include):
return False
- ... | - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- if statements merge on `pandas/core/frame.py` and `pandas/io/xml.py`
- Function `_generate_index_names_row()` on `pandas/io/formats/style_render.py` expected a tuple as a parameter but i... | https://api.github.com/repos/pandas-dev/pandas/pulls/47439 | 2022-06-21T01:06:11Z | 2022-08-15T16:41:07Z | null | 2022-08-15T16:41:07Z |
CLN: some simple code cleanup | diff --git a/pandas/io/formats/excel.py b/pandas/io/formats/excel.py
index 4279a9707e692..f9b3145eab170 100644
--- a/pandas/io/formats/excel.py
+++ b/pandas/io/formats/excel.py
@@ -96,7 +96,7 @@ def __init__(
unique_declarations = frozenset(declaration_dict.items())
style = css_converter(uniqu... | i've changed some inconsistencies on some magic methods's parameters and removed a return from a object initialization | https://api.github.com/repos/pandas-dev/pandas/pulls/47438 | 2022-06-21T00:21:23Z | 2022-08-03T04:05:53Z | 2022-08-03T04:05:52Z | 2022-08-03T04:06:39Z |
Check data manager | diff --git a/pandas/tests/frame/methods/test_fillna.py b/pandas/tests/frame/methods/test_fillna.py
index 5008e64dd0e99..3e16d9593b5a5 100644
--- a/pandas/tests/frame/methods/test_fillna.py
+++ b/pandas/tests/frame/methods/test_fillna.py
@@ -13,6 +13,7 @@
TimedeltaIndex,
Timestamp,
date_range,
+ get_op... | - [ ] 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/47437 | 2022-06-20T21:54:57Z | 2022-06-20T22:14:06Z | null | 2022-06-24T11:26:26Z |
DOC: clarify to_csv float format docstring | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index f32b347de32c3..a9fe349d53e4d 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3302,7 +3302,7 @@ def to_csv(
path_or_buf: FilePath | WriteBuffer[bytes] | WriteBuffer[str] | None = None,
sep: str = ",",
na_re... | - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
I stumbled across this myself a few days ago. I think this would help
| https://api.github.com/repos/pandas-dev/pandas/pulls/47436 | 2022-06-20T20:23:34Z | 2022-06-21T21:58:44Z | 2022-06-21T21:58:44Z | 2022-06-21T22:01:46Z |
REF: simplify Timestamp.replace | diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx
index 8a2810825fc1d..46a4308e8aafd 100644
--- a/pandas/_libs/tslibs/timestamps.pyx
+++ b/pandas/_libs/tslibs/timestamps.pyx
@@ -81,7 +81,6 @@ from pandas._libs.tslibs.nattype cimport (
from pandas._libs.tslibs.np_datetime cimport (
... | - [ ] 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/47435 | 2022-06-20T19:09:51Z | 2022-06-21T19:09:38Z | 2022-06-21T19:09:38Z | 2022-06-21T20:50:03Z |
Fix `vertical-align: middle;` for `Styler.to_excel` with xlsxwriter engine | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index a76b682f135db..56b09348189ee 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -967,8 +967,9 @@ Styler
^^^^^^
- Bug when attempting to apply styling functions to an empty DataFrame subset (:issue:`4531... | - [x] closes #30107
- [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/47434 | 2022-06-20T16:18:41Z | 2022-06-27T16:17:07Z | 2022-06-27T16:17:06Z | 2022-06-27T16:17:14Z |
DOC clarify inplace operation section in 1.5 whats_new | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index a4fa31f7fc368..499e410cb81fd 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -572,31 +572,37 @@ As ``group_keys=True`` is the default value of :meth:`DataFrame.groupby` and
raise a ``FutureWarning``. ... | xref https://github.com/pandas-dev/pandas/issues/47381
Coming from scikit-learn tests failing on scikit-learn with the pandas development version, I found the whats_new entry not very helpful at all. This does a few things:
- use an example with different dtypes so that the behaviour is as advertised for old behavi... | https://api.github.com/repos/pandas-dev/pandas/pulls/47433 | 2022-06-20T15:39:46Z | 2022-06-30T20:11:34Z | 2022-06-30T20:11:34Z | 2022-07-01T06:31:12Z |
Fix segmentation fault when JSON serializing a PeriodIndex | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index a4d81533df23d..4034655ccd325 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -30,6 +30,7 @@ Fixed regressions
- Fixed regression in :func:`assert_index_equal` when ``check_order=False`` and :class:`In... | Fixes #46683
- [x] closes #46683
- [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... | https://api.github.com/repos/pandas-dev/pandas/pulls/47431 | 2022-06-20T15:16:16Z | 2022-06-22T09:18:14Z | 2022-06-22T09:18:14Z | 2022-06-22T10:16:51Z |
Jess | - [ ] 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/47430 | 2022-06-20T14:38:50Z | 2022-06-20T14:43:33Z | null | 2022-06-20T14:43:33Z | |
DOC: Add an interactive shell powered by JupyterLite to the website | diff --git a/.github/workflows/docbuild-and-upload.yml b/.github/workflows/docbuild-and-upload.yml
index 5ffd4135802bd..f9a941b87387c 100644
--- a/.github/workflows/docbuild-and-upload.yml
+++ b/.github/workflows/docbuild-and-upload.yml
@@ -46,6 +46,11 @@ jobs:
- name: Build documentation
run: doc/make.py -... | This allows for easily trying `pandas` in a web browser without installing anything.
Since the default kernel is based on Pyodide, it also includes a couple of other libraries by default such as `matplotlib`.
:
with pytest.raises(NotImplementedError, match=tm.EMPTY_STRING_PATTERN... | - [X] closes #26650
- [X] [Tests added and passed]
- [X] All [code checks passed]
| https://api.github.com/repos/pandas-dev/pandas/pulls/47427 | 2022-06-20T10:09:27Z | 2022-06-21T17:43:44Z | 2022-06-21T17:43:44Z | 2022-06-22T19:58:19Z |
BUG: DataFrame.setitem raising when rhs is ea dtype Series | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 5a97e1d5a04ea..09fa08339bd43 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -1977,7 +1977,11 @@ def _setitem_single_column(self, loc: int, value, plane_indexer):
# We will not operate in-place, but will attempt to in th... | - [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).
This is a regression on ... | https://api.github.com/repos/pandas-dev/pandas/pulls/47425 | 2022-06-19T19:53:00Z | 2022-06-24T21:18:28Z | 2022-06-24T21:18:28Z | 2022-07-11T17:39:23Z |
ENH: TDA.total_seconds support non-nano | diff --git a/pandas/_libs/tslibs/__init__.py b/pandas/_libs/tslibs/__init__.py
index 68452ce011f9d..599ddfec5a268 100644
--- a/pandas/_libs/tslibs/__init__.py
+++ b/pandas/_libs/tslibs/__init__.py
@@ -29,6 +29,7 @@
"astype_overflowsafe",
"get_unit_from_dtype",
"periods_per_day",
+ "periods_per_second"... | - [ ] 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/47421 | 2022-06-19T15:13:31Z | 2022-06-27T22:00:19Z | 2022-06-27T22:00:19Z | 2022-06-27T23:00:55Z |
Add tests | diff --git a/pandas/tests/indexes/multi/test_setops.py b/pandas/tests/indexes/multi/test_setops.py
index 5d1efea657426..57c4af1a0fe1c 100644
--- a/pandas/tests/indexes/multi/test_setops.py
+++ b/pandas/tests/indexes/multi/test_setops.py
@@ -544,3 +544,24 @@ def test_union_duplicates(index, request):
result = mi2... | - [x] closes #24091
- [x] closes #25169
- [ ] 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/47420 | 2022-06-19T14:05:20Z | 2022-06-21T20:30:53Z | 2022-06-21T20:30:52Z | 2022-06-21T23:50:28Z |
BUG FIX: incorrect type when casting to nullable type in multiindex dataframe | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 49e5bc24786dd..c5d1ade924d15 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -11917,6 +11917,11 @@ def _reindex_for_setitem(value: DataFrame | Series, index: Index) -> ArrayLike:
# reindex if necessary
if value.index.equals(index... | - [ ] closes #46896
- [ ] [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/47419 | 2022-06-19T13:15:14Z | 2022-08-16T10:51:20Z | null | 2022-08-16T10:57:46Z |
annotation, missing test case, perf DTA.mode | diff --git a/pandas/_libs/tslibs/tzconversion.pyx b/pandas/_libs/tslibs/tzconversion.pyx
index dffe02ef15148..2b7f9b9659354 100644
--- a/pandas/_libs/tslibs/tzconversion.pyx
+++ b/pandas/_libs/tslibs/tzconversion.pyx
@@ -519,7 +519,7 @@ cdef ndarray[int64_t] _get_dst_hours(
trans_idx = mismatch.nonzero()[0]
... | - [ ] 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/47418 | 2022-06-19T03:08:17Z | 2022-06-21T19:07:52Z | 2022-06-21T19:07:52Z | 2022-06-21T20:50:35Z |
REF: GH38174 - Refactoring DataFrame.combine_first | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 39a940169e1f3..403d21ed29cb1 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -7822,12 +7822,10 @@ def combine_first(self, other: DataFrame) -> DataFrame:
1 0.0 3.0 1.0
2 NaN 3.0 1.0
"""
- import pandas... | - [ ] closes #38174
- [ ] 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/47417 | 2022-06-19T02:08:22Z | 2022-08-01T18:46:22Z | null | 2022-08-01T19:11:19Z |
CI: remove comment-bot | diff --git a/.github/workflows/comment_bot.yml b/.github/workflows/comment_bot.yml
deleted file mode 100644
index 3824e015e8336..0000000000000
--- a/.github/workflows/comment_bot.yml
+++ /dev/null
@@ -1,40 +0,0 @@
-name: Comment-bot
-
-on:
- issue_comment:
- types:
- - created
- - edited
-
-jobs:
- autot... | as discussed | https://api.github.com/repos/pandas-dev/pandas/pulls/47416 | 2022-06-18T08:56:34Z | 2022-06-21T17:45:51Z | 2022-06-21T17:45:51Z | 2022-06-21T17:45:58Z |
BUG: .fillna(-1) does not work in pd.eval | diff --git a/pandas/core/computation/ops.py b/pandas/core/computation/ops.py
index 3a556b57ea5a5..cd5096f405770 100644
--- a/pandas/core/computation/ops.py
+++ b/pandas/core/computation/ops.py
@@ -555,6 +555,7 @@ class UnaryOp(Op):
def __init__(self, op: str, operand) -> None:
super().__init__(op, (operan... | - [x] closes #46471
- [ ] [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/47415 | 2022-06-18T07:19:39Z | 2022-07-21T17:20:51Z | null | 2022-07-23T05:53:00Z |
BUG: iterparse of read_xml not parsing duplicate element and attribute names | diff --git a/pandas/io/xml.py b/pandas/io/xml.py
index 181b0fe115f4c..78fbeaad09300 100644
--- a/pandas/io/xml.py
+++ b/pandas/io/xml.py
@@ -413,11 +413,21 @@ def _iterparse_nodes(self) -> list[dict[str, str | None]]:
row = {}
if row is not None:
- for col in self.iter... | - [X] closes #47343 (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/47414 | 2022-06-18T04:29:50Z | 2022-06-21T23:10:46Z | 2022-06-21T23:10:45Z | 2022-06-22T03:09:13Z |
CLN: Remove .github markdown files | diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md
deleted file mode 100644
index 87a5b7905fc6d..0000000000000
--- a/.github/CODE_OF_CONDUCT.md
+++ /dev/null
@@ -1,62 +0,0 @@
-# Contributor Code of Conduct
-
-As contributors and maintainers of this project, and in the interest of
-fostering an open an... | - [x] closes #27901 (Replace xxxx with the Github issue number)
These files were moved in https://github.com/pandas-dev/.github/pull/1 | https://api.github.com/repos/pandas-dev/pandas/pulls/47412 | 2022-06-18T01:40:05Z | 2022-06-18T15:19:54Z | 2022-06-18T15:19:54Z | 2022-06-18T18:39:46Z |
REF: Avoid ravel in DTA._format_native_types | diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx
index f94314297dc62..dc7504b1073f5 100644
--- a/pandas/_libs/tslib.pyx
+++ b/pandas/_libs/tslib.pyx
@@ -105,7 +105,7 @@ def _test_parse_iso8601(ts: str):
@cython.wraparound(False)
@cython.boundscheck(False)
def format_array_from_datetime(
- ndarray[int6... | - [ ] 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/47411 | 2022-06-18T01:02:34Z | 2022-06-18T04:12:47Z | 2022-06-18T04:12:47Z | 2022-06-18T17:34:04Z |
TYP: read_sas | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index a5cb716317689..c35f01470763b 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -461,6 +461,7 @@ Other API changes
October 2022. (:issue:`46312`)
- :func:`read_json` now raises ``FileNotFoundError`` (... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/47410 | 2022-06-18T00:52:06Z | 2022-06-24T21:30:55Z | 2022-06-24T21:30:55Z | 2022-09-21T15:29:51Z |
BUG: iterparse of read_xml not parsing duplicate element and attribute names | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index f11b6af24e4e4..a9219cd811b6f 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -3287,6 +3287,45 @@ output (as shown below for demonstration) for easier parse into ``DataFrame``:
df = pd.read_xml(xml, stylesh... | - [X] closes #47343
- [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/47409 | 2022-06-18T00:47:48Z | 2022-06-18T00:56:12Z | null | 2022-06-18T00:59:46Z |
PERF: Performance improvement on dataframe.update. | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 39a940169e1f3..8711d53353185 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -8000,7 +8000,7 @@ def update(
if mask.all():
continue
- self[col] = expressions.where(mask, this, that)
+ sel... | the setitem under the hood is doing df copy per https://github.com/pandas-dev/pandas/issues/46267
therefore, the performance is compromised, per the suggestion, using loc for assignment instead
see the detail example in the issue link for metrics.
- [X] closes #47392 (Replace xxxx with the Github issue number)
... | https://api.github.com/repos/pandas-dev/pandas/pulls/47407 | 2022-06-17T15:33:49Z | 2022-06-21T18:17:37Z | null | 2022-06-21T18:17:38Z |
Revert "REF: remove JoinUnit.shape (#43651)" | diff --git a/pandas/core/internals/concat.py b/pandas/core/internals/concat.py
index 228d57fe196a4..8ce98f3891ff4 100644
--- a/pandas/core/internals/concat.py
+++ b/pandas/core/internals/concat.py
@@ -212,8 +212,6 @@ def concatenate_managers(
for placement, join_units in concat_plan:
unit = join_units[0]
... | This reverts commit bb9a9852265915a4688f772dd062d3fcf4159a32.
This is also included in https://github.com/pandas-dev/pandas/pull/47372/, but reverting this single commit separately will make it easier to backport the other PR, since this is the only commit that was not already included in 1.4, but was only done in 1... | https://api.github.com/repos/pandas-dev/pandas/pulls/47406 | 2022-06-17T14:56:44Z | 2022-06-21T14:19:22Z | 2022-06-21T14:19:22Z | 2022-06-22T12:18:56Z |
SAS7BDAT parser: Speed up RLE/RDC decompression | diff --git a/asv_bench/benchmarks/io/sas.py b/asv_bench/benchmarks/io/sas.py
index 369b79641dbc4..411e5b6099f76 100644
--- a/asv_bench/benchmarks/io/sas.py
+++ b/asv_bench/benchmarks/io/sas.py
@@ -1,30 +1,23 @@
-import os
+from pathlib import Path
from pandas import read_sas
+ROOT = Path(__file__).parents[3] / "pa... | Speed up RLE/RDC decompression. Brings a 30-50% performance improvement on SAS7BDAT files using compression.
Works by avoiding calls into NumPy array creation and using a custom-built buffer instead.
Also adds a bunch of `assert` statements to avoid illegal reads/writes. These slow the code down considerably; I w... | https://api.github.com/repos/pandas-dev/pandas/pulls/47405 | 2022-06-17T11:22:59Z | 2022-10-03T21:03:13Z | 2022-10-03T21:03:13Z | 2022-10-13T16:59:53Z |
SAS7BDAT parser: Faster string parsing | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 7aa1c1e84aa09..e63107a8eb243 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -799,6 +799,7 @@ Performance improvements
- Performance improvement in :class:`BusinessHour` ``str`` and ``repr`` (:issue:`... | Speed up SAS7BDAT string reading.
Today this brings a modest 10% performance improvement. But together with the other changes I will be proposing it will be a major bottleneck.
- [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/... | https://api.github.com/repos/pandas-dev/pandas/pulls/47404 | 2022-06-17T11:17:00Z | 2022-07-10T15:55:13Z | 2022-07-10T15:55:13Z | 2022-07-11T17:21:34Z |
SAS7BDAT parser: Fast byteswap | diff --git a/doc/source/whatsnew/v1.6.0.rst b/doc/source/whatsnew/v1.6.0.rst
index 3c7a80f096844..dce505729b3ea 100644
--- a/doc/source/whatsnew/v1.6.0.rst
+++ b/doc/source/whatsnew/v1.6.0.rst
@@ -149,7 +149,7 @@ Performance improvements
- Performance improvement in :meth:`DataFrame.join` when joining on a subset of a... | Speed up SAS7BDAT int/float reading.
This is order of magnitude faster than using `struct.unpack(fmt, data)` or `precompiled_unpacker = struct.Struct(fmt).unpack; ...; precompiled_unpacker(data)`.
Unfortunately Python does not expose a low-level interface to `struct` or a byteswapping interface. The byteswap impl... | https://api.github.com/repos/pandas-dev/pandas/pulls/47403 | 2022-06-17T11:15:19Z | 2022-10-05T16:02:59Z | 2022-10-05T16:02:59Z | 2022-10-13T16:59:52Z |
BUG: read_excel raising uncontrolled IndexError when header references non-existing rows | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 76f6e864a174f..fa95ad06bd7ca 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -863,6 +863,7 @@ I/O
- Bug in :func:`read_csv` not respecting a specified converter to index columns in all cases (:issue:`... | - [x] closes #43143 (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/47399 | 2022-06-17T09:43:33Z | 2022-06-21T21:57:20Z | 2022-06-21T21:57:19Z | 2022-06-21T21:58:16Z |
BUG: read_csv may interpret second row as index names even if index_col is False | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 76f6e864a174f..2346a86ad21f8 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -861,6 +861,7 @@ I/O
- Bug in :func:`read_csv` not recognizing line break for ``on_bad_lines="warn"`` for ``engine="c"`` (:... | - [x] closes #46569 (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/47397 | 2022-06-17T08:38:15Z | 2022-06-21T18:45:42Z | 2022-06-21T18:45:41Z | 2022-06-21T19:50:19Z |
REF: do masking in checked_add_with_arr | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 888e943488953..db76f5c51752f 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -1017,10 +1017,10 @@ def rank(
def checked_add_with_arr(
arr: npt.NDArray[np.int64],
- b,
+ b: int | npt.NDArray[np.int64],
a... | - [ ] 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/47396 | 2022-06-17T02:33:50Z | 2022-06-21T19:05:14Z | 2022-06-21T19:05:14Z | 2022-06-21T20:50:56Z |
implement abbrev_to_npy_unit | diff --git a/pandas/_libs/tslibs/conversion.pyx b/pandas/_libs/tslibs/conversion.pyx
index 6cbc06830471e..fb77e2b5f3a0c 100644
--- a/pandas/_libs/tslibs/conversion.pyx
+++ b/pandas/_libs/tslibs/conversion.pyx
@@ -31,7 +31,10 @@ from cpython.datetime cimport (
import_datetime()
from pandas._libs.tslibs.base cimport ... | - [ ] 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/47395 | 2022-06-17T02:17:47Z | 2022-06-21T19:02:14Z | 2022-06-21T19:02:14Z | 2022-06-21T20:52:25Z |
ENH: consistent add/sub behavior for mixed resolutions | diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx
index d75fa5c91a3df..5fd3e33808800 100644
--- a/pandas/_libs/tslibs/timedeltas.pyx
+++ b/pandas/_libs/tslibs/timedeltas.pyx
@@ -791,8 +791,19 @@ def _binary_op_method_timedeltalike(op, name):
# e.g. if original other was t... | - [ ] 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/47394 | 2022-06-16T22:37:14Z | 2022-06-23T21:30:50Z | 2022-06-23T21:30:50Z | 2022-06-23T22:10:17Z |
CI/TST: Don't require length for construct_1d_arraylike_from_scalar cast to float64 | diff --git a/pandas/core/construction.py b/pandas/core/construction.py
index 8d26284a5ce45..4b63d492ec1dd 100644
--- a/pandas/core/construction.py
+++ b/pandas/core/construction.py
@@ -556,7 +556,10 @@ def sanitize_array(
if dtype is not None and is_float_dtype(data.dtype) and is_integer_dtype(dtype):
... | - [x] closes #47391 (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/47393 | 2022-06-16T21:54:07Z | 2022-06-22T12:07:12Z | 2022-06-22T12:07:12Z | 2022-06-22T16:47:37Z |
Consistent handling of 0-dim in Timedelta arithmetic methods | diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx
index 1df5468869df5..d75fa5c91a3df 100644
--- a/pandas/_libs/tslibs/timedeltas.pyx
+++ b/pandas/_libs/tslibs/timedeltas.pyx
@@ -765,8 +765,12 @@ def _binary_op_method_timedeltalike(op, name):
# defined by Timestamp methods... | - [ ] 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/47390 | 2022-06-16T14:43:20Z | 2022-06-21T18:56:54Z | 2022-06-21T18:56:54Z | 2022-06-21T20:52:07Z |
DOC: update tutorials.rst to include website for searchable Pandas recipes | diff --git a/doc/source/getting_started/tutorials.rst b/doc/source/getting_started/tutorials.rst
index 8febc3adb9666..bff50bb1e4c2d 100644
--- a/doc/source/getting_started/tutorials.rst
+++ b/doc/source/getting_started/tutorials.rst
@@ -118,3 +118,4 @@ Various tutorials
* `Pandas and Python: Top 10, by Manish Amde <ht... | - [x] 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/47389 | 2022-06-16T14:34:02Z | 2022-06-30T18:16:45Z | 2022-06-30T18:16:45Z | 2022-06-30T18:16:52Z |
Backport PR #47347 on branch 1.4.x (REGR: Regression in to_csv for ea dtype categorical) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 05ace0509e0b7..a4d81533df23d 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -15,6 +15,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataF... | Backport PR #47347: REGR: Regression in to_csv for ea dtype categorical | https://api.github.com/repos/pandas-dev/pandas/pulls/47388 | 2022-06-16T13:45:54Z | 2022-06-17T07:52:28Z | 2022-06-17T07:52:28Z | 2022-06-17T07:52:29Z |
TST,WARN: read_csv raises warning at wrong stacklevel, but _assert_raised_with_correct_stacklevel doesn't fail | diff --git a/doc/source/whatsnew/v1.4.4.rst b/doc/source/whatsnew/v1.4.4.rst
index b462f0c6a8ffe..ef9537200bccd 100644
--- a/doc/source/whatsnew/v1.4.4.rst
+++ b/doc/source/whatsnew/v1.4.4.rst
@@ -23,7 +23,7 @@ Fixed regressions
Bug fixes
~~~~~~~~~
--
+- The :class:`errors.FutureWarning` raised when passing argumen... | - [x] closes #47385 (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/47387 | 2022-06-16T12:42:56Z | 2022-06-26T19:08:42Z | 2022-06-26T19:08:42Z | 2022-07-02T16:51:20Z |
Use CMake for Build System | diff --git a/.circleci/setup_env.sh b/.circleci/setup_env.sh
index c03a7ff4be8b3..c88250d6f48d2 100755
--- a/.circleci/setup_env.sh
+++ b/.circleci/setup_env.sh
@@ -98,9 +98,10 @@ if [ "$(conda list -f qt --json)" != [] ]; then
fi
echo "Build extensions"
-python setup.py build_ext -q -j3
+cmake .
+cmake --build . -... | Proof of concept. I think we can greatly simplify our building system using this. @mroeschke @lithomas1 @Dr-Irv
This is in an intermediate state, but you can do:
```sh
python setup.py
cmake .
make -j$(nproc)
```
`make clean` will clean up build artifacts, which right now excludes the generated Cython file... | https://api.github.com/repos/pandas-dev/pandas/pulls/47380 | 2022-06-16T06:07:22Z | 2022-08-22T20:34:26Z | null | 2022-08-22T20:34:26Z |
TYP: ndim is consistently a property | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index 5f060542526d3..c6d0625de00fa 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -193,12 +193,15 @@ class DatetimeArray(dtl.TimelikeOps, dtl.DatelikeOps):
"""
_typ = "datetimearray"
- _s... | and `_scalar_type` | https://api.github.com/repos/pandas-dev/pandas/pulls/47378 | 2022-06-16T01:50:39Z | 2022-06-25T17:08:50Z | 2022-06-25T17:08:50Z | 2022-09-21T15:29:49Z |
ENH/TST: Add BaseInterfaceTests tests for ArrowExtensionArray | diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py
index 1f35013075751..b2a8ec6bf62e8 100644
--- a/pandas/core/arrays/arrow/array.py
+++ b/pandas/core/arrays/arrow/array.py
@@ -31,6 +31,7 @@
)
from pandas.core.dtypes.missing import isna
+from pandas.core.arraylike import OpsMixin
fr... | - [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/47377 | 2022-06-16T01:09:18Z | 2022-06-22T01:22:47Z | 2022-06-22T01:22:47Z | 2022-06-22T16:57:15Z |
PERF: pandas read_excel perf optimisations | diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py
index d20f347e54d6b..68bca2842df9b 100644
--- a/pandas/io/excel/_base.py
+++ b/pandas/io/excel/_base.py
@@ -565,7 +565,13 @@ def get_sheet_by_index(self, index: int):
pass
@abc.abstractmethod
- def get_sheet_data(self, sheet, convert_fl... | #### WHAT
Attempts on perf optimisations for pandas read_excel
by descending the skiprows (as an integer) to get_sheet_data depending on the engine
openpyxl, xlrd, pyxlsb or odf...
STATUS : Working in progress...
- [ ] closes #47290 (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](ht... | https://api.github.com/repos/pandas-dev/pandas/pulls/47376 | 2022-06-15T19:55:11Z | 2022-07-21T17:40:54Z | null | 2022-07-21T17:40:55Z |
DOC: move enhancements in 1.5 release notes | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 76f6e864a174f..6cd44b39a18ad 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -147,6 +147,85 @@ If the compression method cannot be inferred, use the ``compression`` argument:
(``mode`` being one of ``... | @ParfaitG can you confirm these are enhancements and not api breaking changes. | https://api.github.com/repos/pandas-dev/pandas/pulls/47375 | 2022-06-15T19:17:39Z | 2022-06-23T21:37:06Z | 2022-06-23T21:37:06Z | 2022-06-24T09:39:34Z |
ENH: DTA/DTI __repr__ support non-nano | diff --git a/pandas/_libs/tslib.pyi b/pandas/_libs/tslib.pyi
index 4b02235ac9925..2212f8db8ea1e 100644
--- a/pandas/_libs/tslib.pyi
+++ b/pandas/_libs/tslib.pyi
@@ -9,6 +9,7 @@ def format_array_from_datetime(
tz: tzinfo | None = ...,
format: str | None = ...,
na_rep: object = ...,
+ reso: int = ..., ... | - [ ] 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/47374 | 2022-06-15T19:09:32Z | 2022-06-16T01:16:31Z | 2022-06-16T01:16:31Z | 2022-06-16T01:18:48Z |
ENH: Timedelta division support non-nano | diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx
index 028371633a2c1..dfd64dd50f213 100644
--- a/pandas/_libs/tslibs/timedeltas.pyx
+++ b/pandas/_libs/tslibs/timedeltas.pyx
@@ -1742,13 +1742,21 @@ class Timedelta(_Timedelta):
other = Timedelta(other)
if othe... | For now settled on disallowing division with mismatched resos. Will want to revisit that decision as part of a larger API discussion. | https://api.github.com/repos/pandas-dev/pandas/pulls/47373 | 2022-06-15T19:00:17Z | 2022-06-15T22:15:31Z | 2022-06-15T22:15:31Z | 2022-06-15T22:49:23Z |
REGR: revert behaviour change for concat with empty/all-NaN data | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index 52aa9312d4c14..697070e50a40a 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -271,6 +271,9 @@ the given ``dayfirst`` value when the value is a delimited date string (e.g.
Ignoring dtypes in concat wit... | Closes https://github.com/pandas-dev/pandas/issues/45637
Closes https://github.com/pandas-dev/pandas/issues/47284
Initially I tried it with a more selective revert of only the changes in #43577 and #43507, but then I ran into some other failures in existing tests. So in the end tried it with reverting all su... | https://api.github.com/repos/pandas-dev/pandas/pulls/47372 | 2022-06-15T18:56:28Z | 2022-06-22T20:41:30Z | 2022-06-22T20:41:29Z | 2022-12-29T19:14:46Z |
PERF: Improve Styler `to_excel` Performance | diff --git a/asv_bench/benchmarks/io/excel.py b/asv_bench/benchmarks/io/excel.py
index a2d989e787e0f..a88c4374b7030 100644
--- a/asv_bench/benchmarks/io/excel.py
+++ b/asv_bench/benchmarks/io/excel.py
@@ -47,6 +47,25 @@ def time_write_excel(self, engine):
writer.save()
+class WriteExcelStyled:
+ params ... | - [x] closes #47352
- [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/47371 | 2022-06-15T18:36:43Z | 2022-06-29T17:09:20Z | 2022-06-29T17:09:19Z | 2022-06-29T17:09:29Z |
Backport PR #47349 on branch 1.4.x (REGR: MultiIndex.dtypes has regular Index instead of MultiIndex index) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index bfc9422711690..1ee1677b5ffe4 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -15,6 +15,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataF... | Backport PR #47349: REGR: MultiIndex.dtypes has regular Index instead of MultiIndex index | https://api.github.com/repos/pandas-dev/pandas/pulls/47369 | 2022-06-15T13:20:51Z | 2022-06-15T15:23:19Z | 2022-06-15T15:23:19Z | 2022-06-15T15:23:19Z |
Revert inclusive default change of IntervalDtype | diff --git a/doc/source/reference/arrays.rst b/doc/source/reference/arrays.rst
index fed0d2c5f7827..0d8444841fcae 100644
--- a/doc/source/reference/arrays.rst
+++ b/doc/source/reference/arrays.rst
@@ -304,6 +304,7 @@ Properties
:toctree: api/
Interval.inclusive
+ Interval.closed
Interval.closed_left
... | - [x] xref #47365 (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/47367 | 2022-06-15T12:27:22Z | 2022-07-06T12:06:58Z | 2022-07-06T12:06:58Z | 2022-07-06T12:41:46Z |
Backport PR #47325 on branch 1.4.x (REGR: Avoid regression warning with ea dtype and assert_index_equal order False) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index ca8b8ca15ec47..ce53d2b1dd04c 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -24,6 +24,7 @@ Fixed regressions
- Fixed regression in :func:`read_csv` with ``index_col=False`` identifying first row as i... | Backport PR #47325: REGR: Avoid regression warning with ea dtype and assert_index_equal order False | https://api.github.com/repos/pandas-dev/pandas/pulls/47366 | 2022-06-15T11:48:18Z | 2022-06-15T13:22:31Z | 2022-06-15T13:22:30Z | 2022-06-15T13:22:31Z |
Backport PR #47326 on branch 1.4.x (REGR: Fix nan comparison for same Index object) | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index ca8b8ca15ec47..bfc9422711690 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -20,6 +20,7 @@ Fixed regressions
- Fixed regression in :func:`read_fwf` raising ``ValueError`` when ``widths`` was specifie... | Backport PR #47326: REGR: Fix nan comparison for same Index object | https://api.github.com/repos/pandas-dev/pandas/pulls/47364 | 2022-06-15T11:41:48Z | 2022-06-15T13:15:50Z | 2022-06-15T13:15:50Z | 2022-06-15T13:15:51Z |
BUG: DataFrame.loc not aligning dict when setting to a column | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index a76b682f135db..d8b068c67cdcd 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -837,6 +837,7 @@ Indexing
- Bug in :meth:`loc.__setitem__` treating ``range`` keys as positional instead of label-based (:i... | - [x] closes #47216 (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/47361 | 2022-06-15T08:00:52Z | 2022-06-30T20:09:10Z | 2022-06-30T20:09:10Z | 2022-07-01T07:22:52Z |
CI: Add ccache | diff --git a/.circleci/setup_env.sh b/.circleci/setup_env.sh
index 52a8cab1cd2de..233a455f411bb 100755
--- a/.circleci/setup_env.sh
+++ b/.circleci/setup_env.sh
@@ -54,11 +54,7 @@ if pip list | grep -q ^pandas; then
pip uninstall -y pandas || true
fi
-echo "Build extensions"
-# GH 47305: Parallel build can caus... | Add Sccache https://github.com/mozilla/sccache to the GHA CI. Saves around 5 minutes per run.
Unfortunately it requires some hacks, namely changing a temporary Windows directory and patching distutils.
- [ ] closes #xxxx (Replace xxxx with the Github issue number)
- [ ] [Tests added and passed](https://pandas.py... | https://api.github.com/repos/pandas-dev/pandas/pulls/47360 | 2022-06-15T07:27:45Z | 2023-05-15T20:53:53Z | null | 2023-05-15T20:53:54Z |
TYP: base_parser and readers | diff --git a/pandas/io/common.py b/pandas/io/common.py
index 5aecc55bb363a..d692f26ab0576 100644
--- a/pandas/io/common.py
+++ b/pandas/io/common.py
@@ -626,6 +626,21 @@ def get_handle(
...
+@overload
+def get_handle(
+ path_or_buf: FilePath | BaseBuffer,
+ mode: str,
+ *,
+ encoding: str | None = ... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/47359 | 2022-06-15T01:17:36Z | 2022-06-15T19:36:48Z | 2022-06-15T19:36:48Z | 2022-09-21T15:29:51Z |
ENH/TST: Add TestBaseDtype tests for ArrowExtensionArray | diff --git a/pandas/core/arrays/arrow/dtype.py b/pandas/core/arrays/arrow/dtype.py
index af5b51a39b9c3..346c4e8d19379 100644
--- a/pandas/core/arrays/arrow/dtype.py
+++ b/pandas/core/arrays/arrow/dtype.py
@@ -44,7 +44,7 @@ def name(self) -> str: # type: ignore[override]
"""
A string identifying the d... | - [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/47358 | 2022-06-15T00:33:29Z | 2022-06-17T23:25:09Z | 2022-06-17T23:25:09Z | 2022-06-18T00:21:34Z |
ENH: Move IndexingError to error/__init__.py per GH27656 | diff --git a/doc/source/reference/testing.rst b/doc/source/reference/testing.rst
index 9d9fb91821ab1..2c419e8df9517 100644
--- a/doc/source/reference/testing.rst
+++ b/doc/source/reference/testing.rst
@@ -30,6 +30,7 @@ Exceptions and warnings
errors.DtypeWarning
errors.DuplicateLabelError
errors.EmptyDataEr... | - [x] xref #27656. this GitHub issue is being done in multiple parts
- [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/developme... | https://api.github.com/repos/pandas-dev/pandas/pulls/47357 | 2022-06-14T23:56:44Z | 2022-06-15T19:06:10Z | 2022-06-15T19:06:10Z | 2022-06-15T19:06:25Z |
ENH: Timedelta/Timestamp round support non-nano | diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx
index dfd64dd50f213..1df5468869df5 100644
--- a/pandas/_libs/tslibs/timedeltas.pyx
+++ b/pandas/_libs/tslibs/timedeltas.pyx
@@ -1653,15 +1653,14 @@ class Timedelta(_Timedelta):
int64_t result, unit, remainder
... | - [ ] 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/47356 | 2022-06-14T23:36:29Z | 2022-06-16T01:14:08Z | 2022-06-16T01:14:08Z | 2022-06-16T01:19:04Z |
ENH: Timestamp.tz_localize support non-nano | diff --git a/pandas/_libs/tslibs/ccalendar.pxd b/pandas/_libs/tslibs/ccalendar.pxd
index 511c9f94a47d8..341f2176f5eb4 100644
--- a/pandas/_libs/tslibs/ccalendar.pxd
+++ b/pandas/_libs/tslibs/ccalendar.pxd
@@ -15,8 +15,6 @@ cpdef int32_t get_day_of_year(int year, int month, int day) nogil
cpdef int get_lastbday(int yea... | Sits on top of #47346
Not sure why the .github files are in the diff, they don't show up in the diff locally | https://api.github.com/repos/pandas-dev/pandas/pulls/47355 | 2022-06-14T23:25:00Z | 2022-06-15T22:21:49Z | 2022-06-15T22:21:49Z | 2022-06-15T22:51:48Z |
TST: GH 27185 Test to check df with timedelta & Int NA sums correctly | diff --git a/pandas/tests/reductions/test_reductions.py b/pandas/tests/reductions/test_reductions.py
index 9d33e52709bd2..a68595546eb83 100644
--- a/pandas/tests/reductions/test_reductions.py
+++ b/pandas/tests/reductions/test_reductions.py
@@ -198,6 +198,18 @@ def test_numpy_reduction_with_tz_aware_dtype(self, tz_awar... | - [x] closes #27185
- [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).
- [NA... | https://api.github.com/repos/pandas-dev/pandas/pulls/47354 | 2022-06-14T20:22:04Z | 2022-06-23T21:40:30Z | 2022-06-23T21:40:29Z | 2022-06-23T21:40:37Z |
Bug: GroupBy raising error with None in first level of MultiIndex | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index a76b682f135db..ec2c395ce1393 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -927,6 +927,7 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrameGroupBy.cumsum` with ``skipna=False`` giving incorrect r... | - [x] closes #47348 (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/47351 | 2022-06-14T18:20:28Z | 2022-06-27T22:55:31Z | 2022-06-27T22:55:31Z | 2022-06-28T14:13:19Z |
REGR: MultiIndex.dtypes has regular Index instead of MultiIndex index | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index ca8b8ca15ec47..65c53cc450514 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -15,6 +15,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataF... | - [x] closes #46900 (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/47349 | 2022-06-14T17:39:03Z | 2022-06-15T13:20:42Z | 2022-06-15T13:20:42Z | 2022-06-15T21:51:01Z |
REGR: Regression in to_csv for ea dtype categorical | diff --git a/doc/source/whatsnew/v1.4.3.rst b/doc/source/whatsnew/v1.4.3.rst
index 05ace0509e0b7..a4d81533df23d 100644
--- a/doc/source/whatsnew/v1.4.3.rst
+++ b/doc/source/whatsnew/v1.4.3.rst
@@ -15,6 +15,7 @@ including other versions of pandas.
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataF... | - [x] closes #46812 (Replace xxxx with the Github issue number)
- [x] closes #46297
- [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-d... | https://api.github.com/repos/pandas-dev/pandas/pulls/47347 | 2022-06-14T17:15:55Z | 2022-06-16T13:45:26Z | 2022-06-16T13:45:25Z | 2022-06-16T19:45:39Z |
ENH: Timestamp.__sub__(datetimelike) support non-nano | diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx
index 1d21f602fac05..da2377a9b085c 100644
--- a/pandas/_libs/tslibs/timestamps.pyx
+++ b/pandas/_libs/tslibs/timestamps.pyx
@@ -400,18 +400,19 @@ cdef class _Timestamp(ABCTimestamp):
new_value = int(self.value) + int(n... | With mixed resos, cast to the lower reso, and only if doing so is lossless. | https://api.github.com/repos/pandas-dev/pandas/pulls/47346 | 2022-06-14T17:01:14Z | 2022-06-15T00:16:46Z | 2022-06-15T00:16:46Z | 2022-06-15T16:44:08Z |
TST: adding a test for bar plot with intervalrange xaxis | diff --git a/pandas/tests/plotting/test_misc.py b/pandas/tests/plotting/test_misc.py
index ca82c37b8a8b0..4d042579701eb 100644
--- a/pandas/tests/plotting/test_misc.py
+++ b/pandas/tests/plotting/test_misc.py
@@ -10,6 +10,7 @@
Index,
Series,
Timestamp,
+ interval_range,
)
import pandas._testing as t... | - [x] closes #38969
- [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/47344 | 2022-06-14T12:31:41Z | 2022-06-15T21:52:26Z | 2022-06-15T21:52:26Z | 2022-10-20T08:44:21Z |
BUG: Series.setitem losing precision when enlarging | diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst
index 5891eeea98cbb..81af4fe117dc6 100644
--- a/doc/source/whatsnew/v1.5.0.rst
+++ b/doc/source/whatsnew/v1.5.0.rst
@@ -823,6 +823,7 @@ Indexing
- Bug in :meth:`Series.__setitem__` where setting :attr:`NA` into a numeric-dtpye :class:`Series`... | - [x] xref #32346 (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/47342 | 2022-06-14T10:13:35Z | 2022-07-01T22:18:05Z | 2022-07-01T22:18:05Z | 2022-07-01T22:19:08Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.