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
Backport PR #54625 on branch 2.1.x (BUG: Fix error in printing timezone series)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 7dd2fb570c695..7b0c120c3bbdb 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -667,6 +667,7 @@ Datetimelike - Bug in constructing a :class:`Timestamp` from a string representing a time without a date i...
Backport PR #54625: BUG: Fix error in printing timezone series
https://api.github.com/repos/pandas-dev/pandas/pulls/54698
2023-08-22T23:55:34Z
2023-08-23T02:42:30Z
2023-08-23T02:42:30Z
2023-08-23T02:42:30Z
Backport PR #54694 on branch 2.1.x (MAINT: Remove `np.in1d` function calls)
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index 06da747a450ee..0a9c1aad46f89 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -518,9 +518,9 @@ def isin(comps: ListLike, values: ListLike) -> npt.NDArray[np.bool_]: return isin(np.asarray(comps_array), np.asarray(...
Backport PR #54694: MAINT: Remove `np.in1d` function calls
https://api.github.com/repos/pandas-dev/pandas/pulls/54697
2023-08-22T22:51:35Z
2023-08-23T00:15:40Z
2023-08-23T00:15:40Z
2023-08-23T00:15:40Z
DOC: fix an example which raises an Error in v0.13.0.rst
diff --git a/doc/source/whatsnew/v0.13.0.rst b/doc/source/whatsnew/v0.13.0.rst index c60a821968c0c..540e1d23814ff 100644 --- a/doc/source/whatsnew/v0.13.0.rst +++ b/doc/source/whatsnew/v0.13.0.rst @@ -537,7 +537,6 @@ Enhancements is frequency conversion. See :ref:`the docs<timedeltas.timedeltas_convert>` for the doc...
Fix an example in doc/source/whatsnew/v0.13.0.rst, which raises an Error (see https://pandas.pydata.org/docs/dev/whatsnew/v0.13.0.html#enhancements)
https://api.github.com/repos/pandas-dev/pandas/pulls/54696
2023-08-22T22:29:15Z
2023-08-23T15:43:58Z
2023-08-23T15:43:58Z
2023-08-23T15:44:05Z
MAINT: Remove `np.in1d` function calls
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index 06da747a450ee..0a9c1aad46f89 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -518,9 +518,9 @@ def isin(comps: ListLike, values: ListLike) -> npt.NDArray[np.bool_]: return isin(np.asarray(comps_array), np.asarray(...
Hi! This PR changes `np.in1d` calls to `np.isin` as `np.in1d` is being made private in https://github.com/numpy/numpy/pull/24445. I wasn't sure if arrays passed to it are surely 1d, therefore I called `.ravel()` to fully reproduce `in1d` behavior. If any of these lines actually operate on 1d arrays, then `isin` and...
https://api.github.com/repos/pandas-dev/pandas/pulls/54694
2023-08-22T20:14:05Z
2023-08-22T22:50:27Z
2023-08-22T22:50:27Z
2023-08-23T07:06:42Z
Backport PR #54566 on branch 2.1.x (ENH: support Index.any/all with float, timedelta64 dtypes)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..d5c8a4974345c 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -265,6 +265,7 @@ Other enhancements - Many read/to_* functions, such as :meth:`DataFrame.to_pickle` and :func:`read_csv`, s...
Backport PR #54566: ENH: support Index.any/all with float, timedelta64 dtypes
https://api.github.com/repos/pandas-dev/pandas/pulls/54693
2023-08-22T19:08:48Z
2023-08-22T21:18:15Z
2023-08-22T21:18:15Z
2023-08-22T21:18:16Z
Backport PR #54670 on branch 2.1.x (BUG: drop_duplicates raising for boolean arrow dtype with missing values)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..bff026d27dbce 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -626,6 +626,7 @@ Performance improvements - Performance improvement in :meth:`DataFrame.transpose` when transposing a DataF...
Backport PR #54670: BUG: drop_duplicates raising for boolean arrow dtype with missing values
https://api.github.com/repos/pandas-dev/pandas/pulls/54692
2023-08-22T18:48:31Z
2023-08-22T20:41:59Z
2023-08-22T20:41:59Z
2023-08-22T20:41:59Z
Backport PR #54685 on branch 2.1.x (ENH: support integer bitwise ops in ArrowExtensionArray)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..9341237acfaa1 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -268,6 +268,7 @@ Other enhancements - :meth:`Series.cummax`, :meth:`Series.cummin` and :meth:`Series.cumprod` are now suppo...
Backport PR #54685: ENH: support integer bitwise ops in ArrowExtensionArray
https://api.github.com/repos/pandas-dev/pandas/pulls/54691
2023-08-22T18:23:01Z
2023-08-22T20:41:48Z
2023-08-22T20:41:48Z
2023-08-22T20:41:48Z
BUG: inaccurate Index._can_hold_na
diff --git a/pandas/core/arrays/interval.py b/pandas/core/arrays/interval.py index 3263dd73fe4dc..9c2e85c4df564 100644 --- a/pandas/core/arrays/interval.py +++ b/pandas/core/arrays/interval.py @@ -764,7 +764,7 @@ def _cmp_method(self, other, op): if self.closed != other.categories.closed: ...
- [x] closes #45720 (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/54690
2023-08-22T16:04:38Z
2023-08-22T19:04:36Z
2023-08-22T19:04:36Z
2023-08-22T19:21:11Z
Backport PR #54510 on branch 2.1.x (Speed up StringDtype arrow implementation for merge)
diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py index 6987a0ac7bf6b..c2cb9d643ca87 100644 --- a/pandas/core/reshape/merge.py +++ b/pandas/core/reshape/merge.py @@ -90,6 +90,7 @@ ExtensionArray, ) from pandas.core.arrays._mixins import NDArrayBackedExtensionArray +from pandas.core.arrays....
Backport PR #54510: Speed up StringDtype arrow implementation for merge
https://api.github.com/repos/pandas-dev/pandas/pulls/54689
2023-08-22T15:05:52Z
2023-08-22T18:11:28Z
2023-08-22T18:11:27Z
2023-08-22T18:11:28Z
Backport PR #54678 on branch 2.1.x (COMPAT: Workaround invalid PyArrow duration conversion)
diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py index 3c65e6b4879e2..43320cf68cbec 100644 --- a/pandas/core/arrays/arrow/array.py +++ b/pandas/core/arrays/arrow/array.py @@ -952,6 +952,9 @@ def convert_fill_value(value, pa_type, dtype): return value if is...
Backport PR #54678: COMPAT: Workaround invalid PyArrow duration conversion
https://api.github.com/repos/pandas-dev/pandas/pulls/54688
2023-08-22T13:37:34Z
2023-08-22T18:11:14Z
2023-08-22T18:11:14Z
2023-08-22T18:11:14Z
BUG: Fix astype str issue 54654
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 9eb5bbc8f07d5..3abe96e5241f1 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -326,6 +326,7 @@ Numeric Conversion ^^^^^^^^^^ +- Bug in :func:`astype` when called with ``str`` on unpickled array - th...
- [x] closes #54654 - [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/54687
2023-08-22T11:15:16Z
2023-10-29T17:22:56Z
2023-10-29T17:22:56Z
2023-10-29T17:23:05Z
ENH: support integer bitwise ops in ArrowExtensionArray
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..9341237acfaa1 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -268,6 +268,7 @@ Other enhancements - :meth:`Series.cummax`, :meth:`Series.cummin` and :meth:`Series.cumprod` are now suppo...
- [x] closes #54495 - [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/54685
2023-08-22T10:34:01Z
2023-08-22T18:22:53Z
2023-08-22T18:22:53Z
2023-09-06T00:54:08Z
DOC: Fix inacurate documentation info (#54547)
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index cf60717011222..9777ced2b209d 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -12340,9 +12340,6 @@ def last_valid_index(self) -> Hashable | None: Axis for the function to be applied on. For `Series` this parameter is unused ...
- [ ] closes #54547 - [ ] 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/54684
2023-08-22T10:11:55Z
2023-08-22T18:24:46Z
null
2023-08-22T19:00:27Z
DOC: fix an example which raised a KeyError in v0.11.0.rst
diff --git a/doc/source/whatsnew/v0.11.0.rst b/doc/source/whatsnew/v0.11.0.rst index aa83e7933a444..f05cbc7f07d7d 100644 --- a/doc/source/whatsnew/v0.11.0.rst +++ b/doc/source/whatsnew/v0.11.0.rst @@ -367,15 +367,27 @@ Enhancements - You can now select with a string from a DataFrame with a datelike index, in a sim...
Fix an example in doc/source/whatsnew/v0.11.0.rst, which raises a KeyError (see https://pandas.pydata.org/docs/whatsnew/v0.11.0.html#enhancements)
https://api.github.com/repos/pandas-dev/pandas/pulls/54683
2023-08-22T08:46:01Z
2023-08-22T12:39:51Z
2023-08-22T12:39:51Z
2023-08-22T12:42:18Z
Bug Fix for documentation: 54547
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index cf60717011222..9777ced2b209d 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -12340,9 +12340,6 @@ def last_valid_index(self) -> Hashable | None: Axis for the function to be applied on. For `Series` this parameter is unused ...
Updating documents based on suggestions. Bug: https://github.com/pandas-dev/pandas/issues/54547 - [ ] 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 a...
https://api.github.com/repos/pandas-dev/pandas/pulls/54681
2023-08-22T05:44:38Z
2023-09-18T17:11:38Z
null
2023-09-18T17:11:39Z
DOC: add url variable for link attribution in HTML section of io.rts
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 93294d3cbdcfe..fb3e1ba32228c 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -2448,7 +2448,7 @@ Read a URL with no options: .. code-block:: ipython - In [320]: "https://www.fdic.gov/resources/resolution...
The url variable was not created. I fixed.
https://api.github.com/repos/pandas-dev/pandas/pulls/54680
2023-08-22T01:10:06Z
2023-08-22T18:34:58Z
2023-08-22T18:34:57Z
2023-08-22T19:09:40Z
Incorrect reading of CSV containing large integers Issue#52505
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 6fdffb4d78341..138be2457d718 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -139,7 +139,7 @@ Timezones Numeric ^^^^^^^ -- +- Bug in :func:`read_csv` with ``engine="pyarrow"`` causing rounding erro...
- [ ] closes #52505 - [ ] 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/54679
2023-08-21T23:20:25Z
2023-08-24T16:25:53Z
2023-08-24T16:25:53Z
2023-08-24T16:26:01Z
COMPAT: Workaround invalid PyArrow duration conversion
diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py index 3c65e6b4879e2..43320cf68cbec 100644 --- a/pandas/core/arrays/arrow/array.py +++ b/pandas/core/arrays/arrow/array.py @@ -952,6 +952,9 @@ def convert_fill_value(value, pa_type, dtype): return value if is...
- [x] closes #54650 (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/54678
2023-08-21T23:03:04Z
2023-08-22T13:36:22Z
2023-08-22T13:36:22Z
2023-08-22T16:39:32Z
REF: use single-test-class for datetimetz, period tests
diff --git a/pandas/tests/extension/base/accumulate.py b/pandas/tests/extension/base/accumulate.py index 4648f66112e80..776ff80cd6e17 100644 --- a/pandas/tests/extension/base/accumulate.py +++ b/pandas/tests/extension/base/accumulate.py @@ -16,7 +16,12 @@ def _supports_accumulation(self, ser: pd.Series, op_name: str) -...
- [ ] 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/54676
2023-08-21T22:15:38Z
2023-08-22T22:47:44Z
2023-08-22T22:47:44Z
2023-08-22T23:13:03Z
Smcbeth/series write parquet
diff --git a/pandas/core/series.py b/pandas/core/series.py index 564c799d7ab66..51e5e43c65645 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -1874,6 +1874,125 @@ def to_markdown( buf, mode=mode, index=index, storage_options=storage_options, **kwargs ) + @overload + def 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/54675
2023-08-21T21:43:09Z
2023-08-25T18:02:23Z
null
2023-08-25T18:02:23Z
adding to_parquet to the Series class and modifying the write methods…
diff --git a/pandas/core/series.py b/pandas/core/series.py index 564c799d7ab66..5c72360dc0864 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -348,7 +348,7 @@ class Series(base.IndexOpsMixin, NDFrame): # type: ignore[misc] _internal_names_set = {"index", "name"} | NDFrame._internal_names_set ...
… of the parquet engines to take either series or dfs - [ ] 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://api.github.com/repos/pandas-dev/pandas/pulls/54674
2023-08-21T21:17:47Z
2023-08-21T21:18:45Z
null
2023-08-21T21:39:50Z
CLN: assorted
diff --git a/pandas/core/array_algos/take.py b/pandas/core/array_algos/take.py index 8ea70e2694d92..ac674e31586e7 100644 --- a/pandas/core/array_algos/take.py +++ b/pandas/core/array_algos/take.py @@ -66,8 +66,7 @@ def take_nd( """ Specialized Cython take which sets NaN values in one pass - This dispatch...
- [ ] 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/54673
2023-08-21T21:04:15Z
2023-08-22T18:43:01Z
2023-08-22T18:43:01Z
2023-08-22T19:19:29Z
Backport PR #54496 on branch 2.1.x (Fix inference for fixed with numpy strings with arrow string option)
diff --git a/pandas/core/construction.py b/pandas/core/construction.py index 5757c69bb6ec7..f733ba3b445fd 100644 --- a/pandas/core/construction.py +++ b/pandas/core/construction.py @@ -19,6 +19,8 @@ import numpy as np from numpy import ma +from pandas._config import using_pyarrow_string_dtype + from pandas._libs i...
Backport PR #54496: Fix inference for fixed with numpy strings with arrow string option
https://api.github.com/repos/pandas-dev/pandas/pulls/54672
2023-08-21T19:59:34Z
2023-08-21T23:06:13Z
2023-08-21T23:06:13Z
2023-08-21T23:06:14Z
BUG: drop_duplicates raising for boolean arrow dtype with missing values
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..bff026d27dbce 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -626,6 +626,7 @@ Performance improvements - Performance improvement in :meth:`DataFrame.transpose` when transposing a DataF...
- [x] closes #54667 (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/54670
2023-08-21T19:33:16Z
2023-08-22T18:48:23Z
2023-08-22T18:48:23Z
2023-08-22T18:50:31Z
Backport PR #54641 on branch 2.1.x (BUG: getitem indexing wrong axis)
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index ca0b1705b5c38..a2871f364f092 100644 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -985,8 +985,9 @@ def _getitem_tuple_same_dim(self, tup: tuple): """ retval = self.obj # Selecting columns before rows is sign...
Backport PR #54641: BUG: getitem indexing wrong axis
https://api.github.com/repos/pandas-dev/pandas/pulls/54669
2023-08-21T18:44:31Z
2023-08-21T20:25:03Z
2023-08-21T20:25:03Z
2023-08-21T20:25:03Z
ENH: numba engine in df.apply
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index a795514aa31f8..3a4f9576eb135 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -28,7 +28,7 @@ enhancement2 Other enhancements ^^^^^^^^^^^^^^^^^^ -- +- DataFrame.apply now allows the usage of numba (v...
- [ ] 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/54666
2023-08-21T17:33:45Z
2023-09-11T16:34:04Z
2023-09-11T16:34:04Z
2023-09-11T19:25:46Z
REF: use can_use_libjoin more consistently, docstring for it
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index ee36a3515c4b3..96ff25a6bc423 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -373,9 +373,6 @@ def _left_indexer_unique(self, other: Self) -> npt.NDArray[np.intp]: # Caller is responsible for ensuring othe...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/54664
2023-08-21T16:34:06Z
2023-08-21T18:46:32Z
2023-08-21T18:46:32Z
2023-08-21T18:46:38Z
DEPR: BaseNoReduceTests
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 6fdffb4d78341..38c2956d1b137 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -100,7 +100,7 @@ Deprecations - Deprecated allowing non-keyword arguments in :meth:`DataFrame.to_pickle` except ``path``. (...
I'm really not interested in writing tests for the tests
https://api.github.com/repos/pandas-dev/pandas/pulls/54663
2023-08-21T15:39:59Z
2023-08-22T16:56:14Z
2023-08-22T16:56:14Z
2023-08-22T19:20:00Z
REF: remove is_simple_frame from json code
diff --git a/pandas/_libs/src/vendored/ujson/python/objToJSON.c b/pandas/_libs/src/vendored/ujson/python/objToJSON.c index 4a22de886742c..30b940726af0a 100644 --- a/pandas/_libs/src/vendored/ujson/python/objToJSON.c +++ b/pandas/_libs/src/vendored/ujson/python/objToJSON.c @@ -262,21 +262,6 @@ static Py_ssize_t get_attr...
cc @WillAyd the simple_frame path is kludgy, I expect fragile to non-numpy blocks. This just rips it out to simplify the code.
https://api.github.com/repos/pandas-dev/pandas/pulls/54662
2023-08-21T15:21:05Z
2023-08-21T20:26:51Z
2023-08-21T20:26:51Z
2023-08-21T20:28:27Z
Backport PR #54586 on branch 2.1.x (REF: Refactor conversion of na value)
diff --git a/pandas/tests/strings/__init__.py b/pandas/tests/strings/__init__.py index 9a7622b4f1cd8..496a2d095d85b 100644 --- a/pandas/tests/strings/__init__.py +++ b/pandas/tests/strings/__init__.py @@ -1,2 +1,12 @@ # Needed for new arrow string dtype + +import pandas as pd + object_pyarrow_numpy = ("object",) + + ...
Backport PR #54586: REF: Refactor conversion of na value
https://api.github.com/repos/pandas-dev/pandas/pulls/54658
2023-08-21T09:18:37Z
2023-08-21T17:57:50Z
2023-08-21T17:57:50Z
2023-08-21T17:57:50Z
BUG: _apply_rule() ignores tz info on an empty list of observances
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index b90563ba43d83..e122d06c75a71 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -113,6 +113,7 @@ Performance improvements Bug fixes ~~~~~~~~~ +- Bug in :class:`AbstractHolidayCalendar` where timezone ...
- [x] closes #54580 - [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/54655
2023-08-21T02:20:55Z
2023-08-22T22:51:54Z
2023-08-22T22:51:54Z
2023-08-22T22:52:01Z
DOC: fix build failure with sphinx 7 and SOURCE_DATE_EPOCH
diff --git a/doc/source/conf.py b/doc/source/conf.py index accbff596b12d..86d2494707ce2 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -162,7 +162,7 @@ # General information about the project. project = "pandas" # We have our custom "pandas_footer.html" template, using copyright for the current year -co...
When SOURCE_DATE_EPOCH is set (which is the default when building Debian packages), Sphinx 7 [**requires** a space or comma after the year in 'copyright'](https://sources.debian.org/src/sphinx/7.1.2-2/sphinx/config.py/#L444). [Debian bug report, with failure log](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=104...
https://api.github.com/repos/pandas-dev/pandas/pulls/54653
2023-08-20T21:30:35Z
2023-09-22T17:02:03Z
2023-09-22T17:02:03Z
2023-09-22T17:02:12Z
Removes None type from max_info_rows
diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py index 27e9bf8958ab0..1dc09388b698f 100644 --- a/pandas/core/config_init.py +++ b/pandas/core/config_init.py @@ -265,7 +265,7 @@ def use_numba_cb(key) -> None: """ pc_max_info_rows_doc = """ -: int or None +: int df.info() will usually show nu...
`max_info_rows` doesn't support `None` type. - [x] closes #54600 (Replace xxxx with the GitHub issue number)
https://api.github.com/repos/pandas-dev/pandas/pulls/54652
2023-08-20T18:42:53Z
2023-08-22T16:36:39Z
2023-08-22T16:36:39Z
2023-08-22T16:36:45Z
Updated documentation for pandas.DataFrame.map
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 282ecdcf31939..38e4ab0dc6df1 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -10129,7 +10129,12 @@ def map( 0 1 0 3 4 1 5 5 - + + >>> df.map(round, digits=2) + 0 1 + ...
closes issue #54648 by adding another example of the map method using a standard func, along with additional keyword arguments.
https://api.github.com/repos/pandas-dev/pandas/pulls/54649
2023-08-20T16:36:23Z
2023-09-18T17:10:28Z
null
2023-09-18T17:10:28Z
Add nan_count in Describe Functions with all conditions, made all request.
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 7da41b890598d..139c23643b2ca 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -11313,18 +11313,19 @@ def describe( DataFrame.mean: Mean of the values. DataFrame.std: Standard deviation of the observations. D...
Hey, I am Aditya tomar from India. I found an issue #54076. I added nan_count in describe function for dataframe, series and timestamps. Kindly request to you please check it out. for your feedback Mail : adityatomarsvnit@gmail.com
https://api.github.com/repos/pandas-dev/pandas/pulls/54647
2023-08-20T15:17:02Z
2023-09-18T17:11:13Z
null
2023-09-18T17:11:13Z
ENH: Add on_bad_lines for pyarrow
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 8eab623a2b5f7..85cf59dc7135b 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -73,6 +73,8 @@ enhancement2 Other enhancements ^^^^^^^^^^^^^^^^^^ + +- :func:`read_csv` now supports ``on_bad_lines`` pa...
- [x] closes #54480 - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] Update documentation This adds the `on_bad_lines` argument to the `pyarrow` engine for the `from_csv` parser that closely follows the behaviour of the `python` eng...
https://api.github.com/repos/pandas-dev/pandas/pulls/54643
2023-08-19T18:39:40Z
2023-09-22T23:46:32Z
2023-09-22T23:46:32Z
2023-09-22T23:46:39Z
improved explanation of linear interpolation in quantile
diff --git a/pandas/core/series.py b/pandas/core/series.py index 079366a942f8e..07a28d312781a 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -2683,8 +2683,10 @@ def quantile( This optional parameter specifies the interpolation method to use, when the desired quantile lies be...
- [ ] closes #51745
https://api.github.com/repos/pandas-dev/pandas/pulls/54642
2023-08-19T17:30:43Z
2023-09-18T17:10:57Z
null
2023-09-18T17:10:57Z
BUG: getitem indexing wrong axis
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index ca0b1705b5c38..a2871f364f092 100644 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -985,8 +985,9 @@ def _getitem_tuple_same_dim(self, tup: tuple): """ retval = self.obj # Selecting columns before rows is sign...
- [x] closes #54622 (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/54641
2023-08-19T14:54:10Z
2023-08-21T18:44:23Z
2023-08-21T18:44:23Z
2023-08-21T18:45:23Z
Rewording a sentance in tech docs
diff --git a/doc/source/user_guide/dsintro.rst b/doc/source/user_guide/dsintro.rst index d60532f5f4027..d1e981ee1bbdc 100644 --- a/doc/source/user_guide/dsintro.rst +++ b/doc/source/user_guide/dsintro.rst @@ -308,7 +308,7 @@ The row and column labels can be accessed respectively by accessing the From dict of ndarrays ...
I fixed a sentence grammatically to sound better. - [ ] 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 - [x] All [code checks passed](http...
https://api.github.com/repos/pandas-dev/pandas/pulls/54640
2023-08-19T13:25:36Z
2023-08-21T19:16:26Z
2023-08-21T19:16:26Z
2023-08-21T19:16:33Z
Updated `ruff pre-commit` version and modified few lines according to it.
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1bda47e0631a0..9f9bcd78c07b0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.284 + rev: v0.0.285 ...
#### Ruff 0.0.285 has been released (https://github.com/astral-sh/ruff-pre-commit). So, I have updated the ruff version in `.pre-commit-config.yaml` file, ran `ruff .` and corrected few files according to the errors it showed. - [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and pa...
https://api.github.com/repos/pandas-dev/pandas/pulls/54639
2023-08-19T10:54:09Z
2023-08-21T18:37:01Z
2023-08-21T18:37:01Z
2023-08-21T18:37:08Z
Backport PR #54633 on branch 2.1.x (DEP: remove python-snappy and brotli as optional dependencies (no longer used))
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index ffa7732c604a0..638aaedecf2b5 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -27,7 +27,6 @@ dependencies: - beautifulsoup4>=4.11.1 - blosc>=1.21.0 - bottleneck>=1.3.4 - - brotlipy>=0.7.0 - fastparquet>=0.8.1 -...
Backport PR #54633: DEP: remove python-snappy and brotli as optional dependencies (no longer used)
https://api.github.com/repos/pandas-dev/pandas/pulls/54637
2023-08-19T07:46:38Z
2023-08-21T18:26:27Z
2023-08-21T18:26:27Z
2023-08-21T18:26:28Z
BUG [fix] prevent potential memory leak
diff --git a/pandas/tests/util/test_find_stack_level.py b/pandas/tests/util/test_find_stack_level.py new file mode 100644 index 0000000000000..a5e3dde3ddfae --- /dev/null +++ b/pandas/tests/util/test_find_stack_level.py @@ -0,0 +1,14 @@ +from pytest import mark + +from pandas.util._exceptions import find_stack_level + ...
- [x] closes #54628 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x]...
https://api.github.com/repos/pandas-dev/pandas/pulls/54636
2023-08-18T21:06:52Z
2023-11-07T00:54:32Z
null
2023-11-07T00:54:32Z
DOC: add missing parameters n\normalize\offset to offsets classes
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 958fe1181d309..d17ec6031f978 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -1621,6 +1621,8 @@ cdef class BusinessDay(BusinessMixin): The number of days represented. normalize : bool...
xref #52431 added missing parameters `"n" \ "normalize" \ "offset"` to `Week` , `LastWeekOfMonth`, `BusinessDay`, and `CustomBusinessHour`
https://api.github.com/repos/pandas-dev/pandas/pulls/54635
2023-08-18T20:12:15Z
2023-08-21T19:18:08Z
2023-08-21T19:18:08Z
2023-08-21T19:18:14Z
DEPR: make arguments keyword only in to_clipboard
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index d8b63a6d1395d..7384c512f180b 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -92,6 +92,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ +- Deprecated allowing non-keyword arguments in :meth:`DataFr...
- [x] xref #54229 - [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/54634
2023-08-18T20:03:26Z
2023-08-22T18:57:21Z
2023-08-22T18:57:21Z
2023-08-22T20:01:38Z
DEP: remove python-snappy and brotli as optional dependencies (no longer used)
diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index ffa7732c604a0..638aaedecf2b5 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -27,7 +27,6 @@ dependencies: - beautifulsoup4>=4.11.1 - blosc>=1.21.0 - bottleneck>=1.3.4 - - brotlipy>=0.7.0 - fastparquet>=0.8.1 -...
See https://github.com/pandas-dev/pandas/issues/32417#issuecomment-1684356585 for context. The `python-snappy` and `brotli` packages were in the past a dependency of fastparquet, but that is no longer the case (https://github.com/dask/fastparquet/commit/2e657224a7250d49aa2e4b8c457a98e008687c21, replaced by `cramjam`...
https://api.github.com/repos/pandas-dev/pandas/pulls/54633
2023-08-18T19:50:48Z
2023-08-19T07:45:34Z
2023-08-19T07:45:34Z
2023-08-19T07:45:41Z
DEPR: deprecated nonkeyword arguments in to_csv
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 6fdffb4d78341..d8b63a6d1395d 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -92,6 +92,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ +- Deprecated allowing non-keyword arguments in :meth:`DataFr...
- [x] xref #54229 - [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/54632
2023-08-18T19:46:39Z
2023-08-21T23:20:42Z
2023-08-21T23:20:42Z
2023-08-21T23:20:48Z
DEPR: deprecated nonkeyword arguments in to_parquet
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index d8b63a6d1395d..430f61ee6827b 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -98,6 +98,7 @@ Deprecations - Deprecated allowing non-keyword arguments in :meth:`DataFrame.to_json` except ``path_or_buf``...
- [x] xref #54229 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] ...
https://api.github.com/repos/pandas-dev/pandas/pulls/54631
2023-08-18T19:38:03Z
2023-08-22T16:39:18Z
2023-08-22T16:39:17Z
2023-08-22T16:49:06Z
DEPR: make arguments keyword only in to_dict
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index d8b63a6d1395d..105efe38cccf6 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -93,6 +93,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ - Deprecated allowing non-keyword arguments in :meth:`DataFram...
- [x] xref #54229 - [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/54630
2023-08-18T19:23:45Z
2023-08-22T18:59:42Z
2023-08-22T18:59:42Z
2023-08-22T20:01:59Z
BUG: groupby.var with ArrowDtype(pa.decimal128)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..fda75376bb1bf 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -798,6 +798,7 @@ Groupby/resample/rolling - Bug in :meth:`.SeriesGroupBy.nth` and :meth:`.DataFrameGroupBy.nth` after perfo...
- [x] closes #54627 (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/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/54629
2023-08-18T18:34:23Z
2023-08-18T20:22:25Z
null
2023-08-18T20:22:30Z
indententations on line 9209 have been fixed
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 1e10e8f11a575..68ecca01cf07a 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -9221,10 +9221,10 @@ def stack( DataFrame. The new inner-most levels are created by pivoting the columns of the current dataframe: - - ...
All I did is suppress the wrong indentations and put the text in a row
https://api.github.com/repos/pandas-dev/pandas/pulls/54626
2023-08-18T14:59:31Z
2023-09-11T16:36:37Z
null
2023-09-11T16:36:37Z
BUG: Fix error in printing timezone series
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..7a1a61bed826a 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -664,6 +664,7 @@ Datetimelike - Bug in constructing a :class:`Timestamp` from a string representing a time without a date i...
- [x] closes #54623 - [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/54625
2023-08-18T14:24:22Z
2023-08-22T23:55:27Z
2023-08-22T23:55:27Z
2023-08-24T12:01:18Z
add the words 'of very good level'
diff --git a/README.md b/README.md index 8ea473beb107e..eefea81dc0b67 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ ## What is it? -**pandas** is a Python package that provides fast, flexible, and expressive data +**pandas** is a Python package of very good level that provides fast, flexible, and expres...
- [ ] 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/54624
2023-08-18T14:04:58Z
2023-08-18T16:41:39Z
null
2023-08-18T16:41:39Z
made path_or_buffer rely on position
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index c28ae86985896..87d499dba2678 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2358,7 +2358,8 @@ def to_excel( ) def to_json( self, - path_or_buf: FilePath | WriteBuffer[bytes] | WriteBuffer[str] | None = Non...
- [x] part of #54616 - [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/54621
2023-08-18T12:28:13Z
2024-01-31T18:50:10Z
null
2024-01-31T18:50:10Z
BUG: Prevent OutOfBoundsDatetime error for constructing tz-aware series from list
diff --git a/doc/source/whatsnew/v2.1.2.rst b/doc/source/whatsnew/v2.1.2.rst index ed8010c2ea258..d0945c1e530fe 100644 --- a/doc/source/whatsnew/v2.1.2.rst +++ b/doc/source/whatsnew/v2.1.2.rst @@ -34,6 +34,7 @@ Bug fixes - Fixed bug in :meth:`Series.floordiv` for :class:`ArrowDtype` (:issue:`55561`) - Fixed bug in :m...
- [x] closes #54442 - [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/54620
2023-08-18T12:26:53Z
2023-10-31T16:31:45Z
null
2023-10-31T16:31:45Z
Backport PR #54615 on branch 2.1.x (DOC: Update build instructions in the README)
diff --git a/README.md b/README.md index 8ea473beb107e..6fa20d237babe 100644 --- a/README.md +++ b/README.md @@ -130,23 +130,17 @@ In the `pandas` directory (same one where you found this file after cloning the git repo), execute: ```sh -python setup.py install +pip install . ``` or for installing in [developme...
Backport PR #54615: DOC: Update build instructions in the README
https://api.github.com/repos/pandas-dev/pandas/pulls/54619
2023-08-18T10:25:10Z
2023-08-18T12:42:26Z
2023-08-18T12:42:26Z
2023-08-18T12:42:26Z
DOC: Add information on fetching tags for contributors building pandas.
diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst index c06c0f8703d11..41f4b4d5783ea 100644 --- a/doc/source/development/contributing_codebase.rst +++ b/doc/source/development/contributing_codebase.rst @@ -754,7 +754,7 @@ install pandas) by typing:: yo...
- [N/A] closes #xxxx (Replace xxxx with the GitHub issue number) - [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 passed](https://pandas.pydata.org/pandas-docs/dev/developme...
https://api.github.com/repos/pandas-dev/pandas/pulls/54618
2023-08-18T09:54:28Z
2023-08-18T20:29:05Z
2023-08-18T20:29:05Z
2023-08-21T13:09:59Z
DOC: Convert docstring to numpydoc.
diff --git a/pandas/core/common.py b/pandas/core/common.py index 6d419098bf279..1679e01ff9fe1 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -531,17 +531,24 @@ def convert_to_list_like( def temp_setattr( obj, attr: str, value, condition: bool = True ) -> Generator[None, None, None]: - """Te...
- [N/A] closes #xxxx (Replace xxxx with the GitHub issue number) https://github.com/jorisvandenbossche/euroscipy-2023-pandas-sprint/issues/7 - [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 - [ ] Al...
https://api.github.com/repos/pandas-dev/pandas/pulls/54617
2023-08-18T09:34:47Z
2023-08-18T16:49:39Z
2023-08-18T16:49:39Z
2023-08-21T12:59:36Z
DOC: Update build instructions in the README
diff --git a/README.md b/README.md index 8ea473beb107e..6fa20d237babe 100644 --- a/README.md +++ b/README.md @@ -130,23 +130,17 @@ In the `pandas` directory (same one where you found this file after cloning the git repo), execute: ```sh -python setup.py install +pip install . ``` or for installing in [developme...
- [ ] 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/54615
2023-08-18T07:46:53Z
2023-08-18T10:25:02Z
2023-08-18T10:25:02Z
2023-08-18T10:25:03Z
Backport PR #54587 on branch 2.1.x (CI: Enable MacOS Python Dev tests)
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 66d8320206429..030c9546fecca 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -77,16 +77,12 @@ jobs: env_file: actions-311-numpydev.yaml pattern: "not slow and not netw...
Backport PR #54587: CI: Enable MacOS Python Dev tests
https://api.github.com/repos/pandas-dev/pandas/pulls/54614
2023-08-18T07:31:51Z
2023-08-18T12:48:45Z
2023-08-18T12:48:45Z
2023-08-18T12:48:45Z
DEPR: deprecated nonkeyword arguments in to_json
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 4ad450c965464..2a51f2fa1cc50 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -93,6 +93,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ - Deprecated allowing non-keyword arguments in :meth:`DataFram...
- [x] xref #54229 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] ...
https://api.github.com/repos/pandas-dev/pandas/pulls/54613
2023-08-18T06:00:57Z
2023-08-18T16:50:44Z
2023-08-18T16:50:44Z
2023-08-18T19:16:22Z
DEPR: deprecated nonkeyword arguments in to_html
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index b90563ba43d83..0c4008a6ba48c 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -93,6 +93,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ - Deprecated allowing non-keyword arguments in :meth:`DataFram...
- [x] xref #54229 - [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/54612
2023-08-18T05:34:25Z
2023-08-21T18:35:26Z
2023-08-21T18:35:26Z
2023-08-21T18:35:52Z
BUG: merge not always following documented sort behavior
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index e8e2b8d0ef908..abc3f5f5cb135 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -39,10 +39,49 @@ Notable bug fixes These are bug fixes that might have notable behavior changes. -.. _whatsnew_220.nota...
- [x] closes #18776 - [x] closes #24730 - [x] closes #33554 - [x] closes #40608 - [x] closes #48021 - [x] closes #53157 - [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 pa...
https://api.github.com/repos/pandas-dev/pandas/pulls/54611
2023-08-18T03:21:38Z
2023-08-23T00:30:46Z
2023-08-23T00:30:46Z
2023-09-06T00:54:01Z
improved explanation of linear interpolation in quantile
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 84b102bd4a262..1cfe83b2e4714 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -1373,6 +1373,25 @@ class DateOffset(RelativeDeltaOffset, metaclass=OffsetMeta): previous midnight. **kwds...
- [ ] closes #51745
https://api.github.com/repos/pandas-dev/pandas/pulls/54610
2023-08-18T02:05:42Z
2023-08-21T19:14:52Z
null
2023-08-21T19:14:53Z
Fixes NonExistentTimeError when resampling weekly
diff --git a/pandas/core/resample.py b/pandas/core/resample.py index 9b8d1c870091d..be8d30bf54ad0 100644 --- a/pandas/core/resample.py +++ b/pandas/core/resample.py @@ -13,6 +13,7 @@ import warnings import numpy as np +from pytz import NonExistentTimeError from pandas._libs import lib from pandas._libs.tslibs i...
- [ ] closes #53666 - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
https://api.github.com/repos/pandas-dev/pandas/pulls/54609
2023-08-18T01:53:24Z
2023-09-11T16:38:43Z
null
2023-09-11T16:38:44Z
DOC: add examples to offsets classes: FY5253, FY5253Quarter
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 958fe1181d309..9be582be3caa8 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -3540,6 +3540,9 @@ cdef class FY5253(FY5253Mixin): Parameters ---------- n : int + The number of f...
xref #52431 added examples, see also section, and missing parameters to offsets classes `FY5253,` `FY5253Quarter`
https://api.github.com/repos/pandas-dev/pandas/pulls/54608
2023-08-17T21:59:04Z
2023-08-21T19:23:04Z
2023-08-21T19:23:04Z
2023-08-21T19:23:11Z
STY: Enable ruff's flynt, flake8-logging-format
diff --git a/pandas/io/formats/html.py b/pandas/io/formats/html.py index ce59985b8f352..b1a3504d46b27 100644 --- a/pandas/io/formats/html.py +++ b/pandas/io/formats/html.py @@ -633,7 +633,7 @@ def write_style(self) -> None: else: element_props.append(("thead th", "text-align", "right")) t...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/54607
2023-08-17T21:51:53Z
2023-08-21T19:22:20Z
2023-08-21T19:22:20Z
2023-08-21T19:22:23Z
CLN: Simplify merging.rst
diff --git a/doc/source/user_guide/categorical.rst b/doc/source/user_guide/categorical.rst index 9efa7df3ff669..34d04745ccdb5 100644 --- a/doc/source/user_guide/categorical.rst +++ b/doc/source/user_guide/categorical.rst @@ -832,9 +832,6 @@ The following table summarizes the results of merging ``Categoricals``: | cate...
* Added more sphinx references * Added summary section in the beginning of method overviews * Ensured merging data is printed in ipython and not just plotted * Removed sections that were identical to the docstrings
https://api.github.com/repos/pandas-dev/pandas/pulls/54606
2023-08-17T21:15:20Z
2023-08-21T19:21:48Z
2023-08-21T19:21:48Z
2023-08-21T19:21:51Z
DEPR: deprecated nonkeyword arguments in to_markdown
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 4ad450c965464..1ccbd292a5441 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -94,6 +94,7 @@ Deprecations ~~~~~~~~~~~~ - Deprecated allowing non-keyword arguments in :meth:`DataFrame.to_hdf` except ``...
- [x] xref #54229 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] ...
https://api.github.com/repos/pandas-dev/pandas/pulls/54605
2023-08-17T20:50:37Z
2023-08-18T16:58:21Z
2023-08-18T16:58:21Z
2023-08-18T19:18:51Z
Backport PR #54574 on branch 2.1.x (ENH: add cummax/cummin/cumprod support for arrow dtypes)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index a8004dfd506b0..43a64a79e691b 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -265,6 +265,7 @@ Other enhancements - Many read/to_* functions, such as :meth:`DataFrame.to_pickle` and :func:`read_csv`, s...
Backport PR #54574: ENH: add cummax/cummin/cumprod support for arrow dtypes
https://api.github.com/repos/pandas-dev/pandas/pulls/54603
2023-08-17T15:54:22Z
2023-08-17T17:16:58Z
2023-08-17T17:16:58Z
2023-08-17T17:16:59Z
DEPR: deprecated nonkeyword arguments in to_stata
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 797b2f4ddb45e..bd286e48dc203 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -64,6 +64,7 @@ from pandas.util._decorators import ( Appender, Substitution, + deprecate_nonkeyword_arguments, doc, ) from pandas.util._excepti...
- [ ] xref #54229 - [ ] [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/54602
2023-08-17T12:11:24Z
2023-08-17T20:58:25Z
null
2023-08-17T21:11:06Z
DEPR: Nonkeyword arguments in to_latex
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index d520aacf3e85c..af224b277d87d 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -93,6 +93,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ - Deprecated allowing non-keyword arguments in :meth:`DataFram...
- [x] xref #54229 (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/54601
2023-08-17T12:10:45Z
2023-08-17T23:22:01Z
2023-08-17T23:22:01Z
2023-08-17T23:22:08Z
DEPR: Nonkeyword arguments in to_pickle
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index c35473b852eb9..9295ad6cb9aa6 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -92,7 +92,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ -- +- Deprecated allowing non-keyword arguments in :meth:`Dat...
- [x] xref #54229 - [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/54599
2023-08-17T10:44:09Z
2023-08-17T18:26:43Z
2023-08-17T18:26:42Z
2023-08-17T20:05:34Z
DEPR: Nonkeyword arguments in to_pickle
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index c35473b852eb9..9295ad6cb9aa6 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -92,7 +92,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ -- +- Deprecated allowing non-keyword arguments in :meth:`Dat...
- [ ] closes #54229 - [ ] [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/54598
2023-08-17T10:37:38Z
2023-08-17T10:38:52Z
null
2023-08-17T10:38:55Z
DEPR: deprecated nonkeyword arguments for to_string
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index d520aacf3e85c..7019eb8da964e 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -94,6 +94,7 @@ Deprecations ~~~~~~~~~~~~ - Deprecated allowing non-keyword arguments in :meth:`DataFrame.to_hdf` except ``...
- [x] xref #54229 (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/54597
2023-08-17T10:11:34Z
2023-08-17T23:23:02Z
2023-08-17T23:23:02Z
2023-08-17T23:23:09Z
DEPR: non keyword arguments in to_latex
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 7624c8f7c7930..22b02359294dc 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3017,6 +3017,9 @@ def to_sql( ) @final + @deprecate_nonkeyword_arguments( + version=None, allowed_args=["self", "path"], name="to...
- [ ] xref #54229 - [ ] [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/54596
2023-08-17T09:15:21Z
2023-08-17T10:03:28Z
null
2023-08-17T10:11:49Z
DEPR: Non keyword arguments in to_string
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index c35473b852eb9..92c3f4aa45861 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -92,7 +92,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ -- +- Deprecated allowing non-keyword arguments in :meth:`Dat...
- [ ] xref #54229 - [ ] [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/54595
2023-08-17T08:46:24Z
2023-08-17T10:10:42Z
null
2023-08-17T10:10:58Z
Backport PR #54535 on branch 2.1.x (REF: Replace "pyarrow" string storage checks with variable)
diff --git a/pandas/conftest.py b/pandas/conftest.py index 757ca817d1b85..5210e727aeb3c 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -1996,3 +1996,8 @@ def warsaw(request) -> str: tzinfo for Europe/Warsaw using pytz, dateutil, or zoneinfo. """ return request.param + + +@pytest.fixture() +d...
Backport PR #54535: REF: Replace "pyarrow" string storage checks with variable
https://api.github.com/repos/pandas-dev/pandas/pulls/54594
2023-08-17T08:42:45Z
2023-08-17T15:05:04Z
2023-08-17T15:05:04Z
2023-08-17T15:05:05Z
DEPR: non keyword arguments in to_pickle
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index c35473b852eb9..9295ad6cb9aa6 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -92,7 +92,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ -- +- Deprecated allowing non-keyword arguments in :meth:`Dat...
- [ ] xref #54229 - [ ] [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/54593
2023-08-17T08:12:30Z
2023-08-17T10:36:59Z
null
2023-08-17T10:37:02Z
Implement any and all for pyarrow numpy strings
diff --git a/pandas/core/arrays/string_arrow.py b/pandas/core/arrays/string_arrow.py index 1df0be12a8127..cc3bc5900c4c2 100644 --- a/pandas/core/arrays/string_arrow.py +++ b/pandas/core/arrays/string_arrow.py @@ -554,3 +554,16 @@ def value_counts(self, dropna: bool = True): return Series( result._...
This should work if we want to follow NumPy semantics as close as possible. I think this should work in general, but that's a discussion for another day
https://api.github.com/repos/pandas-dev/pandas/pulls/54591
2023-08-16T22:33:46Z
2023-08-28T11:16:59Z
2023-08-28T11:16:59Z
2023-08-28T20:43:45Z
Backport PR #54545 on branch 2.1.x (DOC: whatsnew 2.1.0 refinements)
diff --git a/doc/source/reference/series.rst b/doc/source/reference/series.rst index 5a43e5796d1d9..41705620d4bc7 100644 --- a/doc/source/reference/series.rst +++ b/doc/source/reference/series.rst @@ -314,6 +314,7 @@ Datetime properties Series.dt.weekday Series.dt.dayofyear Series.dt.day_of_year + Series....
Backport PR #54545: DOC: whatsnew 2.1.0 refinements
https://api.github.com/repos/pandas-dev/pandas/pulls/54588
2023-08-16T21:57:58Z
2023-08-16T23:24:53Z
2023-08-16T23:24:52Z
2023-08-16T23:24:53Z
CI: Enable MacOS Python Dev tests
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 66d8320206429..030c9546fecca 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -77,16 +77,12 @@ jobs: env_file: actions-311-numpydev.yaml pattern: "not slow and not netw...
Made some other small cleanups too
https://api.github.com/repos/pandas-dev/pandas/pulls/54587
2023-08-16T21:36:52Z
2023-08-18T07:30:39Z
2023-08-18T07:30:39Z
2023-08-18T16:31:20Z
REF: Refactor conversion of na value
diff --git a/pandas/tests/strings/__init__.py b/pandas/tests/strings/__init__.py index 9a7622b4f1cd8..496a2d095d85b 100644 --- a/pandas/tests/strings/__init__.py +++ b/pandas/tests/strings/__init__.py @@ -1,2 +1,12 @@ # Needed for new arrow string dtype + +import pandas as pd + object_pyarrow_numpy = ("object",) + + ...
precursor for #54585
https://api.github.com/repos/pandas-dev/pandas/pulls/54586
2023-08-16T21:16:29Z
2023-08-21T09:17:33Z
2023-08-21T09:17:33Z
2023-08-21T09:17:36Z
Use NaN as na_value for new pyarrow_numpy StringDtype
diff --git a/pandas/core/arrays/string_.py b/pandas/core/arrays/string_.py index f0e1d194cd88f..2394b9af2015e 100644 --- a/pandas/core/arrays/string_.py +++ b/pandas/core/arrays/string_.py @@ -101,10 +101,14 @@ class StringDtype(StorageExtensionDtype): # base class "StorageExtensionDtype") with class variable ...
- [ ] 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/54585
2023-08-16T21:11:15Z
2023-08-26T10:40:39Z
2023-08-26T10:40:38Z
2023-08-28T09:47:24Z
Backport PR #54579 on branch 2.1.x (ENH: Reflect changes from `numpy` namespace refactor Part 3)
diff --git a/asv_bench/benchmarks/algos/isin.py b/asv_bench/benchmarks/algos/isin.py index ac79ab65cea81..92797425b2c30 100644 --- a/asv_bench/benchmarks/algos/isin.py +++ b/asv_bench/benchmarks/algos/isin.py @@ -247,7 +247,7 @@ def setup(self, series_type, vals_type): elif series_type == "long": ...
Backport PR #54579: ENH: Reflect changes from `numpy` namespace refactor Part 3
https://api.github.com/repos/pandas-dev/pandas/pulls/54583
2023-08-16T20:21:44Z
2023-08-16T22:01:17Z
2023-08-16T22:01:17Z
2023-08-16T22:01:18Z
REF: ujson cleanups
diff --git a/pandas/_libs/src/vendored/ujson/python/objToJSON.c b/pandas/_libs/src/vendored/ujson/python/objToJSON.c index 1fa82215179a8..4a22de886742c 100644 --- a/pandas/_libs/src/vendored/ujson/python/objToJSON.c +++ b/pandas/_libs/src/vendored/ujson/python/objToJSON.c @@ -1318,6 +1318,7 @@ char **NpyArr_encodeLabel...
- [ ] 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/54581
2023-08-16T17:40:29Z
2023-08-17T15:37:59Z
2023-08-17T15:37:59Z
2024-01-23T15:46:36Z
ENH: Reflect changes from `numpy` namespace refactor Part 3
diff --git a/asv_bench/benchmarks/algos/isin.py b/asv_bench/benchmarks/algos/isin.py index ac79ab65cea81..92797425b2c30 100644 --- a/asv_bench/benchmarks/algos/isin.py +++ b/asv_bench/benchmarks/algos/isin.py @@ -247,7 +247,7 @@ def setup(self, series_type, vals_type): elif series_type == "long": ...
Hi! Due to NumPy's main namespace being changed in https://github.com/numpy/numpy/pull/24376, here I update NumPy's imports/aliases: e.g. `np.NaN` and `np.infty` won't be available anymore. Also, a canonical name for NumPy's `float` and `complex` should be used, which are `np.float64` and `np.complex128`. `sctypes`...
https://api.github.com/repos/pandas-dev/pandas/pulls/54579
2023-08-16T13:21:18Z
2023-08-16T20:20:36Z
2023-08-16T20:20:36Z
2023-08-16T20:21:13Z
Added an Array Extension which include missing or NAN values while wo…
diff --git a/pandas/arrays/__init__.py b/pandas/arrays/__init__.py index 32e2afc0eef52..132b026e527a1 100644 --- a/pandas/arrays/__init__.py +++ b/pandas/arrays/__init__.py @@ -1,7 +1,7 @@ """ All of pandas' ExtensionArrays. -See :ref:`extending.extension-types` for more. +ref:`extending.extension-types` for more a...
…rking with interger data types. - [ ] 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...
https://api.github.com/repos/pandas-dev/pandas/pulls/54578
2023-08-16T12:41:20Z
2023-08-16T17:50:12Z
null
2023-08-16T17:50:13Z
TST: annotations, fix test_invert
diff --git a/pandas/tests/extension/base/ops.py b/pandas/tests/extension/base/ops.py index 064242f3649f4..d5eb65ec9d35d 100644 --- a/pandas/tests/extension/base/ops.py +++ b/pandas/tests/extension/base/ops.py @@ -239,9 +239,23 @@ def test_compare_array(self, data, comparison_op): class BaseUnaryOpsTests(BaseOpsUtil): ...
- [ ] 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/54576
2023-08-16T03:39:16Z
2023-08-17T15:52:51Z
2023-08-17T15:52:51Z
2023-08-21T16:05:39Z
BUG: _validate_setitem_value fails to raise for PandasArray #51044
diff --git a/pandas/core/arrays/numpy_.py b/pandas/core/arrays/numpy_.py index 99a3586871d10..e35ceb8b662e1 100644 --- a/pandas/core/arrays/numpy_.py +++ b/pandas/core/arrays/numpy_.py @@ -15,7 +15,10 @@ from pandas.compat.numpy import function as nv from pandas.core.dtypes.astype import astype_array -from pandas.c...
- [x] closes #51044 (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/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/54575
2023-08-16T02:58:59Z
2023-10-12T16:49:44Z
null
2023-10-12T16:49:45Z
ENH: add cummax/cummin/cumprod support for arrow dtypes
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index d1a689dc60830..8a9f786fa87b2 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -264,6 +264,7 @@ Other enhancements - Many read/to_* functions, such as :meth:`DataFrame.to_pickle` and :func:`read_csv`, s...
- [x] closes #52085 - [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/54574
2023-08-16T00:47:17Z
2023-08-17T15:54:13Z
2023-08-17T15:54:13Z
2023-09-06T00:54:08Z
TST: use single-class pattern for Arrow, Masked tests
diff --git a/pandas/tests/extension/test_arrow.py b/pandas/tests/extension/test_arrow.py index dd1ff925adf5f..4c05049ddfcf5 100644 --- a/pandas/tests/extension/test_arrow.py +++ b/pandas/tests/extension/test_arrow.py @@ -265,7 +265,7 @@ def data_for_twos(data): # TODO: skip otherwise? -class TestBaseCasting(ba...
- [ ] 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/54573
2023-08-15T23:35:11Z
2023-08-16T18:07:21Z
2023-08-16T18:07:21Z
2023-08-16T18:26:09Z
TST: unskip test_close_file_handle_on_invalid_usecols #45566
diff --git a/pandas/tests/io/parser/test_unsupported.py b/pandas/tests/io/parser/test_unsupported.py index f5a0bcd2c00fd..ac171568187cd 100644 --- a/pandas/tests/io/parser/test_unsupported.py +++ b/pandas/tests/io/parser/test_unsupported.py @@ -12,11 +12,6 @@ import pytest -from pandas.compat import ( - is_ci_e...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/54572
2023-08-15T23:23:49Z
2023-08-22T22:53:18Z
2023-08-22T22:53:18Z
2023-09-11T20:35:56Z
CI: Ignore numpy.distutils DeprecationWarning from array_api_compat
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 66d8320206429..003fc7192abbc 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -76,7 +76,9 @@ jobs: - name: "Numpy Dev" env_file: actions-311-numpydev.yaml pa...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/54571
2023-08-15T23:14:08Z
2023-08-16T17:35:54Z
null
2023-08-16T17:35:57Z
TST: use single-class pattern for Categorical tests
diff --git a/pandas/tests/extension/base/groupby.py b/pandas/tests/extension/base/groupby.py index 6f72a6c2b04ae..489f43729a004 100644 --- a/pandas/tests/extension/base/groupby.py +++ b/pandas/tests/extension/base/groupby.py @@ -13,6 +13,9 @@ import pandas._testing as tm +@pytest.mark.filterwarnings( + "ignore:...
- [ ] 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/54570
2023-08-15T23:00:46Z
2023-08-16T20:04:42Z
2023-08-16T20:04:42Z
2023-08-16T20:57:42Z
BUG: inverting object dtype containing bools
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index d1a689dc60830..af9b996a449d6 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -698,7 +698,8 @@ Numeric - Bug in :meth:`Series.corr` and :meth:`Series.cov` raising ``AttributeError`` for masked dtypes (...
- [ ] 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/54569
2023-08-15T22:39:58Z
2024-01-10T16:21:30Z
null
2024-01-10T16:21:36Z
REF: remove unnecessary Block specialization
diff --git a/pandas/_libs/internals.pyi b/pandas/_libs/internals.pyi index ce112413f8a64..ffe6c7730bcdc 100644 --- a/pandas/_libs/internals.pyi +++ b/pandas/_libs/internals.pyi @@ -15,7 +15,6 @@ from pandas._typing import ( ) from pandas import Index -from pandas.core.arrays._mixins import NDArrayBackedExtensionArr...
- [ ] 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/54568
2023-08-15T22:01:33Z
2023-08-16T21:54:08Z
2023-08-16T21:54:08Z
2023-08-16T21:55:23Z
fix #54564
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index c35473b852eb9..d8f94608b0b7b 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -166,8 +166,7 @@ MultiIndex I/O ^^^ -- -- +- Bug in :func:`read_excel`, with ``engine="xlrd"`` (``xls`` files) erroring ...
- [x] closes #54564 - [x] Tests added and passed - [x] All code checks passed - [x] Added type annotations to new arguments/methods/functions: *No new functions.* - [x] Added an entry in the latest `doc/source/whatsnew/v2.1.0.rst` file: *-> may this fix make it into a potential v2.0.4 instead?*
https://api.github.com/repos/pandas-dev/pandas/pulls/54567
2023-08-15T21:58:33Z
2023-08-21T18:40:15Z
2023-08-21T18:40:15Z
2023-08-21T18:40:22Z
ENH: support Index.any/all with float, timedelta64 dtypes
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..d5c8a4974345c 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -265,6 +265,7 @@ Other enhancements - Many read/to_* functions, such as :meth:`DataFrame.to_pickle` and :func:`read_csv`, s...
- [ ] 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/54566
2023-08-15T21:17:24Z
2023-08-22T19:08:41Z
2023-08-22T19:08:41Z
2023-08-22T19:18:04Z
Named agg tuples Issue #18220
diff --git a/doc/source/user_guide/groupby.rst b/doc/source/user_guide/groupby.rst index 75c816f66d5e4..375f1efa75ef2 100644 --- a/doc/source/user_guide/groupby.rst +++ b/doc/source/user_guide/groupby.rst @@ -770,6 +770,7 @@ no column selection, so the values are just the functions. max_height="max", ) + ...
- [ ] closes #18220 - [ ] [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/54563
2023-08-15T20:30:27Z
2023-09-11T16:41:28Z
null
2023-09-11T17:08:46Z
Backport PR #54493 on branch 2.1.x (DOC: updated required dependencies list)
diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst index 1896dffa9a105..0ab0391ac78a9 100644 --- a/doc/source/getting_started/install.rst +++ b/doc/source/getting_started/install.rst @@ -206,6 +206,7 @@ Package Minimum su...
Backport PR #54493: DOC: updated required dependencies list
https://api.github.com/repos/pandas-dev/pandas/pulls/54562
2023-08-15T19:46:26Z
2023-08-15T21:32:51Z
2023-08-15T21:32:51Z
2023-08-15T21:32:51Z