title
stringlengths
1
185
diff
stringlengths
0
32.2M
body
stringlengths
0
123k
url
stringlengths
57
58
created_at
stringlengths
20
20
closed_at
stringlengths
20
20
merged_at
stringlengths
20
20
updated_at
stringlengths
20
20
TST: FIXMES in DataFrame.quantile tests
diff --git a/pandas/tests/frame/methods/test_quantile.py b/pandas/tests/frame/methods/test_quantile.py index 2e6318955e119..5773edbdbcdec 100644 --- a/pandas/tests/frame/methods/test_quantile.py +++ b/pandas/tests/frame/methods/test_quantile.py @@ -280,9 +280,13 @@ def test_quantile_datetime(self): tm.assert_f...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry cc @jorisvandenbossche these were introduced in #14536
https://api.github.com/repos/pandas-dev/pandas/pulls/44437
2021-11-13T22:13:18Z
2021-11-14T02:09:07Z
2021-11-14T02:09:07Z
2021-11-15T07:32:43Z
TST: remove pyarrow bz2 xfail
diff --git a/pandas/tests/io/parser/test_compression.py b/pandas/tests/io/parser/test_compression.py index e0799df8d7a4c..5aa0edfd8b46a 100644 --- a/pandas/tests/io/parser/test_compression.py +++ b/pandas/tests/io/parser/test_compression.py @@ -103,8 +103,6 @@ def test_compression(parser_and_data, compression_only, buf...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44436
2021-11-13T21:48:56Z
2021-11-14T02:06:11Z
2021-11-14T02:06:11Z
2021-11-14T15:12:16Z
REF: simplify putmask_smart
diff --git a/pandas/core/array_algos/putmask.py b/pandas/core/array_algos/putmask.py index 77e38e6c6e3fc..1f37e0e5d249a 100644 --- a/pandas/core/array_algos/putmask.py +++ b/pandas/core/array_algos/putmask.py @@ -4,7 +4,6 @@ from __future__ import annotations from typing import Any -import warnings import numpy ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44435
2021-11-13T21:41:14Z
2021-11-14T02:06:51Z
2021-11-14T02:06:51Z
2021-11-14T15:11:45Z
BUG: read_csv and read_fwf not skipping all defined rows when nrows is given
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index a593a03de5c25..e4e45e9fb0647 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -633,6 +633,7 @@ I/O - Bug in unpickling a :class:`Index` with object dtype incorrectly inferring numeric dtypes (:issue:`4...
- [x] closes #44021 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44434
2021-11-13T21:34:27Z
2021-11-16T00:55:59Z
2021-11-16T00:55:58Z
2021-11-19T21:31:24Z
Fix FloatingArray.equals on older numpy
diff --git a/pandas/core/arrays/masked.py b/pandas/core/arrays/masked.py index 1797f1aff4235..568f3484e78e4 100644 --- a/pandas/core/arrays/masked.py +++ b/pandas/core/arrays/masked.py @@ -47,6 +47,7 @@ ) from pandas.core.dtypes.inference import is_array_like from pandas.core.dtypes.missing import ( + array_equiv...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44432
2021-11-13T21:17:18Z
2021-11-13T23:26:01Z
2021-11-13T23:26:01Z
2021-11-13T23:26:58Z
BUG: to_datetime/to_timedelta with memoryview
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 017acb8ef930b..4b7325116cc2c 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -573,6 +573,7 @@ Conversion - Bug in :class:`IntegerDtype` not allowing coercion from string dtype (:issue:`25472`) - Bug ...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44431
2021-11-13T19:53:27Z
2021-11-24T23:54:41Z
null
2021-11-24T23:54:50Z
Doc: Clean obj.empty docs to describe Series/DataFrame
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 23608cf0192df..30e057cac968f 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2001,15 +2001,15 @@ def __contains__(self, key) -> bool_t: @property def empty(self) -> bool_t: """ - Indicator whether DataFrame...
- [x] closes #42697
https://api.github.com/repos/pandas-dev/pandas/pulls/44430
2021-11-13T19:37:30Z
2021-11-14T02:23:35Z
2021-11-14T02:23:35Z
2021-11-14T19:41:40Z
WIP/TST: troubleshoot xfails
diff --git a/pandas/tests/frame/constructors/test_from_records.py b/pandas/tests/frame/constructors/test_from_records.py index abb70089f1fef..4aa150afadef6 100644 --- a/pandas/tests/frame/constructors/test_from_records.py +++ b/pandas/tests/frame/constructors/test_from_records.py @@ -33,10 +33,7 @@ def test_from_record...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44429
2021-11-13T19:34:50Z
2021-12-08T16:44:00Z
null
2021-12-08T16:44:05Z
BUG: DataFrame with mismatched NA value and dtype
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 59b164c156d79..92fadf801cec7 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -608,6 +608,7 @@ Missing ^^^^^^^ - Bug in :meth:`DataFrame.fillna` with limit and no method ignores axis='columns' or ``ax...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry <s>Also fixed the FloatingArray.equals bug on older numpys</s>no longer needed, so rev...
https://api.github.com/repos/pandas-dev/pandas/pulls/44428
2021-11-13T19:20:24Z
2021-11-14T02:05:12Z
2021-11-14T02:05:12Z
2021-11-14T15:20:30Z
[DOC] Transferring data from the 6th column to the first. #44379
diff --git a/doc/source/user_guide/basics.rst b/doc/source/user_guide/basics.rst index a589ad96ca7d9..40ff1049e5820 100644 --- a/doc/source/user_guide/basics.rst +++ b/doc/source/user_guide/basics.rst @@ -2051,32 +2051,33 @@ The following table lists all of pandas extension types. For methods requiring ` arguments, st...
Transferring data from the 6th column to the first. This should resolve issue #44379
https://api.github.com/repos/pandas-dev/pandas/pulls/44427
2021-11-13T18:34:43Z
2021-11-25T17:23:36Z
2021-11-25T17:23:36Z
2021-11-25T17:23:50Z
TYP: improve typing for DataFrame.to_string
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index b88c97b8e988d..2f99785674a1a 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -989,15 +989,13 @@ def __repr__(self) -> str: """ Return a string representation for a particular DataFrame. """ - buf = StringIO(...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/44426
2021-11-13T18:33:54Z
2021-11-18T09:38:11Z
2021-11-18T09:38:11Z
2021-11-18T10:09:52Z
BUG: Using boolean keys to select a column (GH44322)
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index a593a03de5c25..02e2523d265e4 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -605,7 +605,7 @@ Indexing - Bug in :meth:`Series.__setitem__` with an integer dtype other than ``int64`` setting with a ``r...
- [x] closes #44322 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44425
2021-11-13T12:51:42Z
2021-11-15T18:22:56Z
2021-11-15T18:22:55Z
2021-11-15T18:22:59Z
BUG: AttributeError: 'BooleanArray' object has no attribute 'sum' while infer types
diff --git a/pandas/io/parsers/base_parser.py b/pandas/io/parsers/base_parser.py index 339585810bec1..b514b3855e42f 100644 --- a/pandas/io/parsers/base_parser.py +++ b/pandas/io/parsers/base_parser.py @@ -698,7 +698,7 @@ def _infer_types(self, values, na_values, try_num_bool=True): # error: Argument 2 to "...
- [x] closes #44079 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44423
2021-11-13T06:12:28Z
2021-11-14T04:10:15Z
null
2021-11-14T04:10:15Z
Bug gh44079
diff --git a/pandas/io/parsers/base_parser.py b/pandas/io/parsers/base_parser.py index 339585810bec1..b514b3855e42f 100644 --- a/pandas/io/parsers/base_parser.py +++ b/pandas/io/parsers/base_parser.py @@ -698,7 +698,7 @@ def _infer_types(self, values, na_values, try_num_bool=True): # error: Argument 2 to "...
- [x] closes #44079 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44422
2021-11-13T03:50:43Z
2021-11-13T06:10:20Z
null
2021-11-13T06:10:20Z
DOC: whatsnew for the improvement to warning messages
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 8db9be21ca4ef..94606e049018e 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -15,6 +15,31 @@ including other versions of pandas. Enhancements ~~~~~~~~~~~~ +.. _whatsnew_140.enhancements.warning_lin...
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry The use of find_stack_level is a significant improvement for users, thought it should go in the whatsnew. It appears to me that the ip...
https://api.github.com/repos/pandas-dev/pandas/pulls/44419
2021-11-12T23:07:11Z
2021-11-13T17:21:03Z
2021-11-13T17:21:03Z
2021-11-13T17:34:57Z
DOC: Add how=cross description to join
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index b01de5dec610d..212bb63693d56 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -9155,6 +9155,11 @@ def join( * inner: form intersection of calling frame's index (or column if on is specified) with `other`'s index, p...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/44418
2021-11-12T22:44:01Z
2021-11-13T17:05:35Z
2021-11-13T17:05:35Z
2021-11-13T18:48:29Z
BUG: DataFrame.astype(series) with duplicate columns
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 59b164c156d79..8964f5e3ffad2 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -714,6 +714,7 @@ Styler Other ^^^^^ +- Bug in :meth:`DataFrame.astype` with non-unique columns and a :class:`Series` ``d...
- [ ] closes #xxxx - [x] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44417
2021-11-12T22:24:42Z
2021-11-14T02:12:10Z
2021-11-14T02:12:10Z
2021-11-14T06:03:30Z
ENH: Use find_stack_level
diff --git a/pandas/_testing/asserters.py b/pandas/_testing/asserters.py index c9f7fd43c1050..05cd3a3a72257 100644 --- a/pandas/_testing/asserters.py +++ b/pandas/_testing/asserters.py @@ -11,6 +11,7 @@ ) from pandas._libs.missing import is_matching_na import pandas._libs.testing as _testing +from pandas.util._excep...
Part of #44347 - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
https://api.github.com/repos/pandas-dev/pandas/pulls/44416
2021-11-12T21:24:20Z
2021-11-13T17:04:23Z
2021-11-13T17:04:23Z
2021-11-13T21:16:16Z
TST: de-duplicate assert_slics_equivalent
diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py index c2c55a4060f7a..4f9ef2c3c3ffa 100644 --- a/pandas/_testing/__init__.py +++ b/pandas/_testing/__init__.py @@ -82,6 +82,7 @@ assert_extension_array_equal, assert_frame_equal, assert_index_equal, + assert_indexing_slices_equivale...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry Also fixes one of the usages that uses `.is_integer` instead of `.is_integer()`
https://api.github.com/repos/pandas-dev/pandas/pulls/44415
2021-11-12T19:50:19Z
2021-11-13T17:05:21Z
2021-11-13T17:05:21Z
2021-11-13T17:19:28Z
TST: collect/share Index tests
diff --git a/pandas/tests/frame/indexing/test_setitem.py b/pandas/tests/frame/indexing/test_setitem.py index 389bf56ab6035..bb1a1bc72116d 100644 --- a/pandas/tests/frame/indexing/test_setitem.py +++ b/pandas/tests/frame/indexing/test_setitem.py @@ -44,6 +44,19 @@ class TestDataFrameSetItem: + def test_setitem_s...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44413
2021-11-12T18:00:43Z
2021-11-14T02:05:39Z
2021-11-14T02:05:39Z
2021-11-14T15:12:55Z
REF: EA quantile logic to EA._quantile
diff --git a/pandas/core/array_algos/quantile.py b/pandas/core/array_algos/quantile.py index a1b40acc2558e..261d19ade080f 100644 --- a/pandas/core/array_algos/quantile.py +++ b/pandas/core/array_algos/quantile.py @@ -1,7 +1,5 @@ from __future__ import annotations -from typing import TYPE_CHECKING - import numpy as ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44412
2021-11-12T17:33:53Z
2021-11-28T19:25:22Z
2021-11-28T19:25:22Z
2021-11-28T19:38:51Z
WARN: Add FutureWarning for `DataFrame.to_latex`
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 36b591c3c3142..3d3ec53948a01 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -150,6 +150,7 @@ and a short caption (:issue:`36267`). The keyword ``position`` has been added to set the position. .. i...
Instead of #41648, which performs a refactor and adds the warning in the same PR, I am proposing adding the warning only for 1.4.0 and then in 2.0 there will be scope to make breaking changes and refactor the arguments signature.
https://api.github.com/repos/pandas-dev/pandas/pulls/44411
2021-11-12T17:25:26Z
2021-11-24T06:19:59Z
2021-11-24T06:19:58Z
2022-11-18T22:08:11Z
BUG: read_csv raising if parse_dates is used with MultiIndex columns
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index d1e209adb1b8f..d3df785c23544 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -574,6 +574,7 @@ I/O - Bug in :func:`json_normalize` where multi-character ``sep`` parameter is incorrectly prefixed to eve...
- [x] closes #8991 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44408
2021-11-12T14:12:49Z
2021-11-14T02:17:45Z
2021-11-14T02:17:44Z
2021-12-15T10:35:54Z
TST: Add nulls fixture to duplicates categorical na test
diff --git a/pandas/tests/series/methods/test_drop_duplicates.py b/pandas/tests/series/methods/test_drop_duplicates.py index f72d85337df8e..8b5557ab6e85f 100644 --- a/pandas/tests/series/methods/test_drop_duplicates.py +++ b/pandas/tests/series/methods/test_drop_duplicates.py @@ -2,7 +2,6 @@ import pytest from pand...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them cc @jorisvandenbossche as a follow up
https://api.github.com/repos/pandas-dev/pandas/pulls/44407
2021-11-12T13:17:30Z
2021-11-12T14:55:43Z
2021-11-12T14:55:43Z
2021-11-12T15:16:11Z
TYP: Typ part of python_parser
diff --git a/pandas/io/parsers/arrow_parser_wrapper.py b/pandas/io/parsers/arrow_parser_wrapper.py index 9fbeeb74901ef..98d1315c6212c 100644 --- a/pandas/io/parsers/arrow_parser_wrapper.py +++ b/pandas/io/parsers/arrow_parser_wrapper.py @@ -110,7 +110,12 @@ def _finalize_output(self, frame: DataFrame) -> DataFrame: ...
@simonjayhawkins I am wondering about mypy with overloads. The overload for ``_do_date_conversion`` could be more specific, e.g. ``` @overload def _do_date_conversions( self, names: list[Scalar | tuple], data: dict[Scalar | tuple, ArrayLike] | dict[Scalar | tuple, np.ndarray], ...
https://api.github.com/repos/pandas-dev/pandas/pulls/44406
2021-11-12T13:06:14Z
2021-11-28T23:52:59Z
2021-11-28T23:52:59Z
2021-11-29T11:38:45Z
BUG: .get_indexer_non_unique() must return an array of ints (#44084)
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index d1e209adb1b8f..2d70f361ba9cd 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -515,7 +515,7 @@ Strings Interval ^^^^^^^^ -- +- Bug in :meth:`IntervalIndex.get_indexer_non_unique` returning boolean m...
GH#44084 boils down to the following. According to the docs `.get_indexer_non_unique()` is supposed to return "integers from 0 to n - 1 indicating that the index at these positions matches the corresponding target values". However, for an index that is non unique and non monotonic it returns a boolean mask. Tha...
https://api.github.com/repos/pandas-dev/pandas/pulls/44404
2021-11-12T09:32:22Z
2021-11-14T02:26:44Z
2021-11-14T02:26:43Z
2021-11-16T12:53:04Z
Backport PR #44356 on branch 1.3.x (Fixed regression in Series.duplicated for categorical dtype with bool categories)
diff --git a/doc/source/whatsnew/v1.3.5.rst b/doc/source/whatsnew/v1.3.5.rst index 589092c0dd7e3..951b05b65c81b 100644 --- a/doc/source/whatsnew/v1.3.5.rst +++ b/doc/source/whatsnew/v1.3.5.rst @@ -16,6 +16,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`Series.equals` when comparing floats with ...
Backport PR #44356
https://api.github.com/repos/pandas-dev/pandas/pulls/44402
2021-11-12T08:33:01Z
2021-11-12T09:46:04Z
2021-11-12T09:46:04Z
2021-11-12T09:51:40Z
BUG: DataFrame.stack with EA columns
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 8732e1c397ce5..d1e209adb1b8f 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -623,6 +623,8 @@ Reshaping - Bug in :func:`crosstab` would fail when inputs are lists or tuples (:issue:`44076`) - Bug in ...
- [x] closes #43561 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44401
2021-11-12T00:00:02Z
2021-11-12T03:11:32Z
2021-11-12T03:11:32Z
2021-11-12T17:19:01Z
CLN: Refactor extract multiindex header call
diff --git a/pandas/io/parsers/base_parser.py b/pandas/io/parsers/base_parser.py index 8cdcc05f60266..339585810bec1 100644 --- a/pandas/io/parsers/base_parser.py +++ b/pandas/io/parsers/base_parser.py @@ -314,14 +314,14 @@ def _should_parse_dates(self, i: int) -> bool: @final def _extract_multi_indexer_colu...
I am in the process of typing parts of the parser modules. I stumbled across this function. The check I have removed is performed inside the function and self.col_names is always None when inserting, so no need to pass it at all
https://api.github.com/repos/pandas-dev/pandas/pulls/44399
2021-11-11T21:13:29Z
2021-11-12T03:10:37Z
2021-11-12T03:10:37Z
2021-11-12T08:34:12Z
DEPR: PeriodIndex.astype(dt64)
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 99a66c7e5454b..8a8c1208b7b89 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -400,6 +400,8 @@ Other Deprecations - Deprecated casting behavior when setting timezone-aware value(s) into a timezone-awar...
- [ ] closes #xxxx - [x] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry Match the Series/EA behavior
https://api.github.com/repos/pandas-dev/pandas/pulls/44398
2021-11-11T21:07:33Z
2021-11-14T03:20:32Z
2021-11-14T03:20:32Z
2021-12-24T17:09:40Z
ENH: Support timespec argument in Timestamp.isoformat()
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 8732e1c397ce5..a6751c486f25b 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -184,6 +184,7 @@ Other enhancements - :meth:`DataFrame.dropna` now accepts a single label as ``subset`` along with array-li...
- [x] closes #26131 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry This is an update of PR #38550. I added support for "nanoseconds" as an argument, e...
https://api.github.com/repos/pandas-dev/pandas/pulls/44397
2021-11-11T20:30:25Z
2021-11-14T03:19:08Z
2021-11-14T03:19:08Z
2021-11-14T03:19:18Z
[ArrayManager] Array version of putmask logic
diff --git a/pandas/core/internals/array_manager.py b/pandas/core/internals/array_manager.py index 1cd9fe65407ba..e318659d9f355 100644 --- a/pandas/core/internals/array_manager.py +++ b/pandas/core/internals/array_manager.py @@ -89,6 +89,7 @@ new_block, to_native_types, ) +from pandas.core.internals.methods ...
xref #39146 Trying to remove the usage of `apply_with_block` for putmask. (I also need to this for the Copy-on-Write branch to be able to perform the copy on write in putmask)
https://api.github.com/repos/pandas-dev/pandas/pulls/44396
2021-11-11T20:21:45Z
2023-02-22T12:59:22Z
null
2023-02-22T12:59:23Z
TST: parametrize arithmetic tests
diff --git a/pandas/tests/arithmetic/common.py b/pandas/tests/arithmetic/common.py index af70cdfe538bb..f3173e8f0eb57 100644 --- a/pandas/tests/arithmetic/common.py +++ b/pandas/tests/arithmetic/common.py @@ -11,7 +11,26 @@ array, ) import pandas._testing as tm -from pandas.core.arrays import PandasArray +from p...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44395
2021-11-11T18:15:36Z
2021-11-11T21:02:19Z
2021-11-11T21:02:18Z
2021-11-11T21:08:49Z
fix documentation on options in read_csv
diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index 49c2b28207ed5..6d3cc84a31d05 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -86,7 +86,7 @@ delimiters are prone to ignoring quoted data. Regex example: ``'\r\t'``. delimiter : str, default ``None`` ...
Noticed this due to pylance (typing) showing header=None was wrong. Don't know how it will propagate to the typings. - [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to ...
https://api.github.com/repos/pandas-dev/pandas/pulls/44391
2021-11-11T13:09:51Z
2021-11-11T14:15:28Z
2021-11-11T14:15:28Z
2021-11-11T14:15:32Z
BUG: handle NaNs in FloatingArray.equals
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 8db9be21ca4ef..466c8b21e89bf 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -692,6 +692,7 @@ Other - Bug in :meth:`RangeIndex.difference` with ``sort=None`` and ``step<0`` failing to sort (:issue:`44...
- [x] closes #44382 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44390
2021-11-11T03:13:17Z
2021-11-13T17:21:41Z
2021-11-13T17:21:40Z
2021-11-13T19:24:15Z
Backport PR #44388 on branch 1.3.x (CI: Use conda-forge to create Python 3.10 env)
diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml index 78506e3cb61ce..d167397fd09f9 100644 --- a/.github/workflows/sdist.yml +++ b/.github/workflows/sdist.yml @@ -53,6 +53,7 @@ jobs: - uses: conda-incubator/setup-miniconda@v2 with: activate-environment: pandas-sdist + c...
Backport PR #44388: CI: Use conda-forge to create Python 3.10 env
https://api.github.com/repos/pandas-dev/pandas/pulls/44389
2021-11-11T02:48:36Z
2021-11-11T03:50:32Z
2021-11-11T03:50:32Z
2021-11-11T03:50:32Z
CI: Use conda-forge to create Python 3.10 env
diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml index 7692dc522522f..92a9f2a5fb97c 100644 --- a/.github/workflows/sdist.yml +++ b/.github/workflows/sdist.yml @@ -53,6 +53,7 @@ jobs: - uses: conda-incubator/setup-miniconda@v2 with: activate-environment: pandas-sdist + c...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry Anaconda messed up their recipe :(. Fixes the sdist job.
https://api.github.com/repos/pandas-dev/pandas/pulls/44388
2021-11-11T01:40:10Z
2021-11-11T02:48:10Z
2021-11-11T02:48:10Z
2021-11-11T03:01:13Z
ENH: implement EA._putmask
diff --git a/pandas/core/arrays/_mixins.py b/pandas/core/arrays/_mixins.py index 8deeb44f65188..674379f6d65f8 100644 --- a/pandas/core/arrays/_mixins.py +++ b/pandas/core/arrays/_mixins.py @@ -310,7 +310,7 @@ def _wrap_reduction_result(self, axis: int | None, result): # --------------------------------------------...
Broken off from #43930
https://api.github.com/repos/pandas-dev/pandas/pulls/44387
2021-11-11T00:42:15Z
2021-11-11T17:50:22Z
2021-11-11T17:50:22Z
2021-11-11T17:53:41Z
TST: make get_upcast_box more flexible
diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py index e8283a222d86a..c2c55a4060f7a 100644 --- a/pandas/_testing/__init__.py +++ b/pandas/_testing/__init__.py @@ -259,7 +259,7 @@ def box_expected(expected, box_cls, transpose=True): expected = DatetimeArray(expected) elif box_cls is T...
Will make it easier to parametrize these tests
https://api.github.com/repos/pandas-dev/pandas/pulls/44385
2021-11-10T20:23:09Z
2021-11-11T00:39:48Z
2021-11-11T00:39:48Z
2021-11-11T00:41:29Z
TST/COMPAT: update csv test to infer time with pyarrow>=6.0
diff --git a/pandas/compat/pyarrow.py b/pandas/compat/pyarrow.py index 9bf7139769baa..f9b9409317774 100644 --- a/pandas/compat/pyarrow.py +++ b/pandas/compat/pyarrow.py @@ -12,9 +12,11 @@ pa_version_under3p0 = _palv < Version("3.0.0") pa_version_under4p0 = _palv < Version("4.0.0") pa_version_under5p0 = _...
Closes #44231
https://api.github.com/repos/pandas-dev/pandas/pulls/44381
2021-11-10T08:47:32Z
2021-11-10T19:25:11Z
2021-11-10T19:25:10Z
2021-11-10T19:25:49Z
REF/TST: collect index tests
diff --git a/pandas/tests/indexes/datetimelike_/test_is_monotonic.py b/pandas/tests/indexes/datetimelike_/test_is_monotonic.py new file mode 100644 index 0000000000000..22247c982edbc --- /dev/null +++ b/pandas/tests/indexes/datetimelike_/test_is_monotonic.py @@ -0,0 +1,46 @@ +from pandas import ( + Index, + NaT, ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44377
2021-11-09T23:05:55Z
2021-11-11T23:42:16Z
2021-11-11T23:42:16Z
2021-11-11T23:51:23Z
CLN: misplaced indexing tests
diff --git a/pandas/tests/arithmetic/test_datetime64.py b/pandas/tests/arithmetic/test_datetime64.py index 44a70d3933b66..bff461dbc7038 100644 --- a/pandas/tests/arithmetic/test_datetime64.py +++ b/pandas/tests/arithmetic/test_datetime64.py @@ -359,6 +359,39 @@ def test_dt64arr_timestamp_equality(self, box_with_array):...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44375
2021-11-09T22:17:05Z
2021-11-11T13:40:52Z
2021-11-11T13:40:52Z
2021-11-11T15:12:14Z
TST: Make tests for groupby median/mean more strict on dtype
diff --git a/pandas/tests/groupby/test_function.py b/pandas/tests/groupby/test_function.py index 3c402480ea2ec..e5870a206f419 100644 --- a/pandas/tests/groupby/test_function.py +++ b/pandas/tests/groupby/test_function.py @@ -394,8 +394,7 @@ def test_median_empty_bins(observed): result = df.groupby(bins, observed...
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them Followup to #41139.
https://api.github.com/repos/pandas-dev/pandas/pulls/44374
2021-11-09T22:06:34Z
2021-11-11T00:17:10Z
2021-11-11T00:17:09Z
2021-11-11T22:27:28Z
TYP: changed variable cat_array to cat_array_list in dtypes.py
diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml index 7692dc522522f..92a9f2a5fb97c 100644 --- a/.github/workflows/sdist.yml +++ b/.github/workflows/sdist.yml @@ -53,6 +53,7 @@ jobs: - uses: conda-incubator/setup-miniconda@v2 with: activate-environment: pandas-sdist + c...
xref #37715
https://api.github.com/repos/pandas-dev/pandas/pulls/44373
2021-11-09T21:59:02Z
2021-11-28T21:11:21Z
null
2021-11-29T03:22:50Z
TST: split/collect partial tests
diff --git a/pandas/tests/indexing/test_partial.py b/pandas/tests/indexing/test_partial.py index c487777fc339e..82d55a7bf7189 100644 --- a/pandas/tests/indexing/test_partial.py +++ b/pandas/tests/indexing/test_partial.py @@ -22,6 +22,213 @@ import pandas._testing as tm +class TestEmptyFrameSetitemExpansion: + d...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44372
2021-11-09T20:06:53Z
2021-11-11T17:51:02Z
2021-11-11T17:51:02Z
2021-11-11T17:53:16Z
TST: test that Int64 series can be created from pyarrow array
diff --git a/pandas/tests/extension/test_integer.py b/pandas/tests/extension/test_integer.py index 7d343aab3c7a0..a4ade3864c007 100644 --- a/pandas/tests/extension/test_integer.py +++ b/pandas/tests/extension/test_integer.py @@ -249,3 +249,21 @@ class TestParsing(base.BaseParsingTests): class Test2DCompat(base.Dim2C...
- [x] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry Closes #44368
https://api.github.com/repos/pandas-dev/pandas/pulls/44371
2021-11-09T20:01:01Z
2021-11-10T18:42:25Z
null
2021-11-10T18:42:30Z
Backport PR #44362 on branch 1.3.x (CI: xfail tests failing on numpy dev)
diff --git a/pandas/core/arrays/sparse/scipy_sparse.py b/pandas/core/arrays/sparse/scipy_sparse.py index 7ebda1f17ba56..ef53034580112 100644 --- a/pandas/core/arrays/sparse/scipy_sparse.py +++ b/pandas/core/arrays/sparse/scipy_sparse.py @@ -122,7 +122,7 @@ def coo_to_sparse_series(A, dense_index: bool = False): ...
Backport PR #44362
https://api.github.com/repos/pandas-dev/pandas/pulls/44370
2021-11-09T19:54:51Z
2021-11-09T21:23:33Z
2021-11-09T21:23:33Z
2021-11-09T21:23:37Z
TST: check compatibility with pyarrow types_mapper parameter
diff --git a/pandas/tests/arrays/masked/test_arrow_compat.py b/pandas/tests/arrays/masked/test_arrow_compat.py index 3f0a1b5d0eaf3..20eb055f14835 100644 --- a/pandas/tests/arrays/masked/test_arrow_compat.py +++ b/pandas/tests/arrays/masked/test_arrow_compat.py @@ -36,6 +36,27 @@ def test_arrow_roundtrip(data): tm....
- [x] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry Closes #44368
https://api.github.com/repos/pandas-dev/pandas/pulls/44369
2021-11-09T17:56:38Z
2021-12-01T01:26:47Z
2021-12-01T01:26:47Z
2021-12-01T16:54:07Z
CLN: split/fixturize to_datetime tests
diff --git a/pandas/tests/tools/test_to_datetime.py b/pandas/tests/tools/test_to_datetime.py index 1f75bc11005bc..4867ba58838ef 100644 --- a/pandas/tests/tools/test_to_datetime.py +++ b/pandas/tests/tools/test_to_datetime.py @@ -46,6 +46,14 @@ from pandas.core.tools.datetimes import start_caching_at +@pytest.fixtu...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44367
2021-11-09T17:49:52Z
2021-11-11T17:51:20Z
2021-11-11T17:51:20Z
2021-11-11T17:53:06Z
ENH: add suffixes argument to compare
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 9ead1e4a75d01..461b9b7d3b93c 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -213,6 +213,7 @@ Other enhancements - :meth:`.GroupBy.mean` now supports `Numba <http://numba.pydata.org/>`_ execution with...
- [x] closes #44354 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44365
2021-11-09T07:06:34Z
2022-02-06T22:51:27Z
null
2022-02-06T22:51:27Z
BUG/API: implement DayDST
diff --git a/pandas/_libs/tslibs/__init__.py b/pandas/_libs/tslibs/__init__.py index 11de4e60f202d..a9aa49ae5ee66 100644 --- a/pandas/_libs/tslibs/__init__.py +++ b/pandas/_libs/tslibs/__init__.py @@ -23,6 +23,7 @@ "to_offset", "Tick", "BaseOffset", + "DayDST", "tz_compare", ] @@ -41,6 +42,7 @...
xref #41943 cc @mroeschke The tests all passed locally up until the last commit, have a handful of broken resample tests now. The approach here is to keep Day as-is and implement DayDST, fix the actively-wrong infer_freq behavior (see test_infer_freq_across_dst_not_daily), then decide what to do with `freq="infe...
https://api.github.com/repos/pandas-dev/pandas/pulls/44364
2021-11-09T04:26:07Z
2022-01-16T18:12:41Z
null
2022-01-16T18:12:54Z
CI: xfail tests failing on numpy dev
diff --git a/pandas/core/arrays/sparse/scipy_sparse.py b/pandas/core/arrays/sparse/scipy_sparse.py index 3f69321ae98a6..c1b994d4bc4c7 100644 --- a/pandas/core/arrays/sparse/scipy_sparse.py +++ b/pandas/core/arrays/sparse/scipy_sparse.py @@ -181,7 +181,7 @@ def coo_to_sparse_series( Parameters ---------- - ...
- [x] ref #44343
https://api.github.com/repos/pandas-dev/pandas/pulls/44362
2021-11-08T23:09:44Z
2021-11-09T01:17:50Z
2021-11-09T01:17:50Z
2021-11-09T19:55:27Z
CLN: Removed _SAFE_NAMES_WARNING in io.sql
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index 867ce52cbde6f..027bb9889202b 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -1818,12 +1818,6 @@ def _get_valid_sqlite_name(name): return '"' + uname.replace('"', '""') + '"' -_SAFE_NAMES_WARNING = ( - "The spaces in these column names will not ...
- [x] closes #44295 - [x] tests passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them Please let me know if I should improve/change something. Thank you very much!
https://api.github.com/repos/pandas-dev/pandas/pulls/44361
2021-11-08T23:06:17Z
2021-11-14T20:24:19Z
2021-11-14T20:24:19Z
2021-11-14T20:24:29Z
TYP: changed variable hashed to combined_hashed in dtype.py
diff --git a/pandas/core/dtypes/dtypes.py b/pandas/core/dtypes/dtypes.py index 21675ca0cdc7c..e20670893f71c 100644 --- a/pandas/core/dtypes/dtypes.py +++ b/pandas/core/dtypes/dtypes.py @@ -468,12 +468,8 @@ def _hash_categories(self) -> int: # error: Incompatible types in assignment (expression has type ...
xref #37715
https://api.github.com/repos/pandas-dev/pandas/pulls/44360
2021-11-08T22:51:37Z
2021-11-09T17:16:23Z
2021-11-09T17:16:22Z
2021-11-09T21:31:52Z
Update cython version for asv conf
diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json index df50f67432fbb..9ad856d5d03ed 100644 --- a/asv_bench/asv.conf.json +++ b/asv_bench/asv.conf.json @@ -39,7 +39,7 @@ // followed by the pip installed packages). "matrix": { "numpy": [], - "Cython": ["0.29.21"], + "Cython"...
- [x] closes #44067
https://api.github.com/repos/pandas-dev/pandas/pulls/44359
2021-11-08T22:50:32Z
2021-11-09T21:24:47Z
2021-11-09T21:24:46Z
2021-11-09T21:25:00Z
ENH: Use find_stack_level in pandas.core
diff --git a/pandas/core/accessor.py b/pandas/core/accessor.py index c31368f179ef0..07fa5799fe371 100644 --- a/pandas/core/accessor.py +++ b/pandas/core/accessor.py @@ -9,6 +9,7 @@ import warnings from pandas.util._decorators import doc +from pandas.util._exceptions import find_stack_level class DirNamesMixin:...
Part of #44347 - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them This handles most of the stacklevels in core. A few more will take a bit more effort, separating out into a separate PR. After all stackl...
https://api.github.com/repos/pandas-dev/pandas/pulls/44358
2021-11-08T22:47:15Z
2021-11-12T03:19:05Z
2021-11-12T03:19:05Z
2021-12-04T15:25:42Z
DOC: Clarify DST rounding behavior in Timestamp/DatetimeIndex
diff --git a/pandas/_libs/tslibs/nattype.pyx b/pandas/_libs/tslibs/nattype.pyx index 0ec0fb9e814c1..0cbae74ecadac 100644 --- a/pandas/_libs/tslibs/nattype.pyx +++ b/pandas/_libs/tslibs/nattype.pyx @@ -792,6 +792,13 @@ timedelta}, default 'raise' ------ ValueError if the freq cannot be converted + ...
xref https://github.com/pandas-dev/pandas/issues/44287 - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
https://api.github.com/repos/pandas-dev/pandas/pulls/44357
2021-11-08T22:35:44Z
2021-11-17T13:52:38Z
2021-11-17T13:52:38Z
2021-11-17T17:48:56Z
Fixed regression in Series.duplicated for categorical dtype with bool categories
diff --git a/doc/source/whatsnew/v1.3.5.rst b/doc/source/whatsnew/v1.3.5.rst index 589092c0dd7e3..951b05b65c81b 100644 --- a/doc/source/whatsnew/v1.3.5.rst +++ b/doc/source/whatsnew/v1.3.5.rst @@ -16,6 +16,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`Series.equals` when comparing floats with ...
- [x] closes #44351 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44356
2021-11-08T22:10:59Z
2021-11-12T03:09:36Z
2021-11-12T03:09:35Z
2021-11-12T11:44:04Z
CLN: split giant dt accessor tests
diff --git a/pandas/tests/series/accessors/test_dt_accessor.py b/pandas/tests/series/accessors/test_dt_accessor.py index eb7e1d4268605..48a3ebd25c239 100644 --- a/pandas/tests/series/accessors/test_dt_accessor.py +++ b/pandas/tests/series/accessors/test_dt_accessor.py @@ -39,121 +39,136 @@ ) import pandas.core.common...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44355
2021-11-08T21:45:28Z
2021-11-10T01:43:48Z
2021-11-10T01:43:48Z
2021-11-10T02:14:25Z
changed shape argument for ndarray from int to tuple in ./core/strings/object_array.py
diff --git a/pandas/core/strings/object_array.py b/pandas/core/strings/object_array.py index ba2f56c79bdfe..2ce5c0cbea272 100644 --- a/pandas/core/strings/object_array.py +++ b/pandas/core/strings/object_array.py @@ -12,7 +12,7 @@ import pandas._libs.missing as libmissing import pandas._libs.ops as libops from panda...
xref #37715
https://api.github.com/repos/pandas-dev/pandas/pulls/44352
2021-11-08T18:35:46Z
2021-11-16T00:57:31Z
2021-11-16T00:57:31Z
2022-01-05T18:42:34Z
TYP: misc typing in _libs
diff --git a/pandas/_libs/join.pyi b/pandas/_libs/join.pyi index 3a22aa439b7be..a5e91e2ce83eb 100644 --- a/pandas/_libs/join.pyi +++ b/pandas/_libs/join.pyi @@ -55,7 +55,7 @@ def asof_join_backward_on_X_by_Y( left_by_values: np.ndarray, # by_t[:] right_by_values: np.ndarray, # by_t[:] allow_exact_match...
Reduced the list of partially typed functions in _libs a bit.
https://api.github.com/repos/pandas-dev/pandas/pulls/44349
2021-11-08T02:29:57Z
2021-12-14T02:05:20Z
2021-12-14T02:05:20Z
2022-03-09T02:56:34Z
CLN: address TODOs/FIXMEs
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index ebf3428020652..1f26b6d9ae6ae 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3732,6 +3732,9 @@ def _setitem_array(self, key, value): self.iloc[indexer] = value else: + # Note: unlike self.iloc[:, indexer] ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44348
2021-11-07T23:01:47Z
2021-11-08T13:13:09Z
2021-11-08T13:13:09Z
2021-11-08T14:57:32Z
REF: re-remove _putmask_preserve
diff --git a/pandas/core/array_algos/putmask.py b/pandas/core/array_algos/putmask.py index 54324bf721945..77e38e6c6e3fc 100644 --- a/pandas/core/array_algos/putmask.py +++ b/pandas/core/array_algos/putmask.py @@ -126,7 +126,8 @@ def putmask_smart(values: np.ndarray, mask: npt.NDArray[np.bool_], new) -> np.nd if ...
Un-revert half of #44338
https://api.github.com/repos/pandas-dev/pandas/pulls/44346
2021-11-07T19:36:21Z
2021-11-10T01:45:18Z
2021-11-10T01:45:18Z
2021-11-10T02:14:07Z
BUG: frame.loc[2:, 'z'] not setting inplace when multi-block
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 8732e1c397ce5..85f0f16c44b89 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -543,6 +543,7 @@ Indexing - Bug when setting string-backed :class:`Categorical` values that can be parsed to datetimes into...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44345
2021-11-07T19:04:39Z
2021-11-13T00:28:44Z
2021-11-13T00:28:44Z
2021-11-13T00:32:18Z
CI: Fix import of coo_matrix after scipy dev upgrade
diff --git a/pandas/tests/arrays/sparse/test_array.py b/pandas/tests/arrays/sparse/test_array.py index 96021bfa18fb7..cc48918981338 100644 --- a/pandas/tests/arrays/sparse/test_array.py +++ b/pandas/tests/arrays/sparse/test_array.py @@ -1255,7 +1255,7 @@ def test_to_coo( A, rows, cols = ss.sparse.to_coo( ...
New scipy_dev renamed ``coo`` to ``_coo`` to make it private
https://api.github.com/repos/pandas-dev/pandas/pulls/44344
2021-11-07T15:49:57Z
2021-11-09T20:08:21Z
null
2021-11-13T19:32:29Z
TYP: timestamps.pyi
diff --git a/pandas/_libs/tslibs/timestamps.pyi b/pandas/_libs/tslibs/timestamps.pyi index 17df594a39c44..9693f18e2e05d 100644 --- a/pandas/_libs/tslibs/timestamps.pyi +++ b/pandas/_libs/tslibs/timestamps.pyi @@ -8,7 +8,6 @@ from datetime import ( from time import struct_time from typing import ( ClassVar, - ...
Should type annotations from a pyi files also be added to the pyx file (if possible)?
https://api.github.com/repos/pandas-dev/pandas/pulls/44339
2021-11-06T23:59:15Z
2021-12-19T22:41:15Z
2021-12-19T22:41:15Z
2021-12-20T16:20:29Z
Revert "REF: remove putmask_preserve, putmask_without_repeat"
diff --git a/pandas/core/array_algos/putmask.py b/pandas/core/array_algos/putmask.py index b17e86e774f60..54324bf721945 100644 --- a/pandas/core/array_algos/putmask.py +++ b/pandas/core/array_algos/putmask.py @@ -126,8 +126,7 @@ def putmask_smart(values: np.ndarray, mask: npt.NDArray[np.bool_], new) -> np.nd if ...
Reverts pandas-dev/pandas#44328 cc @jbrockmendel
https://api.github.com/repos/pandas-dev/pandas/pulls/44338
2021-11-06T21:26:42Z
2021-11-06T22:28:05Z
2021-11-06T22:28:05Z
2021-11-06T22:28:11Z
Remove aiobotocore pin
diff --git a/ci/deps/actions-38-db.yaml b/ci/deps/actions-38-db.yaml index 7b73f43b7ba03..3e959f9b7e992 100644 --- a/ci/deps/actions-38-db.yaml +++ b/ci/deps/actions-38-db.yaml @@ -12,7 +12,6 @@ dependencies: - pytest-cov>=2.10.1 # this is only needed in the coverage build, ref: GH 35737 # pandas dependencies ...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/44337
2021-11-06T20:39:42Z
2021-11-06T21:38:04Z
null
2021-11-13T19:32:31Z
ENH: option to change the number in `_dir_additions_for_owner`
diff --git a/doc/source/user_guide/options.rst b/doc/source/user_guide/options.rst index a65bb774b9df8..93448dae578c9 100644 --- a/doc/source/user_guide/options.rst +++ b/doc/source/user_guide/options.rst @@ -430,6 +430,10 @@ display.html.use_mathjax True When True, Jupyter notebook ...
- [x] closes #37996 - [x] tests added / passed - [x] Allows to optionally change the number of columns from a dataframe that are added to `dir`, which is frequently also the number of columns suggested by tab completion, by using the option `pandas.set_option('display.max_dir_additions', 100)` to a higher number tha...
https://api.github.com/repos/pandas-dev/pandas/pulls/44335
2021-11-06T16:39:28Z
2021-11-26T15:02:54Z
2021-11-26T15:02:53Z
2021-11-26T15:02:57Z
TST: use custom parametrization for consistency in base extension array tests
diff --git a/pandas/tests/extension/base/ops.py b/pandas/tests/extension/base/ops.py index c52f20255eb81..1d3d736ca7ee2 100644 --- a/pandas/tests/extension/base/ops.py +++ b/pandas/tests/extension/base/ops.py @@ -162,13 +162,12 @@ def test_compare_array(self, data, comparison_op): other = pd.Series([data[0]] *...
Follow-up on https://github.com/pandas-dev/pandas/pull/44242, as that broke geopandas CI. This adds back the custom parametrization, which also makes it consistent with the other occurrence of this test (for a different op) which is still using this: https://github.com/pandas-dev/pandas/blob/057c6f81b464c6bbb667d326...
https://api.github.com/repos/pandas-dev/pandas/pulls/44332
2021-11-06T10:16:12Z
2021-11-11T20:10:23Z
2021-11-11T20:10:23Z
2021-11-11T20:10:27Z
DOC: df.to_html documentation incorrectly contains min_rows optional param
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 4e7f6329bb73b..b97175cc57fd3 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1065,11 +1065,11 @@ def to_string( index_names: bool = True, justify: str | None = None, max_rows: int | None = None, - min_rows:...
- [x] closes #44304 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [NA] whatsnew entry Moved min_rows parameter out of the common docstring that is used by both DataFrame....
https://api.github.com/repos/pandas-dev/pandas/pulls/44331
2021-11-06T03:41:55Z
2021-11-14T02:40:08Z
2021-11-14T02:40:07Z
2021-11-15T10:50:07Z
CLN: remove _AXIS_REVERSED
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 4e7f6329bb73b..ebf3428020652 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1686,9 +1686,7 @@ def to_numpy( self._consolidate_inplace() if dtype is not None: dtype = np.dtype(dtype) - result = self._mg...
Motivated by the FIXME in ArrayManager.as_array
https://api.github.com/repos/pandas-dev/pandas/pulls/44330
2021-11-06T02:03:17Z
2021-11-06T19:41:13Z
2021-11-06T19:41:13Z
2021-11-06T19:41:52Z
REF: remove putmask_preserve, putmask_without_repeat
diff --git a/pandas/core/array_algos/putmask.py b/pandas/core/array_algos/putmask.py index 54324bf721945..b17e86e774f60 100644 --- a/pandas/core/array_algos/putmask.py +++ b/pandas/core/array_algos/putmask.py @@ -126,7 +126,8 @@ def putmask_smart(values: np.ndarray, mask: npt.NDArray[np.bool_], new) -> np.nd if ...
No longer needed following #44275
https://api.github.com/repos/pandas-dev/pandas/pulls/44328
2021-11-05T18:51:14Z
2021-11-06T19:42:42Z
2021-11-06T19:42:42Z
2021-11-06T21:10:02Z
BUG: is_dtype_equal(dtype, "string[pyarrow]") raises if pyarrow not installed
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 4f7eb7c87b260..1765b22dda05f 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -655,7 +655,7 @@ Conversion Strings ^^^^^^^ -- +- Fixed bug in checking for ``string[pyarrow]`` dtype incorrectly raisin...
- [x] closes #44276 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry Added instance to check string preventing import error
https://api.github.com/repos/pandas-dev/pandas/pulls/44327
2021-11-05T16:56:31Z
2021-12-15T07:52:51Z
2021-12-15T07:52:50Z
2021-12-15T08:27:03Z
BUG: closes #44312: fixes unwanted TypeError with nullable nested metadata in json_normalize
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 4d0dee01f05c1..17993b8712019 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -569,6 +569,7 @@ I/O - Bug in :func:`read_csv`, changed exception class when expecting a file path name or file-like object...
- [x] closes #44312 Fixes TypeError crash in json_normalize when using errors="ignore" and extracting nullable nested metadata.
https://api.github.com/repos/pandas-dev/pandas/pulls/44325
2021-11-05T14:40:05Z
2021-11-14T02:34:45Z
2021-11-14T02:34:45Z
2021-11-14T02:34:49Z
DOC: remove note about groupby.apply side-effect
diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index ac3808d9ee590..00c4d2778e545 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -163,11 +163,6 @@ class providing the base-class of operations. Notes ----- - In the current implementation `...
The described behavior has been fixed in 0.25 - [x] closes #44318 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry, _comment:_ wouldn't say this is applic...
https://api.github.com/repos/pandas-dev/pandas/pulls/44321
2021-11-05T11:04:47Z
2021-11-05T13:04:15Z
2021-11-05T13:04:15Z
2021-11-05T13:20:28Z
Backport PR #44315 on branch 1.3.x (Pin aiobotocore to lower than 2.0 )
diff --git a/ci/deps/actions-37-db.yaml b/ci/deps/actions-37-db.yaml index 73d3bf2dcc70a..ed6086832cf71 100644 --- a/ci/deps/actions-37-db.yaml +++ b/ci/deps/actions-37-db.yaml @@ -12,6 +12,7 @@ dependencies: - pytest-cov>=2.10.1 # this is only needed in the coverage build, ref: GH 35737 # pandas dependencies ...
(cherry picked from commit 28c7f7628dd6b862e1eed29ff71e2e8363ca1eee) - [x] xref #44315
https://api.github.com/repos/pandas-dev/pandas/pulls/44319
2021-11-05T08:31:32Z
2021-11-09T09:21:59Z
2021-11-09T09:21:59Z
2021-11-13T19:32:27Z
ENH: Add decimal parameter to read_excel
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 1b3be65ee66f2..a1bb3261d0445 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -182,6 +182,7 @@ Other enhancements - Added :meth:`.ExponentialMovingWindow.sum` (:issue:`13297`) - :meth:`Series.str.spli...
- [ ] closes #14403 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44317
2021-11-05T02:03:51Z
2021-11-05T13:05:22Z
2021-11-05T13:05:22Z
2022-12-28T06:34:43Z
BUG: failure to cast all-int floating dtypes when setting into int dtypes
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 3f0744abd1d59..9ad53cd189348 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -535,6 +535,7 @@ Indexing - Bug in :meth:`DataFrame.nlargest` and :meth:`Series.nlargest` where sorted result did not count...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry Overlap with (but not rebased on top of) #44275
https://api.github.com/repos/pandas-dev/pandas/pulls/44316
2021-11-04T22:38:05Z
2021-11-05T20:56:22Z
2021-11-05T20:56:22Z
2021-11-05T21:07:29Z
Pin aiobotocore to lower than 2.0
diff --git a/ci/deps/actions-38-db.yaml b/ci/deps/actions-38-db.yaml index 3e959f9b7e992..7b73f43b7ba03 100644 --- a/ci/deps/actions-38-db.yaml +++ b/ci/deps/actions-38-db.yaml @@ -12,6 +12,7 @@ dependencies: - pytest-cov>=2.10.1 # this is only needed in the coverage build, ref: GH 35737 # pandas dependencies ...
- [x] xref #44311
https://api.github.com/repos/pandas-dev/pandas/pulls/44315
2021-11-04T22:27:32Z
2021-11-05T00:02:19Z
2021-11-05T00:02:19Z
2021-11-05T08:32:43Z
BUG: PeriodIndex in pytables
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index f85128ea0ca4a..8c8e9b9feeb80 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -2074,6 +2074,14 @@ def convert(self, values: np.ndarray, nan_rep, encoding: str, errors: str): factory: type[Index] | type[DatetimeIndex] = Index ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry I've ONLY checked that the edit here fixes the commented-out test, not sure if thats s...
https://api.github.com/repos/pandas-dev/pandas/pulls/44314
2021-11-04T21:29:29Z
2021-11-06T19:43:42Z
2021-11-06T19:43:41Z
2021-11-06T19:45:02Z
CLN/TYP: address TODOs, ignores
diff --git a/pandas/_libs/tslibs/dtypes.pyi b/pandas/_libs/tslibs/dtypes.pyi index 9dbf9d082d8cc..8c510b05de4ce 100644 --- a/pandas/_libs/tslibs/dtypes.pyi +++ b/pandas/_libs/tslibs/dtypes.pyi @@ -14,6 +14,8 @@ class PeriodDtypeBase: def date_offset(self) -> BaseOffset: ... @classmethod def from_date_off...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44308
2021-11-04T05:32:51Z
2021-11-05T09:09:57Z
2021-11-05T09:09:57Z
2021-11-05T15:54:04Z
CLN: libparsers
diff --git a/pandas/_libs/parsers.pyi b/pandas/_libs/parsers.pyi index 9e3c163fb54d9..01f5d5802ccd5 100644 --- a/pandas/_libs/parsers.pyi +++ b/pandas/_libs/parsers.pyi @@ -16,7 +16,6 @@ STR_NA_VALUES: set[str] def sanitize_objects( values: npt.NDArray[np.object_], na_values: set, - convert_empty: bool = ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44307
2021-11-04T05:30:26Z
2021-11-05T13:03:31Z
2021-11-05T13:03:30Z
2021-11-05T15:55:17Z
CLN: address TODOs
diff --git a/pandas/_libs/hashtable.pyi b/pandas/_libs/hashtable.pyi index 9c1de67a7ba2a..f4b90648a8dc8 100644 --- a/pandas/_libs/hashtable.pyi +++ b/pandas/_libs/hashtable.pyi @@ -194,21 +194,6 @@ class StringHashTable(HashTable): ... class PyObjectHashTable(HashTable): ... class IntpHashTable(HashTable): ... -def...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44305
2021-11-03T17:06:55Z
2021-11-05T13:07:28Z
2021-11-05T13:07:28Z
2021-11-05T15:55:58Z
ENH: Implement multi-column `DataFrame.quantiles`
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index a1a2149da7cf6..ce7fa940d018a 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -293,6 +293,7 @@ Other enhancements - :class:`Series` reducers (e.g. ``min``, ``max``, ``sum``, ``mean``) will now successf...
Rough attempt at implementing cuDF's `DataFrame.quantiles`; shares a lot of common logic with `sort_values`, as the indexer that sorts the dataframe by all columns is ultimately what is used to grab the desired quantiles. cc @quasiben @rjzamora - [ ] closes #43881 - [ ] tests added / passed - [ ] Ensure all lin...
https://api.github.com/repos/pandas-dev/pandas/pulls/44301
2021-11-03T15:08:09Z
2022-08-17T02:01:44Z
2022-08-17T02:01:44Z
2022-08-17T02:01:59Z
Detect CPORT header in SAS files
diff --git a/pandas/io/sas/sas_xport.py b/pandas/io/sas/sas_xport.py index bdb7d86a9b37e..3f9bf6662e99f 100644 --- a/pandas/io/sas/sas_xport.py +++ b/pandas/io/sas/sas_xport.py @@ -279,6 +279,12 @@ def _read_header(self): # read file header line1 = self._get_row() if line1 != _correct_line1: ...
Refers https://github.com/pandas-dev/pandas/issues/15825 . Doesn't fix the issue (might be unfixable), but gives a more helpful warning.
https://api.github.com/repos/pandas-dev/pandas/pulls/44300
2021-11-03T13:56:42Z
2021-11-06T19:41:49Z
2021-11-06T19:41:49Z
2021-11-07T09:50:03Z
BUG: partially-inferring pydatetime objects
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 2a718fdcf16e7..46d0ef1bb8ad5 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -475,6 +475,7 @@ Datetimelike - Bug in :meth:`date_range` and :meth:`bdate_range` do not return right bound when ``start`` ...
- [x] xref #40111 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44296
2021-11-02T23:29:00Z
2021-11-04T00:38:40Z
2021-11-04T00:38:40Z
2021-11-04T01:11:32Z
DEPR: unused 'errors' keyword in where, mask
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 2a718fdcf16e7..b58a917f5d8b4 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -397,7 +397,7 @@ Other Deprecations - Deprecated silent dropping of columns that raised a ``TypeError``, ``DataError``, and...
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44294
2021-11-02T22:05:54Z
2021-11-05T00:31:48Z
2021-11-05T00:31:48Z
2021-11-05T01:01:10Z
TYP: _ensure_data and infer_dtype_from_array
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index c1b587ce3a6b2..011f9c2a680cb 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -112,16 +112,19 @@ # --------------- # def _ensure_data(values: ArrayLike) -> np.ndarray: """ - routine to ensure that our data is of ...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/44292
2021-11-02T21:06:55Z
2022-04-24T03:13:35Z
null
2022-04-24T03:13:35Z
TYP: remove a `type: ignore`
diff --git a/pandas/_libs/tslibs/timestamps.pyi b/pandas/_libs/tslibs/timestamps.pyi index ecddd83322bbf..0f7800480837c 100644 --- a/pandas/_libs/tslibs/timestamps.pyi +++ b/pandas/_libs/tslibs/timestamps.pyi @@ -131,9 +131,17 @@ class Timestamp(datetime): def utcoffset(self) -> timedelta | None: ... def tzna...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/44288
2021-11-02T13:21:16Z
2022-03-06T01:21:00Z
null
2022-03-06T01:21:01Z
Revert "CLN: DataFrame.__repr__"
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 2b0f7a36b6fa2..5c24c57925393 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -988,13 +988,15 @@ def __repr__(self) -> str: """ Return a string representation for a particular DataFrame. """ + buf = StringIO(...
Reverts pandas-dev/pandas#44271
https://api.github.com/repos/pandas-dev/pandas/pulls/44286
2021-11-02T08:55:05Z
2021-11-02T10:09:33Z
2021-11-02T10:09:33Z
2021-11-02T10:09:37Z
BUG: Period.__eq__ numpy scalar (#44182 (comment))
diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx index 337876d610c5e..f594e0a8bdafd 100644 --- a/pandas/_libs/tslibs/period.pyx +++ b/pandas/_libs/tslibs/period.pyx @@ -1657,8 +1657,12 @@ cdef class _Period(PeriodMixin): elif other is NaT: return _nat_scalar_rules[op] ...
- [x] fixes https://github.com/pandas-dev/pandas/pull/44182#issuecomment-956851322 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/44285
2021-11-02T07:47:55Z
2021-11-04T00:43:43Z
2021-11-04T00:43:43Z
2021-11-04T07:33:15Z
BENCH: Add more numba rolling benchmarks
diff --git a/asv_bench/benchmarks/rolling.py b/asv_bench/benchmarks/rolling.py index 3d2273b6d7324..406b27dd37ea5 100644 --- a/asv_bench/benchmarks/rolling.py +++ b/asv_bench/benchmarks/rolling.py @@ -1,3 +1,5 @@ +import warnings + import numpy as np import pandas as pd @@ -44,29 +46,56 @@ def time_rolling(self, co...
- [x] xref #https://github.com/pandas-dev/pandas/pull/44176#issuecomment-953441787 - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
https://api.github.com/repos/pandas-dev/pandas/pulls/44283
2021-11-02T05:41:05Z
2021-11-05T01:00:19Z
2021-11-05T01:00:19Z
2021-11-05T02:51:10Z
BUG: Add fix for hashing timestamps with folds
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 3924191bebcfd..b93b210078a75 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -712,6 +712,7 @@ Datetimelike - Bug in :class:`DateOffset`` addition with :class:`Timestamp` where ``offset.nanoseconds`` w...
- [x] closes #33931, #40817 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry Edit: https://github.com/pandas-dev/pandas/issues/42305#issuecomment-89...
https://api.github.com/repos/pandas-dev/pandas/pulls/44282
2021-11-02T05:21:01Z
2022-01-04T00:25:24Z
2022-01-04T00:25:24Z
2022-01-04T00:30:29Z
DOC: Fix rolling apply raw default arg
diff --git a/pandas/core/window/doc.py b/pandas/core/window/doc.py index 9a645f55ffa39..2cc7962c6bd7b 100644 --- a/pandas/core/window/doc.py +++ b/pandas/core/window/doc.py @@ -59,7 +59,7 @@ def create_section_header(header: str) -> str: .. versionchanged:: 1.0.0 - raw : bool, default None + raw : bo...
- [x] closes #44277 - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
https://api.github.com/repos/pandas-dev/pandas/pulls/44281
2021-11-02T04:15:52Z
2021-11-05T00:59:40Z
2021-11-05T00:59:40Z
2021-11-05T02:47:16Z
CI: Revert splitting 3.10 tests
diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index d6647e8059306..824e7de3bde41 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -17,6 +17,7 @@ env: PANDAS_CI: 1 PATTERN: "not slow and not network and not clipboard" COVERAGE: true + PY...
Maths says this should work now. - [ ] closes #44173 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry Don't backport.
https://api.github.com/repos/pandas-dev/pandas/pulls/44280
2021-11-01T23:15:23Z
2021-11-06T21:30:23Z
2021-11-06T21:30:23Z
2021-11-06T22:01:14Z
CLN: missing f for f-string
diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py index d8c58d1eaf4c7..c0ac9098ec7fc 100644 --- a/pandas/core/dtypes/cast.py +++ b/pandas/core/dtypes/cast.py @@ -1590,7 +1590,7 @@ def try_timedelta(v: np.ndarray) -> np.ndarray: warnings.warn( f"Inferring {value.dtype} from data ...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/44278
2021-11-01T22:39:33Z
2021-11-01T23:27:33Z
2021-11-01T23:27:33Z
2022-04-01T01:36:45Z
BUG: broadcasting listlike values in Series.__setitem__ GH#44265
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 1b3be65ee66f2..05e7026b0faa3 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -540,6 +540,7 @@ Indexing - Bug in setting a scalar :class:`Interval` value into a :class:`Series` with ``IntervalDtype`` w...
- [x] closes #44265 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry This should in turn allow us to avoid some special-casing that we do in internals/put...
https://api.github.com/repos/pandas-dev/pandas/pulls/44275
2021-11-01T19:36:00Z
2021-11-05T16:18:15Z
2021-11-05T16:18:14Z
2021-11-05T18:22:24Z
DOC: added examples to DataFrame.var #44162
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index f3d7d6cee5446..cbfbd62975692 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -10661,12 +10661,12 @@ def sem( @doc( _num_ddof_doc, desc="Return unbiased variance over requested axis.\n\nNormalized by...
- [x] closes #44162 by adding two examples to docstring of DataFrame.var - [x] tests added / passed - [x] All linting tests passed (pre-commit) Screenshot of locally built documentation: ![var](https://user-images.githubusercontent.com/58558211/139727701-f6c92ad1-948d-42bd-8989-2d874e3cfa58.PNG)
https://api.github.com/repos/pandas-dev/pandas/pulls/44274
2021-11-01T19:12:28Z
2021-11-06T20:51:37Z
2021-11-06T20:51:36Z
2021-11-06T20:51:44Z
TYP: use TYPE_CHECKING for import_optional_dependency("numba")
diff --git a/pandas/core/_numba/executor.py b/pandas/core/_numba/executor.py index c2b6191c05152..c9d3a9b1660ea 100644 --- a/pandas/core/_numba/executor.py +++ b/pandas/core/_numba/executor.py @@ -1,6 +1,9 @@ from __future__ import annotations -from typing import Callable +from typing import ( + TYPE_CHECKING, + ...
xref https://github.com/pandas-dev/pandas/pull/44233#issuecomment-955594933 or could go with https://github.com/pandas-dev/pandas/pull/44254#issuecomment-956450632 instead. cc @twoertwein
https://api.github.com/repos/pandas-dev/pandas/pulls/44273
2021-11-01T18:33:08Z
2021-11-29T01:08:35Z
2021-11-29T01:08:35Z
2021-11-29T01:08:40Z