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
DOC: fix inconsistencies in `read_csv` docstring type descriptions
diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index 153899e023137..777a74f46d75e 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -101,7 +101,8 @@ By file-like object, we refer to objects with a ``read()`` method, such as a file handle (e.g. via builti...
- [x] closes #53763 - [ ] 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/53834
2023-06-25T03:18:44Z
2023-06-26T17:45:53Z
2023-06-26T17:45:53Z
2023-06-26T22:20:00Z
BUG: DataFrame.shift(axis=1) with EADtype
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 7b9efd7f593dd..ede720bbbec40 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -535,11 +535,12 @@ Other - Bug in :func:`assert_almost_equal` now throwing assertion error for two unequal sets (:issue:`51...
- [ ] 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 - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/53832
2023-06-24T20:36:30Z
2023-06-26T17:48:53Z
2023-06-26T17:48:53Z
2023-08-28T20:30:56Z
DEPR: Remove bytes input for read_excel
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 7b9efd7f593dd..b3f17c62f3dde 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -295,6 +295,7 @@ Deprecations - Deprecated allowing ``downcast`` keyword other than ``None``, ``False``, "infer", or a dict...
- [X] closes #53767 - [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/53830
2023-06-24T15:14:47Z
2023-06-27T17:29:07Z
2023-06-27T17:29:07Z
2024-02-17T17:20:18Z
CLN: Make internal numpy `sort` and `argsort` use `kind="stable"`
diff --git a/pandas/_libs/algos.pyx b/pandas/_libs/algos.pyx index 9eed70a23c9dd..56444573f8a5f 100644 --- a/pandas/_libs/algos.pyx +++ b/pandas/_libs/algos.pyx @@ -162,7 +162,7 @@ cpdef ndarray[int64_t, ndim=1] unique_deltas(const int64_t[:] arr): kh_destroy_int64(table) result = np.array(uniques, dtype=np...
- [ ] Closes #53558 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) - [ ] *I assume that this does not need a chan...
https://api.github.com/repos/pandas-dev/pandas/pulls/53829
2023-06-24T13:57:18Z
2024-01-31T18:50:58Z
null
2024-01-31T18:50:58Z
TST: Use pytest-localserver instead of making network connections
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index 0923594f2c840..ffa7732c604a0 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -15,6 +15,7 @@ dependencies: - pytest-cov - pytest-xdist>=2.2.0 - pytest-asyncio>=0.17.0 + - pytest-localserver>=0.7.1 - boto3 # r...
Since we have a lot of CI jobs with unit test that make network connections, it is better if the network connections could be made locally if possible. This PR refactors all tests that make network connections to use `pytest-localserver` instead
https://api.github.com/repos/pandas-dev/pandas/pulls/53828
2023-06-24T02:16:48Z
2023-06-27T16:58:07Z
2023-06-27T16:58:06Z
2023-07-04T07:37:08Z
REF: implement PandasArray.pad_or_backfill
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index ea085b3d1f6ab..48c9305cf2ccc 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -2235,7 +2235,7 @@ def interpolate( *, method, axis: int, - index: Index |...
Goes with (but independent of) #53822 trying to separate out pad_or_backfill from interpolate/fillna. xref #53621
https://api.github.com/repos/pandas-dev/pandas/pulls/53827
2023-06-23T22:53:11Z
2023-06-26T17:51:31Z
2023-06-26T17:51:31Z
2023-06-26T17:52:45Z
BUG: DataFrame.stack sometimes sorting the resulting index
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index ee1f1b7be1b86..13a4a4531e6d0 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -104,7 +104,6 @@ Other enhancements - Let :meth:`DataFrame.to_feather` accept a non-default :class:`Index` and non-string c...
- [x] closes #53824 (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/53825
2023-06-23T21:12:22Z
2023-06-28T16:10:21Z
2023-06-28T16:10:21Z
2023-06-28T18:25:00Z
Backport PR #53819 on branch 2.0.x (TST/CI: Skipif test_complibs)
diff --git a/pandas/tests/io/pytables/test_file_handling.py b/pandas/tests/io/pytables/test_file_handling.py index 1a126ad75c01c..623d6e664090f 100644 --- a/pandas/tests/io/pytables/test_file_handling.py +++ b/pandas/tests/io/pytables/test_file_handling.py @@ -230,11 +230,11 @@ def test_complibs_default_settings_overri...
Backport PR #53819: TST/CI: Skipif test_complibs
https://api.github.com/repos/pandas-dev/pandas/pulls/53823
2023-06-23T20:05:23Z
2023-06-23T23:50:48Z
2023-06-23T23:50:48Z
2023-06-23T23:50:49Z
REF: implement Manager.pad_or_backfill
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 0be840f9a4ef1..a8a3bf3fc532e 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -6876,7 +6876,7 @@ def _fillna_with_method( return result - new_mgr = self._mgr.interpolate( + new_mgr = self._mgr.pad_or_bac...
Working towards separating fillna/interpolate
https://api.github.com/repos/pandas-dev/pandas/pulls/53822
2023-06-23T19:24:08Z
2023-06-25T20:42:08Z
2023-06-25T20:42:08Z
2023-06-25T20:55:34Z
better cython debugging
diff --git a/.gitignore b/.gitignore index cd22c2bb8cb5b..051a3ec11b794 100644 --- a/.gitignore +++ b/.gitignore @@ -39,7 +39,7 @@ .mesonpy-native-file.ini MANIFEST compile_commands.json -debug +.debug # Python files # ################ diff --git a/doc/source/development/debugging_extensions.rst b/doc/source/dev...
This is still super buggy but hopefully this gets people a bit closer
https://api.github.com/repos/pandas-dev/pandas/pulls/53821
2023-06-23T18:57:49Z
2023-10-07T20:38:30Z
2023-10-07T20:38:30Z
2023-10-07T20:38:42Z
TST: Refactor more slow tests
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index 23ed053521baf..9d0e2145567bf 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -450,6 +450,9 @@ def unique_with_mask(values, mask: npt.NDArray[np.bool_] | None = None): unique1d = unique +_MINIMUM_COMP_ARR_LEN = 1_000_...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/53820
2023-06-23T17:47:39Z
2023-06-26T17:39:39Z
2023-06-26T17:39:39Z
2023-06-26T17:39:42Z
TST/CI: Skipif test_complibs
diff --git a/pandas/tests/io/pytables/test_file_handling.py b/pandas/tests/io/pytables/test_file_handling.py index 1a126ad75c01c..623d6e664090f 100644 --- a/pandas/tests/io/pytables/test_file_handling.py +++ b/pandas/tests/io/pytables/test_file_handling.py @@ -230,11 +230,11 @@ def test_complibs_default_settings_overri...
Even though this was just xfailed, it appears to also be causing segfault in the CI so just skipping for now e.g. https://github.com/pandas-dev/pandas/actions/runs/5352556089/jobs/9707592733
https://api.github.com/repos/pandas-dev/pandas/pulls/53819
2023-06-23T17:44:56Z
2023-06-23T20:04:23Z
2023-06-23T20:04:23Z
2023-06-23T20:04:27Z
DOC: Fixing EX01 - Added examples
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 472bd78e4d3bc..5870a9ad8d60b 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -105,17 +105,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.errors.UnsupportedFunctionCall \ pandas.test \ pandas.NaT \ - ...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875
https://api.github.com/repos/pandas-dev/pandas/pulls/53818
2023-06-23T17:07:23Z
2023-06-26T16:45:39Z
2023-06-26T16:45:39Z
2023-06-26T17:07:45Z
DEPR: Deprecate use of un-supported numpy dt64/td64 dtype for pandas.array
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index b517f5fc38d5e..e154ca2cd3884 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -320,7 +320,9 @@ Deprecations - Deprecated strings ``T``, ``t``, ``L`` and ``l`` denoting units in :func:`to_timedelta` (:i...
- [X] closes #53058 - [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/53817
2023-06-23T16:12:03Z
2023-07-11T01:51:48Z
2023-07-11T01:51:47Z
2024-02-17T17:20:11Z
ENH: Include `df.attrs` metadata in `to_csv` output
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index e0e9048b20a9d..d3a13ad5485ad 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3684,6 +3684,7 @@ def to_csv( decimal: str = ..., errors: OpenFileErrors = ..., storage_options: StorageOptions = ..., + ...
- [ ] closes #53577 - [ ] [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/53816
2023-06-23T16:05:20Z
2023-08-15T19:16:53Z
null
2023-08-15T19:16:53Z
CLN: PDEP6 precusor
diff --git a/pandas/tests/copy_view/test_interp_fillna.py b/pandas/tests/copy_view/test_interp_fillna.py index 71023a538a2c3..5d4fd75df830c 100644 --- a/pandas/tests/copy_view/test_interp_fillna.py +++ b/pandas/tests/copy_view/test_interp_fillna.py @@ -248,7 +248,10 @@ def test_fillna_inplace_reference(using_copy_on_wr...
Another precursor to https://github.com/pandas-dev/pandas/pull/53405
https://api.github.com/repos/pandas-dev/pandas/pulls/53815
2023-06-23T11:14:24Z
2023-06-23T15:45:57Z
2023-06-23T15:45:57Z
2023-06-23T15:45:58Z
Update governance.md
diff --git a/web/pandas/about/governance.md b/web/pandas/about/governance.md index 0bb61592d7e5d..46480acc69c31 100644 --- a/web/pandas/about/governance.md +++ b/web/pandas/about/governance.md @@ -228,7 +228,7 @@ interactions with NumFOCUS. Team. - This Subcommittee shall NOT make decisions about the direction, sco...
Misspelling of Subcommittee - [ ] 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/...
https://api.github.com/repos/pandas-dev/pandas/pulls/53814
2023-06-23T05:06:41Z
2023-06-23T14:43:56Z
2023-06-23T14:43:56Z
2023-06-23T14:43:57Z
TST: Add test for loc expansion GH13829.
diff --git a/pandas/tests/frame/indexing/test_setitem.py b/pandas/tests/frame/indexing/test_setitem.py index b745575876212..6060f6b5e278a 100644 --- a/pandas/tests/frame/indexing/test_setitem.py +++ b/pandas/tests/frame/indexing/test_setitem.py @@ -930,6 +930,20 @@ def test_setitem_frame_keep_ea_dtype(self, any_numeric...
- [ ] closes #13829 (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/53812
2023-06-23T03:20:17Z
2023-06-23T17:20:28Z
2023-06-23T17:20:28Z
2023-06-23T23:45:37Z
REF: separate out cross-merge, make less stateful
diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py index d406145e62ad7..66d2bf0b8991d 100644 --- a/pandas/core/reshape/merge.py +++ b/pandas/core/reshape/merge.py @@ -145,10 +145,79 @@ def merge( indicator: str | bool = False, validate: str | None = None, ) -> DataFrame: - op = _Merg...
- [ ] 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/53810
2023-06-22T23:56:49Z
2023-06-23T21:20:50Z
2023-06-23T21:20:50Z
2023-06-23T21:21:50Z
DEPR: Remove literal string input for read_xml
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index ec0e7d0636b07..4d4b9e086e9e5 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -2919,6 +2919,7 @@ Read an XML string: .. ipython:: python + from io import StringIO xml = """<?xml version="1.0" encodi...
- [X] closes #53767 - [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/53809
2023-06-22T23:48:53Z
2023-07-11T20:52:05Z
2023-07-11T20:52:05Z
2024-02-17T17:20:09Z
REF: simplify merge code
diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py index 4d1f8bd6301d0..d406145e62ad7 100644 --- a/pandas/core/reshape/merge.py +++ b/pandas/core/reshape/merge.py @@ -717,13 +717,23 @@ def __init__( self.left_on = self.right_on = [cross_col] self._cross = cross_col - ...
- [ ] 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/53808
2023-06-22T23:40:52Z
2023-06-23T17:18:50Z
2023-06-23T17:18:50Z
2023-06-23T17:21:18Z
REF: de-duplicate Block.diff, remove axis kwd
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index c3574829f9b0e..23ed053521baf 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -1441,8 +1441,8 @@ def diff(arr, n: int, axis: AxisInt = 0): arr = arr.to_numpy() dtype = arr.dtype - if not isinstance(d...
- [ ] 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/53807
2023-06-22T23:35:37Z
2023-06-23T17:24:09Z
2023-06-23T17:24:09Z
2023-06-23T17:29:36Z
PERF: pandas.core.sorting.compress_group_index for already sorted values
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 2436d91690ed3..58ac32fce2804 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -328,6 +328,7 @@ Performance improvements - Performance improvement in :func:`concat` (:issue:`52291`, :issue:`52290`) - :...
- [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/53806
2023-06-22T23:31:08Z
2023-06-23T17:35:03Z
2023-06-23T17:35:03Z
2023-07-01T00:37:56Z
DEPR: Remove literal string input for read_html
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 84a78ace8d7c7..0084e885db2b5 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -2664,7 +2664,7 @@ Links can be extracted from cells along with the text using ``extract_links="all """ df = pd.read_htm...
- [X] closes #53767 - [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/53805
2023-06-22T23:07:37Z
2023-06-28T16:15:40Z
2023-06-28T16:15:40Z
2024-02-17T17:20:16Z
TST: Refactor s3 resource
diff --git a/pandas/tests/io/conftest.py b/pandas/tests/io/conftest.py index 1fc867f95de53..c9890032f408a 100644 --- a/pandas/tests/io/conftest.py +++ b/pandas/tests/io/conftest.py @@ -1,6 +1,7 @@ import shlex import subprocess import time +import uuid import pytest @@ -54,13 +55,13 @@ def s3so(worker_id): ...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/53803
2023-06-22T21:56:13Z
2023-06-23T17:17:57Z
2023-06-23T17:17:57Z
2023-06-23T17:18:00Z
TST: Refactor more slow tests
diff --git a/pandas/tests/groupby/transform/test_transform.py b/pandas/tests/groupby/transform/test_transform.py index 397500f64787f..5caf3d2ac1d8b 100644 --- a/pandas/tests/groupby/transform/test_transform.py +++ b/pandas/tests/groupby/transform/test_transform.py @@ -697,6 +697,36 @@ def test_groupby_cum_skipna(op, sk...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/53800
2023-06-22T20:14:10Z
2023-06-23T17:14:05Z
2023-06-23T17:14:05Z
2023-06-23T17:14:09Z
Backport PR #53754 on branch 2.0.x (TST: Make test_complibs deterministic)
diff --git a/pandas/tests/io/pytables/test_file_handling.py b/pandas/tests/io/pytables/test_file_handling.py index 49190daa37442..1a126ad75c01c 100644 --- a/pandas/tests/io/pytables/test_file_handling.py +++ b/pandas/tests/io/pytables/test_file_handling.py @@ -3,7 +3,12 @@ import numpy as np import pytest -from pan...
Backport PR #53754: TST: Make test_complibs deterministic
https://api.github.com/repos/pandas-dev/pandas/pulls/53797
2023-06-22T15:24:44Z
2023-06-22T17:48:29Z
2023-06-22T17:48:29Z
2023-06-22T17:48:30Z
DOC: Fixing EX01 - Added examples
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 693017c6715ae..472bd78e4d3bc 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -105,17 +105,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.errors.UnsupportedFunctionCall \ pandas.test \ pandas.NaT \ - ...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875
https://api.github.com/repos/pandas-dev/pandas/pulls/53796
2023-06-22T15:05:03Z
2023-06-23T14:41:30Z
2023-06-23T14:41:30Z
2023-06-23T16:34:38Z
BUG: fixes weekday for dates before 1752
diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index 8aab1e7b58f5e..14e65e9e577ce 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -13,6 +13,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ +- Bug in :meth:`Timestamp.weekda...
- [x] closes #53738 (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/53795
2023-06-22T13:36:53Z
2023-06-27T15:22:03Z
2023-06-27T15:22:03Z
2023-06-30T18:37:15Z
TYP: annotate testing decorators with pytest.MarkDecorator
diff --git a/pandas/util/_test_decorators.py b/pandas/util/_test_decorators.py index ec54f0205f79a..20cc83e86b435 100644 --- a/pandas/util/_test_decorators.py +++ b/pandas/util/_test_decorators.py @@ -114,9 +114,7 @@ def _skip_if_no_scipy() -> bool: ) -# TODO(pytest#7469): return type, _pytest.mark.structures....
xref https://github.com/pytest-dev/pytest/pull/7379
https://api.github.com/repos/pandas-dev/pandas/pulls/53794
2023-06-22T13:12:49Z
2023-06-22T15:50:51Z
2023-06-22T15:50:51Z
2023-06-22T16:37:07Z
BUG: combine_first ignoring others columns if other is empty
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 511e5793608bc..2436d91690ed3 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -491,6 +491,7 @@ Reshaping - Bug in :func:`merge_asof` raising ``KeyError`` for extension dtypes (:issue:`52904`) - Bug in...
- [ ] 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/53792
2023-06-22T11:00:47Z
2023-06-22T16:05:34Z
2023-06-22T16:05:34Z
2023-06-22T16:06:05Z
TST/CLN: use fixture for data path in all xml tests
diff --git a/pandas/tests/io/xml/conftest.py b/pandas/tests/io/xml/conftest.py index 53725ebef3616..510e22fb32e77 100644 --- a/pandas/tests/io/xml/conftest.py +++ b/pandas/tests/io/xml/conftest.py @@ -29,3 +29,8 @@ def kml_cta_rail_lines(xml_data_path): @pytest.fixture def xsl_flatten_doc(xml_data_path): return ...
follow up of #53766
https://api.github.com/repos/pandas-dev/pandas/pulls/53790
2023-06-22T05:55:30Z
2023-06-22T15:52:13Z
2023-06-22T15:52:13Z
2023-06-22T16:37:57Z
REF: remove unused merge args
diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py index cbcdc3813c24d..9d43a665a5649 100644 --- a/pandas/core/reshape/merge.py +++ b/pandas/core/reshape/merge.py @@ -29,7 +29,6 @@ from pandas._typing import ( AnyArrayLike, ArrayLike, - AxisInt, DtypeObj, IndexLabel, J...
- [ ] 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/53789
2023-06-22T04:51:50Z
2023-06-22T15:54:08Z
2023-06-22T15:54:08Z
2023-06-22T16:41:36Z
DOC: fix Sphinx parallel build error caused for `doc/source/getting_started/intro_tutorials/04_plotting.rst`
diff --git a/doc/source/getting_started/intro_tutorials/04_plotting.rst b/doc/source/getting_started/intro_tutorials/04_plotting.rst index ddc8a37911c98..e96eb7c51a12a 100644 --- a/doc/source/getting_started/intro_tutorials/04_plotting.rst +++ b/doc/source/getting_started/intro_tutorials/04_plotting.rst @@ -49,6 +49,7 ...
- [x] closes #53777 - [ ] [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/53788
2023-06-22T03:01:44Z
2023-08-01T17:34:08Z
2023-08-01T17:34:08Z
2023-08-01T17:34:24Z
BUG: DataFrame.stack sorts columns
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 2436d91690ed3..6c3316629ce22 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -495,9 +495,9 @@ Reshaping - Bug in :meth:`DataFrame.idxmin` and :meth:`DataFrame.idxmax`, where the axis dtype would be lo...
- [x] closes #53786 (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/53787
2023-06-22T02:53:20Z
2023-06-23T17:37:29Z
2023-06-23T17:37:29Z
2023-06-23T19:25:49Z
DEPR: Remove literal string input for read_html
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 84a78ace8d7c7..de6e05ec9d922 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -2652,6 +2652,7 @@ Links can be extracted from cells along with the text using ``extract_links="all .. ipython:: python + fr...
- [X] closes #53767 - [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/53785
2023-06-22T02:19:20Z
2023-06-22T22:26:42Z
null
2023-06-22T22:26:42Z
TST: Refactor some slow tests
diff --git a/pandas/tests/frame/methods/test_duplicated.py b/pandas/tests/frame/methods/test_duplicated.py index 9d46a8abb9b46..5b07572ca9ad1 100644 --- a/pandas/tests/frame/methods/test_duplicated.py +++ b/pandas/tests/frame/methods/test_duplicated.py @@ -1,4 +1,5 @@ import re +import sys import numpy as np impor...
Mainly refactoring tests by reducing the data size not associated with the bug or refactoring the test to more directly test the issue
https://api.github.com/repos/pandas-dev/pandas/pulls/53784
2023-06-22T01:09:56Z
2023-06-22T15:48:26Z
2023-06-22T15:48:26Z
2023-06-22T15:48:30Z
Improve frame histogram
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 2436d91690ed3..f29d2a2d19fc0 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -104,6 +104,7 @@ Other enhancements - Let :meth:`DataFrame.to_feather` accept a non-default :class:`Index` and non-string c...
- [x] closes #53281 - [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/53782
2023-06-21T22:00:46Z
2023-07-24T17:38:54Z
null
2023-07-24T17:38:55Z
TYP: reshape.merge
diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py index cbcdc3813c24d..c9e1a59a9d987 100644 --- a/pandas/core/reshape/merge.py +++ b/pandas/core/reshape/merge.py @@ -3,7 +3,6 @@ """ from __future__ import annotations -import copy as cp import datetime from functools import partial import s...
- [ ] 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/53780
2023-06-21T20:42:09Z
2023-06-22T15:49:39Z
2023-06-22T15:49:39Z
2023-06-22T16:41:57Z
CoW: Add warning for chained assignment with fillna
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 198a7155e1a1e..1119117c411d3 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -27,6 +27,14 @@ Copy-on-Write improvements of those Index objects for the columns of the DataFrame (:issue:`52947`) - Ad...
- [ ] 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/53779
2023-06-21T20:34:04Z
2023-07-06T16:12:30Z
2023-07-06T16:12:30Z
2023-07-06T16:12:34Z
Backport PR #53774 on branch 2.0.x (COMPAT: Remove np.compat)
diff --git a/pandas/tests/libs/test_hashtable.py b/pandas/tests/libs/test_hashtable.py index 4a5d5e0c85a09..60af595018a54 100644 --- a/pandas/tests/libs/test_hashtable.py +++ b/pandas/tests/libs/test_hashtable.py @@ -461,7 +461,7 @@ def test_get_labels_groupby_for_Int64(writable): def test_tracemalloc_works_for_Stri...
Backport PR #53774: COMPAT: Remove np.compat
https://api.github.com/repos/pandas-dev/pandas/pulls/53776
2023-06-21T19:26:04Z
2023-06-21T20:39:30Z
2023-06-21T20:39:30Z
2023-06-21T20:39:31Z
Added suggested new line to fix doc code example
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index b411cfc4a4685..352d353ef4dba 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2981,6 +2981,7 @@ def to_orc( 1 2 3 If you want to get a buffer to the orc content you can write it to io.BytesIO + >>> import...
- [x] closes #53770 - [x] Modified as suggested in the issue
https://api.github.com/repos/pandas-dev/pandas/pulls/53775
2023-06-21T18:34:49Z
2023-06-21T19:52:04Z
2023-06-21T19:52:04Z
2023-06-21T19:52:04Z
COMPAT: Remove np.compat
diff --git a/pandas/tests/libs/test_hashtable.py b/pandas/tests/libs/test_hashtable.py index df3f74fa9bc7c..ab4dd58e18ce8 100644 --- a/pandas/tests/libs/test_hashtable.py +++ b/pandas/tests/libs/test_hashtable.py @@ -461,7 +461,7 @@ def test_get_labels_groupby_for_Int64(writable): def test_tracemalloc_works_for_Stri...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/53774
2023-06-21T17:50:33Z
2023-06-21T19:24:59Z
2023-06-21T19:24:59Z
2023-06-21T19:25:03Z
BUG: handle none values in `json.normalize()`
diff --git a/pandas/io/json/_normalize.py b/pandas/io/json/_normalize.py index 459b4035627cc..bbe70544ec916 100644 --- a/pandas/io/json/_normalize.py +++ b/pandas/io/json/_normalize.py @@ -490,6 +490,8 @@ def _pull_records(js: dict[str, Any], spec: list | str) -> list: meta_keys = [sep.join(val) for val in _meta] ...
This PR fixes the error which is thrown when a field value in `json` is `null` while `json_normalize` it to a `DataFrame`. Implemented tests to validate the change - [x] closes #53719 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if f...
https://api.github.com/repos/pandas-dev/pandas/pulls/53773
2023-06-21T17:24:19Z
2023-08-16T18:31:45Z
null
2023-08-16T18:31:46Z
PERF: concat in no-reindexing case
diff --git a/pandas/core/internals/concat.py b/pandas/core/internals/concat.py index 1d22ed3fe8897..8d12fb91887ac 100644 --- a/pandas/core/internals/concat.py +++ b/pandas/core/internals/concat.py @@ -254,6 +254,15 @@ def _concat_homogeneous_fastpath( """ # assumes # all(_is_homogeneous_mgr(mgr, first_d...
- [ ] 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/53772
2023-06-21T15:24:15Z
2023-06-22T16:15:25Z
2023-06-22T16:15:25Z
2023-06-22T16:41:22Z
PERF: avoid unnecessary casting in merge
diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py index 4d1f8bd6301d0..5a7e794b1b5fe 100644 --- a/pandas/core/reshape/merge.py +++ b/pandas/core/reshape/merge.py @@ -29,7 +29,6 @@ from pandas._typing import ( AnyArrayLike, ArrayLike, - DtypeObj, IndexLabel, JoinHow, M...
- [ ] 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/53771
2023-06-21T15:19:01Z
2023-06-25T20:43:17Z
2023-06-25T20:43:17Z
2023-06-25T20:52:00Z
DEPR: deprecate returning a tuple from a callable in iloc indexing
diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index 7541cf3c8af3c..7b839d62ddde9 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -62,6 +62,8 @@ of multi-axis indexing. * A boolean array (any ``NA`` values will be treated as ``False`...
The current semantics are that tuple-destructuring of the key is performed before unwinding any callables. As such, if a callable returns a tuple for iloc, it will be handled incorrectly. To avoid this, explicitly deprecate support for this behaviour. - [x] closes #53533 - [x] [Tests added and passed](https://pa...
https://api.github.com/repos/pandas-dev/pandas/pulls/53769
2023-06-21T11:40:50Z
2023-11-07T17:29:38Z
2023-11-07T17:29:38Z
2023-11-07T17:36:58Z
DOC note pytest bump
diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst index f4c76c3493fa2..e7e637618eecc 100644 --- a/doc/source/getting_started/install.rst +++ b/doc/source/getting_started/install.rst @@ -216,7 +216,7 @@ pandas is equipped with an exhaustive set of unit tests, covering about 97%...
xref https://github.com/pandas-dev/pandas/pull/53727#issuecomment-1597998486
https://api.github.com/repos/pandas-dev/pandas/pulls/53768
2023-06-21T09:48:39Z
2023-06-21T19:24:13Z
2023-06-21T19:24:13Z
2023-06-21T19:24:19Z
TST: refactor data path for xml tests
diff --git a/pandas/conftest.py b/pandas/conftest.py index 1dcfc88eb1bfd..b2f1377a9fb32 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -30,6 +30,7 @@ from decimal import Decimal import operator import os +from pathlib import Path from typing import ( Callable, Hashable, @@ -1167,6 +1168,16 @@...
In this PR, the common test data paths are set in `conftest.py` to avoid repeat calls to `datapath()`
https://api.github.com/repos/pandas-dev/pandas/pulls/53766
2023-06-21T08:17:35Z
2023-06-21T17:59:27Z
2023-06-21T17:59:27Z
2023-06-22T16:37:27Z
DOC: operator wrapper names do not match math operators
diff --git a/pandas/core/ops/docstrings.py b/pandas/core/ops/docstrings.py index 9a469169151c3..bd2e532536d84 100644 --- a/pandas/core/ops/docstrings.py +++ b/pandas/core/ops/docstrings.py @@ -463,7 +463,7 @@ def make_flex_doc(op_name: str, typ: str) -> str: Equivalent to ``{equiv}``, but with support to substitute a ...
- [x] closes #53724 - [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/53765
2023-06-21T06:19:27Z
2023-06-21T10:10:51Z
2023-06-21T10:10:51Z
2023-06-23T17:00:48Z
BUG: bad display for complex series with nan
diff --git a/pandas/io/formats/format.py b/pandas/io/formats/format.py index a425944647b5c..6cc00ffc8889c 100644 --- a/pandas/io/formats/format.py +++ b/pandas/io/formats/format.py @@ -1506,14 +1506,16 @@ def format_values_with(float_format): # default formatter leaves a space to the left when formatting...
- [ ] Closes #53762 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) - [ ] *Not sure if this needs a changelog entr...
https://api.github.com/repos/pandas-dev/pandas/pulls/53764
2023-06-21T06:09:34Z
2023-06-22T16:19:32Z
2023-06-22T16:19:32Z
2023-06-28T05:40:22Z
Revert "BUG: DataFrame.stack with sort=True and unsorted MultiIndex levels"
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 44691e4265f5b..5ee378f34b34e 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -491,7 +491,6 @@ Reshaping - Bug in :meth:`DataFrame.idxmin` and :meth:`DataFrame.idxmax`, where the axis dtype would be lo...
Reverts pandas-dev/pandas#53637
https://api.github.com/repos/pandas-dev/pandas/pulls/53760
2023-06-21T02:12:55Z
2023-06-21T15:58:11Z
2023-06-21T15:58:11Z
2023-06-21T15:58:21Z
Backport PR #53654: BUG: DataFrame construction with dictionary ArrowDtype columns
diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index 146cc0d00fa3b..8e2b1dc315725 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -27,6 +27,7 @@ Bug fixes - Bug in :func:`read_csv` when defining ``dtype`` with ``bool[pyarrow]`` for the ``"c"`` and ``"py...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/53758
2023-06-21T01:44:25Z
2023-06-21T20:08:01Z
2023-06-21T20:08:01Z
2023-06-21T20:08:04Z
BUG: to_json not serializing non-nanosecond numpy dt64 correctly
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index f2bf446c3bb6d..d38f4991759a1 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -530,6 +530,7 @@ I/O - Bug in :func:`read_sql` when reading multiple timezone aware columns with the same column name (:iss...
- [ ] closes #53686 (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/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/53757
2023-06-21T01:08:32Z
2023-07-25T22:07:17Z
2023-07-25T22:07:17Z
2023-07-25T23:01:24Z
POC: DataFrame.stack not including NA rows
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 4088736dd4150..dc8ca5ff5d367 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -9158,15 +9158,22 @@ def stack(self, level: IndexLabel = -1, dropna: bool = True, sort: bool = True): dog kg 2.0 NaN m NaN 3....
Demonstration for #53515 - [ ] [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/53756
2023-06-21T00:25:50Z
2023-06-29T03:23:51Z
null
2023-09-27T21:00:59Z
Backport PR #53652: BUG: Indexing a timestamp ArrowDtype Index
diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index 0f56f203a5802..160223168d83c 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -26,6 +26,7 @@ Bug fixes - Bug in :func:`read_csv` when defining ``dtype`` with ``bool[pyarrow]`` for the ``"c"`` and ``"py...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/53755
2023-06-20T22:44:18Z
2023-06-21T16:03:46Z
2023-06-21T16:03:46Z
2023-06-21T16:03:50Z
TST: Make test_complibs deterministic
diff --git a/pandas/tests/io/pytables/test_file_handling.py b/pandas/tests/io/pytables/test_file_handling.py index 49190daa37442..1a126ad75c01c 100644 --- a/pandas/tests/io/pytables/test_file_handling.py +++ b/pandas/tests/io/pytables/test_file_handling.py @@ -3,7 +3,12 @@ import numpy as np import pytest -from pan...
This tests seems to be flaky in the CI, hopefully making this test deterministic fixes things
https://api.github.com/repos/pandas-dev/pandas/pulls/53754
2023-06-20T22:36:14Z
2023-06-22T15:23:41Z
2023-06-22T15:23:41Z
2023-06-22T15:23:46Z
CI: Clean GH Action caches weekly
diff --git a/.github/workflows/cache-cleanup-weekly.yml b/.github/workflows/cache-cleanup-weekly.yml new file mode 100644 index 0000000000000..225503f2894f8 --- /dev/null +++ b/.github/workflows/cache-cleanup-weekly.yml @@ -0,0 +1,29 @@ +name: Purge caches once a week +on: + schedule: + # 4:10 UTC on Sunday + - ...
Adds a job that runs daily to clean GH Action caches every Sunday night so that dependencies cached in CI jobs can still regularly pick up new version in a reasonable timeline
https://api.github.com/repos/pandas-dev/pandas/pulls/53753
2023-06-20T22:07:13Z
2023-07-07T17:56:17Z
2023-07-07T17:56:17Z
2023-07-07T17:56:20Z
TYP: reshape.merge
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index cecb9a84c62dd..43854c5849481 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -829,7 +829,12 @@ def value_counts( right = [diff.cumsum() - 1, codes[-1]] - _, idx = get_join_i...
- [ ] 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/53752
2023-06-20T21:31:24Z
2023-06-21T00:36:47Z
2023-06-21T00:36:47Z
2023-06-21T01:27:51Z
DOC: point out that only period aliases are valid for the method asfreq in period.pyx
diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx index e954ec9bccd9e..2ec0649110948 100644 --- a/pandas/_libs/tslibs/period.pyx +++ b/pandas/_libs/tslibs/period.pyx @@ -1917,7 +1917,8 @@ cdef class _Period(PeriodMixin): Parameters ---------- freq : str, BaseOffset ...
related to pr #52064 Updated docstring for the method `asfreq` in period.pyx. Point out that only period aliases are valid for `asfreq`.
https://api.github.com/repos/pandas-dev/pandas/pulls/53751
2023-06-20T21:10:45Z
2023-06-21T09:24:42Z
2023-06-21T09:24:42Z
2023-06-21T09:24:43Z
TST: Use more pytest fixtures
diff --git a/pandas/tests/resample/test_resample_api.py b/pandas/tests/resample/test_resample_api.py index ba0b93d0b06f4..dbd28868b81b1 100644 --- a/pandas/tests/resample/test_resample_api.py +++ b/pandas/tests/resample/test_resample_api.py @@ -16,38 +16,43 @@ import pandas._testing as tm from pandas.core.indexes.dat...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/53750
2023-06-20T20:59:12Z
2023-06-21T00:40:34Z
2023-06-21T00:40:34Z
2023-06-21T00:40:37Z
Backport PR #53651 on branch 2.0.x (BUG: convert_dtype(dtype_backend=nullable_numpy) with ArrowDtype)
diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index 7b6363a094d00..bba149c2b778b 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -21,6 +21,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ +- Bug in :func:`DataFrame.convert_dtype` and :func:`Series.convert...
Backport PR #53651: BUG: convert_dtype(dtype_backend=nullable_numpy) with ArrowDtype
https://api.github.com/repos/pandas-dev/pandas/pulls/53749
2023-06-20T20:50:11Z
2023-06-21T16:05:42Z
2023-06-21T16:05:42Z
2023-06-21T16:05:43Z
Backport PR #53505 on branch 2.0.x (BUG: reindex with expansion and non-nanosecond dtype)
diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index 7b6363a094d00..0f56f203a5802 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -22,6 +22,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ - Bug in :func:`RangeIndex.union` when using ``sort=True`` with anot...
Backport PR #53505: BUG: reindex with expansion and non-nanosecond dtype
https://api.github.com/repos/pandas-dev/pandas/pulls/53748
2023-06-20T20:45:24Z
2023-06-20T22:38:33Z
2023-06-20T22:38:33Z
2023-06-20T22:38:34Z
BUG / CoW: Series.transform not respecting CoW
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 44691e4265f5b..140e9d5b2205b 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -19,6 +19,7 @@ Enhancements Copy-on-Write improvements ^^^^^^^^^^^^^^^^^^^^^^^^^^ +- :meth:`Series.transform` not respec...
- [x] xref #49473 (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/53747
2023-06-20T20:35:15Z
2023-06-21T14:49:21Z
2023-06-21T14:49:21Z
2023-08-14T17:02:15Z
ENH / CoW: Add lazy copy to eval
diff --git a/doc/source/user_guide/copy_on_write.rst b/doc/source/user_guide/copy_on_write.rst index e2e7dfa42d115..59bdb1926895f 100644 --- a/doc/source/user_guide/copy_on_write.rst +++ b/doc/source/user_guide/copy_on_write.rst @@ -211,6 +211,7 @@ following methods: - :meth:`DataFrame.astype` / :meth:`Series.astype...
- [x] xref #49473 (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/53746
2023-06-20T20:16:03Z
2023-06-29T10:37:00Z
2023-06-29T10:37:00Z
2023-06-29T10:37:13Z
TST / CoW: Add test for mask
diff --git a/pandas/tests/copy_view/test_methods.py b/pandas/tests/copy_view/test_methods.py index 3af47d0b37338..deebb6cb6fdf3 100644 --- a/pandas/tests/copy_view/test_methods.py +++ b/pandas/tests/copy_view/test_methods.py @@ -1428,11 +1428,18 @@ def test_putmask_dont_copy_some_blocks(using_copy_on_write, val, exp): ...
- [x] xref #49473 (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/53745
2023-06-20T20:02:20Z
2023-06-25T20:44:00Z
2023-06-25T20:44:00Z
2023-06-25T20:44:04Z
BUG: df constructor not copying ea backed series
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 7b9efd7f593dd..841b987c9b198 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -510,6 +510,7 @@ Sparse ExtensionArray ^^^^^^^^^^^^^^ +- Bug in :class:`DataFrame` constructor not copying :class:`Serie...
- [ ] 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/53744
2023-06-20T18:56:41Z
2023-06-28T12:51:15Z
2023-06-28T12:51:15Z
2023-06-28T12:52:54Z
CI: Test Python 3.12
diff --git a/.circleci/config.yml b/.circleci/config.yml index dfaade1d69c75..ac9db5f451bf3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -47,8 +47,8 @@ jobs: - run: name: Build aarch64 wheels command: | - pip3 install cibuildwheel==2.12.1 - cibui...
- [ ] xref #53665 (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/53743
2023-06-20T18:29:47Z
2023-07-25T23:36:26Z
2023-07-25T23:36:26Z
2023-09-15T21:58:18Z
CLN: assorted
diff --git a/pandas/_libs/groupby.pyx b/pandas/_libs/groupby.pyx index 0baae23a4a71c..501d572c6623c 100644 --- a/pandas/_libs/groupby.pyx +++ b/pandas/_libs/groupby.pyx @@ -950,7 +950,7 @@ def group_skew( isna_entry = _treat_as_na(val, False) if not isna_entry: - ...
- [ ] 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/53742
2023-06-20T17:42:46Z
2023-06-22T16:43:54Z
2023-06-22T16:43:54Z
2023-06-22T16:54:22Z
DOC: Fixing EX01 - Added examples
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 965a5ae5cbd50..ba511e9dc4c55 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -105,16 +105,11 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.errors.UnsupportedFunctionCall \ pandas.test \ pandas.NaT \ - ...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875
https://api.github.com/repos/pandas-dev/pandas/pulls/53741
2023-06-20T16:45:22Z
2023-06-21T09:32:53Z
2023-06-21T09:32:53Z
2023-06-21T09:59:08Z
ENH: Include `df.attrs` metadata in `to_csv` output
diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml index 4ad2fbc71c8c1..f6c35decfd30b 100644 --- a/.github/workflows/code-checks.yml +++ b/.github/workflows/code-checks.yml @@ -77,6 +77,7 @@ jobs: - name: Install pandas in editable mode id: build-editable + if: ${{ ste...
- [ ] closes #53577 - [ ] [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/53740
2023-06-20T15:47:38Z
2023-06-23T15:35:10Z
null
2023-06-23T15:37:53Z
BUG: resampling empty series loses time zone from dtype
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index d9cdc8beaebea..35566f8b63a19 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -457,6 +457,7 @@ Plotting Groupby/resample/rolling ^^^^^^^^^^^^^^^^^^^^^^^^ - Bug in :meth:`DataFrame.resample` and :meth...
- [x] Closes #53664 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) - [x] Added an entry in the latest `doc/source...
https://api.github.com/repos/pandas-dev/pandas/pulls/53736
2023-06-20T06:21:20Z
2023-06-20T17:15:34Z
2023-06-20T17:15:34Z
2023-06-28T05:40:27Z
DOC: Add code-formatting and cross-reference links to `read_csv` docstring
diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index ad9e5b646371e..153899e023137 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -96,12 +96,12 @@ URL schemes include http, ftp, s3, gs, and file. For file URLs, a host is expected. A local file could be...
- [x] Toward #53674 (specifically for `pandas.read_csv` for now). - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Added code formatting where applicable and added sphinx cross-referencing tags for any `pandas` classes or functions. Also cl...
https://api.github.com/repos/pandas-dev/pandas/pulls/53735
2023-06-20T03:35:52Z
2023-06-23T16:45:33Z
2023-06-23T16:45:33Z
2023-07-13T15:16:14Z
Backport PR #53727 on branch 2.0.x (CI: fix pytest scripts)
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 888092e2057e1..b0b176feca2bb 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -230,7 +230,7 @@ jobs: /opt/python/cp38-cp38/bin/python -m venv ~/virtualenvs/pandas-dev . ~/v...
backports #53727 (cherry picked from commit 3fb757beb6ca6bb30007ba1db130cc83f27f9363) - [ ] 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 featu...
https://api.github.com/repos/pandas-dev/pandas/pulls/53732
2023-06-19T19:33:22Z
2023-06-20T11:18:28Z
2023-06-20T11:18:28Z
2023-06-20T11:18:28Z
ENH: Add separate numba kernels for groupby aggregations
diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py index 334fcdd1d45df..b206523dfe851 100644 --- a/asv_bench/benchmarks/groupby.py +++ b/asv_bench/benchmarks/groupby.py @@ -586,12 +586,8 @@ class GroupByCythonAgg: [ "sum", "prod", - # TODO: uncom...
- [ ] 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/53731
2023-06-19T17:51:39Z
2023-08-10T20:57:14Z
2023-08-10T20:57:14Z
2023-08-10T20:59:44Z
CI: fix numba typing
diff --git a/pandas/core/_numba/kernels/mean_.py b/pandas/core/_numba/kernels/mean_.py index 8774ff72af852..2903c7d81bbc0 100644 --- a/pandas/core/_numba/kernels/mean_.py +++ b/pandas/core/_numba/kernels/mean_.py @@ -101,7 +101,7 @@ def sliding_mean( neg_ct, compensation_add, ...
- [ ] 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/53730
2023-06-19T17:40:40Z
2023-06-20T11:05:03Z
2023-06-20T11:05:03Z
2023-06-20T11:06:01Z
ENH: EA.fillna copy=True
diff --git a/pandas/core/arrays/_mixins.py b/pandas/core/arrays/_mixins.py index d399b4780a938..365f85a908099 100644 --- a/pandas/core/arrays/_mixins.py +++ b/pandas/core/arrays/_mixins.py @@ -296,7 +296,9 @@ def _fill_mask_inplace( func(self._ndarray.T, limit=limit, mask=mask.T) @doc(ExtensionArray.fil...
- [ ] 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/53728
2023-06-19T16:56:57Z
2023-07-26T09:07:54Z
2023-07-26T09:07:54Z
2023-07-26T14:08:28Z
CI: fix `pytest scripts`
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 541b36d9b4c1d..bd104af4a8d9e 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -230,7 +230,7 @@ jobs: /opt/python/cp39-cp39/bin/python -m venv ~/virtualenvs/pandas-dev . ~/v...
seems that ```python def pytest_addoption(parser): parser.addoption( "--strict-data-files", action="store_true", help="Unused. For compat with setup.cfg.", ) ``` isn't needed anymore, and actually errors now: ```python ValueError: option names {'--strict-data-files'} already a...
https://api.github.com/repos/pandas-dev/pandas/pulls/53727
2023-06-19T15:39:02Z
2023-06-19T19:31:42Z
2023-06-19T19:31:42Z
2023-06-27T07:49:35Z
CI: ignore experimental warnings from numba
diff --git a/doc/source/user_guide/window.rst b/doc/source/user_guide/window.rst index 01bf999a1f99f..ea80a2804256c 100644 --- a/doc/source/user_guide/window.rst +++ b/doc/source/user_guide/window.rst @@ -89,6 +89,7 @@ For example, a `weighted mean <https://en.wikipedia.org/wiki/Weighted_arithmetic be calculated with ...
- [ ] 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/53726
2023-06-19T15:32:06Z
2023-06-19T17:14:34Z
2023-06-19T17:14:34Z
2023-06-19T18:24:49Z
DOC: Fixing EX01 - Added examples
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index ba511e9dc4c55..693017c6715ae 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -105,11 +105,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.errors.UnsupportedFunctionCall \ pandas.test \ pandas.NaT \ - ...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875 Partially fixing https://github.com/pandas-dev/pandas/issues/53668
https://api.github.com/repos/pandas-dev/pandas/pulls/53725
2023-06-19T14:34:54Z
2023-06-21T13:49:07Z
2023-06-21T13:49:07Z
2023-06-21T14:16:11Z
TST: add test for reindexing rows with matching index uses shallow copy with CoW
diff --git a/pandas/tests/copy_view/test_methods.py b/pandas/tests/copy_view/test_methods.py index 67fc91e0567ef..3af47d0b37338 100644 --- a/pandas/tests/copy_view/test_methods.py +++ b/pandas/tests/copy_view/test_methods.py @@ -367,6 +367,36 @@ def test_reindex_columns(using_copy_on_write): tm.assert_frame_equal(...
xref https://github.com/pandas-dev/pandas/issues/49473 This was already working, but I think it was not yet explicitly tested (at least not in the specific `copy_view` tests). And this addresses a TODO note in https://github.com/pandas-dev/pandas/issues/49473
https://api.github.com/repos/pandas-dev/pandas/pulls/53723
2023-06-19T11:54:08Z
2023-06-19T19:47:20Z
2023-06-19T19:47:20Z
2023-06-20T07:32:42Z
API / CoW: shallow copy of DataFrame/Series (.copy(deep=False)) also returns shallow copy of the index/columns
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 89b79d2e04194..e193213db12a9 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -65,6 +65,10 @@ Copy-on-Write improvements - The :class:`DataFrame` constructor, when constructing a DataFrame from a dicti...
Broken off a subset of https://github.com/pandas-dev/pandas/pull/53699, only focusing on the behaviour of `df.copy(deep=False)` (i.e. a "shallow copy"). And address the `copy(deep=False)` part of https://github.com/pandas-dev/pandas/issues/53721. Currently, a shallow copy of a DataFrame/Series only creates a new Dat...
https://api.github.com/repos/pandas-dev/pandas/pulls/53722
2023-06-19T11:05:20Z
2023-08-04T16:53:45Z
2023-08-04T16:53:45Z
2023-11-17T13:18:58Z
BUG: Aggregation on arrow array return same type
diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py index 9f7c0b3e36032..d9ef4da57cd36 100644 --- a/pandas/core/dtypes/cast.py +++ b/pandas/core/dtypes/cast.py @@ -467,13 +467,19 @@ def maybe_cast_pointwise_result( # TODO: avoid this special-casing # We have to special case ca...
- [ ] closes #53030 (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/53717
2023-06-19T06:41:59Z
2023-10-22T19:54:55Z
null
2023-10-22T19:54:56Z
Backport PR #53715: CI: Adjust tests for release of numpy 1.25
diff --git a/pandas/compat/numpy/__init__.py b/pandas/compat/numpy/__init__.py index d747f20b8499f..0d86a63f6dbda 100644 --- a/pandas/compat/numpy/__init__.py +++ b/pandas/compat/numpy/__init__.py @@ -11,6 +11,7 @@ np_version_gte1p22 = _nlv >= Version("1.22") np_version_gte1p24 = _nlv >= Version("1.24") np_version_g...
- [ ] 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/53716
2023-06-18T18:53:22Z
2023-06-19T03:10:55Z
2023-06-19T03:10:55Z
2023-06-19T03:10:56Z
CI: Adjust tests for release of numpy 1.25
diff --git a/pandas/compat/numpy/__init__.py b/pandas/compat/numpy/__init__.py index 97c434d8f35d0..d5dad2b8dc4bd 100644 --- a/pandas/compat/numpy/__init__.py +++ b/pandas/compat/numpy/__init__.py @@ -9,6 +9,7 @@ np_version_under1p22 = _nlv < Version("1.22") np_version_gte1p24 = _nlv >= Version("1.24") np_version_gt...
- [ ] 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/53715
2023-06-18T16:35:32Z
2023-06-18T18:31:18Z
2023-06-18T18:31:18Z
2023-06-18T18:53:16Z
PDEP-12: compact-and-reversible-JSON-interface.md
diff --git a/web/pandas/pdeps/0012-compact-and-reversible-JSON-interface.md b/web/pandas/pdeps/0012-compact-and-reversible-JSON-interface.md new file mode 100644 index 0000000000000..4fe4b935f144b --- /dev/null +++ b/web/pandas/pdeps/0012-compact-and-reversible-JSON-interface.md @@ -0,0 +1,437 @@ +# PDEP-12: Compact an...
- [X] linked to #53252 This new PDEP is proposed on the [advise](https://github.com/pandas-dev/pandas/issues/53252#issuecomment-1578636264) of [Dr-Irv](https://github.com/Dr-Irv)
https://api.github.com/repos/pandas-dev/pandas/pulls/53714
2023-06-18T13:34:10Z
2023-10-02T16:04:16Z
2023-10-02T16:04:16Z
2023-10-06T07:41:41Z
DEPR: Deprecate DataFrame.last and Series.last
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 44691e4265f5b..313f2fc728eab 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -288,6 +288,7 @@ Deprecations - Deprecated :func:`value_counts`, use ``pd.Series(obj).value_counts()`` instead (:issue:`478...
- [X] closes #53692 - [ ] [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/53710
2023-06-17T16:40:50Z
2023-06-21T14:27:02Z
2023-06-21T14:27:02Z
2023-06-21T14:27:03Z
BUG: period_range gives incorrect output
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index e2f0904a78cf9..81bd6758231fd 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -518,6 +518,7 @@ Other - Bug in :meth:`Series.align`, :meth:`DataFrame.align`, :meth:`Series.reindex`, :meth:`DataFrame.rei...
- [x] closes #53687 - [x] [Tests added and passed] - [x] All [code checks passed] - [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file
https://api.github.com/repos/pandas-dev/pandas/pulls/53709
2023-06-17T13:32:41Z
2023-07-10T17:54:12Z
2023-07-10T17:54:12Z
2023-07-10T17:54:19Z
CoW: Return read-only array in Index.values
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index d9cdc8beaebea..47bfee5858f38 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -19,6 +19,7 @@ Enhancements Copy-on-Write improvements ^^^^^^^^^^^^^^^^^^^^^^^^^^ +- Calling :meth:`Index.values` will n...
- [ ] 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/53704
2023-06-16T22:10:43Z
2023-06-20T11:35:04Z
2023-06-20T11:35:04Z
2023-06-20T15:11:05Z
BUG: IntervalIndex.get_indexer raising for read only array
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index e2f0904a78cf9..997ddff91969e 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -400,7 +400,7 @@ Strings Interval ^^^^^^^^ -- +- :meth:`pd.IntervalIndex.get_indexer` and :meth:`pd.IntervalIndex.get_in...
- [ ] 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/53703
2023-06-16T20:29:18Z
2023-06-19T20:07:39Z
2023-06-19T20:07:39Z
2023-06-19T20:07:47Z
BUG: concat coercing arrow to object with null type
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index e2f0904a78cf9..becbff2ae4502 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -471,6 +471,7 @@ Groupby/resample/rolling Reshaping ^^^^^^^^^ +- Bug in :func:`concat` coercing to ``object`` dtype when...
- [ ] 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/53702
2023-06-16T20:15:52Z
2023-06-20T17:37:31Z
2023-06-20T17:37:30Z
2023-06-20T18:24:48Z
Fixed #52234
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 4dbaf65c9e7ab..430b92e2e3025 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -422,6 +422,7 @@ Indexing ^^^^^^^^ - Bug in :meth:`DataFrame.__setitem__` losing dtype when setting a :class:`DataFrame` i...
* Copied fix from https://github.com/ltauro/pandas/tree/nan-not-in-index and applied review comments - [x] closes #52234 - [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 pass...
https://api.github.com/repos/pandas-dev/pandas/pulls/53698
2023-06-16T08:05:08Z
2023-06-23T17:38:53Z
2023-06-23T17:38:53Z
2023-06-23T17:39:00Z
PERF: concatenation of MultiIndexed objects (MultiIndex.append)
diff --git a/asv_bench/benchmarks/multiindex_object.py b/asv_bench/benchmarks/multiindex_object.py index 9c997b5386eaa..87dcdb16fa647 100644 --- a/asv_bench/benchmarks/multiindex_object.py +++ b/asv_bench/benchmarks/multiindex_object.py @@ -396,4 +396,30 @@ def time_putmask_all_different(self): self.midx.putma...
- [x] closes #53574 - [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/53697
2023-06-16T00:43:52Z
2023-06-20T17:52:52Z
2023-06-20T17:52:52Z
2023-07-12T23:44:51Z
CI: Pin pandas-gbq above 0.15 to get rid of warnings on 2.0.x
diff --git a/ci/deps/circle-310-arm64.yaml b/ci/deps/circle-310-arm64.yaml index a9ac1c98377e7..6dae236a5a2a7 100644 --- a/ci/deps/circle-310-arm64.yaml +++ b/ci/deps/circle-310-arm64.yaml @@ -38,7 +38,7 @@ dependencies: - numexpr - openpyxl<3.1.1 - odfpy - - pandas-gbq + - pandas-gbq>=0.15.0 - psycopg2 ...
- [ ] 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/53693
2023-06-15T22:12:12Z
2023-06-18T14:12:23Z
2023-06-18T14:12:22Z
2023-06-18T14:12:24Z
Backport PR #53672 on branch 2.0.x (BUG/CoW: is_range_indexer can't handle very large arrays)
diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index 3da469c2e1fe6..7b6363a094d00 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -24,7 +24,7 @@ Bug fixes - Bug in :func:`RangeIndex.union` when using ``sort=True`` with another :class:`RangeIndex` (:issu...
- [ ] 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/53691
2023-06-15T17:30:12Z
2023-06-15T22:07:42Z
2023-06-15T22:07:42Z
2023-06-15T22:07:50Z
DOC: Move Whatsnew for CoW fix
diff --git a/doc/source/whatsnew/v2.0.3.rst b/doc/source/whatsnew/v2.0.3.rst index 3da469c2e1fe6..a854906c6abdd 100644 --- a/doc/source/whatsnew/v2.0.3.rst +++ b/doc/source/whatsnew/v2.0.3.rst @@ -24,6 +24,7 @@ Bug fixes - Bug in :func:`RangeIndex.union` when using ``sort=True`` with another :class:`RangeIndex` (:issu...
- [ ] 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/53690
2023-06-15T17:24:30Z
2023-06-15T22:08:07Z
2023-06-15T22:08:07Z
2023-06-15T22:08:09Z
DOC: Fixing EX01 - Added examples
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index f63cc1fcc5767..965a5ae5cbd50 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -105,10 +105,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.errors.UnsupportedFunctionCall \ pandas.test \ pandas.NaT \ - ...
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Towards https://github.com/pandas-dev/pandas/issues/37875 Partially fixing https://github.com/pandas-dev/pandas/issues/53668
https://api.github.com/repos/pandas-dev/pandas/pulls/53689
2023-06-15T16:17:57Z
2023-06-20T15:14:48Z
2023-06-20T15:14:48Z
2023-06-20T16:45:56Z
TST: Add test for duplcated columns and usecols GH#11823
diff --git a/pandas/tests/io/parser/test_mangle_dupes.py b/pandas/tests/io/parser/test_mangle_dupes.py index 5709e7e4027e8..4acbb82a5f23f 100644 --- a/pandas/tests/io/parser/test_mangle_dupes.py +++ b/pandas/tests/io/parser/test_mangle_dupes.py @@ -163,3 +163,14 @@ def test_mangle_dupe_cols_already_exists_unnamed_col(a...
- [ ] closes #11823 (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/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/53683
2023-06-15T09:44:59Z
2023-06-20T17:55:23Z
2023-06-20T17:55:23Z
2023-06-20T23:40:51Z
BUG: series with complex nan
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 137be168985d2..0f246e58ed016 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -511,6 +511,7 @@ Metadata Other ^^^^^ +- Bug in :class:`DataFrame` and :class:`Series` raising for data of complex dtype...
- [x] Closes #53627 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) - [x] Added an entry in the latest `doc/source...
https://api.github.com/repos/pandas-dev/pandas/pulls/53682
2023-06-15T09:16:52Z
2023-06-20T17:57:46Z
2023-06-20T17:57:46Z
2023-06-28T05:40:45Z
BUG: inconsistent behavior of DateOffset #47953
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 2436d91690ed3..4dbaf65c9e7ab 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -361,6 +361,7 @@ Categorical Datetimelike ^^^^^^^^^^^^ - :meth:`DatetimeIndex.map` with ``na_action="ignore"`` now works ...
- [x] closes #47953 - [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/53681
2023-06-15T06:36:50Z
2023-06-23T15:15:00Z
2023-06-23T15:15:00Z
2023-06-23T15:15:01Z