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
ENH: Arithmetic with Timestamp-based intervals
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 55570341cf4e8..247f2a7515705 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -49,6 +49,26 @@ For example: buffer = io.BytesIO() data.to_csv(buffer, mode="w+b", encoding="utf-8", compression="gz...
- [X] closes #35908 - [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/36001
2020-08-31T03:34:34Z
2021-02-11T01:35:24Z
null
2021-02-11T01:35:25Z
ENH: vendor typing_extensions
diff --git a/pandas/_vendored/__init__.py b/pandas/_vendored/__init__.py new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/pandas/_vendored/typing_extensions.py b/pandas/_vendored/typing_extensions.py new file mode 100644 index 0000000000000..53df8da175a56 --- /dev/null +++ b/pandas/_vendored/typing_...
- [x] closes #34869 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry haven't figured out how to make isort and black ignore this file
https://api.github.com/repos/pandas-dev/pandas/pulls/36000
2020-08-31T02:47:39Z
2020-09-01T23:37:09Z
2020-09-01T23:37:09Z
2020-09-01T23:47:58Z
BUG: None in Float64Index raising TypeError, should return False
diff --git a/doc/source/whatsnew/v1.1.2.rst b/doc/source/whatsnew/v1.1.2.rst index 9747a8ef3e71f..b907b8ac33516 100644 --- a/doc/source/whatsnew/v1.1.2.rst +++ b/doc/source/whatsnew/v1.1.2.rst @@ -29,7 +29,7 @@ Bug fixes - Bug in :class:`Series` constructor raising a ``TypeError`` when constructing sparse datetime64 d...
- [x] closes #35788 - [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/35999
2020-08-30T23:24:59Z
2020-09-01T01:20:41Z
2020-09-01T01:20:41Z
2020-09-01T15:03:03Z
Issue35925 Remove trailing commas
diff --git a/pandas/tests/test_multilevel.py b/pandas/tests/test_multilevel.py index 724558bd49ea2..274860b3fdb5c 100644 --- a/pandas/tests/test_multilevel.py +++ b/pandas/tests/test_multilevel.py @@ -1846,7 +1846,7 @@ def test_multilevel_index_loc_order(self, dim, keys, expected): # GH 22797 # Try to...
#35925 Files edited: - pandas/tests/test_multilevel.py - pandas/tests/test_nanops.py - pandas/tests/window/moments/test_moments_consistency_rolling.py - pandas/tests/window/moments/test_moments_ewm.py - pandas/tests/window/moments/test_moments_rolling.py - pandas/tests/window/test_base_indexer.py - pandas/tes...
https://api.github.com/repos/pandas-dev/pandas/pulls/35996
2020-08-30T17:56:06Z
2020-08-31T09:59:18Z
2020-08-31T09:59:18Z
2020-08-31T09:59:26Z
TYP: typing errors in _xlsxwriter.py #35994
diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index 3cd0d721bbdc6..ead36c95556b1 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -653,7 +653,6 @@ def __new__(cls, path, engine=None, **kwargs): return object.__new__(cls) # declare external properties you can cou...
- [x] closes #35994 - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/35995
2020-08-30T17:18:37Z
2020-08-31T18:22:35Z
2020-08-31T18:22:35Z
2020-08-31T20:03:42Z
Updating fork
Updating fork (this PR was opened in the wrong repo by mistake, apologies for the same.)
https://api.github.com/repos/pandas-dev/pandas/pulls/35993
2020-08-30T16:44:16Z
2020-08-30T16:44:36Z
null
2020-08-30T16:47:58Z
TYP: check_untyped_defs core.dtypes.cast
diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py index f71fd0d406c54..e66f513e347a9 100644 --- a/pandas/core/indexes/datetimes.py +++ b/pandas/core/indexes/datetimes.py @@ -75,7 +75,7 @@ def _new_DatetimeIndex(cls, d): + [ method for method in DatetimeArray._dateti...
https://api.github.com/repos/pandas-dev/pandas/pulls/35992
2020-08-30T15:35:14Z
2020-08-31T01:31:23Z
2020-08-31T01:31:22Z
2020-08-31T08:07:07Z
TYP: misc typing in core\indexes\base.py
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 95bd757f1994e..27f9b577203ac 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1772,13 +1772,13 @@ def from_records( arrays = [data[k] for k in columns] else: arrays = [] - arr_col...
https://api.github.com/repos/pandas-dev/pandas/pulls/35991
2020-08-30T15:33:36Z
2020-09-02T18:44:40Z
2020-09-02T18:44:40Z
2020-09-02T18:49:29Z
TYP: misc typing fixes for pandas\core\frame.py
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 95bd757f1994e..e14f757e02159 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1014,7 +1014,7 @@ def iterrows(self) -> Iterable[Tuple[Label, Series]]: s = klass(v, index=columns, name=k) yield k, s - def itertup...
pandas\core\frame.py:1091: error: namedtuple() expects a string literal as the first argument [misc] pandas\core\frame.py:4594: error: Need type annotation for 'names' (hint: "names: List[<type>] = ...") [var-annotated]
https://api.github.com/repos/pandas-dev/pandas/pulls/35990
2020-08-30T15:29:57Z
2020-08-31T15:06:35Z
2020-08-31T15:06:35Z
2020-08-31T16:23:51Z
TST: Verify operators with IntegerArray and list-likes (22606)
diff --git a/pandas/tests/arithmetic/conftest.py b/pandas/tests/arithmetic/conftest.py index 6286711ac6113..31e9a4c4bc44e 100644 --- a/pandas/tests/arithmetic/conftest.py +++ b/pandas/tests/arithmetic/conftest.py @@ -2,6 +2,7 @@ import pytest import pandas as pd +import pandas._testing as tm # ------------------...
- [x] closes #22606 - [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/35987
2020-08-30T12:48:40Z
2020-10-07T03:15:05Z
2020-10-07T03:15:05Z
2020-10-07T03:15:09Z
DOC: Add Notes about difference to numpy behaviour for ddof in std() GH35985
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 486bea7cd1b47..f488195dcaa86 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -10706,7 +10706,12 @@ def _doc_parms(cls): Returns ------- -%(name1)s or %(name2)s (if level specified)\n""" +%(name1)s or %(name2)s (if level specified...
- [x] closes #35985 - [ ] 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/35986
2020-08-30T11:51:51Z
2020-09-03T16:58:37Z
2020-09-03T16:58:36Z
2020-09-03T16:58:49Z
ENH: Add axis argument to Dataframe.corr
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 55570341cf4e8..0db4a9e26246d 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -54,7 +54,7 @@ For example: Other enhancements ^^^^^^^^^^^^^^^^^^ - :class:`Index` with object dtype supports division an...
- [x] closes #35002 - [x] tests added / passed
https://api.github.com/repos/pandas-dev/pandas/pulls/35984
2020-08-30T07:12:04Z
2020-10-29T04:13:02Z
null
2020-10-29T04:13:02Z
CLN: window/rolling.py
diff --git a/pandas/core/window/rolling.py b/pandas/core/window/rolling.py index 39fcfcbe2bff6..05cc996178051 100644 --- a/pandas/core/window/rolling.py +++ b/pandas/core/window/rolling.py @@ -377,23 +377,13 @@ def _prep_values(self, values: Optional[np.ndarray] = None) -> np.ndarray: return values - de...
- [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/35982
2020-08-30T03:24:03Z
2020-08-31T20:42:06Z
2020-08-31T20:42:06Z
2020-08-31T22:11:38Z
DOC clean up doc/source/getting_started/overview.rst
diff --git a/doc/source/getting_started/overview.rst b/doc/source/getting_started/overview.rst index d8a40c5406dee..032ba73a7293d 100644 --- a/doc/source/getting_started/overview.rst +++ b/doc/source/getting_started/overview.rst @@ -9,9 +9,9 @@ Package overview **pandas** is a `Python <https://www.python.org>`__ packa...
- [x] closes #35980
https://api.github.com/repos/pandas-dev/pandas/pulls/35981
2020-08-29T22:26:24Z
2020-08-31T18:24:05Z
2020-08-31T18:24:05Z
2020-08-31T18:24:15Z
BUG: Respect errors="ignore" during extension astype
diff --git a/doc/source/whatsnew/v1.1.2.rst b/doc/source/whatsnew/v1.1.2.rst index b8f6d0e52d058..944f6f268e867 100644 --- a/doc/source/whatsnew/v1.1.2.rst +++ b/doc/source/whatsnew/v1.1.2.rst @@ -33,6 +33,7 @@ Bug fixes - Bug in :meth:`DataFrame.eval` with ``object`` dtype column binary operations (:issue:`35794`) -...
- [x] closes https://github.com/pandas-dev/pandas/issues/35471 - [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/35979
2020-08-29T21:24:13Z
2020-09-06T16:59:44Z
2020-09-06T16:59:44Z
2020-09-27T03:27:54Z
TYP: annotate plotting._matplotlib.converter
diff --git a/pandas/plotting/_matplotlib/converter.py b/pandas/plotting/_matplotlib/converter.py index 214a67690d695..3db7c38eced65 100644 --- a/pandas/plotting/_matplotlib/converter.py +++ b/pandas/plotting/_matplotlib/converter.py @@ -2,7 +2,7 @@ import datetime as pydt from datetime import datetime, timedelta, tzi...
https://api.github.com/repos/pandas-dev/pandas/pulls/35978
2020-08-29T18:01:24Z
2020-08-30T13:23:45Z
2020-08-30T13:23:45Z
2020-08-30T15:06:17Z
ENH: Optimize nrows in read_excel
diff --git a/asv_bench/benchmarks/io/excel.py b/asv_bench/benchmarks/io/excel.py index 80af2cff41769..1eaccb9f2d897 100644 --- a/asv_bench/benchmarks/io/excel.py +++ b/asv_bench/benchmarks/io/excel.py @@ -11,7 +11,7 @@ def _generate_dataframe(): - N = 2000 + N = 20000 C = 5 df = DataFrame( ...
- [ ] closes #32727 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry based on #33281 ---- output of asv benchmarks: ``` (pandas-dev) marco@marco-Predator-PH315-52:~/pandas-dev/asv_bench$ asv continuous -f 1....
https://api.github.com/repos/pandas-dev/pandas/pulls/35974
2020-08-29T10:15:23Z
2020-09-21T21:47:15Z
2020-09-21T21:47:15Z
2020-09-22T17:00:12Z
ENH: implement timeszones support for read_json(orient='table') and astype() from 'object'
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 46675c336c6a3..4d7c1479bd744 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -217,6 +217,7 @@ Other enhancements - ``Styler`` now allows direct CSS class name addition to individual data cells (:issue...
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Currently timezones raise a `NotImplementedError` when using the `read_json(orient='table')` method. This PR aims to fix what I believe is a fairly common request (nu...
https://api.github.com/repos/pandas-dev/pandas/pulls/35973
2020-08-29T07:45:26Z
2020-11-04T03:00:06Z
2020-11-04T03:00:06Z
2020-11-22T08:35:29Z
Comma cleanup
diff --git a/pandas/tests/frame/test_analytics.py b/pandas/tests/frame/test_analytics.py index 52a1e3aae9058..c807e7eb9c4d3 100644 --- a/pandas/tests/frame/test_analytics.py +++ b/pandas/tests/frame/test_analytics.py @@ -86,11 +86,7 @@ def wrapper(x): result0 = f(axis=0, skipna=False) result1 = f(axis...
Comma cleanup for #35925
https://api.github.com/repos/pandas-dev/pandas/pulls/35971
2020-08-29T04:38:16Z
2020-09-01T02:47:14Z
null
2020-09-01T02:47:23Z
Comma cleanup for Issue #35925
diff --git a/pandas/tests/frame/test_analytics.py b/pandas/tests/frame/test_analytics.py index 52a1e3aae9058..aa20887dc9549 100644 --- a/pandas/tests/frame/test_analytics.py +++ b/pandas/tests/frame/test_analytics.py @@ -18,7 +18,7 @@ isna, notna, to_datetime, - to_timedelta, + to_timedelta ) imp...
- [x] contributes to #35925 - [x] tests added / passed Tested with: `./ci/code_checks.sh` Files edited: pandas/tests/frame/test_analytics.py, pandas/tests/frame/test_constructors.py, pandas/tests/frame/test_reshape.py, pandas/tests/generic/test_finalize.py, pandas/tests/generic/test_to_xarray.py, pandas/t...
https://api.github.com/repos/pandas-dev/pandas/pulls/35970
2020-08-29T02:40:36Z
2020-08-29T03:31:50Z
null
2020-08-29T03:31:50Z
TYP: annotate plotting._matplotlib.tools
diff --git a/pandas/plotting/_matplotlib/tools.py b/pandas/plotting/_matplotlib/tools.py index 26b25597ce1a6..4d643ffb734e4 100644 --- a/pandas/plotting/_matplotlib/tools.py +++ b/pandas/plotting/_matplotlib/tools.py @@ -1,6 +1,6 @@ # being a bit too dynamic from math import ceil -from typing import TYPE_CHECKING, Tu...
Same idea as #35960, focused on clarifying Axis vs Axes
https://api.github.com/repos/pandas-dev/pandas/pulls/35968
2020-08-28T22:30:05Z
2020-08-31T10:15:05Z
2020-08-31T10:15:05Z
2020-08-31T14:45:45Z
Deprecate groupby/pivot observed=False default
diff --git a/doc/source/user_guide/10min.rst b/doc/source/user_guide/10min.rst index cf548ba5d1133..81c33b53e21a8 100644 --- a/doc/source/user_guide/10min.rst +++ b/doc/source/user_guide/10min.rst @@ -702,11 +702,11 @@ Sorting is per order in the categories, not lexical order. df.sort_values(by="grade") -Group...
- [x] Relates to #17594, Closes #30552 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Had a relatively small 70k data frame that I was trying to do a groupby sum on blow up on me today. This was the reason. I had so...
https://api.github.com/repos/pandas-dev/pandas/pulls/35967
2020-08-28T21:52:59Z
2021-07-11T20:27:45Z
null
2021-07-11T20:27:45Z
BUG: instantiation using a dict with a period scalar
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index ff9e803b4990a..7f1b0c88c83e1 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -333,7 +333,7 @@ Sparse ExtensionArray ^^^^^^^^^^^^^^ -- +- Fixed Bug where :class:`DataFrame` column set to scalar exte...
- [x] closes #35965 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Fixing bug discussed in [issue 35965](https://github.com/pandas-dev/pandas/issues/35965) where `pd.DataFrame({'a': pd.Period('2020-01')})` created `...
https://api.github.com/repos/pandas-dev/pandas/pulls/35966
2020-08-28T21:15:57Z
2020-09-11T13:03:04Z
2020-09-11T13:03:03Z
2020-10-10T15:07:02Z
BUG/CLN: Decouple Series/DataFrame.transform
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index bce6a735b7b07..8864469eaf858 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -342,6 +342,7 @@ Other ^^^^^ - Bug in :meth:`DataFrame.replace` and :meth:`Series.replace` incorrectly raising ``Assertion...
- [x] closes #35811 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry First step toward #35725. Currently `transform` just calls `aggregate`, and so if we are to forbid `aggregate` from transforming, these need to be d...
https://api.github.com/repos/pandas-dev/pandas/pulls/35964
2020-08-28T20:33:13Z
2020-09-12T21:36:52Z
2020-09-12T21:36:52Z
2020-12-03T21:44:40Z
TYP: misc cleanup in core\generic.py
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index fea3efedb6abb..dd7b02d98ad42 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -387,7 +387,7 @@ def _get_block_manager_axis(cls, axis: Axis) -> int: return m - axis return axis - def _get_axis_resolvers(self,...
pandas\core\generic.py:4707: error: Unsupported operand types for in ("Optional[str]" and "str") [operator] pandas\core\generic.py:6559: error: 'builtins.object' object is not iterable [misc]
https://api.github.com/repos/pandas-dev/pandas/pulls/35963
2020-08-28T19:43:38Z
2020-08-29T23:57:01Z
2020-08-29T23:57:01Z
2020-08-30T11:17:04Z
TYP: annotate plotting based on _get_axe_freq
diff --git a/pandas/plotting/_matplotlib/core.py b/pandas/plotting/_matplotlib/core.py index b490e07e43753..4d23a5e5fc249 100644 --- a/pandas/plotting/_matplotlib/core.py +++ b/pandas/plotting/_matplotlib/core.py @@ -1,5 +1,5 @@ import re -from typing import List, Optional +from typing import TYPE_CHECKING, List, Opti...
In some places in plotting `ax` is an Axes object and in other its an Axis object. Current goal is to pin these down. in timeseries._get_ax_freq we call `ax.get_shared_x_axes()`, which is an Axes method that does not exist on Axis. This annotates that usage and annotates all the other places where we can infer Axe...
https://api.github.com/repos/pandas-dev/pandas/pulls/35960
2020-08-28T18:20:48Z
2020-08-30T11:59:01Z
2020-08-30T11:59:01Z
2020-08-30T15:06:52Z
Issue35925 remove more trailing commas
diff --git a/pandas/core/series.py b/pandas/core/series.py index 555024ad75f5e..dbc105be3c62b 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -962,12 +962,12 @@ def _get_values_tuple(self, key): # If key is contained, would have returned by now indexer, new_index = self.index.get_loc...
xref #35925
https://api.github.com/repos/pandas-dev/pandas/pulls/35959
2020-08-28T17:55:58Z
2020-08-28T18:39:49Z
2020-08-28T18:39:49Z
2020-08-28T18:40:00Z
TYP: Remove NDFrame._add_series_or_dataframe_operations
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 606bd4cc3b52d..95bd757f1994e 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -9306,7 +9306,6 @@ def _AXIS_NAMES(self) -> Dict[int, str]: DataFrame._add_numeric_operations() -DataFrame._add_series_or_dataframe_operations() ops.add_fle...
Refactoring ``NDFrame._add series or dataframe`` class method helps with typing.
https://api.github.com/repos/pandas-dev/pandas/pulls/35957
2020-08-28T17:04:32Z
2020-08-30T12:00:25Z
2020-08-30T12:00:25Z
2020-08-30T12:54:09Z
Issue35925 remove trailing commas
diff --git a/pandas/core/internals/concat.py b/pandas/core/internals/concat.py index 2c0d4931a7bf2..99a586f056b12 100644 --- a/pandas/core/internals/concat.py +++ b/pandas/core/internals/concat.py @@ -29,7 +29,7 @@ def concatenate_block_managers( - mgrs_indexers, axes, concat_axis: int, copy: bool, + mgrs_in...
xref #35925
https://api.github.com/repos/pandas-dev/pandas/pulls/35956
2020-08-28T16:42:01Z
2020-08-28T18:06:09Z
2020-08-28T18:06:09Z
2020-08-28T18:06:28Z
TYP: misc cleanup in core\groupby\generic.py
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 82e629d184b19..3172fb4e0e853 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -9,7 +9,6 @@ import copy from functools import partial from textwrap import dedent -import typing from typing import ( ...
pandas\core\groupby\generic.py:610: error: Too many arguments [call-arg] pandas\core\groupby\generic.py:1212: error: "create_series_with_explicit_dtype" gets multiple values for keyword argument "dtype_if_empty" [misc]
https://api.github.com/repos/pandas-dev/pandas/pulls/35955
2020-08-28T15:40:41Z
2020-08-28T17:00:58Z
2020-08-28T17:00:58Z
2020-08-28T17:58:18Z
TYP: misc typing cleanups for #32911
diff --git a/pandas/io/excel/_odswriter.py b/pandas/io/excel/_odswriter.py index 0131240f99cf6..72f3d81b1c662 100644 --- a/pandas/io/excel/_odswriter.py +++ b/pandas/io/excel/_odswriter.py @@ -42,7 +42,7 @@ def write_cells( sheet_name: Optional[str] = None, startrow: int = 0, startcol: int = ...
pandas\io\excel\_odswriter.py:39:5: error: Argument 5 of "write_cells" is incompatible with supertype "ExcelWriter"; supertype defines the argument type as "Optional[Tuple[int, int]]" [override] pandas\io\excel\_odswriter.py:62:35: error: Argument 1 to "_validate_freeze_panes" has incompatible type "Optional[List[Any...
https://api.github.com/repos/pandas-dev/pandas/pulls/35954
2020-08-28T15:26:28Z
2020-08-29T11:39:36Z
2020-08-29T11:39:35Z
2020-08-29T18:23:23Z
TYP: misc typing cleanups for #29116
diff --git a/pandas/core/aggregation.py b/pandas/core/aggregation.py index e2374b81ca13b..7ca68d8289bd5 100644 --- a/pandas/core/aggregation.py +++ b/pandas/core/aggregation.py @@ -10,6 +10,7 @@ Callable, DefaultDict, Dict, + Iterable, List, Optional, Sequence, @@ -17,14 +18,14 @@ ...
pandas\core\frame.py:7429:59: error: Argument 3 to "relabel_result" has incompatible type "Optional[List[str]]"; expected "Tuple[Any, ...]" [arg-type] pandas\core\frame.py:7429:68: error: Argument 4 to "relabel_result" has incompatible type "Optional[List[int]]"; expected "List[int]" [arg-type]
https://api.github.com/repos/pandas-dev/pandas/pulls/35953
2020-08-28T15:20:55Z
2020-08-30T17:50:38Z
2020-08-30T17:50:38Z
2020-08-30T18:41:14Z
BUG: Fix DataFrame.groupby().apply() for NaN groups with dropna=False
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index e65daa439a225..aa3255e673797 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -214,7 +214,8 @@ Performance improvements Bug fixes ~~~~~~~~~ - +- Bug in :meth:`DataFrameGroupBy.apply` raising error w...
- [X] closes #35889 - [X] tests added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry in `v1.1.2.rst`
https://api.github.com/repos/pandas-dev/pandas/pulls/35951
2020-08-28T09:33:10Z
2020-09-05T03:15:05Z
2020-09-05T03:15:04Z
2020-09-05T03:15:11Z
CLN remove unnecessary trailing commas to get ready for new version of black: generic -> blocks
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 2afa56b50c3c7..82e629d184b19 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -221,9 +221,7 @@ def _selection_name(self): def apply(self, func, *args, **kwargs): return super().apply(func,...
xref #35925
https://api.github.com/repos/pandas-dev/pandas/pulls/35950
2020-08-28T08:00:48Z
2020-08-28T09:27:17Z
2020-08-28T09:27:17Z
2020-08-28T16:50:43Z
CLN remove unnecessary trailing commas to get ready for new version of black: _testing -> generic
diff --git a/pandas/_testing.py b/pandas/_testing.py index ef6232fa6d575..b402b040d9268 100644 --- a/pandas/_testing.py +++ b/pandas/_testing.py @@ -939,7 +939,7 @@ def assert_categorical_equal( if check_category_order: assert_index_equal(left.categories, right.categories, obj=f"{obj}.categories") ...
xref #35925
https://api.github.com/repos/pandas-dev/pandas/pulls/35949
2020-08-28T06:59:47Z
2020-08-28T09:26:44Z
2020-08-28T09:26:44Z
2020-08-28T16:50:38Z
paste_windows() wrong arg for c_wchar_p
diff --git a/pandas/io/clipboard/__init__.py b/pandas/io/clipboard/__init__.py index d16955a98b62f..a4d4d10ae7a8b 100644 --- a/pandas/io/clipboard/__init__.py +++ b/pandas/io/clipboard/__init__.py @@ -468,7 +468,11 @@ def paste_windows(): # (Also, it may return a handle to an empty buffer, ...
paste_windows() now directly used handle return from safeGetClipboardData(CF_UNICODETEXT) as argument for c_wchar_p, which should used safeGlobalLock(handle) instead, while copy_windows(text) doing the right thing. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff up...
https://api.github.com/repos/pandas-dev/pandas/pulls/35947
2020-08-28T06:16:24Z
2021-01-01T22:07:33Z
null
2021-01-01T22:07:33Z
CLN: resolve UserWarning in `pandas/plotting/_matplotlib/core.py` #35945
diff --git a/pandas/plotting/_matplotlib/core.py b/pandas/plotting/_matplotlib/core.py index 2d64e1b051444..2d519f56738b1 100644 --- a/pandas/plotting/_matplotlib/core.py +++ b/pandas/plotting/_matplotlib/core.py @@ -1226,8 +1226,8 @@ def get_label(i): if self._need_to_set_index: xticks = ax.get_x...
- [x] closes #35945 - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/35946
2020-08-28T05:40:08Z
2020-09-05T03:33:50Z
2020-09-05T03:33:50Z
2020-10-02T11:56:55Z
Version Number correction in to_json table
diff --git a/pandas/io/json/_table_schema.py b/pandas/io/json/_table_schema.py index 84146a5d732e1..612f1194a65d9 100644 --- a/pandas/io/json/_table_schema.py +++ b/pandas/io/json/_table_schema.py @@ -23,6 +23,7 @@ from pandas.core.dtypes.dtypes import CategoricalDtype from pandas import DataFrame +from pandas impo...
Added a line of code to obtain version of Pandas and display it in Schema of a table json when to_json(orient='table') is used. - [ ] 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/35944
2020-08-28T05:21:36Z
2020-08-29T18:44:13Z
null
2020-08-29T18:45:42Z
CLN: resolve DeprecationWarning in `pandas/_testing.py` #35942
diff --git a/pandas/_testing.py b/pandas/_testing.py index ef6232fa6d575..97047e0632087 100644 --- a/pandas/_testing.py +++ b/pandas/_testing.py @@ -787,7 +787,11 @@ def _get_ilevel_values(index, level): # skip exact index checking when `check_categorical` is False if check_exact and check_categorical: ...
- [x] closes #35942 - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/35943
2020-08-28T04:20:47Z
2020-10-05T00:15:54Z
null
2020-10-05T00:16:32Z
DOC: complement the documentation for pandas.DataFrame.agg #35912
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 606bd4cc3b52d..b1e7c8a51f52c 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -7376,6 +7376,15 @@ def _gotitem( min 1.0 2.0 sum 12.0 NaN + Aggregate different functions over the columns and rename the index of the resultin...
- [x] closes #35912 - [x] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry <img width="676" alt="Screenshot 2020-08-28 at 11 59 23" src="https://user-images.githubusercontent.com/21543236/91519967-a71dd280-e926-11ea-87f5-e647...
https://api.github.com/repos/pandas-dev/pandas/pulls/35941
2020-08-28T04:06:05Z
2020-08-31T18:40:13Z
2020-08-31T18:40:12Z
2020-08-31T18:40:16Z
TYP: annotations in core.groupby
diff --git a/pandas/core/groupby/categorical.py b/pandas/core/groupby/categorical.py index db734bb2f0c07..4d5acf527a867 100644 --- a/pandas/core/groupby/categorical.py +++ b/pandas/core/groupby/categorical.py @@ -1,3 +1,5 @@ +from typing import Optional, Tuple + import numpy as np from pandas.core.algorithms import...
I'm still seeing a couple of mypy complaints, suggestions @simonjayhawkins ?
https://api.github.com/repos/pandas-dev/pandas/pulls/35939
2020-08-28T01:34:17Z
2020-08-31T10:16:16Z
2020-08-31T10:16:16Z
2020-08-31T14:44:24Z
REGR: Fix comparison broadcasting over array of Intervals
diff --git a/doc/source/whatsnew/v1.1.2.rst b/doc/source/whatsnew/v1.1.2.rst index b4c196f548147..c6917d1b50619 100644 --- a/doc/source/whatsnew/v1.1.2.rst +++ b/doc/source/whatsnew/v1.1.2.rst @@ -17,6 +17,7 @@ Fixed regressions - Regression in :meth:`DatetimeIndex.intersection` incorrectly raising ``AssertionError`` ...
- [x] closes https://github.com/pandas-dev/pandas/issues/35931 - [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/35938
2020-08-28T01:21:44Z
2020-08-31T22:32:34Z
2020-08-31T22:32:34Z
2020-09-01T14:55:45Z
BUG: BlockSlider not clearing index._cache
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 407e8ba029ada..fca7e7d209031 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -256,6 +256,7 @@ Groupby/resample/rolling - Bug in :meth:`DataFrameGroupBy.apply` where a non-nuisance grouping column woul...
- [ ] closes #xxxx - [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/35937
2020-08-27T23:33:20Z
2020-09-02T03:18:17Z
2020-09-02T03:18:17Z
2020-09-02T17:00:22Z
REGR: Fix inplace updates on column to set correct values
diff --git a/doc/source/whatsnew/v1.1.2.rst b/doc/source/whatsnew/v1.1.2.rst index 9747a8ef3e71f..b4c196f548147 100644 --- a/doc/source/whatsnew/v1.1.2.rst +++ b/doc/source/whatsnew/v1.1.2.rst @@ -15,6 +15,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Regression in :meth:`DatetimeInd...
Closes #35731
https://api.github.com/repos/pandas-dev/pandas/pulls/35936
2020-08-27T20:11:50Z
2020-08-31T12:36:13Z
2020-08-31T12:36:12Z
2020-08-31T13:09:24Z
TYP: annotations in pandas.plotting
diff --git a/pandas/plotting/_matplotlib/converter.py b/pandas/plotting/_matplotlib/converter.py index 8f2080658e63e..214a67690d695 100644 --- a/pandas/plotting/_matplotlib/converter.py +++ b/pandas/plotting/_matplotlib/converter.py @@ -1,7 +1,8 @@ import contextlib import datetime as pydt -from datetime import datet...
https://api.github.com/repos/pandas-dev/pandas/pulls/35935
2020-08-27T18:06:46Z
2020-08-28T09:07:06Z
2020-08-28T09:07:06Z
2020-08-28T17:09:57Z
TYP: Annotations
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index befde7c355818..8501726c7d76d 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -10,7 +10,7 @@ import numpy as np from pandas._libs import Timestamp, algos, hashtable as htable, iNaT, lib -from pandas._typing import AnyA...
https://api.github.com/repos/pandas-dev/pandas/pulls/35933
2020-08-27T17:34:52Z
2020-08-30T12:01:51Z
2020-08-30T12:01:51Z
2020-08-30T15:07:35Z
CLN remove unnecessary trailing commas from aggregation
diff --git a/pandas/core/aggregation.py b/pandas/core/aggregation.py index 891048ae82dfd..e2374b81ca13b 100644 --- a/pandas/core/aggregation.py +++ b/pandas/core/aggregation.py @@ -28,10 +28,8 @@ def reconstruct_func( - func: Optional[AggFuncType], **kwargs, -) -> Tuple[ - bool, Optional[AggFuncType], Option...
xref #35925
https://api.github.com/repos/pandas-dev/pandas/pulls/35930
2020-08-27T16:22:26Z
2020-08-28T09:21:59Z
2020-08-28T09:21:59Z
2020-08-28T16:50:33Z
CLN remove unnecessary trailing commas
diff --git a/pandas/core/aggregation.py b/pandas/core/aggregation.py index 891048ae82dfd..e2374b81ca13b 100644 --- a/pandas/core/aggregation.py +++ b/pandas/core/aggregation.py @@ -28,10 +28,8 @@ def reconstruct_func( - func: Optional[AggFuncType], **kwargs, -) -> Tuple[ - bool, Optional[AggFuncType], Option...
xref #35927
https://api.github.com/repos/pandas-dev/pandas/pulls/35929
2020-08-27T16:20:07Z
2020-08-27T16:33:09Z
null
2020-10-10T14:14:44Z
Inconsistencies between python/cython groupby.agg behavior
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index ffd756bed43b6..8530d30af06a7 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -75,7 +75,14 @@ group_selection_context, ) from pandas.core.groupby.numba_ import generate_numba_func, split_for_numb...
This is pretty ugly, but tentatively is sufficient to make #34997 pass. The upshot is that we have two problems: 1) in libreduction setting `setattr(cached_ityp, '_index_data', islider.buf)` silently does the wrong thing for EA-backed indexes 2) when we go through the non-libreduction path, we do things slightl...
https://api.github.com/repos/pandas-dev/pandas/pulls/35928
2020-08-27T16:08:57Z
2020-09-17T20:56:40Z
null
2020-09-17T20:56:49Z
CLN remove unnecessary trailing commas
diff --git a/pandas/core/aggregation.py b/pandas/core/aggregation.py index 891048ae82dfd..e2374b81ca13b 100644 --- a/pandas/core/aggregation.py +++ b/pandas/core/aggregation.py @@ -28,10 +28,8 @@ def reconstruct_func( - func: Optional[AggFuncType], **kwargs, -) -> Tuple[ - bool, Optional[AggFuncType], Option...
xref #35925
https://api.github.com/repos/pandas-dev/pandas/pulls/35927
2020-08-27T16:06:48Z
2020-08-27T16:18:47Z
null
2020-08-27T16:18:53Z
remove unnecessary trailing commas
diff --git a/pandas/core/aggregation.py b/pandas/core/aggregation.py index 891048ae82dfd..e2374b81ca13b 100644 --- a/pandas/core/aggregation.py +++ b/pandas/core/aggregation.py @@ -28,10 +28,8 @@ def reconstruct_func( - func: Optional[AggFuncType], **kwargs, -) -> Tuple[ - bool, Optional[AggFuncType], Option...
xref #35925
https://api.github.com/repos/pandas-dev/pandas/pulls/35926
2020-08-27T16:04:04Z
2020-08-27T16:05:29Z
null
2020-08-27T16:05:37Z
REF: use BlockManager.apply for DataFrameGroupBy.count
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 2afa56b50c3c7..039f52e6f5b8d 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -76,7 +76,7 @@ from pandas.core.groupby.numba_ import generate_numba_func, split_for_numba from pandas.core.indexes.api im...
https://api.github.com/repos/pandas-dev/pandas/pulls/35924
2020-08-27T14:43:01Z
2020-09-04T20:47:13Z
2020-09-04T20:47:13Z
2020-09-04T20:50:50Z
Backport PR #35794: BUG: issubclass check with dtype instead of type,…
diff --git a/doc/source/whatsnew/v1.1.2.rst b/doc/source/whatsnew/v1.1.2.rst index 5c4e770c7b33c..a87e06678faad 100644 --- a/doc/source/whatsnew/v1.1.2.rst +++ b/doc/source/whatsnew/v1.1.2.rst @@ -24,7 +24,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ - +- Bug in :meth:`DataFrame.eval` with ``object`` dtype column bin...
xref #35794
https://api.github.com/repos/pandas-dev/pandas/pulls/35919
2020-08-27T09:18:35Z
2020-08-27T10:37:07Z
2020-08-27T10:37:07Z
2020-08-27T10:37:16Z
REF: window/test_dtypes.py with pytest idioms
diff --git a/pandas/tests/window/conftest.py b/pandas/tests/window/conftest.py index eb8252d5731be..7f03fa2a5ea0d 100644 --- a/pandas/tests/window/conftest.py +++ b/pandas/tests/window/conftest.py @@ -308,3 +308,34 @@ def which(request): def halflife_with_times(request): """Halflife argument for EWM when times is...
- [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/35918
2020-08-27T07:19:08Z
2020-09-05T19:40:07Z
2020-09-05T19:40:07Z
2020-09-06T04:05:06Z
"Backport PR #35838 on branch 1.1.x"
diff --git a/doc/source/whatsnew/v1.1.2.rst b/doc/source/whatsnew/v1.1.2.rst index d60119f28c053..5c4e770c7b33c 100644 --- a/doc/source/whatsnew/v1.1.2.rst +++ b/doc/source/whatsnew/v1.1.2.rst @@ -24,6 +24,8 @@ Fixed regressions Bug fixes ~~~~~~~~~ + +- Bug in :class:`Series` constructor raising a ``TypeError`` whe...
xref #35838
https://api.github.com/repos/pandas-dev/pandas/pulls/35915
2020-08-27T02:36:25Z
2020-08-27T09:22:20Z
2020-08-27T09:22:20Z
2020-08-27T17:11:02Z
Make MultiIndex.get_loc raise for unhashable type
diff --git a/doc/source/whatsnew/v1.1.2.rst b/doc/source/whatsnew/v1.1.2.rst index d1a66256454ca..0fa5dd30f8cd9 100644 --- a/doc/source/whatsnew/v1.1.2.rst +++ b/doc/source/whatsnew/v1.1.2.rst @@ -17,6 +17,7 @@ Fixed regressions - Regression in :meth:`DatetimeIndex.intersection` incorrectly raising ``AssertionError`` ...
- [x] closes #35878 - [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/35914
2020-08-27T02:25:38Z
2020-09-05T21:18:52Z
2020-09-05T21:18:51Z
2020-09-06T13:01:22Z
TYP: annotate tseries.holiday
diff --git a/pandas/tseries/holiday.py b/pandas/tseries/holiday.py index 8ab37f787bd10..d8a3040919e7b 100644 --- a/pandas/tseries/holiday.py +++ b/pandas/tseries/holiday.py @@ -12,7 +12,7 @@ from pandas.tseries.offsets import Day, Easter -def next_monday(dt): +def next_monday(dt: datetime) -> datetime: """ ...
cc @simonjayhawkins
https://api.github.com/repos/pandas-dev/pandas/pulls/35913
2020-08-27T02:08:26Z
2020-08-27T18:25:03Z
2020-08-27T18:25:03Z
2020-08-27T18:50:01Z
CI: Attempt to unpin pytest-xdist
diff --git a/ci/deps/azure-windows-37.yaml b/ci/deps/azure-windows-37.yaml index 4894129915722..1d15ca41c0f8e 100644 --- a/ci/deps/azure-windows-37.yaml +++ b/ci/deps/azure-windows-37.yaml @@ -8,7 +8,7 @@ dependencies: # tools - cython>=0.29.16 - pytest>=5.0.1 - - pytest-xdist>=1.21,<2.0.0 # GH 35737 + - pyt...
- [x] closes #35756 2.1.0 was released yesterday: https://pypi.org/project/pytest-xdist/#history
https://api.github.com/repos/pandas-dev/pandas/pulls/35910
2020-08-26T19:48:33Z
2020-08-27T16:06:26Z
2020-08-27T16:06:26Z
2020-08-27T16:06:38Z
Truncate columns list to match tr_frame for correct dict formatters lookup
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 6dd011c588702..1fd2ebb69cad2 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -750,6 +750,7 @@ I/O - :meth:`DataFrame.to_csv` was re-opening file-like handles that also implement ``os.PathLike`` (:issu...
When using a dictionary of formatters and a truncated DataFrame is being displayed, the column list used for looking up the formatter in the dict are incorrect. The columns attribute of the DataFrameFormatter needs to be truncated as well for the lookup to be correct. - [ ] closes #xxxx - [ ] tests added / passed ...
https://api.github.com/repos/pandas-dev/pandas/pulls/35907
2020-08-26T15:03:49Z
2021-11-09T00:24:55Z
null
2021-11-09T00:24:56Z
TST/API: test column indexing copy/view semantics
diff --git a/pandas/tests/indexing/test_iloc.py b/pandas/tests/indexing/test_iloc.py index 4fae01ec710fd..476f7900dc745 100644 --- a/pandas/tests/indexing/test_iloc.py +++ b/pandas/tests/indexing/test_iloc.py @@ -706,6 +706,15 @@ def test_iloc_setitem_categorical_updates_inplace(self): expected = pd.Categorica...
This is adding some tests for current behaviour related to the discussions in #33457 and #35417 (and also adds the tests from https://github.com/pandas-dev/pandas/pull/35266 which got never merged). I think it is good to have some more explicit tests of current behaviour, while we are considering changing things. No...
https://api.github.com/repos/pandas-dev/pandas/pulls/35906
2020-08-26T12:10:57Z
2021-06-16T13:52:32Z
null
2021-06-16T13:52:32Z
Backport PR #35777: BUG: DataFrame.apply with result_type=reduce incorrect index
diff --git a/doc/source/whatsnew/v1.1.2.rst b/doc/source/whatsnew/v1.1.2.rst index 97bd4dccdcd84..748937deb5a9b 100644 --- a/doc/source/whatsnew/v1.1.2.rst +++ b/doc/source/whatsnew/v1.1.2.rst @@ -24,7 +24,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ - +- Bug in :meth:`DataFrame.apply` with ``result_type="reduce"`` r...
#35777
https://api.github.com/repos/pandas-dev/pandas/pulls/35905
2020-08-26T11:39:27Z
2020-08-26T13:32:27Z
2020-08-26T13:32:27Z
2020-08-26T13:32:36Z
Backport PR #35712: PERF: RangeIndex.format performance
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 3cd920158f774..0f0f009307c75 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -540,7 +540,7 @@ with :attr:`numpy.nan` in the case of an empty :class:`DataFrame` (:issue:`26397 .. ipython:: python...
#35712
https://api.github.com/repos/pandas-dev/pandas/pulls/35904
2020-08-26T11:32:06Z
2020-08-26T14:40:22Z
2020-08-26T14:40:22Z
2020-08-26T14:40:27Z
REF: use BlockManager.apply for cython_agg_blocks, apply_blockwise
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index a92e3af0764a7..537feace59fcb 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -1035,8 +1035,6 @@ def _cython_agg_blocks( if numeric_only: data = data.get_numeric_data(copy=False) ...
- [x] closes #34714 - [ ] 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/35900
2020-08-26T00:30:11Z
2020-09-03T02:56:34Z
2020-09-03T02:56:33Z
2020-09-03T02:57:42Z
REF: handle axis=None case inside DataFrame.any/all to simplify _reduce
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 606bd4cc3b52d..31611f441ceea 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -8598,14 +8598,11 @@ def _reduce( cols = self.columns[~dtype_is_dt] self = self[cols] - if axis is None and filter_type == "bool"...
Between this, #35881, and the PR coming after 35881, we'll be able to simplify _reduce quite a bit.
https://api.github.com/repos/pandas-dev/pandas/pulls/35899
2020-08-25T23:27:39Z
2020-09-02T01:56:40Z
2020-09-02T01:56:40Z
2020-09-02T02:30:58Z
CI: docker 32-bit linux build #32709
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 113ad3e338952..b1091ea7f60e4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -26,3 +26,28 @@ jobs: parameters: name: Windows vmImage: vs2017-win2016 + +- job: py37_32bit + pool: + vmImage: ubuntu-18.04 + + steps: + - script:...
- [x] closes #32709
https://api.github.com/repos/pandas-dev/pandas/pulls/35898
2020-08-25T22:09:26Z
2020-10-28T03:15:11Z
2020-10-28T03:15:11Z
2022-11-18T02:21:03Z
CI: Mark s3 tests parallel safe
diff --git a/pandas/tests/io/conftest.py b/pandas/tests/io/conftest.py index 518f31d73efa9..193baa8c3ed74 100644 --- a/pandas/tests/io/conftest.py +++ b/pandas/tests/io/conftest.py @@ -34,12 +34,13 @@ def feather_file(datapath): @pytest.fixture -def s3so(): - return dict(client_kwargs={"endpoint_url": "http://1...
Closes https://github.com/pandas-dev/pandas/issues/35856 I think we need to update the pytest pattern though, so this should fail.
https://api.github.com/repos/pandas-dev/pandas/pulls/35895
2020-08-25T14:49:51Z
2020-08-26T02:21:41Z
2020-08-26T02:21:41Z
2020-09-10T16:30:56Z
DOC: avoid StorageOptions type alias in docstrings
diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index aaef71910c9ab..3cd0d721bbdc6 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -200,13 +200,13 @@ Duplicate columns will be specified as 'X', 'X.1', ...'X.N', rather than 'X'...'X'. Passing in False will cause data to...
Small follow-up on https://github.com/pandas-dev/pandas/pull/35655, replacing the "StorageOptions" with a plain "dict" in the docstrings ("StorageOptions" is not something known to users, in the type annotations it will expand but not in the docstrings) (cc @martindurant)
https://api.github.com/repos/pandas-dev/pandas/pulls/35894
2020-08-25T14:42:06Z
2020-08-25T20:12:32Z
2020-08-25T20:12:32Z
2020-08-25T20:12:35Z
Fix interpolate limit area and limit direction with pad
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index adc1806523d6e..2df1db260eeb5 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -225,6 +225,7 @@ Missing ^^^^^^^ - Bug in :meth:`SeriesGroupBy.transform` now correctly handles missing values for `drop...
fork of #31048 @jreback I don't seem to be able to push updates to #31048, so could close and carry on here
https://api.github.com/repos/pandas-dev/pandas/pulls/35893
2020-08-25T14:35:26Z
2020-09-15T09:47:59Z
null
2020-09-15T11:34:43Z
Backport PR #35814: TST: Fix test_parquet failures for pyarrow 1.0
diff --git a/pandas/tests/io/test_parquet.py b/pandas/tests/io/test_parquet.py index 82157f3d722a9..306b2a7849586 100644 --- a/pandas/tests/io/test_parquet.py +++ b/pandas/tests/io/test_parquet.py @@ -557,13 +557,23 @@ def test_s3_roundtrip(self, df_compat, s3_resource, pa): @pytest.mark.parametrize("partition_col...
Backport https://github.com/pandas-dev/pandas/pull/35814
https://api.github.com/repos/pandas-dev/pandas/pulls/35887
2020-08-25T07:07:52Z
2020-08-25T10:04:02Z
2020-08-25T10:04:02Z
2020-08-25T15:18:11Z
DOC: Fix documentation for pandas.Series.transform #35870
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 9f36405bf6428..286da6e1de9d5 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -10703,7 +10703,7 @@ def transform(self, func, *args, **kwargs): - function - string function name - - list of functi...
- [x] closes #35870 - [x] 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/35885
2020-08-25T03:46:11Z
2020-08-25T05:37:04Z
2020-08-25T05:37:04Z
2020-08-27T13:41:27Z
REF: reuse _combine instead of reset_dropped_locs
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 1198baab12ac1..70a8379de64e9 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -21,7 +21,6 @@ Mapping, Optional, Sequence, - Tuple, Type, Union, ) @@ -1025,16 +1024,14 @@ def...
https://api.github.com/repos/pandas-dev/pandas/pulls/35884
2020-08-25T03:40:01Z
2020-08-25T12:59:42Z
2020-08-25T12:59:42Z
2020-08-25T15:14:10Z
REF: use BlockManager.apply for Rolling.count
diff --git a/pandas/core/window/rolling.py b/pandas/core/window/rolling.py index 04509a40b98df..246bf8e6f71b7 100644 --- a/pandas/core/window/rolling.py +++ b/pandas/core/window/rolling.py @@ -22,7 +22,7 @@ from pandas._libs.tslibs import BaseOffset, to_offset import pandas._libs.window.aggregations as window_aggre...
- [ ] 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/35883
2020-08-25T02:12:19Z
2020-08-31T18:28:25Z
2020-08-31T18:28:25Z
2020-08-31T19:21:05Z
BUG: item_cache invalidation in get_numeric_data
diff --git a/doc/source/whatsnew/v1.1.2.rst b/doc/source/whatsnew/v1.1.2.rst index ac9fe9d2fca26..8cf79500c0384 100644 --- a/doc/source/whatsnew/v1.1.2.rst +++ b/doc/source/whatsnew/v1.1.2.rst @@ -33,6 +33,7 @@ Bug fixes - Bug in :meth:`DateTimeIndex.format` and :meth:`PeriodIndex.format` with ``name=True`` setting th...
- [ ] 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/35882
2020-08-25T01:13:32Z
2020-09-05T19:55:37Z
2020-09-05T19:55:37Z
2020-09-07T11:33:18Z
REF: ignore_failures in BlockManager.reduce
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 1f9987d9d3f5b..8efe2fc090fc5 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -8595,6 +8595,7 @@ def _reduce( cols = self.columns[~dtype_is_dt] self = self[cols] + any_object = self.dtypes.apply(is_object_dt...
Moving towards collecting all of the ignore_failures code in one place. The case where we have object dtypes is kept separate in this PR, will be handled in the next pass.
https://api.github.com/repos/pandas-dev/pandas/pulls/35881
2020-08-25T00:54:54Z
2020-10-10T18:36:03Z
2020-10-10T18:36:03Z
2020-10-14T13:04:24Z
Backport PR #35877 on branch 1.1.x (REGR: DatetimeIndex.intersection incorrectly raising AssertionError)
diff --git a/doc/source/whatsnew/v1.1.2.rst b/doc/source/whatsnew/v1.1.2.rst index 81acd567027e5..97bd4dccdcd84 100644 --- a/doc/source/whatsnew/v1.1.2.rst +++ b/doc/source/whatsnew/v1.1.2.rst @@ -14,7 +14,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - +- Regression in :meth:`Datetim...
Backport PR #35877: REGR: DatetimeIndex.intersection incorrectly raising AssertionError
https://api.github.com/repos/pandas-dev/pandas/pulls/35879
2020-08-24T23:46:22Z
2020-08-25T06:27:56Z
2020-08-25T06:27:55Z
2020-08-25T06:27:56Z
REGR: DatetimeIndex.intersection incorrectly raising AssertionError
diff --git a/doc/source/whatsnew/v1.1.2.rst b/doc/source/whatsnew/v1.1.2.rst index c1b73c60be92b..af61354470a71 100644 --- a/doc/source/whatsnew/v1.1.2.rst +++ b/doc/source/whatsnew/v1.1.2.rst @@ -14,7 +14,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - +- Regression in :meth:`Datetim...
- [x] closes #35876 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry @dsaxton this PR's test and whatsnew note reference the underlying issue you identified in #35876, but not the OP issue. Do you think we should add...
https://api.github.com/repos/pandas-dev/pandas/pulls/35877
2020-08-24T21:39:04Z
2020-08-24T23:45:46Z
2020-08-24T23:45:46Z
2020-08-25T00:06:31Z
COMPAT: Ensure rolling indexers return intp during take operations
diff --git a/pandas/core/window/indexers.py b/pandas/core/window/indexers.py index 7cbe34cdebf9f..7c76a8e2a0b22 100644 --- a/pandas/core/window/indexers.py +++ b/pandas/core/window/indexers.py @@ -7,6 +7,8 @@ from pandas._libs.window.indexers import calculate_variable_window_bounds from pandas.util._decorators import...
- [x] closes #35294 - [x] closes #35148 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Tested locally with @TomAugspurger docker container and the tests were working: https://github.com/pandas-dev/pandas/pull/352...
https://api.github.com/repos/pandas-dev/pandas/pulls/35875
2020-08-24T17:55:45Z
2020-08-24T23:42:02Z
2020-08-24T23:42:02Z
2020-10-28T15:55:27Z
BUG: to_dict_of_blocks failing to invalidate item_cache
diff --git a/pandas/core/internals/managers.py b/pandas/core/internals/managers.py index f05d4cf1c4be6..33aaf26698540 100644 --- a/pandas/core/internals/managers.py +++ b/pandas/core/internals/managers.py @@ -909,12 +909,7 @@ def to_dict(self, copy: bool = True): Returns ------- values : a di...
- [ ] 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/35874
2020-08-24T16:15:02Z
2020-08-25T12:58:44Z
2020-08-25T12:58:44Z
2020-08-25T15:13:21Z
REF: simplify latex formatting
diff --git a/pandas/io/formats/format.py b/pandas/io/formats/format.py index 3dc4290953360..bfe8ed8ddafd0 100644 --- a/pandas/io/formats/format.py +++ b/pandas/io/formats/format.py @@ -938,17 +938,18 @@ def to_latex( """ from pandas.io.formats.latex import LatexFormatter - return LatexFormatt...
- [x] closes https://github.com/pandas-dev/pandas/issues/35790 - [x] tests added ``pandas/tests/io/formats/test_latex.py`` - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Refactor ``to_latex`` using polymorphism and the builder design pattern. Polymorphism ----...
https://api.github.com/repos/pandas-dev/pandas/pulls/35872
2020-08-24T14:32:13Z
2020-09-07T18:58:51Z
2020-09-07T18:58:51Z
2020-11-06T15:34:44Z
REF: implement Block.reduce for DataFrame._reduce
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 837bd35414773..606bd4cc3b52d 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -8647,13 +8647,11 @@ def blk_func(values): return op(values, axis=1, skipna=skipna, **kwds) # After possibly _get_data and trans...
This lets us avoid reconstructing results from a dict, makes it feasible to use the same block-skipping code for DataFrame._reduce that we use for cython_agg_blocks and apply_blockwise.
https://api.github.com/repos/pandas-dev/pandas/pulls/35867
2020-08-24T02:57:40Z
2020-08-24T23:35:41Z
2020-08-24T23:35:41Z
2020-08-25T00:08:39Z
CLN/PERF: delay evaluation of get_day_of_month
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 7f0314d737619..161e5f4e54f51 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -3705,7 +3705,7 @@ cdef inline void _shift_months(const int64_t[:] dtindex, """See shift_months.__doc__""" cde...
I don't expect a major perf improvement, but in some corner cases we can avoid evaluating get_day_of_month
https://api.github.com/repos/pandas-dev/pandas/pulls/35866
2020-08-24T00:27:50Z
2020-08-24T14:24:04Z
2020-08-24T14:24:04Z
2020-08-24T14:59:00Z
REF: make window _apply_blockwise actually blockwise
diff --git a/pandas/core/window/rolling.py b/pandas/core/window/rolling.py index f7e81f41b8675..a70247d9f7f9c 100644 --- a/pandas/core/window/rolling.py +++ b/pandas/core/window/rolling.py @@ -66,7 +66,8 @@ from pandas.core.window.numba_ import generate_numba_apply_func if TYPE_CHECKING: - from pandas import Ser...
There will be one more clean-up pass after this, kept separate to maintain targeted diff.
https://api.github.com/repos/pandas-dev/pandas/pulls/35861
2020-08-23T03:43:55Z
2020-08-24T23:36:51Z
2020-08-24T23:36:50Z
2020-08-25T00:23:27Z
DOC: Fix code of conduct link
diff --git a/web/pandas/about/team.md b/web/pandas/about/team.md index 8eb2edebec817..39f63202e1986 100644 --- a/web/pandas/about/team.md +++ b/web/pandas/about/team.md @@ -2,7 +2,7 @@ ## Contributors -_pandas_ is made with love by more than [1,500 volunteer contributors](https://github.com/pandas-dev/pandas/graph...
closes #35855
https://api.github.com/repos/pandas-dev/pandas/pulls/35857
2020-08-22T18:35:39Z
2020-08-23T07:40:30Z
2020-08-23T07:40:30Z
2020-08-23T07:40:30Z
REF: use Block.apply in cython_agg_blocks
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 4b1f6cfe0a662..85bd67e526487 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -1058,16 +1058,17 @@ def cast_agg_result(result, values: ArrayLike, how: str) -> ArrayLike: # reshape t...
Getting closer to making this use a BlockManager method
https://api.github.com/repos/pandas-dev/pandas/pulls/35854
2020-08-22T16:26:36Z
2020-08-24T23:32:54Z
2020-08-24T23:32:54Z
2020-08-25T00:17:08Z
DEPR: deprecate dtype param in Index.copy
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 09a5bcb0917c2..adc1806523d6e 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -143,7 +143,7 @@ See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for mor Deprecations ~~~~~~~~~~~...
Deprecate ``dtype`` param in ``Index.copy`` and child methods. If users want to change dtype, they should use ``Index.astype``.
https://api.github.com/repos/pandas-dev/pandas/pulls/35853
2020-08-22T15:47:59Z
2020-08-24T22:55:43Z
2020-08-24T22:55:43Z
2020-08-27T13:17:26Z
API: replace dropna=False option with na_sentinel=None in factorize
diff --git a/doc/source/whatsnew/v1.1.2.rst b/doc/source/whatsnew/v1.1.2.rst index 9b1ad658d4666..fdfb084b47a89 100644 --- a/doc/source/whatsnew/v1.1.2.rst +++ b/doc/source/whatsnew/v1.1.2.rst @@ -35,6 +35,14 @@ Bug fixes .. --------------------------------------------------------------------------- +.. _whatsnew_...
- [x] closes #35667 - [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/35852
2020-08-22T10:50:31Z
2020-09-02T15:00:50Z
2020-09-02T15:00:50Z
2020-09-02T19:41:06Z
BUG: Index.get_slice_bounds does not accept datetime.date or tz naive datetime.datetimes
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index 0cfe010b63a6f..9c8ee10a8a0af 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -176,7 +176,8 @@ Datetimelike - Bug in :attr:`DatetimeArray.date` where a ``ValueError`` would be raised with a read-only b...
- [x] closes #35690 - [x] closes #34077 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This method appeared under tested so added some additional tests for numeric and object `Index`
https://api.github.com/repos/pandas-dev/pandas/pulls/35848
2020-08-22T06:47:21Z
2020-09-02T21:36:38Z
2020-09-02T21:36:38Z
2020-11-12T05:15:24Z
CI: Revert 31323 for deprecation warning from Jedi
diff --git a/pandas/tests/arrays/categorical/test_warnings.py b/pandas/tests/arrays/categorical/test_warnings.py index 9e164a250cdb1..f66c327e9967d 100644 --- a/pandas/tests/arrays/categorical/test_warnings.py +++ b/pandas/tests/arrays/categorical/test_warnings.py @@ -14,16 +14,6 @@ async def test_tab_complete_warning(...
- [x] closes #31407 ipython/ipython#12102 has been solved, and the new release came out a couple weeks ago, so revert should be fine according to https://github.com/ipython/ipython/issues/12102#issuecomment-670987484
https://api.github.com/repos/pandas-dev/pandas/pulls/35845
2020-08-21T19:24:07Z
2020-12-29T20:45:23Z
null
2020-12-29T20:45:23Z
REF: simplify _cython_agg_blocks
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 166631e69f523..60e23b14eaf09 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -24,7 +24,6 @@ Tuple, Type, Union, - cast, ) import warnings @@ -1100,24 +1099,19 @@ def blk_func(bloc...
Orthogonal to #35839, though a rebase will be needed. cc @TomAugspurger did you already try this in #31616? If so, we need to identify a test case in which this doesnt work
https://api.github.com/repos/pandas-dev/pandas/pulls/35841
2020-08-21T15:02:36Z
2020-08-21T21:07:29Z
2020-08-21T21:07:29Z
2020-08-21T21:22:26Z
REF: remove unnecesary try/except
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 60e23b14eaf09..4b1f6cfe0a662 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -30,7 +30,7 @@ import numpy as np from pandas._libs import lib -from pandas._typing import FrameOrSeries, FrameOrSeriesU...
and make cast_result_block into cast_agg_result operate on values instead of blocks
https://api.github.com/repos/pandas-dev/pandas/pulls/35839
2020-08-21T04:19:57Z
2020-08-22T02:02:02Z
2020-08-22T02:02:02Z
2020-08-22T03:17:42Z
Fix Series construction from Sparse["datetime64[ns]"]
diff --git a/doc/source/whatsnew/v1.1.2.rst b/doc/source/whatsnew/v1.1.2.rst index c1b73c60be92b..c9ead81c6d780 100644 --- a/doc/source/whatsnew/v1.1.2.rst +++ b/doc/source/whatsnew/v1.1.2.rst @@ -25,6 +25,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ - Bug in :meth:`DataFrame.eval` with ``object`` dtype column binary ...
- [x] closes #35762 - [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/35838
2020-08-21T03:15:17Z
2020-08-27T02:22:03Z
2020-08-27T02:22:02Z
2020-08-27T02:37:46Z
Update SparseDtype user guide doc
diff --git a/doc/source/user_guide/sparse.rst b/doc/source/user_guide/sparse.rst index ca8e9a2f313f6..35e0e0fb86472 100644 --- a/doc/source/user_guide/sparse.rst +++ b/doc/source/user_guide/sparse.rst @@ -87,14 +87,15 @@ The :attr:`SparseArray.dtype` property stores two pieces of information sparr.dtype -A :cla...
Tiny doc nit. The doc says you can pass both dtype and fill_value to SparseDtype then only passes one in the example.
https://api.github.com/repos/pandas-dev/pandas/pulls/35837
2020-08-21T00:40:57Z
2020-08-31T18:45:12Z
2020-08-31T18:45:11Z
2020-08-31T18:47:20Z
CI: avoid file leak from ipython tests
diff --git a/pandas/conftest.py b/pandas/conftest.py index 97cc514e31bb3..0878380d00837 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -1181,7 +1181,13 @@ def ip(): pytest.importorskip("IPython", minversion="6.0.0") from IPython.core.interactiveshell import InteractiveShell - return Interact...
Broken off from #35711
https://api.github.com/repos/pandas-dev/pandas/pulls/35836
2020-08-21T00:37:00Z
2020-08-21T21:11:34Z
2020-08-21T21:11:34Z
2020-08-21T21:16:45Z
MAINT: Manual Backport PR #35825 on branch 1.1.x
diff --git a/ci/deps/travis-36-locale.yaml b/ci/deps/travis-36-locale.yaml index 03a1e751b6a86..8f7e29abc5f3b 100644 --- a/ci/deps/travis-36-locale.yaml +++ b/ci/deps/travis-36-locale.yaml @@ -28,6 +28,7 @@ dependencies: - openpyxl - pandas-gbq=0.12.0 - psycopg2=2.6.2 + - pyarrow>=0.13.0 # GH #35813 - pymy...
Manual backport of below Ref: https://github.com/pandas-dev/pandas/pull/35828#issuecomment-677917854 This is because we dropped 3.6 support on master (https://github.com/pandas-dev/pandas/pull/35214) cc @simonjayhawkins
https://api.github.com/repos/pandas-dev/pandas/pulls/35835
2020-08-20T23:28:05Z
2020-08-21T08:23:56Z
2020-08-21T08:23:56Z
2020-08-21T08:24:10Z
Backport PR #35825 on branch 1.1.x (DOC: Start 1.1.2)
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index 8ce10136dd2bb..1b5e63dfcf359 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -16,6 +16,7 @@ Version 1.1 .. toctree:: :maxdepth: 2 + v1.1.2 v1.1.1 v1.1.0 diff --git a/doc/source/whatsnew/...
Backport PR #35825: DOC: Start 1.1.2
https://api.github.com/repos/pandas-dev/pandas/pulls/35834
2020-08-20T22:19:11Z
2020-08-21T09:07:34Z
2020-08-21T09:07:34Z
2020-08-21T09:07:34Z
Backport PR #35757 on branch 1.1.x (CI: Unpin Pytest + Pytest Asyncio Min Version)
diff --git a/ci/deps/azure-36-locale.yaml b/ci/deps/azure-36-locale.yaml index 3034ed3dc43af..536bb6f899773 100644 --- a/ci/deps/azure-36-locale.yaml +++ b/ci/deps/azure-36-locale.yaml @@ -7,9 +7,9 @@ dependencies: # tools - cython>=0.29.16 - - pytest>=5.0.1,<6.0.0 # https://github.com/pandas-dev/pandas/issue...
Backport PR #35757: CI: Unpin Pytest + Pytest Asyncio Min Version
https://api.github.com/repos/pandas-dev/pandas/pulls/35833
2020-08-20T21:47:34Z
2020-08-21T09:08:08Z
2020-08-21T09:08:08Z
2020-08-21T09:08:08Z
Jsonlines append mode
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index fe412bc0ce937..c3c4a14146541 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2063,6 +2063,7 @@ def to_json( index: bool_t = True, indent: Optional[int] = None, storage_options: StorageOptions = None, + ...
**Description**: Adding support to append mode for `to_json` when 'orient' is `records` and 'lines' is `True` **Motivation**: [jsonlines](http://jsonlines.org/) is a format that is gaining some space (e.g. [Cloud Storage](https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-json)). In pandas It's achiev...
https://api.github.com/repos/pandas-dev/pandas/pulls/35832
2020-08-20T21:10:35Z
2021-01-01T07:18:35Z
null
2021-01-01T08:21:55Z
Fix unable to build Pandas with xlc on z/OS
diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index 74710ca48308c..441116376d52b 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -913,6 +913,7 @@ Other - Bug in :func:`pandas.testing.assert_series_equal`, :func:`pandas.testing.assert_frame_equal`, :fun...
- [x] closes #35826 - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This is an attempt at being able to build Pandas using xlc on z/OS. There's two issues being fixed here: 1) Raise the default standard that being used with xlc++ (`-qlanglvl...
https://api.github.com/repos/pandas-dev/pandas/pulls/35829
2020-08-20T19:10:41Z
2021-05-26T02:19:09Z
2021-05-26T02:19:09Z
2021-05-26T02:19:14Z
CI: Pyarrow Min Version on Travis 3.7 Locale Build
diff --git a/ci/deps/travis-37-locale.yaml b/ci/deps/travis-37-locale.yaml index 4427c1d940bf2..6dc1c2f89cc6f 100644 --- a/ci/deps/travis-37-locale.yaml +++ b/ci/deps/travis-37-locale.yaml @@ -28,6 +28,7 @@ dependencies: - openpyxl - pandas-gbq=0.12.0 - psycopg2=2.7 + - pyarrow>=0.15.0 # GH #35813 - pymysq...
- [x] closes #35813 Conda seems to be installing pyarrow 0.11 for this env. Note pyarrow tests will now run on Travis 3.7 Locale Build
https://api.github.com/repos/pandas-dev/pandas/pulls/35828
2020-08-20T18:18:33Z
2020-08-20T21:26:05Z
2020-08-20T21:26:05Z
2020-08-21T08:28:06Z
DOC: Start 1.1.2
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index a280a981c789b..1827d151579a1 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -24,6 +24,7 @@ Version 1.1 .. toctree:: :maxdepth: 2 + v1.1.2 v1.1.1 v1.1.0 diff --git a/doc/source/whatsnew/...
https://api.github.com/repos/pandas-dev/pandas/pulls/35825
2020-08-20T15:35:24Z
2020-08-20T22:19:01Z
2020-08-20T22:19:01Z
2020-08-21T08:38:08Z