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
Fix typo in timeseries.rst
diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index d3d2bf8c72ba3..61902b4a41b7c 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -2210,7 +2210,7 @@ Time zone handling ------------------ pandas provides rich support for workin...
https://api.github.com/repos/pandas-dev/pandas/pulls/36687
2020-09-27T19:14:56Z
2020-09-28T02:43:53Z
2020-09-28T02:43:53Z
2020-09-28T02:44:06Z
TST: Add pytest-instafail to environment.yml
diff --git a/environment.yml b/environment.yml index 7f6ce8cb9fa3b..f97f8e2457585 100644 --- a/environment.yml +++ b/environment.yml @@ -58,6 +58,7 @@ dependencies: - pytest-cov - pytest-xdist>=1.21 - pytest-asyncio + - pytest-instafail # downstream tests - seaborn diff --git a/requirements-dev.txt b/...
Pretty useful pytest plugin for getting immediate feedback on test failures instead of waiting for an entire test suite to run: ``` (pandas-dev) ➜ pandas git:(add-pytest-instafail) ✗ pytest pandas/tests/groupby --instafail ===========================================================================================...
https://api.github.com/repos/pandas-dev/pandas/pulls/36686
2020-09-27T18:42:20Z
2020-09-29T13:02:13Z
2020-09-29T13:02:13Z
2020-09-29T13:34:44Z
DEPR: Deprecate params levels & codes in MultiIndex.copy
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index ddee06aeab779..e810fc0239b40 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -258,6 +258,7 @@ Deprecations ~~~~~~~~~~~~ - Deprecated parameter ``inplace`` in :meth:`MultiIndex.set_codes` and :meth:`M...
Deprecates params `levels` & `codes` in `MultiIndex.copy`.
https://api.github.com/repos/pandas-dev/pandas/pulls/36685
2020-09-27T18:18:08Z
2020-10-01T01:22:05Z
2020-10-01T01:22:05Z
2020-10-01T05:09:05Z
CLN remove unnecessary noqas from pandas/core
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index ba08d26fbc24f..d2005d46bbbf1 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -60,7 +60,7 @@ from pandas.core.indexers import validate_indices if TYPE_CHECKING: - from pandas import Categorical, DataFrame, Series #...
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/36684
2020-09-27T16:33:35Z
2020-09-27T19:33:22Z
2020-09-27T19:33:22Z
2020-09-28T16:57:30Z
bump pytables to 3.5.1 #24839
diff --git a/ci/deps/azure-37-minimum_versions.yaml b/ci/deps/azure-37-minimum_versions.yaml index afd5b07cc6654..f184ea87c89fe 100644 --- a/ci/deps/azure-37-minimum_versions.yaml +++ b/ci/deps/azure-37-minimum_versions.yaml @@ -20,7 +20,7 @@ dependencies: - numexpr=2.6.8 - numpy=1.16.5 - openpyxl=2.6.0 - - p...
- [x] closes #24839 - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` PyTables 3.5.1 was released on March 14, 2019. And it offers better support for np16.
https://api.github.com/repos/pandas-dev/pandas/pulls/36683
2020-09-27T14:49:33Z
2020-09-30T02:23:32Z
2020-09-30T02:23:32Z
2020-10-03T05:35:12Z
TST: insert 'match' to bare pytest raises in pandas/tests/tseries/off…
diff --git a/pandas/tests/tseries/offsets/test_ticks.py b/pandas/tests/tseries/offsets/test_ticks.py index cc23f5f3201da..c1621669bffd0 100644 --- a/pandas/tests/tseries/offsets/test_ticks.py +++ b/pandas/tests/tseries/offsets/test_ticks.py @@ -266,10 +266,15 @@ def test_tick_rdiv(cls): off = cls(10) delta = ...
…sets/test_ticks.py - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry ref: https://github.com/pandas-dev/pandas/issues/30999
https://api.github.com/repos/pandas-dev/pandas/pulls/36682
2020-09-27T14:00:19Z
2020-09-30T17:49:26Z
2020-09-30T17:49:26Z
2020-09-30T17:49:26Z
CLN: test_moments_rolling.py for mean/std/var/count/median/min/max
diff --git a/pandas/tests/window/moments/test_moments_rolling.py b/pandas/tests/window/moments/test_moments_rolling.py index ad7cdee89e6f8..880316ec6111a 100644 --- a/pandas/tests/window/moments/test_moments_rolling.py +++ b/pandas/tests/window/moments/test_moments_rolling.py @@ -1,5 +1,3 @@ -import copy - import nump...
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/36678
2020-09-26T23:41:04Z
2020-09-28T01:57:39Z
2020-09-28T01:57:39Z
2020-09-28T01:57:44Z
CLN/TYP: aggregation methods in core.base
diff --git a/pandas/core/base.py b/pandas/core/base.py index 4d5cddc086b2a..b44c7886bd319 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -4,11 +4,12 @@ import builtins import textwrap -from typing import Any, Callable, Dict, FrozenSet, Optional, Union +from typing import Any, Callable, Dict, FrozenSe...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This is in order to move _aggregate and _aggregate_multiple_funcs into core.aggregation - I think that's desirable. Type-hinting is slightly more str...
https://api.github.com/repos/pandas-dev/pandas/pulls/36677
2020-09-26T21:00:28Z
2020-10-02T23:02:02Z
2020-10-02T23:02:02Z
2020-10-11T13:22:02Z
CLN: moments/test_moments_rolling.py for apply
diff --git a/pandas/tests/window/moments/test_moments_rolling.py b/pandas/tests/window/moments/test_moments_rolling.py index da256e80dff7e..ad7cdee89e6f8 100644 --- a/pandas/tests/window/moments/test_moments_rolling.py +++ b/pandas/tests/window/moments/test_moments_rolling.py @@ -1,5 +1,4 @@ import copy -import warnin...
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Overall easier to grok these tests.
https://api.github.com/repos/pandas-dev/pandas/pulls/36676
2020-09-26T20:12:35Z
2020-09-26T23:19:53Z
2020-09-26T23:19:53Z
2020-09-26T23:39:40Z
REGR: Series.loc with a MultiIndex containing Timestamp raises InvalidIndexError
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index 15777abcb8084..acf1dafc59885 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -37,6 +37,7 @@ Fixed regressions - Fixed regression in modulo of :class:`Index`, :class:`Series` and :class:`DataFrame` usi...
ci testing fix in https://github.com/pandas-dev/pandas/issues/35858#issuecomment-678683559 - [ ] closes #35858 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36675
2020-09-26T19:59:34Z
2020-10-02T23:02:46Z
2020-10-02T23:02:46Z
2020-10-03T09:51:25Z
CLN: cleanups in DataFrame._reduce
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index cd85cce361cb4..a588830d1d584 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -638,10 +638,10 @@ def _can_fast_transpose(self) -> bool: """ Can we transpose this DataFrame without creating any new array objects. """...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Broken off from non-CLN work in the vicinity.
https://api.github.com/repos/pandas-dev/pandas/pulls/36674
2020-09-26T18:18:46Z
2020-10-02T22:29:40Z
2020-10-02T22:29:40Z
2020-10-02T23:00:37Z
Backport PR #36670: DOC: Fix release note typo
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index 97db7a3e4862d..91b9cf59687b3 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -31,7 +31,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`DataFrame.agg`, :meth:`DataFrame.apply`, :...
https://api.github.com/repos/pandas-dev/pandas/pulls/36672
2020-09-26T17:00:11Z
2020-09-26T18:12:26Z
2020-09-26T18:12:26Z
2020-09-26T18:18:40Z
[MRG] TST: Added test for groupby apply datetimeindex fix
diff --git a/pandas/tests/groupby/test_apply.py b/pandas/tests/groupby/test_apply.py index db5c4af9c6f53..176efdb6204da 100644 --- a/pandas/tests/groupby/test_apply.py +++ b/pandas/tests/groupby/test_apply.py @@ -681,6 +681,23 @@ def test_apply_aggregating_timedelta_and_datetime(): tm.assert_frame_equal(result, ex...
- [x] closes #26182 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry worked on by @ezebunandu and @amy12xx
https://api.github.com/repos/pandas-dev/pandas/pulls/36671
2020-09-26T16:31:18Z
2020-10-02T22:59:02Z
2020-10-02T22:59:01Z
2020-10-02T22:59:11Z
DOC: Fix release note typo
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index 97db7a3e4862d..91b9cf59687b3 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -31,7 +31,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`DataFrame.agg`, :meth:`DataFrame.apply`, :...
https://api.github.com/repos/pandas-dev/pandas/pulls/36670
2020-09-26T16:26:22Z
2020-09-26T16:51:52Z
2020-09-26T16:51:52Z
2020-09-26T17:21:29Z
Backport PR #36664 on branch 1.1.x (DOC: minor fix for 1.1.3 release notes)
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index eded30ca45025..97db7a3e4862d 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -31,7 +31,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`DataFrame.agg`, :meth:`DataFrame.apply`, :...
Backport PR #36664: DOC: minor fix for 1.1.3 release notes
https://api.github.com/repos/pandas-dev/pandas/pulls/36669
2020-09-26T16:09:12Z
2020-09-26T16:56:13Z
2020-09-26T16:56:13Z
2020-09-26T16:56:14Z
DOC: minor fix for 1.1.3 release notes
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index eded30ca45025..97db7a3e4862d 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -31,7 +31,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`DataFrame.agg`, :meth:`DataFrame.apply`, :...
https://api.github.com/repos/pandas-dev/pandas/pulls/36664
2020-09-26T11:58:40Z
2020-09-26T16:08:54Z
2020-09-26T16:08:54Z
2020-09-26T16:43:55Z
CLN: lint fixup on 1.1.x
diff --git a/pandas/tests/frame/methods/test_replace.py b/pandas/tests/frame/methods/test_replace.py index c42039bb92154..a1d62a103b322 100644 --- a/pandas/tests/frame/methods/test_replace.py +++ b/pandas/tests/frame/methods/test_replace.py @@ -975,30 +975,15 @@ def test_replace_for_new_dtypes(self, datetime_frame): ...
xref https://github.com/pandas-dev/pandas/pull/36658#issuecomment-699475451
https://api.github.com/repos/pandas-dev/pandas/pulls/36663
2020-09-26T11:29:00Z
2020-09-26T12:12:29Z
2020-09-26T12:12:29Z
2020-09-26T12:12:35Z
Backport PR #36560 on branch 1.1.x ([BUG]: Fix regression in read_table with delim_whitespace=True)
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index aeb9076617787..eded30ca45025 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -40,6 +40,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.apply` with ``raw=True`` and user-function returnin...
Backport PR #36560: [BUG]: Fix regression in read_table with delim_whitespace=True
https://api.github.com/repos/pandas-dev/pandas/pulls/36661
2020-09-26T10:33:25Z
2020-09-26T11:32:18Z
2020-09-26T11:32:18Z
2020-09-26T11:32:18Z
Backport PR #36595 on branch 1.1.x (Partial Revert "ENH: infer freq in timedelta_range (#32377)")
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index 4ad85fd6bafa6..a60d4ef653f6b 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -31,6 +31,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`DataFrame.agg`, :meth:`DataFrame.apply`, :...
Backport PR #36595: Partial Revert "ENH: infer freq in timedelta_range (#32377)"
https://api.github.com/repos/pandas-dev/pandas/pulls/36659
2020-09-26T08:36:59Z
2020-09-26T10:24:52Z
2020-09-26T10:24:52Z
2020-09-26T10:24:52Z
Backport PR #36444 on branch 1.1.x (BUG: inconsistent replace)
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index 4ad85fd6bafa6..7c7e40e633acc 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -34,6 +34,7 @@ Fixed regressions - Fixed regression in :meth:`Series.__getitem__` incorrectly raising when the input was a ...
Backport PR #36444: BUG: inconsistent replace
https://api.github.com/repos/pandas-dev/pandas/pulls/36658
2020-09-26T08:26:56Z
2020-09-26T10:21:57Z
2020-09-26T10:21:57Z
2020-09-26T10:21:57Z
CLN: More pytest idioms in pandas/tests/window
diff --git a/pandas/tests/window/conftest.py b/pandas/tests/window/conftest.py index 3b4ed4859b1cc..e5c5579d35a5c 100644 --- a/pandas/tests/window/conftest.py +++ b/pandas/tests/window/conftest.py @@ -344,3 +344,36 @@ def halflife_with_times(request): def dtypes(request): """Dtypes for window tests""" return...
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Removed some unused variables, added some fixtures for DataFrames used in `test_pairwise.py`, and utilize more `pytest.mark.parameterize`
https://api.github.com/repos/pandas-dev/pandas/pulls/36657
2020-09-26T05:14:53Z
2020-09-30T03:50:57Z
2020-09-30T03:50:57Z
2020-09-30T03:51:00Z
ASV: used integer ndarray as indexer for Series.take indexing benchmark
diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py index 836d3ca8602ec..74e0a3a434cde 100644 --- a/asv_bench/benchmarks/indexing.py +++ b/asv_bench/benchmarks/indexing.py @@ -191,7 +191,7 @@ def setup(self, index): } index = indexes[index] self.s = Series(np.rand...
- [x] closes #18000 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Series.take was using a list of booleans as indexers. Now, It is replaced with a random list of integers. Here are the benchmark results with `asv run --bench indexing.T...
https://api.github.com/repos/pandas-dev/pandas/pulls/36656
2020-09-26T04:19:56Z
2020-10-02T23:08:40Z
2020-10-02T23:08:40Z
2020-10-03T01:42:33Z
BUG: DataFrame.pivot drops column level names when both rows and columns are multiindexed
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 812af544ed9d8..e00fd2d3bbe04 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -512,6 +512,7 @@ Reshaping - Bug in func :meth:`crosstab` when using multiple columns with ``margins=True`` and ``normalize...
- [x] closes #36360 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Fixed by checking for multi-indexed columns in `DataFrameGroupBy._wrap_aggregated_output`
https://api.github.com/repos/pandas-dev/pandas/pulls/36655
2020-09-26T03:35:11Z
2020-10-31T17:51:56Z
2020-10-31T17:51:55Z
2020-10-31T17:52:00Z
CLN: dont special-case DatetimeArray indexing
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index bd3112403b31b..d08e8e009811a 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -393,6 +393,7 @@ Indexing - Bug in :meth:`Index.get_indexer` and :meth:`Index.get_indexer_non_unique` where int64 arrays ar...
- [x] closes #36210 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry cc @jorisvandenbossche
https://api.github.com/repos/pandas-dev/pandas/pulls/36654
2020-09-26T02:46:43Z
2020-10-12T01:23:58Z
2020-10-12T01:23:57Z
2020-10-12T19:06:20Z
CLN: de-duplicate IntervalArray validators
diff --git a/pandas/core/arrays/interval.py b/pandas/core/arrays/interval.py index 1011381f235ca..5105b5b9cc57b 100644 --- a/pandas/core/arrays/interval.py +++ b/pandas/core/arrays/interval.py @@ -852,15 +852,15 @@ def _validate_fill_value(self, value): return self._validate_scalar(value) def _validate_...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36653
2020-09-26T02:24:36Z
2020-10-01T01:15:04Z
2020-10-01T01:15:04Z
2020-10-01T01:55:54Z
Backport PR #36557 on branch 1.1.x ([BUG]: Fix bug with pre epoch normalization)
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index c63a78c76572f..4ad85fd6bafa6 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -38,6 +38,7 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.apply` with ``raw=True`` and user-function returnin...
Backport PR #36557: [BUG]: Fix bug with pre epoch normalization
https://api.github.com/repos/pandas-dev/pandas/pulls/36652
2020-09-26T01:23:23Z
2020-09-26T08:24:06Z
2020-09-26T08:24:06Z
2020-09-26T08:24:06Z
DOC: Fix remaining typos in docstrings 'handler' --> 'handle'
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index ef30d989dfbd2..9e1e0486d861a 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2298,7 +2298,7 @@ def to_parquet( path : str or file-like object If a string, it will be used as Root Directory path when writin...
Follow-on to https://github.com/pandas-dev/pandas/pull/36427#issuecomment-694249512
https://api.github.com/repos/pandas-dev/pandas/pulls/36650
2020-09-26T01:04:21Z
2020-09-28T22:40:38Z
2020-09-28T22:40:37Z
2020-09-28T22:40:46Z
DEPR: min_periods=None behavior for Rolling.count
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 016e8d90e7d21..3bfb507d2e140 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -265,6 +265,7 @@ Deprecations - Deprecated indexing :class:`DataFrame` rows with datetime-like strings ``df[string]``, use ...
- [x] closes #31302 - [x] closes #35579 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Additionally refactors `count` to take the `_apply` path to make this op consistent with the others.
https://api.github.com/repos/pandas-dev/pandas/pulls/36649
2020-09-26T00:16:08Z
2020-10-02T20:35:12Z
2020-10-02T20:35:11Z
2020-10-02T21:01:47Z
TST: GH23452 test reorder_categories() on categorical index
diff --git a/pandas/tests/indexing/test_categorical.py b/pandas/tests/indexing/test_categorical.py index 9f3ee81fac2eb..fae229aecc3d4 100644 --- a/pandas/tests/indexing/test_categorical.py +++ b/pandas/tests/indexing/test_categorical.py @@ -807,3 +807,31 @@ def test_loc_with_non_string_categories(self, idx_values, orde...
- [x] closes #23452 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Couldn't see entries for tests in whatsnew files so I assume it's not needed if only a test case is added This is my first Pandas contribution, look...
https://api.github.com/repos/pandas-dev/pandas/pulls/36648
2020-09-26T00:04:23Z
2020-10-03T18:17:08Z
2020-10-03T18:17:08Z
2020-10-07T23:05:45Z
ENH: match stdlib behavior for datetimelike comparisons
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 1236c672a1fa1..ebe6904823474 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -307,6 +307,7 @@ Datetimelike - Bug in :meth:`DatetimeIndex.searchsorted`, :meth:`TimedeltaIndex.searchsorted`, :meth:`Peri...
- [x] closes #28507 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36647
2020-09-26T00:03:10Z
2020-10-04T04:47:47Z
2020-10-04T04:47:47Z
2020-10-04T18:05:57Z
BUG: ndarray[td64] // TimedeltaArray
diff --git a/pandas/core/arrays/timedeltas.py b/pandas/core/arrays/timedeltas.py index 3eaf428bc64b2..25c10516abb6b 100644 --- a/pandas/core/arrays/timedeltas.py +++ b/pandas/core/arrays/timedeltas.py @@ -689,13 +689,12 @@ def __rfloordiv__(self, other): elif is_timedelta64_dtype(other.dtype): o...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36646
2020-09-25T22:21:35Z
2020-09-26T01:15:21Z
2020-09-26T01:15:21Z
2020-09-26T01:19:16Z
REF: privatize in core.missing, remove unused kwarg
diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index eae401f9744f0..c2fc72ff753a8 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -32,7 +32,7 @@ from pandas.core import ops from pandas.core.algorithms import factorize_array, unique -from pandas.core.missing import b...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Sits on top of #36624
https://api.github.com/repos/pandas-dev/pandas/pulls/36645
2020-09-25T22:09:50Z
2020-10-01T01:19:45Z
2020-10-01T01:19:45Z
2020-10-01T01:30:10Z
CLN: Fix some spelling
diff --git a/doc/source/development/policies.rst b/doc/source/development/policies.rst index a564afc408df9..ced5b686b8246 100644 --- a/doc/source/development/policies.rst +++ b/doc/source/development/policies.rst @@ -16,7 +16,7 @@ deprecations, API compatibility, and version numbering. A pandas release number is mad...
https://api.github.com/repos/pandas-dev/pandas/pulls/36644
2020-09-25T20:02:47Z
2020-09-26T01:16:37Z
2020-09-26T01:16:37Z
2020-09-26T01:19:47Z
TYP: selection and groups type-hinting in groupby
diff --git a/pandas/core/base.py b/pandas/core/base.py index 9e6f93b656af8..564a0af3527c5 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -9,7 +9,7 @@ import numpy as np import pandas._libs.lib as lib -from pandas._typing import AggFuncType, AggFuncTypeBase, Label +from pandas._typing import AggFuncTy...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36643
2020-09-25T18:42:21Z
2020-10-07T03:38:50Z
2020-10-07T03:38:50Z
2020-10-11T13:22:02Z
CLN: cleanup DataFrameInfo
diff --git a/pandas/io/formats/info.py b/pandas/io/formats/info.py index 7a53b46a4ac0f..e8e41d4325103 100644 --- a/pandas/io/formats/info.py +++ b/pandas/io/formats/info.py @@ -111,7 +111,6 @@ def _get_mem_usage(self, deep: bool) -> int: mem_usage : int Object's total memory usage in bytes. ...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Slightly clean-up DataFrameInfo. Make construction of header and separator cleaner.
https://api.github.com/repos/pandas-dev/pandas/pulls/36641
2020-09-25T17:51:47Z
2020-09-29T20:33:00Z
2020-09-29T20:33:00Z
2020-09-30T14:25:06Z
fix test test warnings
diff --git a/pandas/tests/io/excel/test_writers.py b/pandas/tests/io/excel/test_writers.py index e3ee53b63e102..0e27b87da9f3e 100644 --- a/pandas/tests/io/excel/test_writers.py +++ b/pandas/tests/io/excel/test_writers.py @@ -1286,10 +1286,9 @@ def test_merged_cell_custom_objects(self, merge_cells, path): expec...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36640
2020-09-25T17:47:53Z
2020-09-26T00:01:45Z
2020-09-26T00:01:45Z
2020-09-26T00:41:25Z
CFG use black profile in setup.cfg for isort
diff --git a/setup.cfg b/setup.cfg index e7d7df7ff19a2..d938d2ef3972a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -105,11 +105,7 @@ known_pre_core = pandas._libs,pandas._typing,pandas.util._*,pandas.compat,pandas known_dtypes = pandas.core.dtypes known_post_core = pandas.tseries,pandas.io,pandas.plotting sections = FU...
Since isort v5 some of the existing configs are unnecessary
https://api.github.com/repos/pandas-dev/pandas/pulls/36639
2020-09-25T17:02:58Z
2020-09-27T18:59:38Z
2020-09-27T18:59:38Z
2020-09-28T16:57:33Z
PERF: fix long string representation
diff --git a/pandas/io/formats/format.py b/pandas/io/formats/format.py index 99992d0218a68..b9d41f142c2b5 100644 --- a/pandas/io/formats/format.py +++ b/pandas/io/formats/format.py @@ -10,7 +10,6 @@ from functools import partial from io import StringIO import math -from operator import itemgetter import re from sh...
- [x] closes #36636 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry - Fix long string representation for large dataframes. - Eliminate for loop, which was filtering out the proper rows/columns to be displayed. - Re...
https://api.github.com/repos/pandas-dev/pandas/pulls/36638
2020-09-25T15:55:36Z
2020-09-26T07:11:26Z
2020-09-26T07:11:26Z
2020-10-04T13:21:53Z
TST: GH 32431 check print label indexing on nan
diff --git a/pandas/tests/indexing/test_indexing.py b/pandas/tests/indexing/test_indexing.py index 472b29981e78c..ae5bf783e9d8a 100644 --- a/pandas/tests/indexing/test_indexing.py +++ b/pandas/tests/indexing/test_indexing.py @@ -829,6 +829,17 @@ def test_no_reference_cycle(self): del df assert wr() is...
- [x] closes #32431 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry --> not applicable This is my first contribution to pandas. I added a simple test that was requested in one of the open issues.
https://api.github.com/repos/pandas-dev/pandas/pulls/36635
2020-09-25T13:32:08Z
2020-11-18T13:53:17Z
2020-11-18T13:53:17Z
2020-11-18T13:53:20Z
Backport PR #36613 on branch 1.1.x (BUG: Fix unordered cut with Series labels)
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index c1effad34ab93..b356a09e22891 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -51,6 +51,7 @@ Bug fixes - Bug in :meth:`DataFrame.stack` raising a ``ValueError`` when stacking :class:`MultiIndex` column...
Backport PR #36613: BUG: Fix unordered cut with Series labels
https://api.github.com/repos/pandas-dev/pandas/pulls/36633
2020-09-25T09:43:31Z
2020-09-25T11:35:56Z
2020-09-25T11:35:56Z
2020-09-25T11:35:56Z
Replace single with double backticks in RST file #36617
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 53ab61afe900b..7f669ee77c3eb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,20 +34,6 @@ repos: rev: v1.6.0 hooks: - id: rst-backticks - # these exclusions should be removed and the files fixed - ...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry closes https://github.com/pandas-dev/pandas/issues/36617
https://api.github.com/repos/pandas-dev/pandas/pulls/36632
2020-09-25T09:16:09Z
2020-09-26T22:50:28Z
2020-09-26T22:50:28Z
2020-09-26T22:50:28Z
Backport PR #36610 on branch 1.1.x (REGR: DataFrame.apply() with raw option and func returning string)
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index c1effad34ab93..34595ea4ec50f 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -35,6 +35,7 @@ Fixed regressions - Fixed regression in :meth:`Series.__getitem__` incorrectly raising when the input was a ...
Backport PR #36610: REGR: DataFrame.apply() with raw option and func returning string
https://api.github.com/repos/pandas-dev/pandas/pulls/36631
2020-09-25T09:04:06Z
2020-09-25T10:10:33Z
2020-09-25T10:10:33Z
2020-09-25T10:10:33Z
DOC: Replaced single backticks with double backticks in several rst files …
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d01956bb79e11..ad36a68c448a9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,23 +36,6 @@ repos: - id: rst-backticks # these exclusions should be removed and the files fixed exclude: (?x)( - t...
…(#36617) I did not fix all of the files, but it's a start :).
https://api.github.com/repos/pandas-dev/pandas/pulls/36627
2020-09-25T07:45:46Z
2020-09-26T00:30:01Z
2020-09-26T00:30:01Z
2020-09-26T19:41:04Z
CI: add py38 slow build #35160
diff --git a/.travis.yml b/.travis.yml index 2ef8e0e03aaf8..2bf72bd159fc2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,10 +41,10 @@ matrix: - JOB="3.9-dev" PATTERN="(not slow and not network and not clipboard)" - env: - - JOB="3.8" ENV_FILE="ci/deps/travis-38.yaml" PATTERN="(not slow and not...
- [x] closes #35160 This issue was created before we dropped py36 support. So I think we should add equivalent CI build for py38.
https://api.github.com/repos/pandas-dev/pandas/pulls/36626
2020-09-25T04:11:33Z
2020-10-07T02:24:20Z
2020-10-07T02:24:19Z
2020-10-10T21:32:34Z
CLN: de-duplicate numeric type check in _libs/testing
diff --git a/pandas/_libs/testing.pyx b/pandas/_libs/testing.pyx index b2f19fcf5f5da..7a2fa471b9ba8 100644 --- a/pandas/_libs/testing.pyx +++ b/pandas/_libs/testing.pyx @@ -7,36 +7,13 @@ from numpy cimport import_array import_array() -from pandas._libs.util cimport is_array from pandas._libs.lib import is_complex...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry In `testing.pyx` we keep a list of numeric dtypes and use that for type checking. But we have functions that do this in `tslibs/util.pxd` so it's bet...
https://api.github.com/repos/pandas-dev/pandas/pulls/36625
2020-09-25T03:41:56Z
2020-10-06T22:08:04Z
2020-10-06T22:08:04Z
2020-10-06T22:08:07Z
CLN: simplify interpolate_2d and callers
diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py index d2f88b353e1c1..4e83284cb96ed 100644 --- a/pandas/core/arrays/categorical.py +++ b/pandas/core/arrays/categorical.py @@ -1643,7 +1643,7 @@ def fillna(self, value=None, method=None, limit=None): # TODO: dispatch when s...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36624
2020-09-25T03:20:47Z
2020-09-26T01:14:08Z
2020-09-26T01:14:08Z
2020-09-26T09:55:07Z
BUG: Categorical setitem, comparison with tuple category
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 2a8b6fe3ade6a..3c020e7c20876 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -240,7 +240,7 @@ Bug fixes Categorical ^^^^^^^^^^^ - :meth:`Categorical.fillna` will always return a copy, will validate ...
- [x] closes #20439 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36623
2020-09-25T02:39:06Z
2020-10-02T22:43:24Z
2020-10-02T22:43:24Z
2020-10-02T22:59:40Z
Comment on stale PRs
diff --git a/.github/workflows/stale-pr.yml b/.github/workflows/stale-pr.yml index e77bf2b81fc86..2f55a180bc88c 100644 --- a/.github/workflows/stale-pr.yml +++ b/.github/workflows/stale-pr.yml @@ -2,7 +2,7 @@ name: "Stale PRs" on: schedule: # * is a special character in YAML so you have to quote this string - -...
Updating the stale PR action to comment in the PR. Should help to automate the process of pinging contributors who go quiet. Also updating to run once daily instead of every six hours.
https://api.github.com/repos/pandas-dev/pandas/pulls/36622
2020-09-25T02:11:21Z
2020-09-30T17:17:06Z
2020-09-30T17:17:06Z
2020-09-30T17:44:41Z
CLN: share setitem/getitem validators
diff --git a/pandas/core/arrays/_mixins.py b/pandas/core/arrays/_mixins.py index 2bf530eb2bad4..4d13a18c8ef0b 100644 --- a/pandas/core/arrays/_mixins.py +++ b/pandas/core/arrays/_mixins.py @@ -14,6 +14,7 @@ from pandas.core.algorithms import take, unique from pandas.core.array_algos.transforms import shift from pand...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36619
2020-09-25T01:59:46Z
2020-09-26T01:19:54Z
2020-09-26T01:19:54Z
2020-09-26T01:21:03Z
CLN: Break up aggregate.transform
diff --git a/pandas/core/aggregation.py b/pandas/core/aggregation.py index 541c617f7f618..69ed78921607a 100644 --- a/pandas/core/aggregation.py +++ b/pandas/core/aggregation.py @@ -415,8 +415,6 @@ def transform( ValueError If the transform function fails or does not transform. """ - from pandas.co...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Precursor to #36478. Just breaks up transform without any code changes.
https://api.github.com/repos/pandas-dev/pandas/pulls/36618
2020-09-25T01:57:24Z
2020-09-26T23:21:42Z
2020-09-26T23:21:42Z
2020-10-11T13:22:10Z
Revert "[BUG]: Fix regression when adding timeldeta_range to timestamp"
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index da94e98bc78dd..34595ea4ec50f 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -38,7 +38,6 @@ Fixed regressions - Fixed regression in :meth:`DataFrame.apply` with ``raw=True`` and user-function returnin...
Reverts pandas-dev/pandas#36582
https://api.github.com/repos/pandas-dev/pandas/pulls/36616
2020-09-25T01:29:21Z
2020-09-25T08:51:50Z
2020-09-25T08:51:50Z
2020-09-25T08:52:06Z
BUG: Fix unordered cut with Series labels
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index da94e98bc78dd..b382da2db01a4 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -53,6 +53,7 @@ Bug fixes - Bug in :meth:`DataFrame.stack` raising a ``ValueError`` when stacking :class:`MultiIndex` column...
- [x] closes #36603 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36613
2020-09-24T21:21:09Z
2020-09-25T01:52:59Z
2020-09-25T01:52:59Z
2020-09-25T09:43:22Z
CLN: Avoid importing Series in core.aggregation
diff --git a/pandas/core/aggregation.py b/pandas/core/aggregation.py index 541c617f7f618..c813b65d3cbb7 100644 --- a/pandas/core/aggregation.py +++ b/pandas/core/aggregation.py @@ -6,6 +6,7 @@ from collections import defaultdict from functools import partial from typing import ( + TYPE_CHECKING, Any, Ca...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Breaks import cycles allowing aggregation to be imported at the top.
https://api.github.com/repos/pandas-dev/pandas/pulls/36612
2020-09-24T21:18:22Z
2020-09-24T23:36:59Z
2020-09-24T23:36:59Z
2020-09-26T12:00:22Z
PERF: Always using panda's hashtable approach, dropping np.in1d
diff --git a/asv_bench/benchmarks/series_methods.py b/asv_bench/benchmarks/series_methods.py index 258c29c145721..3b65bccd48aee 100644 --- a/asv_bench/benchmarks/series_methods.py +++ b/asv_bench/benchmarks/series_methods.py @@ -90,6 +90,55 @@ def time_isin_long_series_long_values_floats(self): self.s_long_flo...
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry numpy's `in1d` uses look-up in `O(log n)` in `in1d` compared to panda's `O(1)` so for a large number of unique elements in `values` pandas solution will become better. ...
https://api.github.com/repos/pandas-dev/pandas/pulls/36611
2020-09-24T20:16:34Z
2020-11-17T12:59:22Z
2020-11-17T12:59:22Z
2020-11-17T12:59:27Z
REGR: DataFrame.apply() with raw option and func returning string
diff --git a/doc/source/whatsnew/v1.1.3.rst b/doc/source/whatsnew/v1.1.3.rst index c1effad34ab93..34595ea4ec50f 100644 --- a/doc/source/whatsnew/v1.1.3.rst +++ b/doc/source/whatsnew/v1.1.3.rst @@ -35,6 +35,7 @@ Fixed regressions - Fixed regression in :meth:`Series.__getitem__` incorrectly raising when the input was a ...
- [ ] closes #35940 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36610
2020-09-24T19:11:12Z
2020-09-24T23:42:19Z
2020-09-24T23:42:19Z
2020-09-25T09:06:31Z
CLN: de-duplicate _local_timestamps
diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index b1f98199f9fba..6b051f1f73467 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -76,9 +76,7 @@ def tz_to_dtype(tz): def _field_accessor(name, field, docstring=None): def f(self): - valu...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36609
2020-09-24T19:09:00Z
2020-09-24T22:01:35Z
2020-09-24T22:01:35Z
2020-09-24T22:04:00Z
CLN: assorted
diff --git a/pandas/_libs/tslibs/nattype.pyx b/pandas/_libs/tslibs/nattype.pyx index e346a14b531c5..3a628f997e5d6 100644 --- a/pandas/_libs/tslibs/nattype.pyx +++ b/pandas/_libs/tslibs/nattype.pyx @@ -392,7 +392,7 @@ class NaTType(_NaT): Returns ------- - string + str """, ...
- [x] closes #26982 - [x] closes #22373 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/36606
2020-09-24T16:14:11Z
2020-09-28T15:39:32Z
2020-09-28T15:39:32Z
2020-09-28T15:39:38Z
BUG: handle multi-dimensional grouping better
diff --git a/pandas/tests/groupby/test_grouping.py b/pandas/tests/groupby/test_grouping.py index 6c74e1521eeeb..39edc2b8d2527 100644 --- a/pandas/tests/groupby/test_grouping.py +++ b/pandas/tests/groupby/test_grouping.py @@ -124,6 +124,20 @@ def test_getitem_single_column(self): tm.assert_series_equal(result...
As described in issue #36158 multi-dimensional groups prepared with lambda or named function raise error on indices as isnan() is not defined for MultiIndex. Grouping already has the check for MultiIndex on line 440, but it's not triggered on __init__ when grouper is represented by **lambda** function and gets caste...
https://api.github.com/repos/pandas-dev/pandas/pulls/36605
2020-09-24T16:08:07Z
2020-10-31T19:11:35Z
2020-10-31T19:11:34Z
2020-10-31T19:11:38Z
BUG: propagate dropna in pd.Grouper
diff --git a/pandas/core/groupby/grouper.py b/pandas/core/groupby/grouper.py index 6263d5337f42f..a509acb3604e1 100644 --- a/pandas/core/groupby/grouper.py +++ b/pandas/core/groupby/grouper.py @@ -99,6 +99,13 @@ class Grouper: .. versionadded:: 1.1.0 + dropna : bool, default True + If True, and i...
- [x] closes #36620 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry A precursor to #35751
https://api.github.com/repos/pandas-dev/pandas/pulls/36604
2020-09-24T15:59:41Z
2020-09-26T01:18:00Z
2020-09-26T01:17:59Z
2021-05-18T02:07:46Z
REF: directory for method-specific series/frame tests
diff --git a/pandas/tests/frame/methods/__init__.py b/pandas/tests/frame/methods/__init__.py new file mode 100644 index 0000000000000..245594bfdc9e7 --- /dev/null +++ b/pandas/tests/frame/methods/__init__.py @@ -0,0 +1,7 @@ +""" +Test files dedicated to individual (stand-alone) DataFrame methods + +Ideally these files/...
Per the docstring in each of the new directories: ``` Test files dedicated to individual (stand-alone) DataFrame methods Ideally these files/tests should correspond 1-to-1 with tests.series.methods These may also present opportunities for sharing/de-duplicating test code. ``` If this approach is approved...
https://api.github.com/repos/pandas-dev/pandas/pulls/30362
2019-12-19T21:37:30Z
2019-12-20T15:33:02Z
2019-12-20T15:33:02Z
2019-12-20T16:18:07Z
REF: refactor cumulative op tests from test_analytics
diff --git a/pandas/tests/frame/test_analytics.py b/pandas/tests/frame/test_analytics.py index cef389a6c4167..0653c9dc5f91b 100644 --- a/pandas/tests/frame/test_analytics.py +++ b/pandas/tests/frame/test_analytics.py @@ -1495,112 +1495,6 @@ def test_sum_bools(self): bools = isna(df) assert bools.sum(a...
The removal of `ix` highlighted how difficult it is to tell how thorough tests are for some funcs/methods. This is one of several PRs intended to clarify where the tests for X live, and ideally to make that follow a standard pattern across DataFrame/Series/Index subclasses (and EA where relevant)
https://api.github.com/repos/pandas-dev/pandas/pulls/30358
2019-12-19T20:06:59Z
2019-12-20T15:33:54Z
2019-12-20T15:33:54Z
2019-12-20T16:17:15Z
CLN: format replaced with f-strings #29547
diff --git a/pandas/core/indexers.py b/pandas/core/indexers.py index 433bca940c028..209f889e809c3 100644 --- a/pandas/core/indexers.py +++ b/pandas/core/indexers.py @@ -144,9 +144,7 @@ def validate_indices(indices: np.ndarray, n: int) -> None: if len(indices): min_idx = indices.min() if min_idx <...
- [x] ref #29547 - [x] passes `black pandas` - [x] passes git diff upstream/master -u -- "*.py" | flake8 --diff
https://api.github.com/repos/pandas-dev/pandas/pulls/30355
2019-12-19T18:53:12Z
2019-12-19T21:37:19Z
2019-12-19T21:37:19Z
2019-12-19T21:37:33Z
TST: collect arithmetic test helpers
diff --git a/pandas/tests/arithmetic/common.py b/pandas/tests/arithmetic/common.py new file mode 100644 index 0000000000000..bc02a1e76a695 --- /dev/null +++ b/pandas/tests/arithmetic/common.py @@ -0,0 +1,89 @@ +""" +Assertion helpers for arithmetic tests. +""" +import numpy as np +import pytest + +from pandas import Da...
broken off from a WIP branch that parametrizes/fixturizes/de-duplicates a bunch of timedelta64 arithmetic tests
https://api.github.com/repos/pandas-dev/pandas/pulls/30354
2019-12-19T18:17:42Z
2019-12-23T19:30:20Z
2019-12-23T19:30:20Z
2019-12-23T20:15:32Z
[ENH] Add to_markdown method
diff --git a/ci/deps/travis-37.yaml b/ci/deps/travis-37.yaml index 6826a9d072ff3..73e2c20b31438 100644 --- a/ci/deps/travis-37.yaml +++ b/ci/deps/travis-37.yaml @@ -20,6 +20,7 @@ dependencies: - pyarrow - pytz - s3fs + - tabulate - pyreadstat - pip - pip: diff --git a/ci/deps/travis-38.yaml b/ci/deps...
- [ ] closes #11052 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30350
2019-12-19T16:41:57Z
2019-12-27T16:58:06Z
2019-12-27T16:58:05Z
2020-01-24T13:10:30Z
DOC: "Next" link from user_guide/io.rst goes to read_sql_table API pa…
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index ae0f02312e1df..268553dcd62d8 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -4828,7 +4828,6 @@ See also some :ref:`cookbook examples <cookbook.sql>` for some advanced strategi The key functions are: .. au...
…ge (#30332)
https://api.github.com/repos/pandas-dev/pandas/pulls/30348
2019-12-19T16:27:16Z
2019-12-20T02:40:13Z
2019-12-20T02:40:13Z
2019-12-25T14:16:56Z
COMPAT: numpy test warnings
diff --git a/pandas/tests/arrays/test_integer.py b/pandas/tests/arrays/test_integer.py index f172280202e64..60fe22e54f224 100644 --- a/pandas/tests/arrays/test_integer.py +++ b/pandas/tests/arrays/test_integer.py @@ -894,6 +894,8 @@ def test_astype_nansafe(): @pytest.mark.parametrize("ufunc", [np.abs, np.sign]) +#...
Fixes #30334. Some of the warnings are coming from within pandas (like the FutureWarning on truediv), some are numpy warnings (like the nan-warning on sign). All in all changes are minor. Tests are passing with `-Werror` for me now.
https://api.github.com/repos/pandas-dev/pandas/pulls/30345
2019-12-19T10:11:40Z
2020-01-21T21:11:56Z
2020-01-21T21:11:55Z
2020-01-21T21:12:02Z
REF: pytables prepare to make _create_axes return a new object
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 07bf30e51a763..5b2e2c24a5328 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -3230,13 +3230,13 @@ def validate(self, other): oax = ov[i] if sax != oax: raise ValueError( ...
in the next pass we'll make create_axes return a new object, and instead of altering a bunch of attributes in create_axes, we'll pass them to the constructor for our new object just before returning Doing all that makes for a pretty big diff, so this splits out some pieces. The biggest one is implementing _get_bloc...
https://api.github.com/repos/pandas-dev/pandas/pulls/30344
2019-12-19T05:07:01Z
2019-12-19T17:43:15Z
2019-12-19T17:43:15Z
2019-12-19T18:09:27Z
CLN: pytables make lookups explicit instead of using globals
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 07bf30e51a763..35ba2dca8cf8a 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -176,22 +176,6 @@ class DuplicateWarning(Warning): # formats _FORMAT_MAP = {"f": "fixed", "fixed": "fixed", "t": "table", "table": "table"} -# storer class ...
also fail-fast and get an annotation in the bargain
https://api.github.com/repos/pandas-dev/pandas/pulls/30343
2019-12-19T03:54:04Z
2019-12-19T17:41:47Z
2019-12-19T17:41:46Z
2019-12-19T18:19:39Z
REF: remove pytables Table.metadata
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 07bf30e51a763..410cbe4f3a04f 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -2033,9 +2033,6 @@ def maybe_set_size(self, min_itemsize=None): if min_itemsize is not None and self.typ.itemsize < min_itemsize: ...
Its superfluous AFAICT
https://api.github.com/repos/pandas-dev/pandas/pulls/30342
2019-12-19T03:40:19Z
2019-12-19T17:42:19Z
2019-12-19T17:42:19Z
2019-12-19T17:48:38Z
Fix typos, via a Levenshtein-style corrector
diff --git a/pandas/_config/config.py b/pandas/_config/config.py index 9e74eb46f7b1f..6844df495547a 100644 --- a/pandas/_config/config.py +++ b/pandas/_config/config.py @@ -57,10 +57,10 @@ DeprecatedOption = namedtuple("DeprecatedOption", "key msg rkey removal_ver") RegisteredOption = namedtuple("RegisteredOption", "...
Should be non-semantic.
https://api.github.com/repos/pandas-dev/pandas/pulls/30341
2019-12-19T03:28:58Z
2019-12-19T06:42:18Z
2019-12-19T06:42:18Z
2019-12-19T18:24:32Z
DEPR: camelCase in offsets, get_offset
diff --git a/asv_bench/benchmarks/tslibs/offsets.py b/asv_bench/benchmarks/tslibs/offsets.py index d6379b922641c..fc1efe63307b2 100644 --- a/asv_bench/benchmarks/tslibs/offsets.py +++ b/asv_bench/benchmarks/tslibs/offsets.py @@ -59,7 +59,7 @@ def setup(self, offset): def time_on_offset(self, offset): fo...
- [x] closes #4205 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30340
2019-12-19T02:11:31Z
2019-12-27T20:53:28Z
2019-12-27T20:53:28Z
2019-12-27T20:58:15Z
BUG: Fix infer_dtype_from_scalar to infer IntervalDtype
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index c072bfeff4a72..3d1ab08336be8 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -758,7 +758,7 @@ Interval ^^^^^^^^ - Bug in :meth:`IntervalIndex.get_indexer` where a :class:`Categorical` or :class:`Ca...
- [X] closes #30337 - [X] tests added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30339
2019-12-19T02:09:20Z
2019-12-19T14:08:35Z
2019-12-19T14:08:35Z
2019-12-19T17:26:12Z
REF: change parameter name fname -> path
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index ae0f02312e1df..7f7b00ccfc167 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -4763,10 +4763,10 @@ Parquet supports partitioning of data based on the values of one or more columns .. ipython:: python df...
- [x] closes #23574 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30338
2019-12-19T02:03:29Z
2019-12-19T17:40:39Z
2019-12-19T17:40:39Z
2019-12-19T18:44:56Z
BUG+TST: non-optimized apply_index and empty DatetimeIndex
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index c072bfeff4a72..c4fca8eba784d 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -711,7 +711,7 @@ Datetimelike - Bug in :func:`pandas.to_datetime` when called with ``None`` raising ``TypeError`` instead o...
- [x] closes #12724 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30336
2019-12-18T23:58:18Z
2019-12-20T11:56:25Z
2019-12-20T11:56:24Z
2019-12-20T16:31:12Z
BUG: raise on non-hashable Index name, closes #29069
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index faca744a8f92c..3fe228c4e4076 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -892,7 +892,7 @@ Other - Fixed :class:`IntegerArray` returning ``inf`` rather than ``NaN`` for operations dividing by 0 (:i...
- [x] closes #29069 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30335
2019-12-18T22:55:25Z
2019-12-27T16:00:52Z
2019-12-27T16:00:52Z
2019-12-27T18:05:50Z
DOC: whatsnew fixups
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index e44fec112c5c1..dd78fc3799656 100755 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -254,10 +254,10 @@ To update, use ``MultiIndex.set_names``, which returns a new ``MultiIndex``. mi2 = mi.set_names("new ...
* Refer to public API * Fixed formatting * Remove ref to undocumented function
https://api.github.com/repos/pandas-dev/pandas/pulls/30331
2019-12-18T20:48:07Z
2019-12-18T22:57:05Z
2019-12-18T22:57:05Z
2019-12-18T22:57:13Z
Cleaned up Tempita refs and Cython import
diff --git a/setup.py b/setup.py index 45f3af3d5c374..c6b078dae280a 100755 --- a/setup.py +++ b/setup.py @@ -63,24 +63,15 @@ def is_platform_mac(): from distutils.extension import Extension # noqa: E402 isort:skip from distutils.command.build import build # noqa: E402 isort:skip -try: - if not _CYTHON_INSTALLE...
It has been 6 years since last Tempita release on Pypi so I think this can be removed.
https://api.github.com/repos/pandas-dev/pandas/pulls/30330
2019-12-18T20:08:44Z
2019-12-20T15:47:16Z
2019-12-20T15:47:15Z
2020-01-16T00:33:22Z
BUG: Integer Overflow in read_json with big number in string
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index a04ba157ce0ae..2d5c0c92b0ef7 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -132,7 +132,7 @@ MultiIndex I/O ^^^ - +- Bug in :meth:`read_json` where integer overflow was occuring when json contains...
- [x] closes #30320 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30329
2019-12-18T19:24:42Z
2020-01-24T04:25:17Z
2020-01-24T04:25:17Z
2020-01-24T04:25:38Z
CLN: Old string formatting: .format() -> f""
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index b31973de5bca0..b86293e78a80d 100755 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -232,7 +232,7 @@ def _has_valid_tuple(self, key: Tuple): except ValueError: raise ValueError( "Locati...
- [x] xref #29547 - [x] passes `black pandas` Old style % formatting to f-strings
https://api.github.com/repos/pandas-dev/pandas/pulls/30328
2019-12-18T19:15:16Z
2019-12-20T15:49:53Z
2019-12-20T15:49:53Z
2019-12-21T04:00:43Z
TST: tests for needs-test issues #12857 #12689
diff --git a/pandas/tests/frame/test_arithmetic.py b/pandas/tests/frame/test_arithmetic.py index f6e203afb0898..5ecbe21d113b5 100644 --- a/pandas/tests/frame/test_arithmetic.py +++ b/pandas/tests/frame/test_arithmetic.py @@ -16,6 +16,13 @@ class TestFrameComparisons: # Specifically _not_ flex-comparisons + d...
- [x] closes #12689 - [x] closes #9232 - [x] closes #6051 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30327
2019-12-18T19:06:51Z
2019-12-24T14:24:26Z
2019-12-24T14:24:25Z
2019-12-24T16:50:11Z
TST: follow-up to #30318
diff --git a/pandas/core/groupby/ops.py b/pandas/core/groupby/ops.py index fa8e4985090a7..f123a5265bb0d 100644 --- a/pandas/core/groupby/ops.py +++ b/pandas/core/groupby/ops.py @@ -663,10 +663,7 @@ def _aggregate_series_pure_python(self, obj: Series, func): if len(res) == 1: ...
https://api.github.com/repos/pandas-dev/pandas/pulls/30326
2019-12-18T17:34:50Z
2019-12-18T19:31:19Z
2019-12-18T19:31:19Z
2019-12-18T19:34:08Z
ENH: add ExtensionArray.to_numpy to have control over conversion to numpy array
diff --git a/doc/source/reference/extensions.rst b/doc/source/reference/extensions.rst index 16a84b5d2ecaf..374e1395b42f7 100644 --- a/doc/source/reference/extensions.rst +++ b/doc/source/reference/extensions.rst @@ -67,3 +67,8 @@ behaves correctly. :toctree: api/ api.indexers.check_bool_array_indexer + + +The ...
xref https://github.com/pandas-dev/pandas/issues/30038 Would still need to add this to the other arrays with NA (IntegerArray, StringArray), and need to pass through such option from Series.to_numpy. But already putting this up to check if we are OK with such interface and behaviour.
https://api.github.com/repos/pandas-dev/pandas/pulls/30322
2019-12-18T13:45:15Z
2020-01-07T16:26:03Z
2020-01-07T16:26:03Z
2020-01-07T16:26:17Z
Switching %r for repr(op_str) in test-expressions.py for issue 29886
diff --git a/pandas/tests/test_expressions.py b/pandas/tests/test_expressions.py index 1974f712b13ee..9808c3d78b436 100644 --- a/pandas/tests/test_expressions.py +++ b/pandas/tests/test_expressions.py @@ -261,9 +261,9 @@ def testit(): def test_bool_ops_raise_on_arithmetic(self, op_str, opname): df = DataF...
Swaps the following in pandas/tests/test_expressions.py: From: `msg = "operator %r not implemented for bool dtypes"` `f = getattr(operator, opname)` `err_msg = re.escape(msg % op_str)` To: `msg = f"operator {repr(op_str)} not implemented for bool dtypes"` `f = getattr(operator, opname)` ...
https://api.github.com/repos/pandas-dev/pandas/pulls/30321
2019-12-18T12:44:47Z
2019-12-18T19:32:46Z
2019-12-18T19:32:46Z
2019-12-18T19:32:58Z
DOC: Remove reference to moving windows regressions
diff --git a/README.md b/README.md index cb3a966c08f74..1130eb30954dc 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ Here are just a few of the things that pandas does well: and saving/loading data from the ultrafast [**HDF5 format**][hdfstore] - [**Time series**][timeseries]-specific functionality:...
Remove outdated reference to moving regression which was dropped - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/30319
2019-12-18T10:37:27Z
2019-12-18T12:24:11Z
2019-12-18T12:24:11Z
2019-12-19T22:29:42Z
TST: add test for Series.item backed with ExtensionArray
diff --git a/pandas/tests/extension/base/getitem.py b/pandas/tests/extension/base/getitem.py index d56cc50f4739c..0e4a86ed44529 100644 --- a/pandas/tests/extension/base/getitem.py +++ b/pandas/tests/extension/base/getitem.py @@ -266,3 +266,9 @@ def test_loc_len1(self, data): df = pd.DataFrame({"A": data}) ...
Follow-up on https://github.com/pandas-dev/pandas/pull/30175 cc @jbrockmendel
https://api.github.com/repos/pandas-dev/pandas/pulls/30318
2019-12-18T08:26:17Z
2019-12-18T12:31:08Z
2019-12-18T12:31:08Z
2019-12-18T12:31:08Z
DOC/CLN: move NDFrame.groupby to (DataFrame|Series).groupby
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 1de0d3b58dc5f..7d71c3bfb0368 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -100,6 +100,7 @@ from pandas.core.arrays.datetimelike import DatetimeLikeArrayMixin as DatetimeLikeArray from pandas.core.arrays.sparse import SparseFrameAccessor...
By moving this method up to dataFrame/Series, we get better doc strings and more precise type hints.
https://api.github.com/repos/pandas-dev/pandas/pulls/30314
2019-12-17T23:08:14Z
2020-01-01T03:35:13Z
2020-01-01T03:35:13Z
2020-01-01T11:37:23Z
xfail test_scikit_learn
diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py index ea128c8c3a422..e85e8ec90d666 100644 --- a/pandas/tests/test_downstream.py +++ b/pandas/tests/test_downstream.py @@ -67,6 +67,9 @@ def test_statsmodels(): # Cython import warning @pytest.mark.filterwarnings("ignore:can't:ImportWarni...
xref https://github.com/pandas-dev/pandas/issues/30309, this is a bit tricky. Will do a proper fix in https://github.com/pandas-dev/pandas/pull/30312, but xfailing for now.
https://api.github.com/repos/pandas-dev/pandas/pulls/30313
2019-12-17T20:47:35Z
2019-12-17T21:33:12Z
2019-12-17T21:33:11Z
2019-12-17T21:33:16Z
CI: Fixed travis-36-cov build
diff --git a/.travis.yml b/.travis.yml index 0acd386eea9ed..0c7740295b637 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,31 +30,34 @@ matrix: - python: 3.5 include: - - dist: trusty - env: + - env: - JOB="3.8" ENV_FILE="ci/deps/travis-38.yaml" PATTERN="(not slow and not network)" ...
Closes #30309 Just debugging right now. Can't reproduce locally yet.
https://api.github.com/repos/pandas-dev/pandas/pulls/30312
2019-12-17T19:33:54Z
2019-12-18T12:32:51Z
2019-12-18T12:32:50Z
2019-12-18T12:32:54Z
Groupby agg works with pd.Series.nunique, but groupby nunique fails with axis=1
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 6fd758abb1f33..2826029d902db 100755 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -833,6 +833,7 @@ Groupby/resample/rolling - Bug in :meth:`DataFrame.groupby` where ``any``, ``all``, ``nunique`` and transf...
- [x] closes #30253 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30311
2019-12-17T18:39:21Z
2019-12-18T18:17:49Z
2019-12-18T18:17:49Z
2019-12-19T01:13:40Z
DOC/TST: Indexing with NA raises
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b34f5dfdd1a83..88548f6c2f678 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: language: python_venv additional_dependencies: [flake8-comprehensions>=3.1.0] - repo: https://github.com/pre-...
xref https://github.com/pandas-dev/pandas/issues/29556, https://github.com/pandas-dev/pandas/issues/28778 We're already doing the right thing on master. This just documents that behavior, and adds a handful of tests. I'm not sure if there are existing tests I should be parameterizing. I only found a couple in `te...
https://api.github.com/repos/pandas-dev/pandas/pulls/30308
2019-12-17T18:00:10Z
2020-01-03T02:21:27Z
2020-01-03T02:21:27Z
2020-10-07T15:52:55Z
CLN: changed .format to f string in pandas/core/arrays/base.py
diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index f3325f6ffd9d9..53ae1094c6765 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -27,8 +27,6 @@ from pandas.core.missing import backfill_1d, pad_1d from pandas.core.sorting import nargsort -_not_implemented_message = ...
- [ ] ref #29547 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30306
2019-12-17T17:13:22Z
2019-12-17T18:24:12Z
2019-12-17T18:24:12Z
2019-12-17T19:31:46Z
ENH: Add support for DataFrame(ExtensionArray)
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index e44fec112c5c1..90e0c31f1a1a5 100755 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -206,6 +206,7 @@ Other enhancements now preserve those data types with pyarrow >= 1.0.0 (:issue:`20612`). - The ``partit...
- [x] closes #11363 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Problem: In core.frame ``` elif isinstance(data, abc.Iterable) and not isinstance(data, (str, bytes)): if not isinstance(dat...
https://api.github.com/repos/pandas-dev/pandas/pulls/30305
2019-12-17T14:18:48Z
2019-12-18T22:20:12Z
2019-12-18T22:20:12Z
2019-12-19T07:34:31Z
CI: Checks job aborted if a step fails GH30298
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a36420556ae24..40dd083866276 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,53 +23,53 @@ jobs: - name: Looking for unwanted patterns run: ci/code_checks.sh patterns - if: true + if: always() ...
- [ ] closes #30298 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30303
2019-12-17T08:30:56Z
2019-12-30T20:53:06Z
2019-12-30T20:53:06Z
2019-12-30T20:53:06Z
ENH: meth 'DataFrame.to_pickle' and func 'read_pickle' to accept URL GH#30163
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 5e39ca692746b..11a6f2628ac52 100755 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -220,6 +220,8 @@ Other enhancements - The ``pandas.datetime`` class is now deprecated. Import from ``datetime`` instead (:i...
- [ ] closes #30163 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30301
2019-12-17T06:56:11Z
2020-01-09T13:16:26Z
2020-01-09T13:16:26Z
2020-01-10T04:10:38Z
JSON Support for parsing NaN, Infinity and -Infinity
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index b194f20c3c433..6a40f6b251bb5 100755 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -216,6 +216,7 @@ Other enhancements (:meth:`~DataFrame.to_parquet` / :func:`read_parquet`) using the `'pyarrow'` engine ...
- [X] closes #12213 - [X] tests added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry Not sure if we totally want this but figured I'd give it a shot any way. `simplejson` and the stdlib by comparison would decode these values
https://api.github.com/repos/pandas-dev/pandas/pulls/30295
2019-12-17T04:50:17Z
2020-01-02T00:40:41Z
2020-01-02T00:40:41Z
2020-01-02T00:40:50Z
CLN: .format to f-string formatting in various files
diff --git a/pandas/_config/config.py b/pandas/_config/config.py index 8f75d0381c1a6..9e74eb46f7b1f 100644 --- a/pandas/_config/config.py +++ b/pandas/_config/config.py @@ -462,6 +462,7 @@ def register_option(key: str, defval: object, doc="", validator=None, cb=None): cursor = _global_config msg = "Path pre...
- [ ] ref https://github.com/pandas-dev/pandas/issues/29547 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30294
2019-12-16T23:08:48Z
2019-12-17T16:49:40Z
2019-12-17T16:49:40Z
2019-12-17T16:49:46Z
test CI
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 8c4f3740ef8fa..559cedd62e7ce 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -39,7 +39,7 @@ function invgrep { } if [[ "$GITHUB_ACTIONS" == "true" ]]; then - FLAKE8_FORMAT="##[error]%(path)s:%(row)s:%(col)s:%(code):%(text)s" + FLAKE8_FORMAT="#...
Debugging an issue noted in https://github.com/pandas-dev/pandas/pull/30139 and maybe in https://github.com/pandas-dev/pandas/pull/30245
https://api.github.com/repos/pandas-dev/pandas/pulls/30293
2019-12-16T22:33:15Z
2019-12-17T15:01:05Z
2019-12-17T15:01:05Z
2019-12-17T15:01:09Z
CLN: changed .format to f-string in pandas/core/dtypes
diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py index 602d7d0da95e6..8e629896fdb7b 100644 --- a/pandas/core/dtypes/common.py +++ b/pandas/core/dtypes/common.py @@ -193,9 +193,7 @@ def ensure_python_int(value: Union[int, np.integer]) -> int: TypeError: if the value isn't an int or can't be ...
- [ ] ref #29547 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30287
2019-12-16T09:02:01Z
2019-12-18T23:08:54Z
2019-12-18T23:08:54Z
2019-12-18T23:09:26Z
ENH: Add StataWriter 118 for unicode support
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index e8663853b7684..aa342fc58b38a 100755 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -221,8 +221,8 @@ Other enhancements - DataFrame constructor preserve `ExtensionArray` dtype with `ExtensionArray` (:issue:`...
Add StataWriter with unicode support - [X] closes #23573 - [X] tests added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30285
2019-12-16T00:46:04Z
2019-12-31T21:05:42Z
2019-12-31T21:05:42Z
2020-07-28T14:41:35Z
BUG: DataFrame constructor raised ValueError with list-like data and …
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 539649df05046..7982dd70178e9 100755 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -861,7 +861,7 @@ ExtensionArray - Bug in :class:`arrays.PandasArray` when setting a scalar string (:issue:`28118`, :issue...
…dtype specified - [ ] closes #30280 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/30284
2019-12-15T23:47:35Z
2019-12-17T13:25:58Z
2019-12-17T13:25:57Z
2019-12-17T14:01:33Z