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: Ignore functions on validate docstrings - error EX01
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index b22f19faff9da..dc8784de67f13 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -83,6 +83,500 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then $BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=EX04,GL01,GL02,GL03,GL04,GL05,GL...
- [ ] 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/50956
2023-01-24T11:26:04Z
2023-01-24T18:45:51Z
2023-01-24T18:45:51Z
2023-01-25T15:18:39Z
Updated value_counts documentation and implementation and added single label subset test
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index ac7d30310be9e..f63563472f1f2 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -1088,6 +1088,7 @@ Removal of prior version deprecations/changes - Arguments after ``expr`` in :meth:`DataFrame.eval` and :...
- [ ] closes #50829 - [x] Tests added and passed. - [x] All code checks passed.
https://api.github.com/repos/pandas-dev/pandas/pulls/50955
2023-01-24T05:45:21Z
2023-02-20T03:27:38Z
2023-02-20T03:27:38Z
2023-02-20T03:27:47Z
ENH: Allow dt accessor when using ArrowDtype with datetime types
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 7d028935ad175..421a19fc15f28 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -263,6 +263,7 @@ Alternatively, copy on write can be enabled locally through: Other enhancements ^^^^^^^^^^^^^^^^^^ +- A...
Enabled & tested for `pa.timestamp` types so far. Will follow up with `pa.duration` types in a subsequent PR
https://api.github.com/repos/pandas-dev/pandas/pulls/50954
2023-01-24T04:30:41Z
2023-02-08T16:53:07Z
2023-02-08T16:53:07Z
2023-02-08T16:53:11Z
DOC: Fix rolling.rank see also section
diff --git a/pandas/core/window/doc.py b/pandas/core/window/doc.py index 6e188531a0502..b1ff53e9d1a44 100644 --- a/pandas/core/window/doc.py +++ b/pandas/core/window/doc.py @@ -24,10 +24,10 @@ def create_section_header(header: str) -> str: template_see_also = dedent( """ - Series.{window_method} : Calling {w...
- [x] closes #50929 (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/50952
2023-01-24T02:16:26Z
2023-01-24T13:35:04Z
2023-01-24T13:35:04Z
2023-01-24T13:56:03Z
ENH: Add arrow tests for get_dummies
diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py index eb25566e7983e..045254d2041fc 100644 --- a/pandas/_testing/__init__.py +++ b/pandas/_testing/__init__.py @@ -42,6 +42,7 @@ import pandas as pd from pandas import ( + ArrowDtype, Categorical, CategoricalIndex, DataFrame, @@...
- [ ] 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/50951
2023-01-24T02:12:36Z
2023-01-26T18:09:32Z
2023-01-26T18:09:32Z
2023-01-27T00:38:30Z
DEPR: parsing to tzlocal
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index dc05745c8c0e5..657f1d1fb84e6 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -611,6 +611,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ +- Deprecated parsing datetime strings with system-local ti...
- [x] closes #50791 (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/50949
2023-01-24T00:05:04Z
2023-02-01T19:13:23Z
2023-02-01T19:13:23Z
2023-02-01T20:39:45Z
Handle CoW in BlockManager.apply
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 998c57b66509d..15213b7e82516 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -6142,7 +6142,7 @@ def dtypes(self): return self._constructor_sliced(data, index=self._info_axis, dtype=np.object_) def astype( - sel...
@phofl seeing that we need the Block methods be aware of CoW (does it make a copy or not? do we need to keep track of a ref or not?) in several cases, I was thinking of this alternative of how to handle this generally. I don't know if it will turn out to be cleaner if has to handle all different cases, but for now I te...
https://api.github.com/repos/pandas-dev/pandas/pulls/50948
2023-01-23T23:58:33Z
2023-02-08T16:06:30Z
null
2023-02-08T16:06:36Z
DEPR: dt64 any/all GH#34479
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 613a1e82d461f..cd384857153c0 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -638,6 +638,7 @@ Deprecations - :meth:`Index.holds_integer` has been deprecated. Use :func:`pandas.api.types.infer_dtype` i...
- [x] closes #34479 (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/50947
2023-01-23T23:40:40Z
2023-01-30T17:55:07Z
2023-01-30T17:55:07Z
2023-01-30T18:37:26Z
Backport PR #50941 on branch 1.5.x (CI set LD_PRELOAD in circleci job)
diff --git a/.circleci/config.yml b/.circleci/config.yml index 6133037bf3b7d..e7beb78cf6e6d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,7 +14,10 @@ jobs: steps: - checkout - run: .circleci/setup_env.sh - - run: PATH=$HOME/miniconda3/envs/pandas-dev/bin:$HOME/miniconda3...
Backport PR #50941: CI set LD_PRELOAD in circleci job
https://api.github.com/repos/pandas-dev/pandas/pulls/50943
2023-01-23T17:57:15Z
2023-01-28T20:06:15Z
2023-01-28T20:06:15Z
2023-01-28T20:06:16Z
CI set LD_PRELOAD in circleci job
diff --git a/.circleci/config.yml b/.circleci/config.yml index 6133037bf3b7d..e7beb78cf6e6d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,7 +14,10 @@ jobs: steps: - checkout - run: .circleci/setup_env.sh - - run: PATH=$HOME/miniconda3/envs/pandas-dev/bin:$HOME/miniconda3...
circle CI job is failing, let's see if this fixes anything ```python-traceback =================================== FAILURES =================================== ______________________________ test_scikit_learn _______________________________ [gw2] linux -- Python 3.8.15 /home/circleci/miniconda3/envs/pandas-dev/bi...
https://api.github.com/repos/pandas-dev/pandas/pulls/50941
2023-01-23T14:54:11Z
2023-01-23T17:56:34Z
2023-01-23T17:56:34Z
2023-01-23T17:56:44Z
DEPR: move NumericIndex._engine_type and .inferred_type to Index
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 2948bb81d0b6a..e9380f815e2c1 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -386,11 +386,26 @@ def _outer_indexer( _attributes: list[str] = ["name"] _can_hold_strings: bool = True + _engine_types: ...
Moves`_engine_type` & `inferred_type` from `NumericIndex`to `Index` in preparation to remove `NumericIndex` and include numpy int/uint/float64 in the base `Index`. xref #42717.
https://api.github.com/repos/pandas-dev/pandas/pulls/50940
2023-01-23T14:00:09Z
2023-01-25T17:01:27Z
2023-01-25T17:01:27Z
2023-01-25T17:10:34Z
Datetime parsing (PDEP-4): allow mixture of ISO formatted strings
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index ec082cb90e75c..3b06fa1b5517a 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -1001,14 +1001,23 @@ way to parse dates is to explicitly set ``format=``. ) df -In the case that you have mixed datetime f...
- [ ] closes #50411 (Replace xxxx with the GitHub issue number) - [ ] closes #50972 - [ ] [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-do...
https://api.github.com/repos/pandas-dev/pandas/pulls/50939
2023-01-23T11:30:23Z
2023-02-14T10:44:26Z
2023-02-14T10:44:26Z
2023-02-15T00:05:45Z
Resolved duplicate issue by updating obj object
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index ce123c704ba33..cc6e7406eff49 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -4545,9 +4545,10 @@ def drop( if inplace: self._update_inplace(obj) - return None - else: - return obj ...
- [x] closes #50845 - [ ] [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/50938
2023-01-23T09:44:10Z
2023-03-05T12:49:22Z
null
2023-03-05T12:49:23Z
DOC: Fix dark mode styles
diff --git a/doc/source/_static/css/getting_started.css b/doc/source/_static/css/getting_started.css index 2a348e5b84e6e..2eb69beb05cb5 100644 --- a/doc/source/_static/css/getting_started.css +++ b/doc/source/_static/css/getting_started.css @@ -236,11 +236,11 @@ ul.task-bullet > li > p:first-child { .tutorial-card ....
closes #48527
https://api.github.com/repos/pandas-dev/pandas/pulls/50936
2023-01-23T05:28:22Z
2023-03-09T16:31:48Z
2023-03-09T16:31:48Z
2023-03-09T16:32:04Z
CI: Adjust test to fix wheel builders
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 12e8a89cd0382..665aeb6bc7f87 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -86,7 +86,8 @@ jobs: activate-environment: test channels: conda-forge, anaconda channel-priority:...
- [ ] closes #50898 (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/50934
2023-01-22T15:32:45Z
2023-01-26T19:15:14Z
2023-01-26T19:15:14Z
2023-01-26T23:03:46Z
DEPR: move NumericIndex._convert_tolerance to Index
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 2948bb81d0b6a..04a0afedc1a75 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -3780,6 +3780,17 @@ def _convert_tolerance(self, tolerance, target: np.ndarray | Index) -> np.ndarra tolerance = np.asarray(tol...
Moves`_convert_tolerance` from `NumericIndex`to `Index` in preparation to remove `NumericIndex` and include numpy int/uint/float64 in the base `Index`. xref #42717.
https://api.github.com/repos/pandas-dev/pandas/pulls/50932
2023-01-22T09:18:19Z
2023-01-25T20:51:45Z
2023-01-25T20:51:44Z
2023-01-25T21:12:28Z
DEPR: move NumericIndex._format_native_types to Index
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index fc2c51166a737..b05b7cae8042e 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -1291,11 +1291,30 @@ def _format_with_header(self, header: list[str_t], na_rep: str_t) -> list[str_t] return header + result ...
This starts moving functionality from `NumericIndex`to `Index` in preparation to remove `NumericIndex` and include numpy int/uint/float64 in the base `Index`. Also removes the `**kwargs`, as that wasn't used in the method. I'm doing one method per PR, figuring that is easier to review. I could add ore per PR if y...
https://api.github.com/repos/pandas-dev/pandas/pulls/50931
2023-01-22T09:10:57Z
2023-01-23T15:43:11Z
2023-01-23T15:43:11Z
2023-01-23T20:19:45Z
BUG/PERF: Series(index=MultiIndex).rename losing EA dtypes
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 0ceda331de790..9f68a9ebb43b8 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -898,6 +898,7 @@ Performance improvements - Performance improvements to :func:`read_sas` (:issue:`47403`, :issue:`47405`, :...
- [x] closes #21055 - [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/50930
2023-01-22T02:04:09Z
2023-01-23T18:29:01Z
2023-01-23T18:29:01Z
2023-02-23T01:38:38Z
ENH: support min/max/sum for pyarrow duration dtypes
diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py index ddb2f01898ec7..7edd2fa585156 100644 --- a/pandas/core/arrays/arrow/array.py +++ b/pandas/core/arrays/arrow/array.py @@ -1032,6 +1032,9 @@ def _reduce(self, name: str, *, skipna: bool = True, **kwargs): not_eq = pc.not_...
- [ ] 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/50928
2023-01-21T23:39:56Z
2023-01-26T19:19:06Z
2023-01-26T19:19:06Z
2023-01-26T19:20:41Z
ENH: support cumsum with pyarrow durations
diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py index e2a74ea6f5351..aafd4cbeeaedf 100644 --- a/pandas/core/arrays/arrow/array.py +++ b/pandas/core/arrays/arrow/array.py @@ -985,7 +985,18 @@ def _accumulate( pyarrow_meth = getattr(pc, pyarrow_name, None) if pyarrow_m...
fixes 8 xfails
https://api.github.com/repos/pandas-dev/pandas/pulls/50927
2023-01-21T20:34:23Z
2023-01-24T18:54:17Z
2023-01-24T18:54:17Z
2023-01-24T19:02:21Z
API: Harmonize dtype for index levels for Series.sparse.from_coo
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 0ceda331de790..0ea8a5db4afb3 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -600,6 +600,7 @@ Other API changes methods to get a full slice (for example ``df.loc[:]`` or ``df[:]``) (:issue:`49469`) ...
Currently the levels of the index the sparse series has different dtype (int32 or int64), depending on if the `dense_index` is true or False. This PR makes the dtype to be always int32, the same as the row/col attributes of the scipy `coo_matrix`. See also discussion here: https://github.com/pandas-dev/pandas/pull/4...
https://api.github.com/repos/pandas-dev/pandas/pulls/50926
2023-01-21T20:17:30Z
2023-01-23T18:50:41Z
2023-01-23T18:50:41Z
2023-01-23T18:53:53Z
TST: Remove fsspec internals from tests
diff --git a/pandas/tests/io/test_fsspec.py b/pandas/tests/io/test_fsspec.py index 14a7d77773f29..a5790bb456d44 100644 --- a/pandas/tests/io/test_fsspec.py +++ b/pandas/tests/io/test_fsspec.py @@ -50,10 +50,8 @@ def test_read_csv(cleared_fs, df1): def test_reasonable_error(monkeypatch, cleared_fs): - from fsspe...
- [ ] 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/50925
2023-01-21T16:34:16Z
2023-01-22T01:02:40Z
2023-01-22T01:02:40Z
2023-01-28T02:24:19Z
Rename .github/workflows/wheels.yml to config.yml
diff --git a/.github/workflows/wheels.yml b/config.yml similarity index 100% rename from .github/workflows/wheels.yml rename to config.yml
- [x] closes #xxxx (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/50922
2023-01-21T13:23:21Z
2023-01-23T18:32:26Z
null
2023-01-23T18:32:26Z
cirlcle.ci
diff --git a/circle.ci b/circle.ci new file mode 100644 index 0000000000000..8b137891791fe --- /dev/null +++ b/circle.ci @@ -0,0 +1 @@ + diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000000000..14f9774c76ecf --- /dev/null +++ b/circle.yml @@ -0,0 +1,21 @@ + +[tool.ruff] +line-length = 88 +update-c...
- [x] closes #xxxx (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/50921
2023-01-21T13:03:59Z
2023-01-23T18:31:56Z
null
2023-01-23T18:31:56Z
Circleci project setup
diff --git a/.circleci/config.yml b/.circleci/config.yml index 6133037bf3b7d..6554e1f4e8c08 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,22 +1,26 @@ -version: 2.1 - -jobs: - test-arm: - machine: - image: ubuntu-2004:202101-01 - resource_class: arm.large - environment: - ...
- [x] closes #xxxx (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/50919
2023-01-21T09:55:10Z
2023-01-23T18:31:36Z
null
2023-01-23T18:31:37Z
ENH: Optimize replace to avoid copying when not necessary
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 1aba48371b430..7ff2bde39beb1 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -552,6 +552,7 @@ def replace( inplace: bool = False, # mask may be pre-computed if we're called from r...
- [ ] 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/50918
2023-01-21T01:26:05Z
2023-02-26T18:42:27Z
2023-02-26T18:42:27Z
2023-02-26T20:19:05Z
ENH: Make shallow copy for align nocopy with CoW
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 998c57b66509d..ce123c704ba33 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -5429,6 +5429,8 @@ def _reindex_with_indexers( if (copy or copy is None) and new_data is self._mgr: new_data = new_data.copy(deep=co...
xref https://github.com/pandas-dev/pandas/issues/49473 - [ ] 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/50917
2023-01-21T01:25:28Z
2023-01-27T23:37:39Z
2023-01-27T23:37:39Z
2023-01-27T23:37:43Z
ENH: Add test for asfreq CoW when doing noop
diff --git a/pandas/tests/copy_view/test_methods.py b/pandas/tests/copy_view/test_methods.py index 0cec5522e39cd..a98e2df7a7db1 100644 --- a/pandas/tests/copy_view/test_methods.py +++ b/pandas/tests/copy_view/test_methods.py @@ -1117,6 +1117,26 @@ def test_putmask(using_copy_on_write): assert view.iloc[0, 0] =...
xref https://github.com/pandas-dev/pandas/issues/49473 - [ ] 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/50916
2023-01-21T01:24:20Z
2023-01-24T07:59:44Z
2023-01-24T07:59:44Z
2023-01-24T13:34:27Z
CLN: Use np.random.RandomState instead of tm.RNGContext
diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py index eb25566e7983e..ce33c4c1e8457 100644 --- a/pandas/_testing/__init__.py +++ b/pandas/_testing/__init__.py @@ -99,7 +99,6 @@ get_obj, ) from pandas._testing.contexts import ( - RNGContext, decompress_file, ensure_clean, e...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/50915
2023-01-20T23:55:14Z
2023-01-30T20:04:47Z
2023-01-30T20:04:47Z
2023-01-30T20:04:52Z
REF: standardize reso-return in parsing
diff --git a/pandas/_libs/tslibs/dtypes.pxd b/pandas/_libs/tslibs/dtypes.pxd index c0b0db1336d14..6c2871cd746b8 100644 --- a/pandas/_libs/tslibs/dtypes.pxd +++ b/pandas/_libs/tslibs/dtypes.pxd @@ -12,6 +12,7 @@ cpdef NPY_DATETIMEUNIT get_supported_reso(NPY_DATETIMEUNIT reso) cdef dict attrname_to_abbrevs cdef dict ...
Moving towards getting reso inference working in the remaining cases in convert_string_to_tsobject, and hopefully de-duplicating parse_datetime_string vs parse_datetime_string_with_reso
https://api.github.com/repos/pandas-dev/pandas/pulls/50914
2023-01-20T23:40:18Z
2023-01-25T23:15:29Z
2023-01-25T23:15:29Z
2023-01-25T23:19:35Z
REF: Define methods on resample non-dynamically
diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index c15948ce877a8..b0f8a0b7a96af 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -2004,8 +2004,6 @@ def mean( return result.__finalize__(self.obj, method="groupby") @final - @Substit...
- [ ] closes #49001 (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/50913
2023-01-20T23:15:36Z
2023-01-25T22:44:07Z
2023-01-25T22:44:07Z
2023-01-25T22:44:12Z
Changes how the latest version is taken from a list of versions and cuts out obsolete versions on the homepage
diff --git a/web/pandas_web.py b/web/pandas_web.py index 8c508a15f9a2b..86ca309b9c2b0 100755 --- a/web/pandas_web.py +++ b/web/pandas_web.py @@ -36,6 +36,8 @@ import sys import time import typing +from packaging import version +from itertools import groupby import feedparser import jinja2 @@ -223,9 +225,20 @@ de...
- [ ] closes Better management of releases in the pandas home page #50885 - [ ] [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/deve...
https://api.github.com/repos/pandas-dev/pandas/pulls/50912
2023-01-20T22:47:44Z
2023-04-02T16:30:01Z
null
2023-04-02T16:30:01Z
TST: read_fwf with dtype_backend
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index bbecf3fee01f3..04c54d7ea4332 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -54,6 +54,7 @@ to select the nullable dtypes implementation. * :func:`read_csv` (with ``engine="pyarrow"`` or ``engine="p...
- [ ] 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/50911
2023-01-20T22:26:28Z
2023-01-22T14:52:49Z
2023-01-22T14:52:49Z
2023-01-22T17:52:50Z
ENH: Add dtype_backend to to_numeric
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index bbecf3fee01f3..0ceda331de790 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -61,6 +61,7 @@ to select the nullable dtypes implementation. * :func:`read_parquet` * :func:`read_orc` * :func:`read_feat...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/50910
2023-01-20T22:05:53Z
2023-01-22T01:12:15Z
2023-01-22T01:12:15Z
2023-01-23T18:06:11Z
DEPR: casting strings to float in to_datetime with unit
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index a30d68319cafe..b9ee5d5590861 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -630,6 +630,7 @@ Other API changes Deprecations ~~~~~~~~~~~~ - Deprecated argument ``infer_datetime_format`` in :func:`to...
- [x] closes #50735 (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/50909
2023-01-20T21:45:36Z
2023-01-26T11:04:16Z
2023-01-26T11:04:16Z
2023-01-26T16:07:19Z
DEPR: Remove (Int|UInt|Float)64Index
diff --git a/pandas/_testing/asserters.py b/pandas/_testing/asserters.py index da4a73ce1c80f..de28342c0d526 100644 --- a/pandas/_testing/asserters.py +++ b/pandas/_testing/asserters.py @@ -75,8 +75,8 @@ def assert_almost_equal( right : object check_dtype : bool or {'equiv'}, default 'equiv' Check dty...
Actually removes `Int64Index`, `UInt64Index` & `Float64Index`. Also does some cleanups that previous deprecation PRs didn't catch. This PR formally achieves the goals set out in #42717. In real terms there are a few outstanding items, which still need to be addressed: * Move `NumericIndex` into `Index` * Update ...
https://api.github.com/repos/pandas-dev/pandas/pulls/50908
2023-01-20T21:45:02Z
2023-01-22T18:53:42Z
2023-01-22T18:53:42Z
2023-01-22T18:53:50Z
BUG: JSON serialization with orient split fails roundtrip with MultiIndex
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 0ef5636a97d40..082963fe806ee 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -907,6 +907,7 @@ I/O - Fixed memory leak which stemmed from the initialization of the internal JSON module (:issue:`49222`)...
- Closes #50456 - xFail for mark split deprecated. - All [code checks passed]. - Added an entry in the latest `doc/source/whatsnew/v2.0.0.rst`
https://api.github.com/repos/pandas-dev/pandas/pulls/50904
2023-01-20T20:27:05Z
2023-02-24T20:05:01Z
null
2023-02-24T20:05:02Z
ENH: Use circular weakref to delay copy in setitem
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index eb0eb34dbefc4..012b6577690ba 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -31,6 +31,7 @@ overload, ) import warnings +import weakref import numpy as np from numpy import ma @@ -4043,12 +4044,12 @@ def _iset_item_mgr( s...
- [ ] xref #48998 (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/cont...
https://api.github.com/repos/pandas-dev/pandas/pulls/50902
2023-01-20T20:10:28Z
2023-02-23T01:29:20Z
null
2023-03-14T12:16:03Z
ENH: pd.NA comparison with time, date, timedelta
diff --git a/pandas/_libs/missing.pyx b/pandas/_libs/missing.pyx index fc94d221a63b9..e6516b004a973 100644 --- a/pandas/_libs/missing.pyx +++ b/pandas/_libs/missing.pyx @@ -3,6 +3,11 @@ import numbers from sys import maxsize cimport cython +from cpython.datetime cimport ( + date, + time, + timedelta, +) f...
- [x] closes #34104 Fixes a handful of pyarrow xfails
https://api.github.com/repos/pandas-dev/pandas/pulls/50901
2023-01-20T18:38:26Z
2023-01-25T17:20:34Z
2023-01-25T17:20:34Z
2023-01-25T17:42:08Z
CLN: Refactor block splitting into its own method
diff --git a/pandas/core/internals/managers.py b/pandas/core/internals/managers.py index 1a0aba0778da5..71d8b20f18457 100644 --- a/pandas/core/internals/managers.py +++ b/pandas/core/internals/managers.py @@ -1220,13 +1220,7 @@ def value_getitem(placement): if inplace and blk.should_store(value): ...
- [ ] 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/50900
2023-01-20T16:51:41Z
2023-01-27T23:30:15Z
2023-01-27T23:30:15Z
2023-01-27T23:30:19Z
CI: Trigger preview of the web/docs
diff --git a/.github/workflows/docbuild-and-upload.yml b/.github/workflows/docbuild-and-upload.yml index 73e59134c904a..d2df75777e049 100644 --- a/.github/workflows/docbuild-and-upload.yml +++ b/.github/workflows/docbuild-and-upload.yml @@ -89,3 +89,10 @@ jobs: name: website path: web/build r...
xref #50832 This call tells a simple service in our new server to preview the docs to download the artifact and uncompress it in a directory with the number of the PR in: https://pandas.pydata.org/preview/ Ideally we want to get #50897 merged before this one (otherwise the website can't be navigated clicking at ...
https://api.github.com/repos/pandas-dev/pandas/pulls/50899
2023-01-20T16:44:16Z
2023-02-27T20:35:25Z
2023-02-27T20:35:25Z
2023-02-27T20:35:26Z
WEB: Make all links in the website relative
diff --git a/web/pandas/_templates/layout.html b/web/pandas/_templates/layout.html index 3cad22bf938b0..dc91a2932e7e4 100644 --- a/web/pandas/_templates/layout.html +++ b/web/pandas/_templates/layout.html @@ -12,7 +12,7 @@ <title>pandas - Python Data Analysis Library</title> <meta charset="utf-8"> ...
I have a first version implemented of the system that will allow us to preview the rendered web/docs of a PR without having to download the artifact (see #50832). In order to be able to navigate the website in a relative path (i.e. https://pandas.pydata.org/preview/XXXXX/ instead of the root https://pandas.pydata.or...
https://api.github.com/repos/pandas-dev/pandas/pulls/50897
2023-01-20T16:16:49Z
2023-01-26T16:53:09Z
2023-01-26T16:53:09Z
2023-01-26T16:58:03Z
DOC: Fix some RT02 issues in docstrings
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 0aee8cd546d47..b22f19faff9da 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -79,23 +79,8 @@ fi ### DOCSTRINGS ### if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then - MSG='Validate docstrings (EX04, GL01, GL02, GL03, GL04, GL05, GL06, GL07, ...
- [ ] closes #49968 (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/50896
2023-01-20T14:47:18Z
2023-01-20T17:30:40Z
2023-01-20T17:30:40Z
2023-01-20T18:27:22Z
WEB: fix list formatting in PDEP-4
diff --git a/web/pandas/pdeps/0004-consistent-to-datetime-parsing.md b/web/pandas/pdeps/0004-consistent-to-datetime-parsing.md index 10dc4486b90e9..7635fabe2dbc6 100644 --- a/web/pandas/pdeps/0004-consistent-to-datetime-parsing.md +++ b/web/pandas/pdeps/0004-consistent-to-datetime-parsing.md @@ -9,6 +9,7 @@ ## Abstrac...
The list points are currently not rendered correctly: http://pandas.pydata.org/pdeps/0004-consistent-to-datetime-parsing.html
https://api.github.com/repos/pandas-dev/pandas/pulls/50895
2023-01-20T14:03:47Z
2023-01-20T17:03:15Z
2023-01-20T17:03:15Z
2023-01-20T17:03:18Z
CI dont fail import scipy.stats
diff --git a/pandas/tests/frame/test_reductions.py b/pandas/tests/frame/test_reductions.py index 2d395a7cbd608..61b66f38f6c98 100644 --- a/pandas/tests/frame/test_reductions.py +++ b/pandas/tests/frame/test_reductions.py @@ -1607,7 +1607,12 @@ def test_reduction_axis_none_returns_scalar(method): result = getattr(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/50892
2023-01-20T12:27:30Z
2023-01-20T17:50:04Z
null
2023-01-20T17:50:04Z
API: Timestamp and Timedelta .value changing in 2.0
diff --git a/pandas/_libs/index.pyx b/pandas/_libs/index.pyx index 2565d7998c9c7..2a6c26d595548 100644 --- a/pandas/_libs/index.pyx +++ b/pandas/_libs/index.pyx @@ -517,14 +517,16 @@ cdef class DatetimeEngine(Int64Engine): # NB: caller is responsible for ensuring tzawareness compat # before we get he...
- [ ] closes #49076 (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/50891
2023-01-20T11:37:44Z
2023-02-09T01:03:58Z
2023-02-09T01:03:58Z
2023-02-09T01:04:06Z
DOC: removed hypen to fix docs build numpydoc warnings
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 17d4e0dd3234b..79332f8ede936 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -2792,7 +2792,7 @@ cdef class Week(SingleConstructorOffset): 2nd week of each month. Examples - --------...
I noticed a few warning in a recent PR. This should fix them. Ref: ![Screenshot of docs build warning in CI](https://user-images.githubusercontent.com/6564007/213683432-7a79a34d-4c84-4e52-896a-5e8b73d5af6c.png) ![Screenshot of detailed numpydoc warnings](https://user-images.githubusercontent.com/6564007/2136834...
https://api.github.com/repos/pandas-dev/pandas/pulls/50890
2023-01-20T11:21:36Z
2023-01-20T17:35:06Z
2023-01-20T17:35:06Z
2023-01-20T17:35:13Z
DEPR: remove Int/Uint/Float64Index from tests/arithmetic + various
diff --git a/pandas/tests/arithmetic/conftest.py b/pandas/tests/arithmetic/conftest.py index 83b95a1b46075..e41a3c212fbf8 100644 --- a/pandas/tests/arithmetic/conftest.py +++ b/pandas/tests/arithmetic/conftest.py @@ -75,7 +75,7 @@ def zero(request): -------- arr = RangeIndex(5) arr / zeros - Float64In...
Progress towards #42717. Arithmetic ops with indexes with 8/16/32 bit dtypes is a bit difficult and I'd like like to work on that after removal of Int64Index etc. So there's a follow-up, where more dtypes should be added to the tests in `pandas/tests/arithmetic/`.
https://api.github.com/repos/pandas-dev/pandas/pulls/50889
2023-01-20T10:59:46Z
2023-01-20T17:39:20Z
2023-01-20T17:39:20Z
2023-01-20T17:59:59Z
Gitpod docs: added missing line break
diff --git a/doc/source/development/contributing_gitpod.rst b/doc/source/development/contributing_gitpod.rst index 664711dc8928b..c591be5425db9 100644 --- a/doc/source/development/contributing_gitpod.rst +++ b/doc/source/development/contributing_gitpod.rst @@ -145,7 +145,7 @@ docs you need to run the following command ...
Thanks to the PyLadies Berlin pandas sprint participants who noticed this error 🙇‍♀️ CC @phofl
https://api.github.com/repos/pandas-dev/pandas/pulls/50888
2023-01-20T08:52:01Z
2023-01-20T18:59:29Z
2023-01-20T18:59:29Z
2023-01-20T18:59:36Z
Updated release instructions to use rst instead of markdown
diff --git a/doc/source/development/maintaining.rst b/doc/source/development/maintaining.rst index 4113fabcc78d5..3405f283c639a 100644 --- a/doc/source/development/maintaining.rst +++ b/doc/source/development/maintaining.rst @@ -349,10 +349,10 @@ The release process makes a snapshot of pandas (a git commit) available t...
- [ ] closes #50824 - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). @datapythonista I tried to fix the other pull request but made a mess of it so I thought it would be best to start over. If this was the wrong, please let me know what sh...
https://api.github.com/repos/pandas-dev/pandas/pulls/50886
2023-01-20T04:46:10Z
2023-01-23T19:16:28Z
2023-01-23T19:16:28Z
2023-01-24T02:14:05Z
TST/CLN: Remove unneeded warning filtering in plotting helper
diff --git a/pandas/tests/plotting/common.py b/pandas/tests/plotting/common.py index 20de38ebf6665..3cc0d59457528 100644 --- a/pandas/tests/plotting/common.py +++ b/pandas/tests/plotting/common.py @@ -8,7 +8,6 @@ TYPE_CHECKING, Sequence, ) -import warnings import numpy as np @@ -516,7 +515,7 @@ def get_...
It doesn't appear these tests raise warnings so I think these can be removed
https://api.github.com/repos/pandas-dev/pandas/pulls/50880
2023-01-19T23:53:23Z
2023-01-20T11:32:31Z
2023-01-20T11:32:30Z
2023-01-20T15:28:37Z
ENH: support argmin/argmax with pyarrow durations
diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py index fcec562279248..42d85935efe95 100644 --- a/pandas/core/arrays/arrow/array.py +++ b/pandas/core/arrays/arrow/array.py @@ -528,8 +528,12 @@ def _argmin_max(self, skipna: bool, method: str) -> int: f"arg{method} only 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/50879
2023-01-19T22:46:24Z
2023-01-20T18:08:38Z
2023-01-20T18:08:38Z
2023-01-20T18:15:29Z
Remove obj_with_exclusions
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 7555c8b68a4f7..10201dc81136b 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -1096,6 +1096,7 @@ Groupby/resample/rolling - Bug in :meth:`.DataFrameGroupBy.transform` and :meth:`.SeriesGroupBy.transfor...
- [x] closes #46944 (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/50878
2023-01-19T22:16:26Z
2023-02-08T03:56:23Z
null
2023-02-08T03:56:28Z
TST: fix pyarrow arithmetic xfails
diff --git a/pandas/tests/extension/test_arrow.py b/pandas/tests/extension/test_arrow.py index a7c243cdfe74f..1bfe0106e1938 100644 --- a/pandas/tests/extension/test_arrow.py +++ b/pandas/tests/extension/test_arrow.py @@ -1010,14 +1010,29 @@ def _patch_combine(self, obj, other, op): else: expected_...
fixes 22 xfails
https://api.github.com/repos/pandas-dev/pandas/pulls/50877
2023-01-19T21:57:51Z
2023-02-02T18:41:56Z
2023-02-02T18:41:56Z
2023-02-02T18:57:07Z
Fix groupby-resample KeyError when resampling on Index and giving explicit list of columns.
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 7555c8b68a4f7..986e5891033a1 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -1096,6 +1096,7 @@ Groupby/resample/rolling - Bug in :meth:`.DataFrameGroupBy.transform` and :meth:`.SeriesGroupBy.transfor...
- [x] closes #50840 (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/50876
2023-01-19T21:54:56Z
2023-01-23T18:04:54Z
2023-01-23T18:04:54Z
2023-01-23T18:05:02Z
DEPR: remove Int/Uint/Float64Index from pandas/tests/arrays
diff --git a/pandas/tests/arrays/categorical/test_constructors.py b/pandas/tests/arrays/categorical/test_constructors.py index ba33cfe055bb3..36c06a77b7822 100644 --- a/pandas/tests/arrays/categorical/test_constructors.py +++ b/pandas/tests/arrays/categorical/test_constructors.py @@ -29,7 +29,6 @@ timedelta_range,...
Extracted from #50479 to make it more manageable. Progress towards #42717.
https://api.github.com/repos/pandas-dev/pandas/pulls/50875
2023-01-19T21:48:27Z
2023-01-20T11:34:11Z
2023-01-20T11:34:11Z
2023-01-20T11:34:19Z
TST: Add test for to_dict converting masked to python types
diff --git a/pandas/tests/frame/methods/test_to_dict.py b/pandas/tests/frame/methods/test_to_dict.py index d08323ec01ae8..e14dc8da68136 100644 --- a/pandas/tests/frame/methods/test_to_dict.py +++ b/pandas/tests/frame/methods/test_to_dict.py @@ -485,3 +485,13 @@ def test_to_dict_na_to_none(self, orient, expected): ...
- [x] closes #34665 (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/50874
2023-01-19T21:48:08Z
2023-01-20T18:31:09Z
2023-01-20T18:31:08Z
2023-01-21T01:34:18Z
DOC: improve Timestamps docstrings
diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx index c1aef2e5115ac..1a4e90e57d848 100644 --- a/pandas/_libs/tslibs/timestamps.pyx +++ b/pandas/_libs/tslibs/timestamps.pyx @@ -687,6 +687,14 @@ cdef class _Timestamp(ABCTimestamp): """ Return True if date is first da...
- [x] xref #27977 - ~~[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). - ~~Add...
https://api.github.com/repos/pandas-dev/pandas/pulls/50873
2023-01-19T21:23:43Z
2023-01-23T19:19:17Z
2023-01-23T19:19:17Z
2023-01-23T20:21:02Z
CLN: remove redundant latex options
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 0cea08b3d2c87..8766686b25034 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -624,7 +624,9 @@ The arguments signature is similar, albeit ``col_space`` has been removed since it is ignored by LaTeX eng...
after #48970
https://api.github.com/repos/pandas-dev/pandas/pulls/50871
2023-01-19T20:51:33Z
2023-02-09T21:46:38Z
2023-02-09T21:46:38Z
2023-02-15T19:08:25Z
BUG: to_datetime with Y or M unit not matching Timestamp
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 1894ce4ee12d9..d7d4538cbe4e0 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -951,6 +951,8 @@ Datetimelike - Bug in :func:`Timestamp.utctimetuple` raising a ``TypeError`` (:issue:`32174`) - Bug in :f...
- [ ] 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/50870
2023-01-19T20:08:00Z
2023-01-23T19:25:13Z
2023-01-23T19:25:13Z
2023-01-23T19:28:31Z
REF: simplify array_to_datetime
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index df6204d61f983..8a13e19738f0c 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -515,15 +515,9 @@ cpdef array_to_datetime( if val != val or val == NPY_NAT: iresult[i] = NPY_NAT - el...
- [ ] 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/50869
2023-01-19T17:51:17Z
2023-01-20T18:36:21Z
2023-01-20T18:36:21Z
2023-01-20T18:41:07Z
ENH: pyarrow temporal dtypes support quantile in some cases
diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py index fcec562279248..4daea133ed14b 100644 --- a/pandas/core/arrays/arrow/array.py +++ b/pandas/core/arrays/arrow/array.py @@ -1204,7 +1204,23 @@ def _quantile( ------- same type as self """ - result = pc...
Cuts 35 seconds off the test runtime.
https://api.github.com/repos/pandas-dev/pandas/pulls/50868
2023-01-19T17:40:07Z
2023-01-20T18:45:49Z
2023-01-20T18:45:49Z
2023-01-20T18:49:54Z
BUG: Fix agg ingore arg/kwargs when given list like func
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index b10f201e79318..e305df7d525fa 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -1304,6 +1304,7 @@ Groupby/resample/rolling - Bug in :meth:`.DataFrameGroupBy.transform` and :meth:`.SeriesGroupBy.transfor...
- [x] closes #50624 (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/c...
https://api.github.com/repos/pandas-dev/pandas/pulls/50863
2023-01-19T13:25:40Z
2023-02-12T21:31:31Z
2023-02-12T21:31:31Z
2023-02-13T03:40:53Z
DOC: Add missing points to release instructions
diff --git a/doc/source/development/maintaining.rst b/doc/source/development/maintaining.rst index 6e9f622e18eea..31c3b8ee0652d 100644 --- a/doc/source/development/maintaining.rst +++ b/doc/source/development/maintaining.rst @@ -474,14 +474,21 @@ which will be triggered when the tag is pushed. Post-Release ``````````...
The release instructions are missing the update of the symlink to the stable docs, as well as the update of the versions dropdown in the docs. Adding it here, as well as fixing a small typo.
https://api.github.com/repos/pandas-dev/pandas/pulls/50861
2023-01-19T08:51:06Z
2023-01-19T17:46:32Z
2023-01-19T17:46:32Z
2023-01-19T17:46:43Z
Backport PR #50855 on branch 1.5.x (RLS/DOC: Adding release notes for 1.5.4)
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index e2f3b45d47bef..5934bd3f61f6b 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -16,6 +16,7 @@ Version 1.5 .. toctree:: :maxdepth: 2 + v1.5.4 v1.5.3 v1.5.2 v1.5.1 diff --git a/doc/source/...
Backport PR #50855: RLS/DOC: Adding release notes for 1.5.4
https://api.github.com/repos/pandas-dev/pandas/pulls/50860
2023-01-19T08:50:26Z
2023-01-19T10:50:12Z
2023-01-19T10:50:12Z
2023-01-19T10:50:13Z
Add script to automatically download wheels
diff --git a/doc/source/development/maintaining.rst b/doc/source/development/maintaining.rst index 6e9f622e18eea..23eb5d7b18c7d 100644 --- a/doc/source/development/maintaining.rst +++ b/doc/source/development/maintaining.rst @@ -465,7 +465,8 @@ which will be triggered when the tag is pushed. 7. Download all wheels f...
There is a similar script in the pandas-release repo, but that repo is not needed anyomore for the release, and it makes more sense to have it here. Also, the original script is in Python, which makes it much more complex. Here I use a shell script with a single command.
https://api.github.com/repos/pandas-dev/pandas/pulls/50859
2023-01-19T08:02:53Z
2023-01-26T19:02:21Z
2023-01-26T19:02:21Z
2023-01-26T19:02:22Z
STYLE: remove absolufy imports, use ruff
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dfef9844ce6cb..588d0fee686f3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,11 +19,6 @@ repos: rev: v0.0.215 hooks: - id: ruff -- repo: https://github.com/MarcoGorelli/absolufy-imports - rev: v0.3.1 - ...
- [ ] closes #50812 - [ ] [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/50858
2023-01-19T05:59:31Z
2023-02-13T18:56:44Z
null
2023-02-13T18:56:45Z
BUG/PERF: Series(category).replace
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index dc05745c8c0e5..873c7aabde785 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -883,6 +883,7 @@ Performance improvements - Performance improvement in :func:`merge` and :meth:`DataFrame.join` when joinin...
- [x] closes #50872 - [x] closes #46884 - [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.htm...
https://api.github.com/repos/pandas-dev/pandas/pulls/50857
2023-01-19T04:52:44Z
2023-01-24T19:02:33Z
2023-01-24T19:02:33Z
2023-02-23T01:38:38Z
RLS/DOC: Adding release notes for 1.5.4
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index 821f77dbba3e2..69f845096ea24 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -24,6 +24,7 @@ Version 1.5 .. toctree:: :maxdepth: 2 + v1.5.4 v1.5.3 v1.5.2 v1.5.1 diff --git a/doc/source/...
Adding release notes for 1.5.4.
https://api.github.com/repos/pandas-dev/pandas/pulls/50855
2023-01-19T04:08:53Z
2023-01-19T08:49:51Z
2023-01-19T08:49:51Z
2023-01-19T08:49:58Z
DOC: Fix typo in sed command in the release instructions
diff --git a/doc/source/development/maintaining.rst b/doc/source/development/maintaining.rst index 6e9f622e18eea..e55ab0d124c45 100644 --- a/doc/source/development/maintaining.rst +++ b/doc/source/development/maintaining.rst @@ -458,8 +458,8 @@ which will be triggered when the tag is pushed. git checkout master ...
The `BUILD_COMMIT` in the MacPython CI is the tag name (e.g. `v1.5.3`) and not the version name (e.g. `1.5.3`). The release instructions have it wrong, fixing it here.
https://api.github.com/repos/pandas-dev/pandas/pulls/50854
2023-01-19T04:01:42Z
2023-01-19T17:45:34Z
2023-01-19T17:45:33Z
2023-01-19T17:45:41Z
REF: Use * syntax to make reindex kwargs keyword only
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index dc05745c8c0e5..7e8b640a4e0f3 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -736,7 +736,7 @@ Removal of prior version deprecations/changes - Disallow passing non-keyword arguments to :meth:`DataFrame...
After enforcing #17966, this makes `DataFrame.reindex` effectively keyword only except for `labels`, so removed ad-hoc logic to enforce that. `Series.reindex` also has similar ad-hoc logic which can be removed. Also did some docstring cleanup for both functions.
https://api.github.com/repos/pandas-dev/pandas/pulls/50853
2023-01-19T02:18:10Z
2023-01-30T20:07:45Z
2023-01-30T20:07:45Z
2023-01-30T20:07:50Z
REF: consolidate cast_from_unit checks
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index df6204d61f983..5f7fb05876b35 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -220,6 +220,19 @@ def format_array_from_datetime( return result +cdef int64_t _wrapped_cast_from_unit(object val, str unit) except? -1: + """ + ...
- [ ] 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/50852
2023-01-19T01:59:51Z
2023-01-19T17:50:01Z
2023-01-19T17:50:01Z
2023-01-19T17:50:55Z
REF: tighter typing in parsing.pyx
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index 5f7fb05876b35..0575ac69ca452 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -273,7 +273,7 @@ def array_with_unit_to_datetime( bint is_coerce = errors=="coerce" bint is_raise = errors=="raise" ndarray[int64...
- [ ] 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/50851
2023-01-19T01:57:16Z
2023-01-20T18:25:46Z
2023-01-20T18:25:46Z
2023-01-20T18:27:32Z
PERF: Improve performance for array equal fast
diff --git a/pandas/_libs/lib.pyi b/pandas/_libs/lib.pyi index 2439082bf7413..72b46d9e30684 100644 --- a/pandas/_libs/lib.pyi +++ b/pandas/_libs/lib.pyi @@ -240,6 +240,6 @@ def get_reverse_indexer( ) -> npt.NDArray[np.intp]: ... def is_bool_list(obj: list) -> bool: ... def dtypes_all_equal(types: list[DtypeObj]) -> ...
- [ ] 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/50850
2023-01-18T23:18:25Z
2023-01-20T17:03:03Z
2023-01-20T17:03:02Z
2023-01-20T17:03:06Z
ENH: Add ea support to get_dummies
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index bbecf3fee01f3..ff21a68d31f92 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -158,6 +158,7 @@ Other enhancements - Added ``name`` parameter to :meth:`IntervalIndex.from_breaks`, :meth:`IntervalIndex.f...
- [x] closes #32430 (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/50849
2023-01-18T23:02:43Z
2023-01-23T18:14:11Z
2023-01-23T18:14:11Z
2023-04-18T01:52:35Z
Revert "BUG/PERF: Series.replace with dtype="category""
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 614832c5acd1b..7054d93457264 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -844,7 +844,6 @@ Performance improvements - Performance improvement in :func:`merge` and :meth:`DataFrame.join` when joinin...
Reverts pandas-dev/pandas#49404
https://api.github.com/repos/pandas-dev/pandas/pulls/50848
2023-01-18T22:36:40Z
2023-01-18T23:24:04Z
2023-01-18T23:24:04Z
2023-01-19T00:10:08Z
BUG: read_csv overflowing for ea int with nulls
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 7054d93457264..b95f799750367 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -1023,6 +1023,7 @@ I/O - Bug in :meth:`DataFrame.to_string` ignoring float formatter for extension arrays (:issue:`39336`) ...
- [x] closes #32134 (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/50847
2023-01-18T22:33:00Z
2023-01-19T18:04:50Z
2023-01-19T18:04:50Z
2023-01-19T20:21:26Z
BUG: groupby.describe on a frame with duplicate column names
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index dacf333e0fcc0..07524fbf49652 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -1263,6 +1263,7 @@ Groupby/resample/rolling - Bug in :meth:`.SeriesGroupBy.value_counts` did not respect ``sort=False`` (:i...
- [x] closes #50806 (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/50846
2023-01-18T22:30:27Z
2023-02-03T18:12:48Z
2023-02-03T18:12:48Z
2023-04-02T14:21:55Z
ENH: Add ignore_index to Series.drop_duplicates
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 7054d93457264..b5b466edaccbe 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -161,6 +161,7 @@ Other enhancements - Added :meth:`Index.infer_objects` analogous to :meth:`Series.infer_objects` (:issue:`...
- [x] closes #48304 (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/50844
2023-01-18T21:47:34Z
2023-01-19T18:20:25Z
2023-01-19T18:20:25Z
2023-01-19T20:21:42Z
adding test to check if rows are skipped when skip_blank_lines is set…
diff --git a/pandas/tests/io/parser/common/test_common_basic.py b/pandas/tests/io/parser/common/test_common_basic.py index 6656face3be84..86d3557d89c1f 100644 --- a/pandas/tests/io/parser/common/test_common_basic.py +++ b/pandas/tests/io/parser/common/test_common_basic.py @@ -862,3 +862,27 @@ def test_read_seek(all_par...
… to true in read_csv xref #22693 test added with xfail decorator @noatamir @phofl
https://api.github.com/repos/pandas-dev/pandas/pulls/50843
2023-01-18T20:58:37Z
2023-03-16T02:45:52Z
null
2023-03-16T02:45:53Z
Fix groupby-resample KeyError when resampling on Index and giving explicit list of columns. (1.5.x)
diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index dae1e9b84cd67..879bad8ccbfb6 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -34,6 +34,7 @@ Bug fixes - Fixed bug when instantiating a :class:`DataFrame` subclass inheriting from ``typing.Generic`` th...
- [x] closes #50840 - [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/50841
2023-01-18T20:24:36Z
2023-01-19T22:34:51Z
null
2023-01-27T14:35:29Z
PERF: Avoid re-computing mask in nanmedian
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 1a071ab978de9..9366404445fb2 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -870,6 +870,7 @@ Performance improvements - Performance improvement in :func:`read_html` when there are multiple tables (: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/50838
2023-01-18T18:57:20Z
2023-01-19T18:37:14Z
2023-01-19T18:37:14Z
2023-01-19T20:21:58Z
WEB/CI: Use GITHUB_TOKEN when making Github API calls
diff --git a/web/pandas_web.py b/web/pandas_web.py index e4568136edece..8c508a15f9a2b 100755 --- a/web/pandas_web.py +++ b/web/pandas_web.py @@ -43,6 +43,12 @@ import requests import yaml +api_token = os.environ.get("GITHUB_TOKEN") +if api_token is not None: + GITHUB_API_HEADERS = {"Authorization": f"Bearer {api...
Follow up to https://github.com/pandas-dev/pandas/pull/50811, might as well still make authenticated API calls to Github
https://api.github.com/repos/pandas-dev/pandas/pulls/50837
2023-01-18T18:47:23Z
2023-01-19T02:20:50Z
2023-01-19T02:20:50Z
2023-01-20T03:25:11Z
BUG: merge_asof with non-nano
diff --git a/pandas/core/arrays/timedeltas.py b/pandas/core/arrays/timedeltas.py index ac4e8934570ce..1aedc3a31e3e7 100644 --- a/pandas/core/arrays/timedeltas.py +++ b/pandas/core/arrays/timedeltas.py @@ -316,7 +316,7 @@ def _unbox_scalar(self, value) -> np.timedelta64: raise ValueError("'value' should be ...
- [ ] 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/50835
2023-01-18T18:33:22Z
2023-01-23T19:41:26Z
2023-01-23T19:41:26Z
2023-05-13T15:07:15Z
ENH: Improve performance for idxmin and idxmax
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 1a071ab978de9..02afc888ff762 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -870,6 +870,7 @@ Performance improvements - Performance improvement in :func:`read_html` when there are multiple tables (: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/50834
2023-01-18T18:22:12Z
2023-01-18T18:29:53Z
null
2023-01-18T18:37:01Z
ENH: Get rid of float cast in masked reduction ops
diff --git a/pandas/core/arrays/masked.py b/pandas/core/arrays/masked.py index 77735add89bf7..d45fe05d52937 100644 --- a/pandas/core/arrays/masked.py +++ b/pandas/core/arrays/masked.py @@ -1081,12 +1081,7 @@ def _reduce(self, name: str, *, skipna: bool = True, **kwargs): data = self._data mask = self....
- [x] closes #30436 (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/50833
2023-01-18T18:08:31Z
2023-01-19T20:40:19Z
2023-01-19T20:40:19Z
2023-01-19T20:41:06Z
DOC fix link in bug report
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index d9330e396ed12..4e1bc8f61d04e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -17,8 +17,8 @@ body: [latest version](https://pandas.pydata.org/docs/whatsnew/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/50831
2023-01-18T16:32:56Z
2023-01-18T16:48:20Z
2023-01-18T16:48:20Z
2023-01-18T18:08:18Z
CLN remove unneccessary code from array_strptime which doesn't spark joy
diff --git a/pandas/_libs/tslibs/strptime.pyx b/pandas/_libs/tslibs/strptime.pyx index 69878625295d6..3ca87f8680b53 100644 --- a/pandas/_libs/tslibs/strptime.pyx +++ b/pandas/_libs/tslibs/strptime.pyx @@ -183,52 +183,51 @@ def array_strptime( bint found_naive = False bint found_tz = False tzi...
`fmt` can't be `None` so there's more complexity here than need be If reviewing, I'd suggest using the "hide whitespace" option
https://api.github.com/repos/pandas-dev/pandas/pulls/50830
2023-01-18T16:28:31Z
2023-01-18T19:23:20Z
2023-01-18T19:23:20Z
2023-01-18T19:23:28Z
PERF: datetime parsing with Q
diff --git a/pandas/_libs/tslibs/parsing.pyx b/pandas/_libs/tslibs/parsing.pyx index 9e593ec64f7d2..1b81d53c09e7e 100644 --- a/pandas/_libs/tslibs/parsing.pyx +++ b/pandas/_libs/tslibs/parsing.pyx @@ -472,16 +472,15 @@ cpdef bint _does_string_look_like_datetime(str py_string): return True -cdef object _parse_d...
``` In [3]: %timeit pd.Timestamp("2014Q1") 3.04 µs ± 63.6 ns per loop (mean ± std. dev. of 7 runs, 100,000 loops each) # <- main 2.8 µs ± 19.2 ns per loop (mean ± std. dev. of 7 runs, 100,000 loops each) # <- PR ```
https://api.github.com/repos/pandas-dev/pandas/pulls/50828
2023-01-18T16:02:50Z
2023-01-18T19:19:53Z
2023-01-18T19:19:53Z
2023-01-18T19:21:05Z
Manual backport fix github quota
diff --git a/.github/workflows/docbuild-and-upload.yml b/.github/workflows/docbuild-and-upload.yml index 17ebed5a8c1e6..13da56806de6e 100644 --- a/.github/workflows/docbuild-and-upload.yml +++ b/.github/workflows/docbuild-and-upload.yml @@ -45,12 +45,6 @@ jobs: - name: Build Pandas uses: ./.github/actions/b...
xref #50811
https://api.github.com/repos/pandas-dev/pandas/pulls/50827
2023-01-18T15:26:01Z
2023-01-18T17:48:10Z
2023-01-18T17:48:10Z
2023-01-18T17:48:11Z
DEPR: remove Int/Uint/Float64Index from pandas/tests/indexes/ranges
diff --git a/pandas/core/indexes/range.py b/pandas/core/indexes/range.py index 73e4a51ca3e7c..0ff733ab51b85 100644 --- a/pandas/core/indexes/range.py +++ b/pandas/core/indexes/range.py @@ -47,11 +47,7 @@ from pandas.core.construction import extract_array import pandas.core.indexes.base as ibase from pandas.core.inde...
Extracted from #50479 to make it more manageable. Progress towards #42717.
https://api.github.com/repos/pandas-dev/pandas/pulls/50826
2023-01-18T15:19:36Z
2023-01-19T21:12:32Z
2023-01-19T21:12:32Z
2023-01-19T21:26:11Z
remove Int/Uint/Float64Index from pandas/tests/frame
diff --git a/pandas/tests/frame/methods/test_astype.py b/pandas/tests/frame/methods/test_astype.py index 2d3d576154740..e9f6371239b4a 100644 --- a/pandas/tests/frame/methods/test_astype.py +++ b/pandas/tests/frame/methods/test_astype.py @@ -11,6 +11,7 @@ CategoricalDtype, DataFrame, DatetimeTZDtype, + ...
Extracted from #50479 to make it more manageable. Progress towards #42717.
https://api.github.com/repos/pandas-dev/pandas/pulls/50825
2023-01-18T15:07:23Z
2023-01-18T18:35:40Z
2023-01-18T18:35:40Z
2023-01-18T21:41:24Z
Remove int64/uint64/float64 indexes from tests/resample & tests/reshape
diff --git a/pandas/tests/resample/test_resampler_grouper.py b/pandas/tests/resample/test_resampler_grouper.py index 0c8e303b4ac56..3ab57e137f1c1 100644 --- a/pandas/tests/resample/test_resampler_grouper.py +++ b/pandas/tests/resample/test_resampler_grouper.py @@ -15,7 +15,6 @@ Timestamp, ) import pandas._testin...
Extracted from #50479 to make it more manageable. Progress towards #42717.
https://api.github.com/repos/pandas-dev/pandas/pulls/50823
2023-01-18T15:03:25Z
2023-01-18T18:31:51Z
2023-01-18T18:31:51Z
2023-01-18T21:40:18Z
DOC: Add 1.5.x note to main
diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index 489a9b47c11e1..67c2347fe53ac 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -47,6 +47,7 @@ Other as pandas works toward compatibility with SQLAlchemy 2.0. - Reverted deprecation (:issue:`45324...
- [ ] 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/50822
2023-01-18T14:40:08Z
2023-01-18T16:06:01Z
2023-01-18T16:06:01Z
2023-01-18T18:10:05Z
DOC: Fix whatsnew
diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index 7488f5f755bf4..97c4c73f08c37 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -48,7 +48,7 @@ Other as pandas works toward compatibility with SQLAlchemy 2.0. - Reverted deprecation (:issue:`45324...
cc @datapythonista
https://api.github.com/repos/pandas-dev/pandas/pulls/50821
2023-01-18T14:39:08Z
2023-01-18T18:09:00Z
2023-01-18T18:09:00Z
2023-01-18T18:09:05Z
update dev meeting frequency
diff --git a/doc/source/development/community.rst b/doc/source/development/community.rst index c321c9b0cccf6..c536cafce3367 100644 --- a/doc/source/development/community.rst +++ b/doc/source/development/community.rst @@ -22,7 +22,7 @@ The pandas Community Meeting is a regular sync meeting for the project's maintainers...
Updated the dev meeting description to include the 2nd monthly meeting (4th Wednesday)
https://api.github.com/repos/pandas-dev/pandas/pulls/50820
2023-01-18T13:49:05Z
2023-01-18T17:53:14Z
2023-01-18T17:53:14Z
2023-01-18T17:53:14Z
DOC: Fix formatting issue with DataFrame.info docs
diff --git a/pandas/io/formats/info.py b/pandas/io/formats/info.py index 27b61d502e9de..9a93724ca8f37 100644 --- a/pandas/io/formats/info.py +++ b/pandas/io/formats/info.py @@ -254,7 +254,7 @@ buf : writable buffer, defaults to sys.stdout Where to send the output. By default, the output is printed to ...
Removed a backslash that was causing the description of the **max_cols** argument from the [DataFrme.info](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.info.html#pandas.DataFrame.info) method to be merged with the description of the **buf** argument. ![image](https://user-images.githubusercontent.com/...
https://api.github.com/repos/pandas-dev/pandas/pulls/50816
2023-01-18T12:37:28Z
2023-01-18T19:24:17Z
2023-01-18T19:24:17Z
2023-01-18T19:33:17Z
Manually Backport PR #50809
diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index 88ae0df704e69..7488f5f755bf4 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -1,7 +1,7 @@ .. _whatsnew_153: -What's new in 1.5.3 (December ??, 2022) ---------------------------------------- +What's ...
xref #50809
https://api.github.com/repos/pandas-dev/pandas/pulls/50813
2023-01-18T10:15:26Z
2023-01-18T14:45:59Z
2023-01-18T14:45:59Z
2023-01-18T14:45:59Z
CI/WEB: Fix github quota errors by using website as cache
diff --git a/.github/workflows/docbuild-and-upload.yml b/.github/workflows/docbuild-and-upload.yml index 7a9f491228a83..908259597cafb 100644 --- a/.github/workflows/docbuild-and-upload.yml +++ b/.github/workflows/docbuild-and-upload.yml @@ -46,12 +46,6 @@ jobs: - name: Build Pandas uses: ./.github/actions/b...
xref #50485 Looks like the previous approach didn't fix the github quota errors. @mroeschke I saw you also added a github token, but that didn't seem to work either. What I'm doing here is to save the data we fetch from github in the website. For example https://pandas.pydata.org/maintainers.json (also for releas...
https://api.github.com/repos/pandas-dev/pandas/pulls/50811
2023-01-18T08:31:44Z
2023-01-18T15:12:58Z
2023-01-18T15:12:58Z
2023-03-15T15:49:24Z
TYP: fixed io.html._read typing
diff --git a/pandas/io/html.py b/pandas/io/html.py index 7dcbd76b77b28..f025e12bd0f55 100644 --- a/pandas/io/html.py +++ b/pandas/io/html.py @@ -19,6 +19,7 @@ ) from pandas._typing import ( + BaseBuffer, FilePath, ReadBuffer, ) @@ -130,9 +131,7 @@ def _get_skiprows(skiprows: int | Sequence[int] | slic...
xref https://github.com/pandas-dev/pandas/issues/37715
https://api.github.com/repos/pandas-dev/pandas/pulls/50810
2023-01-18T06:50:58Z
2023-01-18T19:22:31Z
2023-01-18T19:22:31Z
2023-01-18T20:05:44Z