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
TYP: fix incorrect mypy error in reshape.py
diff --git a/pandas/core/reshape/reshape.py b/pandas/core/reshape/reshape.py index 7edd5af7c6870..d043e3ad53f9a 100644 --- a/pandas/core/reshape/reshape.py +++ b/pandas/core/reshape/reshape.py @@ -39,6 +39,7 @@ Index, MultiIndex, ) +from pandas.core.indexes.frozen import FrozenList from pandas.core.series i...
xref #37715 ````new_levels```` is not defined as a ````FrozenList```` within ````get_new_colums````
https://api.github.com/repos/pandas-dev/pandas/pulls/45127
2021-12-30T15:00:39Z
2021-12-31T15:00:19Z
2021-12-31T15:00:19Z
2021-12-31T15:15:16Z
BUG: Operations with SparseArray return SA with wrong indices
diff --git a/pandas/core/arrays/sparse/array.py b/pandas/core/arrays/sparse/array.py index 538d4e7e4a7aa..2a21498a5d1e4 100644 --- a/pandas/core/arrays/sparse/array.py +++ b/pandas/core/arrays/sparse/array.py @@ -1680,13 +1680,14 @@ def _cmp_method(self, other, op) -> SparseArray: op_name = op.__name__.str...
- [ ] closes #44956, #45110 - [ ] tests added / passed Two tests have failed but looks like the reason is not my changes (Perhaps won't see in checks) <details> ====================================================================== FAILURES ===================================================================...
https://api.github.com/repos/pandas-dev/pandas/pulls/45125
2021-12-30T13:03:30Z
2022-01-08T21:00:54Z
2022-01-08T21:00:54Z
2022-01-09T06:30:10Z
BUG: IntegerArray/FloatingArray ufunc with 'out' kwd
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 22d6ae94863a1..b6ae804aa27b3 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -939,6 +939,7 @@ ExtensionArray - Bug in :func:`array` failing to preserve :class:`PandasArray` (:issue:`43887`) - NumPy u...
- [ ] 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/45122
2021-12-30T02:23:20Z
2021-12-31T16:37:07Z
2021-12-31T16:37:07Z
2021-12-31T19:01:47Z
BUG: Series.__setitem__ failing to cast numeric values
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 22d6ae94863a1..65f4d7099e336 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -800,6 +800,7 @@ Indexing - Bug in :meth:`IntervalIndex.get_indexer_non_unique` not handling targets of ``dtype`` 'object' ...
- [ ] 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 Two cases this fixes (both tested in test_coersion) ``` ser = pd.Series([1, 2, 3, ...
https://api.github.com/repos/pandas-dev/pandas/pulls/45121
2021-12-30T02:05:16Z
2021-12-31T15:20:29Z
2021-12-31T15:20:29Z
2021-12-31T16:05:09Z
CI: Migrate Python 3.10 testing to Posix GHA/Azure Pipelines
diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 86c25642f4b2a..135ca0703de8b 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -33,9 +33,11 @@ jobs: [actions-38.yaml, "not slow and not clipboard", "", "", "", "", ""], [actions-38.yaml, "slow...
- [ ] closes #43890 - [ ] 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/45120
2021-12-30T00:33:50Z
2022-01-17T13:42:04Z
2022-01-17T13:42:03Z
2022-01-20T20:17:04Z
Improving ambiguous doc string
diff --git a/pandas/_libs/reshape.pyx b/pandas/_libs/reshape.pyx index 9d3b80b321537..924a7ad9a0751 100644 --- a/pandas/_libs/reshape.pyx +++ b/pandas/_libs/reshape.pyx @@ -87,7 +87,7 @@ def explode(ndarray[object] values): Parameters ---------- - values : object ndarray + values : ndarray[object] ...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/45119
2021-12-30T00:23:16Z
2021-12-30T01:13:23Z
2021-12-30T01:13:23Z
2021-12-30T01:13:28Z
CI/TST: Set deadline=None for flaky hypothesis test
diff --git a/pandas/tests/tseries/offsets/test_offsets_properties.py b/pandas/tests/tseries/offsets/test_offsets_properties.py index 1b4fa9292c403..5071c816c313d 100644 --- a/pandas/tests/tseries/offsets/test_offsets_properties.py +++ b/pandas/tests/tseries/offsets/test_offsets_properties.py @@ -10,6 +10,7 @@ from hyp...
xref: https://github.com/pandas-dev/pandas/runs/4662296945?check_suite_focus=true
https://api.github.com/repos/pandas-dev/pandas/pulls/45118
2021-12-29T23:06:46Z
2021-12-30T00:21:03Z
2021-12-30T00:21:03Z
2021-12-30T01:20:08Z
REF: avoid object-casting in _get_codes_for_values
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index bc83c723fae4a..25b9a1212a1ef 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -298,7 +298,7 @@ def _get_values_for_rank(values: ArrayLike) -> np.ndarray: return values -def get_data_algo(values: ArrayLike): +def _...
Index.get_indexer_for ends up going through the same hashtable-based lookup anyway. We add a little constructor overhead, but avoid object-dtype casting in cases where the common-dtype is e.g. numeric.
https://api.github.com/repos/pandas-dev/pandas/pulls/45117
2021-12-29T22:56:06Z
2021-12-30T15:53:26Z
2021-12-30T15:53:26Z
2021-12-30T15:54:25Z
BUG: to_xml raising for pd.NA
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 22d6ae94863a1..3924191bebcfd 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -856,6 +856,7 @@ I/O - Bug in :func:`to_csv` always coercing datetime columns with different formats to the same format (:i...
- [x] closes #43903 - [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/45116
2021-12-29T22:20:17Z
2021-12-30T14:10:52Z
2021-12-30T14:10:51Z
2021-12-30T14:13:33Z
TST: More pytest.mark.parameterize
diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py index 8b677bde2f7e2..7cf2721621a03 100644 --- a/pandas/tests/frame/test_constructors.py +++ b/pandas/tests/frame/test_constructors.py @@ -775,16 +775,6 @@ def test_constructor_dict_of_generators(self): tm.assert_fram...
- [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
https://api.github.com/repos/pandas-dev/pandas/pulls/45115
2021-12-29T22:03:01Z
2021-12-30T14:08:56Z
2021-12-30T14:08:56Z
2021-12-30T17:56:49Z
TST: Parameterize test_rank.py
diff --git a/pandas/tests/frame/test_arithmetic.py b/pandas/tests/frame/test_arithmetic.py index 87af6152b8189..4820fcce6486b 100644 --- a/pandas/tests/frame/test_arithmetic.py +++ b/pandas/tests/frame/test_arithmetic.py @@ -94,64 +94,92 @@ def test_frame_in_list(self): with pytest.raises(ValueError, match=msg...
- [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
https://api.github.com/repos/pandas-dev/pandas/pulls/45114
2021-12-29T20:33:48Z
2021-12-29T23:55:51Z
2021-12-29T23:55:51Z
2021-12-30T01:19:13Z
REF: standardize __array_ufunc__ patterns
diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py index acace9085e18e..d6c1f37633477 100644 --- a/pandas/core/arrays/categorical.py +++ b/pandas/core/arrays/categorical.py @@ -85,7 +85,10 @@ notna, ) -from pandas.core import ops +from pandas.core import ( + arraylike, + op...
- [ ] 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 The idea here is to get all of our `__array_ufunc__` implementations to use all of the...
https://api.github.com/repos/pandas-dev/pandas/pulls/45113
2021-12-29T19:05:50Z
2021-12-30T00:16:55Z
2021-12-30T00:16:55Z
2021-12-30T00:18:55Z
TST: Mock unstack and pivot_table test for PerformanceWarning
diff --git a/pandas/tests/frame/test_stack_unstack.py b/pandas/tests/frame/test_stack_unstack.py index 7efe4b08895bc..eecae31bec914 100644 --- a/pandas/tests/frame/test_stack_unstack.py +++ b/pandas/tests/frame/test_stack_unstack.py @@ -18,6 +18,7 @@ date_range, ) import pandas._testing as tm +from pandas.core.r...
- [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 xref https://github.com/pandas-dev/pandas/pull/45084#issuecomment-1002708717 Makes these tests run quicker locally.
https://api.github.com/repos/pandas-dev/pandas/pulls/45112
2021-12-29T18:49:00Z
2021-12-29T19:55:07Z
2021-12-29T19:55:07Z
2021-12-30T10:57:23Z
Typ excel writer _base
diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml index 3a84a75be838f..634688d65e117 100644 --- a/.github/workflows/code-checks.yml +++ b/.github/workflows/code-checks.yml @@ -74,7 +74,7 @@ jobs: - name: Install pyright # note: keep version in sync with .pre-commit-config....
- [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 If this is ok, I will type the other classes too
https://api.github.com/repos/pandas-dev/pandas/pulls/45111
2021-12-29T14:53:41Z
2021-12-30T17:43:44Z
2021-12-30T17:43:44Z
2022-01-28T10:26:18Z
ENH: Use flags.allows_duplicate_labels to define default insert behavior
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 2a92d8b4964f1..bb2ee995c0e93 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4375,7 +4375,7 @@ def insert( loc: int, column: Hashable, value: Scalar | AnyArrayLike, - allow_duplicates: bool = False, + ...
- [x] closes #44410 - [ ] 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 Alternative to #44755 to resolve #44410 and #44992 following @jreback's review reques...
https://api.github.com/repos/pandas-dev/pandas/pulls/45109
2021-12-29T12:13:10Z
2022-01-19T14:32:36Z
null
2022-01-30T22:46:02Z
BUG: Fix nanosecond timedeltas
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 2c77b87f8efb6..ec61b22eab318 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -714,6 +714,8 @@ Timedelta ^^^^^^^^^ - Bug in division of all-``NaT`` :class:`TimeDeltaIndex`, :class:`Series` or :class:`...
- [x] closes #43764 - [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 Fixes the construction of `Timedelta` objects with any nanosecond contribution.
https://api.github.com/repos/pandas-dev/pandas/pulls/45108
2021-12-29T10:15:58Z
2021-12-31T20:56:56Z
2021-12-31T20:56:56Z
2022-01-06T15:56:57Z
TST: More pytest.mark.parameterize
diff --git a/pandas/tests/arrays/sparse/test_libsparse.py b/pandas/tests/arrays/sparse/test_libsparse.py index db63bba4d4eaf..527ae3ce37d1e 100644 --- a/pandas/tests/arrays/sparse/test_libsparse.py +++ b/pandas/tests/arrays/sparse/test_libsparse.py @@ -393,26 +393,27 @@ def test_lookup_array(self): exp = n...
- [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
https://api.github.com/repos/pandas-dev/pandas/pulls/45106
2021-12-29T04:18:41Z
2021-12-29T14:22:25Z
2021-12-29T14:22:25Z
2021-12-29T18:52:56Z
DEPR: downcast kwd in fillna
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index c02749320e991..924c085e66507 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -5207,7 +5207,7 @@ def fillna( axis: Axis | None = None, inplace: bool = False, limit=None, - downcast=None, + downcast=lib...
- [x] closes #40988 - [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 I'm on the fence about this. `downcast="infer"` seems pretty useful, as evidenced by...
https://api.github.com/repos/pandas-dev/pandas/pulls/45105
2021-12-29T03:07:53Z
2021-12-31T19:19:09Z
null
2022-11-28T20:05:31Z
DEPR: make to_datetime('now') match Timestamp('now')
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index d770782d5dc62..cfb9cef79cd46 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -640,6 +640,7 @@ Other Deprecations - Deprecated passing non boolean argument to sort in :func:`concat` (:issue:`41518`) -...
- [x] closes #18705 - [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/45104
2021-12-29T02:33:10Z
2021-12-31T23:58:47Z
2021-12-31T23:58:47Z
2022-01-01T00:00:00Z
CI: Ensure all minimum optional dependencies are tested
diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 2a40be680c681..bc3ee2e500d22 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -25,8 +25,8 @@ jobs: strategy: matrix: settings: [ - [actions-38-db-min.yaml, "((not slow and not network ...
- [x] tests added / passed Progress towards https://github.com/pandas-dev/pandas/issues/29685 - `actions-38-minimum_versions.yaml` now contains all optional dependencies with their min versions - Other builds that have min version pinned are now removed - `actions-38-db.yaml` -> `actions-38-downstream_compa...
https://api.github.com/repos/pandas-dev/pandas/pulls/45103
2021-12-29T01:14:09Z
2022-01-05T00:48:18Z
2022-01-05T00:48:18Z
2022-01-05T00:53:23Z
BUG: head and tail not dropping groups with nan
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 2c77b87f8efb6..8717e57868d82 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -894,6 +894,7 @@ Groupby/resample/rolling - Bug in :meth:`GroupBy.nth` failing on ``axis=1`` (:issue:`43926`) - Fixed bug ...
- [x] closes #45089 - [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 We could also create a specific function for this. Also that nth respects ``as_ind...
https://api.github.com/repos/pandas-dev/pandas/pulls/45102
2021-12-28T23:55:57Z
2021-12-30T00:01:36Z
2021-12-30T00:01:35Z
2021-12-30T10:22:58Z
DEPR: coercing bools to numeric on concat with numeric dtypes
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 1c1415255bf89..c11ccfdbe1b33 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -606,6 +606,7 @@ Other Deprecations - Deprecated :meth:`DateOffset.apply`, use ``offset + other`` instead (:issue:`44522`) ...
- [x] closes #39817 - [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/45101
2021-12-28T23:06:16Z
2021-12-29T14:27:39Z
2021-12-29T14:27:39Z
2021-12-29T15:36:06Z
BUG: merge raising KeyError with differently named indexes and on keywords
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 2c77b87f8efb6..9e5e2b5db94b9 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -914,6 +914,7 @@ Reshaping - Fixed metadata propagation in :meth:`Dataframe.apply` method, consequently fixing the same iss...
- [x] closes #45094 - [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/45100
2021-12-28T22:56:48Z
2021-12-29T16:14:58Z
2021-12-29T16:14:57Z
2021-12-29T16:21:25Z
TYP: Fix mypy error in core.py
diff --git a/pandas/plotting/_matplotlib/core.py b/pandas/plotting/_matplotlib/core.py index 4108821054b1b..ca3eb75ede3f6 100644 --- a/pandas/plotting/_matplotlib/core.py +++ b/pandas/plotting/_matplotlib/core.py @@ -648,7 +648,7 @@ def _append_legend_handles_labels(self, handle: Artist, label: str) -> None: s...
xref #37715 Assign the values to ````handles```` and ````labels```` itself versus changing the types of the ````self.legend_handles```` and ````self.legend_labels````
https://api.github.com/repos/pandas-dev/pandas/pulls/45098
2021-12-28T20:27:30Z
2021-12-28T22:09:06Z
2021-12-28T22:09:06Z
2021-12-28T22:43:01Z
CI: Split CI workflow into code checks, docbuild & web, and arraymanager
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index d862fa1086f97..0000000000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,239 +0,0 @@ -name: CI - -on: - push: - branches: - - master - - 1.3.x - pull_request: - branches: - - master - - 1.3...
- [x] closes #37242 - [x] tests added / passed `ci.yml` split into: * `arraymanager.yml` * `code-checks.yml` (includes `pre-commit.yml` now) * `docbuild-and-upload.yml`
https://api.github.com/repos/pandas-dev/pandas/pulls/45097
2021-12-28T20:03:34Z
2021-12-29T14:23:33Z
2021-12-29T14:23:33Z
2022-01-07T01:37:00Z
ASV: Add benchmarks for isin
diff --git a/asv_bench/benchmarks/algos/isin.py b/asv_bench/benchmarks/algos/isin.py index 5d7a76bc01d49..37fa0b490bd9e 100644 --- a/asv_bench/benchmarks/algos/isin.py +++ b/asv_bench/benchmarks/algos/isin.py @@ -2,6 +2,7 @@ from pandas import ( Categorical, + Index, NaT, Series, date_range, @...
- [x] closes #32277 - [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/45096
2021-12-28T19:52:54Z
2021-12-28T21:24:39Z
2021-12-28T21:24:39Z
2021-12-28T22:28:32Z
TST: Add regression tests for old issues
diff --git a/pandas/tests/frame/methods/test_combine_first.py b/pandas/tests/frame/methods/test_combine_first.py index fc485f14a4820..daddca7891b93 100644 --- a/pandas/tests/frame/methods/test_combine_first.py +++ b/pandas/tests/frame/methods/test_combine_first.py @@ -517,3 +517,12 @@ def test_combine_first_duplicates_...
- [x] closes #34455 - [x] closes #25412 - [x] closes #19136 - [x] closes #32619 - [x] closes #28613 - [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
https://api.github.com/repos/pandas-dev/pandas/pulls/45095
2021-12-28T19:38:34Z
2021-12-28T21:29:57Z
2021-12-28T21:29:56Z
2021-12-28T21:32:44Z
REF: de-duplicate DataFrame indexing code
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 257916630e457..9ef6bda6f63af 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3865,7 +3865,7 @@ def _set_value( loc = self.index.get_loc(index) validate_numeric_casting(series.dtype, value) - series._va...
- [ ] 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/45092
2021-12-28T17:31:11Z
2021-12-28T20:27:55Z
2021-12-28T20:27:55Z
2021-12-28T20:45:45Z
wip REF: redirect `df.to_html` to Styler if new kwargs are used.
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 9faef9b15bfb4..2448a00d7288f 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -21,7 +21,7 @@ The pandas I/O API is a set of top level ``reader`` functions accessed like text;`CSV <https://en.wikipedia.org/...
This is an alternatative way of transitioning `DataFrame.to_html` to `Styler.to_html`. It is a very minimalist introduction: - It will **fallback to the original HTMLFormatter implementation** if: - any of the deprecated kwargs are specifically input, and will show a **deprecation warning**. - **none*...
https://api.github.com/repos/pandas-dev/pandas/pulls/45090
2021-12-28T15:44:11Z
2022-06-16T19:19:05Z
null
2022-06-16T19:19:05Z
CLN: TODOs and FIXMEs
diff --git a/pandas/_libs/tslibs/nattype.pyx b/pandas/_libs/tslibs/nattype.pyx index ab832c145a052..6ca43aebed89c 100644 --- a/pandas/_libs/tslibs/nattype.pyx +++ b/pandas/_libs/tslibs/nattype.pyx @@ -378,9 +378,6 @@ class NaTType(_NaT): def __reduce__(self): return (__nat_unpickle, (None, )) - 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/45088
2021-12-28T05:22:56Z
2021-12-28T14:20:20Z
2021-12-28T14:20:20Z
2021-12-28T17:11:58Z
BUG: Timestamp.to_pydatetime losing 'fold'
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 5dd6fa0d4f72d..ac638e6bd3c6e 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -724,6 +724,7 @@ Datetimelike - ``np.maximum.reduce`` and ``np.minimum.reduce`` now correctly return :class:`Timestamp` 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/45087
2021-12-28T05:13:13Z
2022-01-12T13:49:07Z
2022-01-12T13:49:07Z
2022-01-12T16:33:13Z
TST: More pytest idioms in tests/generic
diff --git a/pandas/_testing/__init__.py b/pandas/_testing/__init__.py index 2e9f92ebc7cb7..b3fcff21f0f1f 100644 --- a/pandas/_testing/__init__.py +++ b/pandas/_testing/__init__.py @@ -82,6 +82,7 @@ assert_interval_array_equal, assert_is_sorted, assert_is_valid_plot_return_object, + assert_metadata_eq...
- [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
https://api.github.com/repos/pandas-dev/pandas/pulls/45086
2021-12-28T04:44:01Z
2021-12-28T20:32:31Z
2021-12-28T20:32:31Z
2021-12-28T20:32:47Z
BUG: Unstack/pivot raising ValueError on large result
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index c743e38a118f7..df3ec3b9da8b1 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -364,10 +364,29 @@ second column is instead renamed to ``a.2``. res -.. _whatsnew_140.notable_bug_fixes.notable_bug...
- [x] closes #26314 - [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/45084
2021-12-28T01:56:59Z
2021-12-28T14:07:56Z
2021-12-28T14:07:56Z
2021-12-29T18:51:16Z
BUG+DEPR: Timestamp.fromtimestamp tz arg
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index c743e38a118f7..0b73575bf7aa6 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -590,6 +590,7 @@ Other Deprecations - Deprecated :meth:`Index.__getitem__` with a bool key; use ``index.values[key]`` to ge...
- [x] closes #22451 - [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/45083
2021-12-28T00:16:51Z
2021-12-28T14:46:32Z
2021-12-28T14:46:32Z
2021-12-28T17:03:38Z
TST: Split/parameterize test_frame_apply.py
diff --git a/pandas/tests/apply/test_frame_apply.py b/pandas/tests/apply/test_frame_apply.py index 6cfcfa778b105..98872571ae2bb 100644 --- a/pandas/tests/apply/test_frame_apply.py +++ b/pandas/tests/apply/test_frame_apply.py @@ -36,6 +36,8 @@ def test_apply(float_frame): assert result[d] == expected a...
- [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
https://api.github.com/repos/pandas-dev/pandas/pulls/45082
2021-12-27T22:11:13Z
2021-12-28T14:05:23Z
2021-12-28T14:05:23Z
2021-12-28T17:57:20Z
BUG: Series.replace with value=None explicitly
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 2c77b87f8efb6..c3c035b835425 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -939,6 +939,8 @@ ExtensionArray - Bug in :func:`array` incorrectly raising when passed a ``ndarray`` with ``float16`` dtype...
- [x] closes #36984 - [x] closes #19998 - [x] closes #44498 - [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 Not sure if there is a way to keep the defa...
https://api.github.com/repos/pandas-dev/pandas/pulls/45081
2021-12-27T20:12:55Z
2021-12-29T15:35:59Z
2021-12-29T15:35:59Z
2021-12-29T15:44:40Z
TST: Parameterize series/test_cummulative.py
diff --git a/pandas/tests/series/test_cumulative.py b/pandas/tests/series/test_cumulative.py index 74ab9376ed00f..f970d88e310e1 100644 --- a/pandas/tests/series/test_cumulative.py +++ b/pandas/tests/series/test_cumulative.py @@ -20,28 +20,23 @@ } -def _check_accum_op(name, series, check_dtype=True): - func = ge...
- [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
https://api.github.com/repos/pandas-dev/pandas/pulls/45080
2021-12-27T19:08:46Z
2021-12-28T00:57:53Z
2021-12-28T00:57:53Z
2021-12-28T01:02:48Z
TST: Split and parameterize series/test_api.py
diff --git a/pandas/tests/series/test_api.py b/pandas/tests/series/test_api.py index a01b8d304d05d..146663d90f752 100644 --- a/pandas/tests/series/test_api.py +++ b/pandas/tests/series/test_api.py @@ -25,12 +25,14 @@ def test_tab_completion(self): assert "dt" not in dir(s) assert "cat" not in dir(s) ...
- [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
https://api.github.com/repos/pandas-dev/pandas/pulls/45079
2021-12-27T19:06:53Z
2021-12-27T22:02:41Z
2021-12-27T22:02:41Z
2021-12-27T22:05:33Z
TST: Parameterize/split series/test_repr.py
diff --git a/pandas/tests/series/test_repr.py b/pandas/tests/series/test_repr.py index 930202a7ce1bd..e243f609145f3 100644 --- a/pandas/tests/series/test_repr.py +++ b/pandas/tests/series/test_repr.py @@ -41,7 +41,7 @@ def test_multilevel_name_print(self, lexsorted_two_level_string_multiindex): expected = "\n"...
- [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
https://api.github.com/repos/pandas-dev/pandas/pulls/45078
2021-12-27T19:04:42Z
2021-12-28T02:43:15Z
2021-12-28T02:43:15Z
2021-12-28T03:02:46Z
DEPR: resample/groupby.pad/backfill in favor of ffill/bfill
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 241c005c400cd..8be3fd1f72cb3 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -609,6 +609,10 @@ Other Deprecations - Deprecated :meth:`Categorical.replace`, use :meth:`Series.replace` instead (:issue:`...
- [x] closes #33396 - [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/45076
2021-12-27T01:44:18Z
2021-12-28T21:23:42Z
2021-12-28T21:23:42Z
2021-12-28T21:27:57Z
Groupby Agg not working if different partials with same name on the same column
diff --git a/pandas/tests/groupby/aggregate/test_aggregate.py b/pandas/tests/groupby/aggregate/test_aggregate.py index 2ab553434873c..4932f77ec0908 100644 --- a/pandas/tests/groupby/aggregate/test_aggregate.py +++ b/pandas/tests/groupby/aggregate/test_aggregate.py @@ -62,6 +62,26 @@ def test_agg_ser_multi_key(df): ...
- [x] closes #28570 - [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 a unit test was added in accordance with issue [28570](https://github.com/pandas-dev/pa...
https://api.github.com/repos/pandas-dev/pandas/pulls/45075
2021-12-26T23:56:59Z
2022-03-06T01:33:44Z
null
2022-03-06T01:33:44Z
DOC: version kwargs in build_table_schema
diff --git a/pandas/io/json/_table_schema.py b/pandas/io/json/_table_schema.py index cb2d426f6b81b..c630f0d7613e0 100644 --- a/pandas/io/json/_table_schema.py +++ b/pandas/io/json/_table_schema.py @@ -231,7 +231,8 @@ def build_table_schema( level or levels if the index is unique. version : bool, default T...
- [x] closes #28455
https://api.github.com/repos/pandas-dev/pandas/pulls/45074
2021-12-26T19:59:53Z
2021-12-27T13:43:54Z
2021-12-27T13:43:53Z
2021-12-27T18:43:16Z
CI/TST: Ignore Matplotlib related ResouceWarnings from assert_produces_warning
diff --git a/pandas/_testing/_warnings.py b/pandas/_testing/_warnings.py index b78cfd3fb39fb..44a62e607555e 100644 --- a/pandas/_testing/_warnings.py +++ b/pandas/_testing/_warnings.py @@ -2,6 +2,7 @@ from contextlib import contextmanager import re +import subprocess from typing import ( Sequence, Type, ...
cc @jbrockmendel went with a version of 7) in https://github.com/pandas-dev/pandas/issues/44844#issuecomment-998216752 Couldn't find a reliable way to close font files from Matplotlib, so if `ResourceWarning` is seen while a font file is open fromm `lsof`, ignore.
https://api.github.com/repos/pandas-dev/pandas/pulls/45073
2021-12-26T06:30:44Z
2021-12-27T13:45:42Z
2021-12-27T13:45:42Z
2021-12-27T18:45:22Z
DEPR/ENH: support axis=None in min/max
diff --git a/pandas/core/arraylike.py b/pandas/core/arraylike.py index 9a646ddc6ca7e..7fa231846e721 100644 --- a/pandas/core/arraylike.py +++ b/pandas/core/arraylike.py @@ -521,10 +521,12 @@ def dispatch_reduction_ufunc(self, ufunc: np.ufunc, method: str, *inputs, **kwar if "axis" not in kwargs: ...
- [ ] 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 Deprecate the current axis=None behavior so we can change it in 2.0 xref #21597
https://api.github.com/repos/pandas-dev/pandas/pulls/45072
2021-12-26T04:33:12Z
2021-12-28T14:57:40Z
2021-12-28T14:57:40Z
2021-12-28T17:00:21Z
CLN: comments, docstrings, depr NaT.freq
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index ccad93d83eb5b..adffeec3f533a 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -547,6 +547,7 @@ Other Deprecations - Deprecated :meth:`Categorical.replace`, use :meth:`Series.replace` instead (:issue:`4...
- [x] closes #41855 - [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/45071
2021-12-26T00:11:39Z
2021-12-27T13:50:45Z
2021-12-27T13:50:44Z
2021-12-27T16:04:22Z
TYP: Add new variable and then convert to ndarray in timedeltas.py
diff --git a/pandas/core/arrays/timedeltas.py b/pandas/core/arrays/timedeltas.py index 4e58ebc518bb4..79387cc2584da 100644 --- a/pandas/core/arrays/timedeltas.py +++ b/pandas/core/arrays/timedeltas.py @@ -748,12 +748,8 @@ def __rfloordiv__(self, other): return result elif is_object_dtype(other.d...
xref #37715 Added a ```result_list``` which is then converted to ndarray for ````result```` to return.
https://api.github.com/repos/pandas-dev/pandas/pulls/45068
2021-12-25T16:27:29Z
2021-12-27T00:06:34Z
2021-12-27T00:06:34Z
2021-12-27T14:24:14Z
TYP: mypy 0.930 and pyright 1.1.200
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9a85e25e60ef..d862fa1086f97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: - name: Install pyright # note: keep version in sync with .pre-commit-config.yaml - run: npm install -g pyri...
~~Waiting for Mypy 0.930 being available through conda forge https://anaconda.org/conda-forge/mypy~~
https://api.github.com/repos/pandas-dev/pandas/pulls/45067
2021-12-25T15:59:59Z
2021-12-27T18:14:23Z
2021-12-27T18:14:23Z
2021-12-27T18:14:23Z
TYP: localization.py
diff --git a/pandas/_config/localization.py b/pandas/_config/localization.py index bc76aca93da2a..2a487fa4b6877 100644 --- a/pandas/_config/localization.py +++ b/pandas/_config/localization.py @@ -3,16 +3,24 @@ Name `localization` is chosen to avoid overlap with builtin `locale` module. """ +from __future__ import ...
- [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/45065
2021-12-25T06:32:56Z
2021-12-27T13:49:37Z
2021-12-27T13:49:36Z
2021-12-27T18:45:58Z
CI: Fix pytorch installation error
diff --git a/ci/deps/actions-38-db.yaml b/ci/deps/actions-38-db.yaml index f445225a44dcb..ced15bbc8d7cb 100644 --- a/ci/deps/actions-38-db.yaml +++ b/ci/deps/actions-38-db.yaml @@ -3,6 +3,7 @@ channels: - conda-forge dependencies: - python=3.8 + - pip # tools - cython>=0.29.24 @@ -33,7 +34,6 @@ dependen...
- [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 The conda installation expects mkl locally, which does not work . So installing via pip for now to get ci back to green
https://api.github.com/repos/pandas-dev/pandas/pulls/45064
2021-12-25T00:37:09Z
2021-12-25T01:36:52Z
2021-12-25T01:36:52Z
2021-12-25T09:38:36Z
DOC: Fixed links to the contributing pages in the README.
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 49200523df40f..d27eab5b9c95c 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,23 +1,3 @@ # Contributing to pandas -Whether you are a novice or experienced software developer, all contributions and suggestions are welcome! - ...
Also replaced the CONTRIBUTING file text with a link to the contributing pages. - [x] closes #44985
https://api.github.com/repos/pandas-dev/pandas/pulls/45063
2021-12-25T00:30:11Z
2021-12-27T14:35:13Z
2021-12-27T14:35:13Z
2021-12-27T14:35:17Z
BUG: Series[object].fillna ignoring downcast='infer'
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index ccad93d83eb5b..a2a5660a3404e 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -732,6 +732,8 @@ Missing - Bug in :meth:`Series.interpolate` and :meth:`DataFrame.interpolate` with ``inplace=True`` not wr...
- [x] closes #44241 - [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/45062
2021-12-24T23:08:31Z
2021-12-27T17:07:15Z
2021-12-27T17:07:14Z
2021-12-27T17:09:53Z
ENH: Index[bool]
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index 3829306f77a0b..4a11028950966 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -37,6 +37,7 @@ Other enhancements - :meth:`to_numeric` now preserves float64 arrays when downcasting would generate values ...
- [x] closes #15890 - [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/45061
2021-12-24T23:02:04Z
2022-02-05T19:01:22Z
2022-02-05T19:01:21Z
2022-02-05T19:46:21Z
CI: Merge database workflow into posix workflow
diff --git a/.github/workflows/database.yml b/.github/workflows/database.yml deleted file mode 100644 index 294091ec9852e..0000000000000 --- a/.github/workflows/database.yml +++ /dev/null @@ -1,123 +0,0 @@ -name: Database - -on: - push: - branches: - - master - - 1.3.x - pull_request: - branches: - ...
These two workflows are essentially identical besides the extra service containers. Additionally found 2 errors in our tests since we weren't running these dependencies across all of `pandas/tests`
https://api.github.com/repos/pandas-dev/pandas/pulls/45060
2021-12-24T22:33:18Z
2021-12-27T13:48:16Z
2021-12-27T13:48:16Z
2021-12-27T18:45:32Z
DEPR: numeric_only=None in DataFrame.rank
diff --git a/doc/source/whatsnew/v0.18.0.rst b/doc/source/whatsnew/v0.18.0.rst index 829c04dac9f2d..a05b9bb1a88ef 100644 --- a/doc/source/whatsnew/v0.18.0.rst +++ b/doc/source/whatsnew/v0.18.0.rst @@ -669,9 +669,9 @@ New signature .. ipython:: python - pd.Series([0,1]).rank(axis=0, method='average', numeric_only...
- [x] closes #45036 - [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/45059
2021-12-24T21:28:00Z
2021-12-27T17:07:49Z
2021-12-27T17:07:49Z
2021-12-27T17:08:59Z
ENH: add render_links for Styler.to_html formatting
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 9d788ffcfabe1..330d64ea88b8c 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -111,6 +111,7 @@ Additionally there are specific enhancements to the HTML specific rendering: - :meth:`.Styler.to_html` i...
This came about as a requirement for converting DataFrame.to_html into Styler.to_html, citing @jorisvandenbossche in favour of the functionality. Note that the `DataFrame.to_html` `render_links` argument is rather limited to just detecting only a URL in a cell. The function added for Styler here is a more general...
https://api.github.com/repos/pandas-dev/pandas/pulls/45058
2021-12-24T21:13:20Z
2021-12-28T15:07:19Z
2021-12-28T15:07:19Z
2021-12-28T15:37:19Z
PERF: avoid copies in lib.infer_dtype
diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx index 9a82e89481b45..23faa3e0304a9 100644 --- a/pandas/_libs/lib.pyx +++ b/pandas/_libs/lib.pyx @@ -97,7 +97,6 @@ from pandas._libs.missing cimport ( is_matching_na, is_null_datetime64, is_null_timedelta64, - isnaobj, ) from pandas._libs.tslib...
- [x] closes #45022 - [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 In the `skipna=True` case, instead of doing `values = values[~isnaobj(values)]`, just...
https://api.github.com/repos/pandas-dev/pandas/pulls/45057
2021-12-24T20:54:40Z
2022-01-17T13:47:48Z
2022-01-17T13:47:48Z
2022-01-17T16:04:50Z
DOC: Run doctests over pandas directory
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index f3a8d6b12b970..4498585e36ce5 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -65,23 +65,8 @@ fi if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then MSG='Doctests' ; echo $MSG - python -m pytest --doctest-modules \ - pandas/_config/ \ - ...
- [x] closes #22459 `--ignore-glob="**/test_*.py"` is necessary or else unit tests are collected and run ``` % pytest --doctest-modules pandas --collect-only ... <Function test_rolling_consistency_var_debiasing_factors[all_data16-rolling_consistency_cases0-False]> <Function test_rolling_consistency_...
https://api.github.com/repos/pandas-dev/pandas/pulls/45056
2021-12-24T20:27:25Z
2021-12-27T13:48:57Z
2021-12-27T13:48:56Z
2021-12-27T18:45:42Z
BUG: allow Series[Period].astype(dt64)
diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index 3fd6fe67772bc..6df234a027ee9 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -2102,19 +2102,14 @@ The ``period`` dtype can be used in ``.astype(...)``. It allows one to change t...
- [x] closes #45038 - [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/45055
2021-12-24T17:45:38Z
2021-12-27T17:11:09Z
2021-12-27T17:11:09Z
2021-12-27T17:13:55Z
STYLE: upgrade flake8 to version 4+
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea15e135455ba..6ab940efaddd4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,25 +35,15 @@ repos: # we can lint all header files since they aren't "generated" like C files are. exclude: ^pandas/_libs/src/(kli...
- [x] closes #45051 - [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 - [x] bumping version of flake8 and update repo url
https://api.github.com/repos/pandas-dev/pandas/pulls/45053
2021-12-24T16:45:20Z
2021-12-27T16:35:44Z
2021-12-27T16:35:44Z
2021-12-30T02:03:53Z
DEPR: Deprecate set and dict as indexers
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index febf08f2c47aa..1fde030d4b7a8 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -545,6 +545,7 @@ Other Deprecations - Deprecated parameter ``names`` in :meth:`Index.copy` (:issue:`44916`) - A deprecatio...
- [x] closes #42825 - [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 - ``DataFrame.__setitem__`` does not work for unhashable object - ``iloc`` does not ...
https://api.github.com/repos/pandas-dev/pandas/pulls/45052
2021-12-24T16:12:48Z
2021-12-29T20:22:55Z
2021-12-29T20:22:55Z
2021-12-29T20:24:13Z
TST: implement deserialization tests for older schema versions
diff --git a/pandas/tests/io/json/test_json_table_schema.py b/pandas/tests/io/json/test_json_table_schema.py index b204d3bb97b6e..f7aade1f27529 100644 --- a/pandas/tests/io/json/test_json_table_schema.py +++ b/pandas/tests/io/json/test_json_table_schema.py @@ -789,3 +789,25 @@ def test_empty_frame_roundtrip(self): ...
- [X] closes #44995 - [x] tests added / passed (see #45047) - [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/45048
2021-12-24T12:46:24Z
2021-12-24T16:31:33Z
2021-12-24T16:31:32Z
2021-12-24T16:31:36Z
CI: Remove always true azure posix command
diff --git a/ci/azure/posix.yml b/ci/azure/posix.yml index 36721037e55eb..b7c36bb87353b 100644 --- a/ci/azure/posix.yml +++ b/ci/azure/posix.yml @@ -8,17 +8,16 @@ jobs: vmImage: ${{ parameters.vmImage }} strategy: matrix: - ${{ if eq(parameters.name, 'macOS') }}: - py38_macos_1: - ENV_...
`ci/azure/posix.yml` only runs macOS so this if statement is always true
https://api.github.com/repos/pandas-dev/pandas/pulls/45043
2021-12-24T05:44:27Z
2021-12-24T16:35:11Z
2021-12-24T16:35:11Z
2021-12-24T19:13:39Z
CLN: Remove unused db setup_env.sh commands
diff --git a/ci/setup_env.sh b/ci/setup_env.sh index 6d466072067a6..d51ff98b241a6 100755 --- a/ci/setup_env.sh +++ b/ci/setup_env.sh @@ -87,11 +87,6 @@ echo "w/o removing anything else" conda remove pandas -y --force || true pip uninstall -y pandas || true -echo -echo "remove postgres if has been installed with con...
No longer needed since we're using DB containers in Github Actions
https://api.github.com/repos/pandas-dev/pandas/pulls/45042
2021-12-24T05:32:44Z
2021-12-24T16:35:35Z
2021-12-24T16:35:35Z
2021-12-24T19:13:25Z
BUG: DataFrame(nested_object_ndarray) match DataFrame(nested_pandas_array)
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 7218c77e43409..7b60e29f6c57f 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -669,6 +669,7 @@ Conversion ^^^^^^^^^^ - Bug in :class:`UInt64Index` constructor when passing a list containing both posit...
- [x] closes #43986 - [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/45040
2021-12-24T03:19:40Z
2021-12-27T20:07:03Z
2021-12-27T20:07:03Z
2021-12-27T20:24:02Z
DOC: to_hdf() method docstring updated with dropna and index
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index fc15c846b1907..3adf30037d22f 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2684,21 +2684,25 @@ def to_hdf( like searching / selecting subsets of the data. - If None, pd.get_option('io.hdf.default_format...
Resolves GitHub Issue #45030 - [x] closes #45030 - [ ] 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/45039
2021-12-24T02:25:44Z
2022-02-22T05:23:27Z
null
2022-02-22T05:23:27Z
REF: dispatch Series.rank to EA
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index b12e5be7722d0..d2e4a5b7e75bf 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -286,8 +286,6 @@ def _get_hashtable_algo(values: np.ndarray): def _get_values_for_rank(values: ArrayLike) -> np.ndarray: - if is_categor...
- [ ] 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 Test coverage is severely lacking here. Maybe could implement the general case in t...
https://api.github.com/repos/pandas-dev/pandas/pulls/45037
2021-12-24T00:01:35Z
2021-12-27T18:24:41Z
2021-12-27T18:24:41Z
2021-12-27T18:38:24Z
DOC: Fixups for whatsnew 1.4
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index c4b82b8c2df9a..50a11c4cb6639 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -268,8 +268,8 @@ Ignoring dtypes in concat with empty or all-NA columns ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
- [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/45035
2021-12-23T23:31:17Z
2021-12-24T16:35:47Z
2021-12-24T16:35:47Z
2021-12-24T16:36:19Z
REF: Implement EA._mode, de-special-case categorical/dtlike
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index a7252b6a7b7a2..1d7b5ad781236 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -935,7 +935,7 @@ def duplicated( return htable.duplicated(values, keep=keep) -def mode(values, dropna: bool = True) -> Series: +def mod...
- [ ] 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/45033
2021-12-23T20:38:49Z
2021-12-28T14:09:43Z
2021-12-28T14:09:43Z
2021-12-28T17:15:37Z
Error on bad lines pyarrow
diff --git a/pandas/io/parsers/base_parser.py b/pandas/io/parsers/base_parser.py index 76e3bd9825956..318dd659d46bf 100644 --- a/pandas/io/parsers/base_parser.py +++ b/pandas/io/parsers/base_parser.py @@ -77,52 +77,6 @@ ) from pandas.io.date_converters import generic_parser -parser_defaults = { - "delimiter": No...
- [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 @lithomas1 Not sure if that was what the TODO was referring to
https://api.github.com/repos/pandas-dev/pandas/pulls/45029
2021-12-23T13:35:58Z
2021-12-29T15:19:24Z
2021-12-29T15:19:24Z
2023-07-26T09:54:48Z
TYP: Fix wrong type annotations in pytables
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index bbdb88a4b04a7..fc15c846b1907 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2625,7 +2625,7 @@ def to_hdf( min_itemsize: int | dict[str, int] | None = None, nan_rep=None, dropna: bool_t | None = None, - ...
- [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/45028
2021-12-23T12:23:31Z
2021-12-23T14:52:56Z
2021-12-23T14:52:56Z
2021-12-23T14:53:39Z
BUG: dropna changing index when nothing is dropped
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 040c424fb4127..588c04efed470 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -726,7 +726,7 @@ Missing - Bug in constructing a :class:`DataFrame` with a dictionary ``np.datetime64`` as a value and ``dt...
- [x] closes #41965 - [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 ``` # With nan as last element # before # 1.63 ms ± 113 µs per loop (mean ± std. d...
https://api.github.com/repos/pandas-dev/pandas/pulls/45027
2021-12-23T11:05:56Z
2021-12-23T14:55:04Z
2021-12-23T14:55:04Z
2021-12-23T14:56:03Z
Fix Zstandard compression unit test
diff --git a/pandas/tests/io/parser/test_network.py b/pandas/tests/io/parser/test_network.py index 235f19d86a6b3..21cdf6f3274df 100644 --- a/pandas/tests/io/parser/test_network.py +++ b/pandas/tests/io/parser/test_network.py @@ -22,14 +22,11 @@ @pytest.mark.network -@pytest.mark.parametrize( - "compress_type, e...
Follow-up for #43925 - [ ] 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/45026
2021-12-23T11:04:49Z
2021-12-23T14:29:40Z
2021-12-23T14:29:40Z
2021-12-23T14:29:45Z
CI: Add zstandard to env file
diff --git a/ci/deps/actions-38.yaml b/ci/deps/actions-38.yaml index 899913d6e8c70..78007e86a4848 100644 --- a/ci/deps/actions-38.yaml +++ b/ci/deps/actions-38.yaml @@ -18,3 +18,4 @@ dependencies: - nomkl - pytz - tabulate==0.8.7 + - zstandard
- [ ] xref #43925
https://api.github.com/repos/pandas-dev/pandas/pulls/45025
2021-12-23T10:25:52Z
2021-12-23T14:29:59Z
null
2021-12-23T14:59:06Z
ENH: EA._hasnans, EADtype.empty
diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index 8bcdd42b9f795..fc915f5f84d8b 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -425,7 +425,7 @@ def __contains__(self, item: object) -> bool | np.bool_: if not self._can_hold_na: return Fal...
- [x] closes #19600 - [x] closes #22680 - [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/45024
2021-12-23T05:04:48Z
2021-12-23T17:12:43Z
2021-12-23T17:12:42Z
2021-12-23T21:03:25Z
BUG: Series.__getitem__ with CategoricalIndex[ints] listlike inconsistent with scalar
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 040c424fb4127..d02c0e38427ac 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -717,6 +717,7 @@ Indexing - Bug in :meth:`IntervalIndex.get_indexer_non_unique` returning boolean mask instead of array of ...
- [x] closes #15470 - [x] closes #14865 - [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/45023
2021-12-23T04:43:31Z
2021-12-23T16:18:29Z
2021-12-23T16:18:28Z
2021-12-23T16:24:18Z
DOC: Run doctests for pandas/plotting
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 64c8368e06417..f3a8d6b12b970 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -75,6 +75,7 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then pandas/core \ pandas/errors/ \ pandas/io/ \ + pandas/plotting/ \ pandas/tse...
- [x] closes #22459
https://api.github.com/repos/pandas-dev/pandas/pulls/45019
2021-12-23T00:28:21Z
2021-12-24T16:32:14Z
2021-12-24T16:32:13Z
2021-12-24T19:13:58Z
BUG: DataFrame(dict_of_series) raising depending on order of dict
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 2c77b87f8efb6..2dec3b6bdebc7 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -609,6 +609,7 @@ Other Deprecations - Deprecated :meth:`Categorical.replace`, use :meth:`Series.replace` instead (:issue:`4...
- [x] closes #44091 - [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/45018
2021-12-22T22:11:35Z
2021-12-29T16:15:19Z
2021-12-29T16:15:18Z
2021-12-29T16:27:07Z
BUG: using dtype='int64' argument of Series causes ValueError: values cannot be losslessly cast to int64 for integer strings
diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py index 929dfa5c12078..5f1c9c1889240 100644 --- a/pandas/core/dtypes/cast.py +++ b/pandas/core/dtypes/cast.py @@ -1811,8 +1811,17 @@ def maybe_cast_to_integer_array( # doesn't handle `uint64` correctly. arr = np.asarray(arr) - if is_unsig...
- [x] closes #44923 - [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 extra check before returning ValueError.
https://api.github.com/repos/pandas-dev/pandas/pulls/45017
2021-12-22T19:59:38Z
2022-05-07T02:52:21Z
null
2022-05-07T02:52:22Z
Typ parts of python parser
diff --git a/pandas/io/parsers/base_parser.py b/pandas/io/parsers/base_parser.py index 0b9d45a2efc59..7927439abb510 100644 --- a/pandas/io/parsers/base_parser.py +++ b/pandas/io/parsers/base_parser.py @@ -303,9 +303,7 @@ def _extract_multi_indexer_columns( # clean the index_names index_names = heade...
- [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/45015
2021-12-22T16:14:46Z
2022-02-06T22:45:00Z
2022-02-06T22:45:00Z
2022-08-17T20:03:03Z
TYP: type excel util module
diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index a5db36cee4254..2ff3360d0b808 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -943,7 +943,7 @@ def supported_extensions(self): @property @abc.abstractmethod - def engine(self): + def engine(self) -> str: ...
- [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/45014
2021-12-22T11:43:20Z
2021-12-28T15:31:32Z
2021-12-28T15:31:32Z
2021-12-28T16:45:16Z
Set correct missing value indicator in astype for categorical
diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py index 0ce7e0fbfb80a..c9a5b9e6cec67 100644 --- a/pandas/core/arrays/categorical.py +++ b/pandas/core/arrays/categorical.py @@ -108,7 +108,6 @@ ) import pandas.core.common as com from pandas.core.construction import ( - ensure_wrappe...
- [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
https://api.github.com/repos/pandas-dev/pandas/pulls/45012
2021-12-22T10:51:19Z
2021-12-28T21:28:29Z
2021-12-28T21:28:29Z
2021-12-28T22:27:37Z
CI: Remove unused asv-bot yml file
diff --git a/.github/workflows/asv-bot.yml b/.github/workflows/asv-bot.yml deleted file mode 100644 index c2a49dd96c1c1..0000000000000 --- a/.github/workflows/asv-bot.yml +++ /dev/null @@ -1,81 +0,0 @@ -name: "ASV Bot" - -on: - issue_comment: # Pull requests are issues - types: - - created - -env: - ENV_FILE:...
I think we do not use this anymore. Runs get cancelled immediately
https://api.github.com/repos/pandas-dev/pandas/pulls/45011
2021-12-22T09:15:23Z
2021-12-22T09:43:55Z
null
2022-01-28T10:26:03Z
REF: dont pass downcast=False to fillna from pytables
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 997a6bfc67dbc..e20618d9f996c 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -3945,7 +3945,7 @@ def _create_axes( new_name = name or f"values_block_{i}" data_converted = _maybe_convert_for_string_atom( ...
- [ ] 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 That's the only place from which we pass downcast=False, so removing that makes it eas...
https://api.github.com/repos/pandas-dev/pandas/pulls/45010
2021-12-22T05:16:49Z
2021-12-22T15:20:19Z
2021-12-22T15:20:18Z
2021-12-22T17:25:13Z
DEPR: special-cased downcasting in DataFrame.where GH#44597
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 9d788ffcfabe1..b7df9aa692655 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -545,6 +545,7 @@ Other Deprecations - A deprecation warning is now shown for :meth:`DataFrame.to_latex` indicating the argu...
- [x] closes #44597 - [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/45009
2021-12-22T04:33:34Z
2021-12-23T00:59:20Z
2021-12-23T00:59:20Z
2021-12-23T02:13:45Z
BLD: remove MSVC workaround
diff --git a/pandas/_libs/src/headers/cmath b/pandas/_libs/src/headers/cmath deleted file mode 100644 index 9e7540cfefc13..0000000000000 --- a/pandas/_libs/src/headers/cmath +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef _PANDAS_MATH_H_ -#define _PANDAS_MATH_H_ - -// MSVC 2017 has a bug where `x == x` can be true for NaNs. -/...
- [x] closes #23209 - [ ] 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 Shot in the dark to see if the upstream problem behind #23209 is resolved.
https://api.github.com/repos/pandas-dev/pandas/pulls/45008
2021-12-22T03:06:37Z
2022-01-30T18:51:27Z
2022-01-30T18:51:26Z
2022-01-30T18:53:42Z
PERF: DataFrame(pytorch_tensor)
diff --git a/asv_bench/benchmarks/frame_ctor.py b/asv_bench/benchmarks/frame_ctor.py index 912971257490c..eace665ba0bac 100644 --- a/asv_bench/benchmarks/frame_ctor.py +++ b/asv_bench/benchmarks/frame_ctor.py @@ -182,4 +182,21 @@ def time_frame_from_arrays_sparse(self): ) +class From3rdParty: + # GH#446...
- [x] closes #44616 - [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 cc @YeahNew
https://api.github.com/repos/pandas-dev/pandas/pulls/45007
2021-12-21T23:29:57Z
2021-12-23T16:35:50Z
2021-12-23T16:35:50Z
2021-12-23T16:40:47Z
ENH: Implement Index.__invert__
diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx index be39ccd444865..2ac635ad4fb9c 100644 --- a/pandas/_libs/tslibs/timedeltas.pyx +++ b/pandas/_libs/tslibs/timedeltas.pyx @@ -1401,7 +1401,6 @@ class Timedelta(_Timedelta): # Arithmetic Methods # TODO: Can some of these be ...
- [x] closes #8875 - [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 Could be considered a bugfix, as we have `__inv__`, which i think is a py2 leftover
https://api.github.com/repos/pandas-dev/pandas/pulls/45006
2021-12-21T20:24:42Z
2021-12-23T00:57:27Z
2021-12-23T00:57:27Z
2021-12-23T00:59:02Z
REGR: DataFrame.shift with periods>len(columns) GH#44978
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 9d788ffcfabe1..9dca2761d0404 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -878,6 +878,7 @@ Other - Bug in :meth:`Series.replace` and :meth:`DataFrame.replace` with ``value=None`` and ExtensionDtype...
- [x] closes #44978 - [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/45005
2021-12-21T20:15:22Z
2021-12-22T22:53:10Z
2021-12-22T22:53:10Z
2021-12-22T23:44:01Z
PERF/CLN: avoid potential copies in ravel
diff --git a/pandas/_libs/missing.pyi b/pandas/_libs/missing.pyi index 1177e82906190..ab6841e7ddf35 100644 --- a/pandas/_libs/missing.pyi +++ b/pandas/_libs/missing.pyi @@ -12,4 +12,5 @@ def isposinf_scalar(val: object) -> bool: ... def isneginf_scalar(val: object) -> bool: ... def checknull(val: object, inf_as_na: b...
- [ ] 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/45002
2021-12-21T19:30:27Z
2021-12-22T16:06:15Z
2021-12-22T16:06:15Z
2021-12-22T16:06:16Z
fix column_arrays for array manager
diff --git a/pandas/core/internals/array_manager.py b/pandas/core/internals/array_manager.py index 09f16a2ddab67..ec3a9e8b493e3 100644 --- a/pandas/core/internals/array_manager.py +++ b/pandas/core/internals/array_manager.py @@ -794,7 +794,8 @@ def column_arrays(self) -> list[ArrayLike]: """ Used in t...
- [x] closes #44994 - [ ] tests added / passed - None - makes tests for JSON on array manager work - [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 - Not needed - issue identi...
https://api.github.com/repos/pandas-dev/pandas/pulls/45001
2021-12-21T18:42:59Z
2021-12-28T19:54:34Z
2021-12-28T19:54:34Z
2023-02-13T20:56:17Z
CI: Pin setuptools for sdist too
diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml index 5fc447a395aea..9ce3cc5d59208 100644 --- a/.github/workflows/sdist.yml +++ b/.github/workflows/sdist.yml @@ -39,9 +39,10 @@ jobs: with: python-version: ${{ matrix.python-version }} + # TODO: GH#44980 https://github.com/pypa...
Don't understand why this was green before
https://api.github.com/repos/pandas-dev/pandas/pulls/45000
2021-12-21T17:18:18Z
2021-12-21T20:12:02Z
2021-12-21T20:12:02Z
2021-12-21T20:37:13Z
CI: skip segfault tests for array manager
diff --git a/pandas/tests/io/json/test_json_table_schema_ext_dtype.py b/pandas/tests/io/json/test_json_table_schema_ext_dtype.py index 3daac204aa730..52e973aed4d4e 100644 --- a/pandas/tests/io/json/test_json_table_schema_ext_dtype.py +++ b/pandas/tests/io/json/test_json_table_schema_ext_dtype.py @@ -131,7 +131,10 @@ de...
- [x] xref #44994 - [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 @jreback
https://api.github.com/repos/pandas-dev/pandas/pulls/44999
2021-12-21T16:59:20Z
2021-12-21T18:36:19Z
2021-12-21T18:36:18Z
2021-12-21T18:36:21Z
CLN: follow-ups, whatsnew notes, use tm.get_obj
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 7d117d6822071..076a8e1a890c5 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -633,7 +633,7 @@ Datetimelike - Bug in adding a ``np.timedelta64`` object to a :class:`BusinessDay` or :class:`CustomBusine...
- [ ] 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/44998
2021-12-21T16:33:03Z
2021-12-22T16:06:02Z
2021-12-22T16:06:02Z
2021-12-22T17:18:14Z
BUG: convert_dtypes lose columns.names GH#41435
diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst index 2592be9c4a350..9f391f36e2d7d 100644 --- a/doc/source/whatsnew/v1.4.0.rst +++ b/doc/source/whatsnew/v1.4.0.rst @@ -667,6 +667,7 @@ Conversion - Bug in :func:`to_datetime` with ``arg:xr.DataArray`` and ``unit="ns"`` specified raises TypeE...
- [x] closes #41435 - [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/44997
2021-12-21T16:31:47Z
2021-12-22T02:45:49Z
2021-12-22T02:45:48Z
2021-12-22T02:47:04Z
DOC: Enable doctests for _config, _testing, utils, io, misc files
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 6335eb4b14007..64c8368e06417 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -66,22 +66,21 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then MSG='Doctests' ; echo $MSG python -m pytest --doctest-modules \ + pandas/_config/ \ ...
- [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/44990
2021-12-21T04:03:11Z
2021-12-21T17:45:55Z
2021-12-21T17:45:55Z
2021-12-21T17:45:58Z
CI: Pin setuptools for python dev
diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 8b3a5a23d7a97..a7c7f3b739f65 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -45,10 +45,11 @@ jobs: with: python-version: '3.10-dev' + # TODO: GH#44980 https://github.com/p...
Lets see if this works - [x] xref #44980
https://api.github.com/repos/pandas-dev/pandas/pulls/44989
2021-12-20T20:33:10Z
2021-12-21T16:52:57Z
2021-12-21T16:52:57Z
2021-12-21T17:01:07Z
TYP: Return int instead of changing result type in nanops.py
diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py index 52d2322b11f42..dea6fb33e09fe 100644 --- a/pandas/core/nanops.py +++ b/pandas/core/nanops.py @@ -1391,14 +1391,10 @@ def _maybe_arg_null_out( if axis is None or not getattr(result, "ndim", False): if skipna: if mask.all(): - ...
xref #37715 The error was about the lines that set ````result = -1````, which changed the type of result from np.ndarray to int. Changed it to return -1 from the if block since everywhere else its dealing with an np.ndarray
https://api.github.com/repos/pandas-dev/pandas/pulls/44988
2021-12-20T17:58:48Z
2021-12-22T02:37:56Z
2021-12-22T02:37:56Z
2021-12-22T14:54:54Z
DOC: Removed overview CONTRIBUTING file and its link from the README.
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md deleted file mode 100644 index 49200523df40f..0000000000000 --- a/.github/CONTRIBUTING.md +++ /dev/null @@ -1,23 +0,0 @@ -# Contributing to pandas - -Whether you are a novice or experienced software developer, all contributions and suggestions are welcome! ...
This is to prevent documentation duplicates. - [x] closes #44985
https://api.github.com/repos/pandas-dev/pandas/pulls/44987
2021-12-20T16:41:01Z
2021-12-27T15:02:29Z
null
2021-12-27T15:02:29Z
DOC: Fixed broken links in the CONTRIBUTING file.
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 49200523df40f..b8f9b2b83d7f8 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -18,6 +18,6 @@ If you notice a bug in the code or documentation, or have suggestions for how we The code is hosted on [GitHub](https://www.github.com...
- [x] closes #44985
https://api.github.com/repos/pandas-dev/pandas/pulls/44986
2021-12-20T16:22:05Z
2021-12-20T17:46:22Z
null
2021-12-25T00:28:37Z
DOC fix typo in describe_option
diff --git a/pandas/_config/config.py b/pandas/_config/config.py index b22a6840644ec..d8b1829840a4d 100644 --- a/pandas/_config/config.py +++ b/pandas/_config/config.py @@ -333,7 +333,7 @@ def __doc__(self): Prints the description for one or more registered options. -Call with not arguments to get a listing for al...
I updated pandas/_config/config.py fixing a typo - Call with not arguments to get a listing for all registered options to Call with no arguments to get a listing for all registered options. closes #44970
https://api.github.com/repos/pandas-dev/pandas/pulls/44984
2021-12-20T14:35:45Z
2021-12-20T14:40:31Z
2021-12-20T14:40:31Z
2021-12-23T14:02:02Z