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
Removed debugging code
diff --git a/pandas/tests/computation/test_eval.py b/pandas/tests/computation/test_eval.py index a14d8e4471c23..062d1876141f8 100644 --- a/pandas/tests/computation/test_eval.py +++ b/pandas/tests/computation/test_eval.py @@ -253,9 +253,6 @@ def check_complex_cmp_op(self, lhs, cmp1, rhs, binop, cmp2): #...
I randomly came across this code when messing around with some Mypy configurations. It looks like this code depends on third party packages which we don't even use in the code base. They also haven't been touched in 7-8 years so I assume this is dead code.
https://api.github.com/repos/pandas-dev/pandas/pulls/25647
2019-03-11T02:29:58Z
2019-03-11T12:10:55Z
2019-03-11T12:10:55Z
2019-03-11T17:38:09Z
CLN: Remove Panel benchmarks
diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py index 57ba9cd80e55c..b8e983c60b8b5 100644 --- a/asv_bench/benchmarks/indexing.py +++ b/asv_bench/benchmarks/indexing.py @@ -2,7 +2,7 @@ import numpy as np import pandas.util.testing as tm -from pandas import (Series, DataFrame, Panel, ...
xref #25632
https://api.github.com/repos/pandas-dev/pandas/pulls/25646
2019-03-11T02:21:29Z
2019-03-14T16:50:05Z
2019-03-14T16:50:05Z
2019-03-14T16:50:09Z
backport of 25643, 25638 on 0.24.x
diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py index b97f5e0b6edf9..40a942c96ea2b 100644 --- a/pandas/tests/frame/test_constructors.py +++ b/pandas/tests/frame/test_constructors.py @@ -11,7 +11,7 @@ import pytest from pandas.compat import ( - PY3, PY36, OrderedDict...
xref #25630 PR #25643 PR #25638
https://api.github.com/repos/pandas-dev/pandas/pulls/25645
2019-03-10T23:11:20Z
2019-03-11T00:24:54Z
2019-03-11T00:24:54Z
2019-03-11T00:24:54Z
BUG: Fix error in replace with strings that are large numbers (#25616)
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index c07959c758780..5b5c9c78d10da 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -33,6 +33,7 @@ Fixed Regressions - Fixed regression in :class:`Categorical`, where constructing it from a categorical `...
- [x] closes #25616 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry See discussion in #25616. When `.replace` saw a value that looks like an int, it would try to convert it even if it caused an `OverflowError`. This issue is only happening i...
https://api.github.com/repos/pandas-dev/pandas/pulls/25644
2019-03-10T22:35:40Z
2019-03-12T20:45:24Z
2019-03-12T20:45:24Z
2019-03-12T20:48:28Z
TST: xref #25630
diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py index 92ce6369a5109..1d5cbfec8de52 100644 --- a/pandas/tests/frame/test_constructors.py +++ b/pandas/tests/frame/test_constructors.py @@ -684,7 +684,7 @@ def test_constructor_ndarray(self): frame = DataFrame(['foo', ...
skip on PY2 & old numpy for masked arrays
https://api.github.com/repos/pandas-dev/pandas/pulls/25643
2019-03-10T21:23:59Z
2019-03-10T22:57:27Z
2019-03-10T22:57:27Z
2019-03-11T19:19:43Z
Fixturize tests/frame/test_mutate_columns.py
diff --git a/pandas/tests/frame/test_mutate_columns.py b/pandas/tests/frame/test_mutate_columns.py index 6bef7e3f65b21..211173371ac7e 100644 --- a/pandas/tests/frame/test_mutate_columns.py +++ b/pandas/tests/frame/test_mutate_columns.py @@ -8,14 +8,13 @@ from pandas.compat import PY36, lrange, range from pandas imp...
One more steps towards #22471.
https://api.github.com/repos/pandas-dev/pandas/pulls/25642
2019-03-10T19:08:26Z
2019-03-10T21:54:55Z
2019-03-10T21:54:55Z
2019-03-11T06:48:06Z
Fixturize tests/frame/test_operators.py
diff --git a/pandas/tests/frame/test_operators.py b/pandas/tests/frame/test_operators.py index e9521fa1506af..9707ae80e6812 100644 --- a/pandas/tests/frame/test_operators.py +++ b/pandas/tests/frame/test_operators.py @@ -13,7 +13,7 @@ import pandas as pd from pandas import DataFrame, MultiIndex, Series, compat impor...
One more steps towards #22471.
https://api.github.com/repos/pandas-dev/pandas/pulls/25641
2019-03-10T19:07:47Z
2019-03-14T15:52:01Z
2019-03-14T15:52:01Z
2019-03-14T19:32:28Z
TST: Fixturize tests/frame/test_missing.py
diff --git a/pandas/tests/frame/test_missing.py b/pandas/tests/frame/test_missing.py index 189531c7b4459..94be24710362a 100644 --- a/pandas/tests/frame/test_missing.py +++ b/pandas/tests/frame/test_missing.py @@ -14,7 +14,7 @@ import pandas as pd from pandas import Categorical, DataFrame, Series, Timestamp, date_ra...
One more steps towards #22471.
https://api.github.com/repos/pandas-dev/pandas/pulls/25640
2019-03-10T18:39:48Z
2019-03-19T04:21:55Z
2019-03-19T04:21:55Z
2019-03-19T06:34:25Z
Fixturize tests/frame/test_join.py
diff --git a/pandas/tests/frame/test_join.py b/pandas/tests/frame/test_join.py index 0508658766cd3..2c9fde652493d 100644 --- a/pandas/tests/frame/test_join.py +++ b/pandas/tests/frame/test_join.py @@ -4,7 +4,6 @@ import pytest from pandas import DataFrame, Index, period_range -from pandas.tests.frame.common import ...
One more steps towards #22471.
https://api.github.com/repos/pandas-dev/pandas/pulls/25639
2019-03-10T18:38:44Z
2019-03-10T21:49:39Z
2019-03-10T21:49:39Z
2019-03-11T06:35:23Z
Backport PR #25631 on branch 0.24.x (TST: failing wheel building on PY2 and old numpy)
diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py index b97f5e0b6edf9..e1394af0cc022 100644 --- a/pandas/tests/frame/test_constructors.py +++ b/pandas/tests/frame/test_constructors.py @@ -20,7 +20,7 @@ import pandas as pd from pandas import ( Categorical, DataFrame, I...
Backport PR #25631: TST: failing wheel building on PY2 and old numpy
https://api.github.com/repos/pandas-dev/pandas/pulls/25638
2019-03-10T17:26:59Z
2019-03-10T22:59:32Z
null
2019-03-10T22:59:32Z
TST: tests for maybe_promote (precursor to #23982)
diff --git a/pandas/conftest.py b/pandas/conftest.py index c4285e9db038a..4bcd0ea8442e6 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -399,6 +399,10 @@ def tz_aware_fixture(request): return request.param +# Generate cartesian product of tz_aware_fixture: +tz_aware_fixture2 = tz_aware_fixture + + ...
First step towards #23833, resp. precursor to #23982. TL;DR: `maybe_promote` is quite broken. #23982 tries to come up with tests that it should pass, and #25425 tries to fix the implementation. However, #23982 is quite big, so @jreback asked for a smaller version that (mostly) just tests existing behaviour.
https://api.github.com/repos/pandas-dev/pandas/pulls/25637
2019-03-10T17:26:32Z
2019-06-21T15:52:25Z
2019-06-21T15:52:25Z
2019-06-23T17:30:49Z
Fixturize tests/frame/test_dtypes.py
diff --git a/pandas/tests/frame/conftest.py b/pandas/tests/frame/conftest.py index 61a8ea0c384ba..3232c400bd8ce 100644 --- a/pandas/tests/frame/conftest.py +++ b/pandas/tests/frame/conftest.py @@ -231,6 +231,18 @@ def mixed_int_frame(): return df +@pytest.fixture +def mixed_type_frame(): + """ + Fixture ...
One more steps towards #22471. Again, needing to re-add some fixtures that were removed in #24885.
https://api.github.com/repos/pandas-dev/pandas/pulls/25636
2019-03-10T17:13:51Z
2019-06-28T15:15:03Z
2019-06-28T15:15:03Z
2019-06-28T17:03:11Z
Fixturize tests/frame/test_constructors.py
diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py index 434ee2f8bf0af..981dc8b32b8cc 100644 --- a/pandas/tests/frame/test_constructors.py +++ b/pandas/tests/frame/test_constructors.py @@ -17,7 +17,6 @@ from pandas import ( Categorical, DataFrame, Index, MultiIndex, Ran...
One more steps towards #22471. Again, needing to re-add some fixtures that were removed in #24885.
https://api.github.com/repos/pandas-dev/pandas/pulls/25635
2019-03-10T17:11:33Z
2019-06-28T15:15:59Z
2019-06-28T15:15:59Z
2019-06-28T17:03:04Z
Fixturize tests/frame/test_combine_concat.py
diff --git a/pandas/tests/frame/test_combine_concat.py b/pandas/tests/frame/test_combine_concat.py index c2364dc135a9a..c803d15a690c4 100644 --- a/pandas/tests/frame/test_combine_concat.py +++ b/pandas/tests/frame/test_combine_concat.py @@ -11,12 +11,11 @@ import pandas as pd from pandas import DataFrame, Index, Se...
One more steps towards #22471
https://api.github.com/repos/pandas-dev/pandas/pulls/25634
2019-03-10T17:10:19Z
2019-03-10T21:45:02Z
2019-03-10T21:45:01Z
2019-03-11T07:22:41Z
Fixturize tests/frame/test_indexing.py
diff --git a/pandas/tests/frame/conftest.py b/pandas/tests/frame/conftest.py index d8a590bc492a4..61a8ea0c384ba 100644 --- a/pandas/tests/frame/conftest.py +++ b/pandas/tests/frame/conftest.py @@ -253,6 +253,17 @@ def timezone_frame(): return df +@pytest.fixture +def uint64_frame(): + """ + Fixture for D...
One more step towards #22471. Happy to move the fixture to the `test_indexing` module if that's now the preferred form.
https://api.github.com/repos/pandas-dev/pandas/pulls/25633
2019-03-10T17:09:20Z
2019-06-28T12:13:43Z
2019-06-28T12:13:43Z
2019-06-28T12:27:44Z
TST: failing wheel building on PY2 and old numpy
diff --git a/pandas/tests/frame/test_constructors.py b/pandas/tests/frame/test_constructors.py index fc642d211b30c..92ce6369a5109 100644 --- a/pandas/tests/frame/test_constructors.py +++ b/pandas/tests/frame/test_constructors.py @@ -21,7 +21,7 @@ import pandas as pd from pandas import ( Categorical, DataFrame, I...
closes #25630
https://api.github.com/repos/pandas-dev/pandas/pulls/25631
2019-03-10T16:17:09Z
2019-03-10T17:26:34Z
2019-03-10T17:26:34Z
2019-03-10T17:26:34Z
Suppress incorrect warning in nargsort for timezone-aware DatetimeIndex
diff --git a/pandas/core/sorting.py b/pandas/core/sorting.py index ef69939d6e978..0b5b017bec9ac 100644 --- a/pandas/core/sorting.py +++ b/pandas/core/sorting.py @@ -1,4 +1,5 @@ """ miscellaneous sorting / groupby utilities """ +import warnings import numpy as np @@ -254,7 +255,13 @@ def nargsort(items, kind='quic...
Closes #25439, alternative to https://github.com/pandas-dev/pandas/pull/25595 for 0.24.2
https://api.github.com/repos/pandas-dev/pandas/pulls/25629
2019-03-10T14:36:26Z
2019-03-11T12:41:37Z
2019-03-11T12:41:37Z
2019-03-11T19:18:47Z
Fixturize tests/frame/test_asof.py
diff --git a/pandas/tests/frame/test_asof.py b/pandas/tests/frame/test_asof.py index 0947e6f252dab..4ba3431d102df 100644 --- a/pandas/tests/frame/test_asof.py +++ b/pandas/tests/frame/test_asof.py @@ -6,21 +6,26 @@ from pandas import DataFrame, Series, Timestamp, date_range, to_datetime import pandas.util.testing as ...
Picking up #22471 again. Added one new fixture.
https://api.github.com/repos/pandas-dev/pandas/pulls/25628
2019-03-10T14:33:55Z
2019-03-10T21:41:27Z
2019-03-10T21:41:27Z
2019-03-10T21:44:48Z
Fixturize tests/frame/test_axis_select_reindex.py
diff --git a/pandas/tests/frame/test_axis_select_reindex.py b/pandas/tests/frame/test_axis_select_reindex.py index 42f98d5c96aa5..b4fde43ff3055 100644 --- a/pandas/tests/frame/test_axis_select_reindex.py +++ b/pandas/tests/frame/test_axis_select_reindex.py @@ -8,12 +8,11 @@ import pandas as pd from pandas import ( ...
Picking up #22471 again. Needed to readd some fixtures that were removed by #24885.
https://api.github.com/repos/pandas-dev/pandas/pulls/25627
2019-03-10T14:33:05Z
2019-06-28T12:13:22Z
2019-06-28T12:13:22Z
2019-06-28T12:28:09Z
BUG: to_csv line endings with compression
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index 2c6d1e01ed89b..0f603515c61cc 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -32,6 +32,7 @@ Fixed Regressions - Fixed regression in creating a period-dtype array from a read-only NumPy array of pe...
- [x] closes #25311 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25625
2019-03-10T02:24:06Z
2019-03-11T15:26:55Z
2019-03-11T15:26:54Z
2019-03-11T15:28:59Z
DOC: file obj for to_csv must be newline=''
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index b23a0f10e9e2b..1b5d96fa9c146 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -1689,7 +1689,7 @@ The ``Series`` and ``DataFrame`` objects have an instance method ``to_csv`` whic allows storing the contents of ...
- [x] closes #25048
https://api.github.com/repos/pandas-dev/pandas/pulls/25624
2019-03-10T01:51:41Z
2019-03-11T13:58:13Z
2019-03-11T13:58:12Z
2019-03-11T13:58:13Z
WIP for MyPy CI Integration
diff --git a/.gitignore b/.gitignore index 816aff376fc83..91e9d9be54b81 100644 --- a/.gitignore +++ b/.gitignore @@ -61,6 +61,7 @@ dist .coverage coverage.xml coverage_html_report +*.mypy_cache *.pytest_cache # hypothesis test database .hypothesis/ diff --git a/mypy.ini b/mypy.ini new file mode 100644 index 00000...
progress towards #25601 Not complete just pushing for now. Main goal here is to get a CI run that works for any modules existing with comments.
https://api.github.com/repos/pandas-dev/pandas/pulls/25622
2019-03-10T00:37:14Z
2019-03-20T01:25:22Z
null
2020-01-16T00:34:33Z
BUG: Fix user-facing AssertionError with to_html (#25608)
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index ea08a0a6fe07b..f5fa7a71e117c 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -214,7 +214,7 @@ I/O - Bug in :func:`read_json` for ``orient='table'`` when it tries to infer dtypes by default, which ...
- [x] closes #25608 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry I did not use an oxford comma in the error description, which is how it was written in the issue's expected result.
https://api.github.com/repos/pandas-dev/pandas/pulls/25620
2019-03-09T16:58:22Z
2019-03-10T21:36:39Z
2019-03-10T21:36:39Z
2019-03-10T21:36:42Z
Json normalize nan support
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 1840c47b4054f..2cabbc2e400b3 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -214,10 +214,10 @@ I/O - Bug in :func:`read_json` for ``orient='table'`` when it tries to infer dtypes by default, whic...
- [x] closes #25468 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25619
2019-03-09T16:58:10Z
2019-03-13T17:10:37Z
2019-03-13T17:10:37Z
2019-03-13T18:37:43Z
DOC: Cleanup docstring pandas.core.filter
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 0b81576404e2f..0128f01bddd10 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -4534,11 +4534,11 @@ def filter(self, items=None, like=None, regex=None, axis=None): Parameters ---------- items : list-like - ...
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Made parameter description of the `pandas.core.filter` docstring clearer. PEP8 fix in example, see also comments in #20148.
https://api.github.com/repos/pandas-dev/pandas/pulls/25618
2019-03-09T16:35:19Z
2019-03-09T18:52:21Z
2019-03-09T18:52:21Z
2019-03-09T19:19:45Z
BLD: validate_docstrings.py add ignore_known_fail argument
diff --git a/scripts/validate_docstrings.py b/scripts/validate_docstrings.py index 1c45c79ba7fba..43a1e5b3b4478 100755 --- a/scripts/validate_docstrings.py +++ b/scripts/validate_docstrings.py @@ -26,6 +26,8 @@ import importlib import doctest import tempfile +import configparser +import itertools import ast import...
- [ ] closes #25120 a solution for the problem of inherited docstrings not passing docstring tests preventing errors to be added to the CI `code_checks.sh`
https://api.github.com/repos/pandas-dev/pandas/pulls/25617
2019-03-09T12:25:29Z
2019-04-29T15:04:07Z
null
2019-04-29T15:04:07Z
Fix HTML syntax errors in README.md
diff --git a/README.md b/README.md index ce22818705865..633673d5cd04f 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,9 @@ <td>Package Status</td> <td> <a href="https://pypi.org/project/pandas/"> - <img src="https://img.shields.io/pypi/status/pandas.svg" alt="status" /></td> + <img src="https://img.shiel...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25615
2019-03-09T10:58:49Z
2019-03-09T16:32:44Z
2019-03-09T16:32:44Z
2019-03-09T16:32:46Z
Use Sphinx RTD Theme
diff --git a/ci/deps/travis-36-doc.yaml b/ci/deps/travis-36-doc.yaml index 6f33bc58a8b21..45ba1671b2507 100644 --- a/ci/deps/travis-36-doc.yaml +++ b/ci/deps/travis-36-doc.yaml @@ -34,6 +34,7 @@ dependencies: - scipy - seaborn - sphinx + - sphinx_rtd_theme - sqlalchemy - statsmodels - xarray diff --g...
- [X] closes #15556 TOC on the left hand side is pinned during navigation and also expandable/collapsible <img width="1089" alt="image" src="https://user-images.githubusercontent.com/609873/54065608-3cc81e00-41d8-11e9-830d-124d759bf791.png"> <img width="1099" alt="image" src="https://user-images.githubuserc...
https://api.github.com/repos/pandas-dev/pandas/pulls/25614
2019-03-09T03:29:55Z
2019-03-14T21:28:55Z
null
2020-01-16T00:34:32Z
make core.config self-contained
diff --git a/pandas/core/config.py b/pandas/core/config.py index b6264a5257dcb..306311dc8ad5c 100644 --- a/pandas/core/config.py +++ b/pandas/core/config.py @@ -53,9 +53,6 @@ import re import warnings -import pandas.compat as compat -from pandas.compat import lmap, map, u - DeprecatedOption = namedtuple('Deprecate...
Broken off from #25176
https://api.github.com/repos/pandas-dev/pandas/pulls/25613
2019-03-09T03:17:00Z
2019-03-19T23:28:30Z
2019-03-19T23:28:29Z
2019-03-19T23:32:20Z
DOC: Remove makePanel from docs (#25609)
diff --git a/doc/source/getting_started/dsintro.rst b/doc/source/getting_started/dsintro.rst index c8a2399739cd5..373cffd30ff14 100644 --- a/doc/source/getting_started/dsintro.rst +++ b/doc/source/getting_started/dsintro.rst @@ -1030,47 +1030,3 @@ method: major_axis=pd.date_range('1/1/2000', period...
- [x] closes #25609 - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry As described in #25609, I removed the tm.makePanel() calls from the docs, along with some of the surrounding sections (a few "Deprecate Panel" sections). I did not replace thes...
https://api.github.com/repos/pandas-dev/pandas/pulls/25612
2019-03-08T23:36:43Z
2019-03-10T16:24:56Z
2019-03-10T16:24:56Z
2019-03-10T16:25:03Z
Allows loc to create multiple new index
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index ea08a0a6fe07b..865ee3e832028 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -187,7 +187,7 @@ Interval Indexing ^^^^^^^^ -- +- :meth:`loc` creates required missing columns and index if a list ...
- [x] closes #25594 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Starting in 0.21.0, using .loc or [] with a list with one or more missing labels, is deprecated. In the doc, only getting is shown: https://pandas.pydata.org/pandas-docs/stable...
https://api.github.com/repos/pandas-dev/pandas/pulls/25607
2019-03-08T13:15:35Z
2019-04-20T17:43:37Z
null
2019-04-20T17:43:37Z
STY: use pytest.raises context manager (generic)
diff --git a/pandas/tests/generic/test_generic.py b/pandas/tests/generic/test_generic.py index c2f6cbf4c564c..6f2707f764920 100644 --- a/pandas/tests/generic/test_generic.py +++ b/pandas/tests/generic/test_generic.py @@ -7,7 +7,7 @@ import numpy as np import pytest -from pandas.compat import PY3, range, zip +from p...
xref #24332
https://api.github.com/repos/pandas-dev/pandas/pulls/25603
2019-03-08T09:21:45Z
2019-03-09T16:29:33Z
2019-03-09T16:29:33Z
2019-03-10T21:25:44Z
BUG: Fix to_string output when using header keyword arg (#16718)
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 284943cf49070..ab2f8d66c37da 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -215,6 +215,7 @@ I/O - Bug in :func:`read_json` for ``orient='table'`` and float index, as it infers index dtype by def...
Also affects to_latex midrule position - [x] closes #16718 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Fixes the 4th example in the above issue.
https://api.github.com/repos/pandas-dev/pandas/pulls/25602
2019-03-08T09:19:08Z
2019-03-12T17:03:16Z
2019-03-12T17:03:15Z
2019-03-14T09:18:26Z
Backport PR #25586 on branch 0.24.x (BUG: secondary y axis could not be set to log scale (#25545))
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index 7da99590d5a0a..2c6d1e01ed89b 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -92,7 +92,7 @@ Bug Fixes **Visualization** -- +- Bug in :meth:`Series.plot` where a secondary y axis could not be s...
Backport PR #25586: BUG: secondary y axis could not be set to log scale (#25545)
https://api.github.com/repos/pandas-dev/pandas/pulls/25599
2019-03-07T20:42:39Z
2019-03-08T07:22:13Z
2019-03-08T07:22:13Z
2019-03-08T07:22:13Z
DOC: Fix typo in tz_localize
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index d7f71df99cdb6..0b81576404e2f 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -9321,7 +9321,7 @@ def tz_localize(self, tz, axis=0, level=None, copy=True, times nonexistent : str, default 'raise' A ...
Fixes a typo in the documentation for `tz_localize`.
https://api.github.com/repos/pandas-dev/pandas/pulls/25598
2019-03-07T19:53:04Z
2019-03-07T20:40:40Z
2019-03-07T20:40:39Z
2019-03-07T20:51:16Z
STY: use pytest.raises context manager (io.sql)
diff --git a/pandas/tests/io/test_sql.py b/pandas/tests/io/test_sql.py index 9d0bce3b342b4..de17f02b693de 100644 --- a/pandas/tests/io/test_sql.py +++ b/pandas/tests/io/test_sql.py @@ -28,7 +28,7 @@ import pytest import pandas.compat as compat -from pandas.compat import PY36, lrange, range, string_types +from panda...
xref #24332
https://api.github.com/repos/pandas-dev/pandas/pulls/25597
2019-03-07T19:16:49Z
2019-03-09T16:34:40Z
2019-03-09T16:34:40Z
2019-03-10T21:28:06Z
BUG: support EAs in nargsort without warning
diff --git a/pandas/core/sorting.py b/pandas/core/sorting.py index ef69939d6e978..a5d3afd38adb2 100644 --- a/pandas/core/sorting.py +++ b/pandas/core/sorting.py @@ -8,7 +8,9 @@ from pandas.core.dtypes.cast import infer_dtype_from_array from pandas.core.dtypes.common import ( - ensure_int64, ensure_platform_int, ...
Closes https://github.com/pandas-dev/pandas/issues/25439
https://api.github.com/repos/pandas-dev/pandas/pulls/25595
2019-03-07T16:37:43Z
2019-06-08T20:25:08Z
null
2019-06-08T20:25:09Z
BUG: fix usage of na_sentinel with sort=True in factorize()
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index ee9419c79e265..1b67335e40619 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -32,6 +32,7 @@ Fixed Regressions - Fixed regression in creating a period-dtype array from a read-only NumPy array of pe...
Closes https://github.com/pandas-dev/pandas/issues/25409
https://api.github.com/repos/pandas-dev/pandas/pulls/25592
2019-03-07T14:59:36Z
2019-03-12T20:25:26Z
2019-03-12T20:25:26Z
2019-03-12T20:39:28Z
Backport PR #25556 on branch 0.24.x (BUG: Handle readonly arrays in period_array)
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index f864fcd04e3d4..283f12361841c 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -29,6 +29,7 @@ Fixed Regressions - Fixed regression in subtraction between :class:`Series` objects with ``datetime64[ns...
Backport PR #25556: BUG: Handle readonly arrays in period_array
https://api.github.com/repos/pandas-dev/pandas/pulls/25591
2019-03-07T14:25:36Z
2019-03-07T15:36:01Z
2019-03-07T15:36:01Z
2019-03-07T15:36:01Z
BUG: Cast ExtensionArray to numpy ndarray before plot
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index d186fdfe0f322..ddc5e543c6165 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -225,6 +225,7 @@ I/O Plotting ^^^^^^^^ +- Fixed bug where :class:`api.extensions.ExtensionArray` could not be used i...
Cast `ExtensionArray`(eg. `IntegerArray`) to `np.ndarray` before send to matplotlib to plot, fixes #25587. - [x] closes #25587 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25590
2019-03-07T13:59:34Z
2019-03-15T11:06:06Z
2019-03-15T11:06:06Z
2019-03-15T11:11:46Z
TST: add test for groupby on list of empty list
diff --git a/pandas/tests/groupby/test_groupby.py b/pandas/tests/groupby/test_groupby.py index 6a11f0ae9b44a..c062fb90ca43b 100644 --- a/pandas/tests/groupby/test_groupby.py +++ b/pandas/tests/groupby/test_groupby.py @@ -1714,3 +1714,12 @@ def test_groupby_multiindex_nat(): result = ser.groupby(level=1).mean() ...
- [x] closes #5289 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ n/a] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25589
2019-03-07T12:55:21Z
2019-03-07T21:59:40Z
2019-03-07T21:59:40Z
2019-03-08T08:25:39Z
BUG: Fix _binop for operators for serials which has more than one returns (divmod/rdivmod).
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 73eb6a15a1b47..11beb1f7bb12e 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -176,6 +176,7 @@ Performance Improvements Bug Fixes ~~~~~~~~~ + Categorical ^^^^^^^^^^^ @@ -211,6 +212,7 @@ Nume...
When for binary operator returns more than one `Series` as result, instantiate `Series` for every element in the result tuple. - [x] closes #25557 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25588
2019-03-07T11:49:30Z
2019-03-20T12:28:45Z
2019-03-20T12:28:44Z
2019-03-20T12:51:11Z
BUG: secondary y axis could not be set to log scale (#25545)
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index f864fcd04e3d4..9b5410a30dd50 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -90,7 +90,7 @@ Bug Fixes **Visualization** -- +- Bug in :meth:`Series.plot` where a secondary y axis could not be s...
- [x] closes #25545 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25586
2019-03-07T09:44:11Z
2019-03-07T20:42:30Z
2019-03-07T20:42:29Z
2019-03-08T11:21:39Z
BUG: Preserve name in DatetimeIndex.snap
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index ea08a0a6fe07b..82bfe526cf161 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -86,7 +86,7 @@ Other API Changes - :class:`DatetimeTZDtype` will now standardize pytz timezones to a common timezone in...
Use self.name to construct the result of `DatetimeIndex.snap`, fix #25575. - [x] closes #25575 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25585
2019-03-07T08:51:33Z
2019-03-13T15:28:32Z
2019-03-13T15:28:32Z
2019-03-14T02:26:58Z
BUG: Redefine IndexOpsMixin.size, fix #25580.
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index 4ca9d57f3a2e5..7a983db754fa9 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -100,7 +100,8 @@ Bug Fixes - Bug in :meth:`Series.is_unique` where single occurrences of ``NaN`` were not considered un...
- [x] closes #25580 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25584
2019-03-07T07:55:45Z
2019-03-11T16:09:27Z
2019-03-11T16:09:27Z
2019-03-12T04:55:11Z
fix minor typos in dsintro.rst
diff --git a/doc/source/getting_started/dsintro.rst b/doc/source/getting_started/dsintro.rst index 94bec5c5bc83d..c8a2399739cd5 100644 --- a/doc/source/getting_started/dsintro.rst +++ b/doc/source/getting_started/dsintro.rst @@ -576,14 +576,14 @@ To write code compatible with all versions of Python, split the assignmen...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25579
2019-03-06T23:15:45Z
2019-03-07T02:22:20Z
2019-03-07T02:22:20Z
2019-03-07T02:22:27Z
Backport PR #25568 on branch 0.24.x (BLD: Fixed pip install with no numpy)
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index f864fcd04e3d4..4ca9d57f3a2e5 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -30,6 +30,7 @@ Fixed Regressions - Fixed regression in :class:`TimedeltaIndex` where ``np.sum(index)`` incorrectly retu...
Backport PR #25568: BLD: Fixed pip install with no numpy
https://api.github.com/repos/pandas-dev/pandas/pulls/25578
2019-03-06T22:40:01Z
2019-03-07T14:27:21Z
2019-03-07T14:27:21Z
2019-03-07T14:27:21Z
DOC: Generalize "rename" documentation
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index eadffb779734f..78cc4769866bc 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3913,62 +3913,13 @@ def drop(self, labels=None, axis=0, index=None, columns=None, ('inplace', False), ...
In this pull request, the documentation of the rename function of NDFrame is generalized over all its children using the function: DataFrame, Series and Panel. These three classes now use the Substitute decorator to add the generic part of the documentation to their own, using the same decorator to replace class specif...
https://api.github.com/repos/pandas-dev/pandas/pulls/25577
2019-03-06T21:17:57Z
2019-05-12T21:27:09Z
null
2019-05-12T21:27:09Z
CLN: typing/mypy cleanup: Small fixes to make stubgen happy
diff --git a/pandas/core/arrays/period.py b/pandas/core/arrays/period.py index 3ddceb8c2839d..0ec1bc7a84231 100644 --- a/pandas/core/arrays/period.py +++ b/pandas/core/arrays/period.py @@ -710,7 +710,7 @@ def _raise_on_incompatible(left, right): # Constructor Helpers def period_array(data, freq=None, copy=False): -...
No code changes, just moved a few comments, and fixed a few broken types. This patch allows stubgen to run over the pandas codebase without generating errors
https://api.github.com/repos/pandas-dev/pandas/pulls/25576
2019-03-06T21:08:31Z
2019-03-08T21:52:27Z
2019-03-08T21:52:27Z
2019-03-09T04:05:28Z
minor typo error
diff --git a/doc/source/getting_started/10min.rst b/doc/source/getting_started/10min.rst index 972b562cfebba..50c53a56174c8 100644 --- a/doc/source/getting_started/10min.rst +++ b/doc/source/getting_started/10min.rst @@ -103,7 +103,7 @@ Display the index, columns: df.columns :meth:`DataFrame.to_numpy` gives a Nu...
Changed from '**his** can be an expensive operation...' to '**this** can be an expensive operation...'
https://api.github.com/repos/pandas-dev/pandas/pulls/25574
2019-03-06T19:15:20Z
2019-03-06T21:26:47Z
2019-03-06T21:26:47Z
2019-03-06T21:26:52Z
BUG: Using categorical dtype in read_json
diff --git a/pandas/io/json/json.py b/pandas/io/json/json.py index 4bae067ee5196..0637dc303d0c0 100644 --- a/pandas/io/json/json.py +++ b/pandas/io/json/json.py @@ -9,7 +9,7 @@ from pandas.compat import StringIO, long, to_str, u from pandas.errors import AbstractMethodError -from pandas.core.dtypes.common import is...
Pandas `read_json` ignores `category` dtype. This fix is need to using `category` in `read_json`. Example: `pd.read_json(filename, lines=True, dtype={'ColumnName':'category'})`. fyi #21892
https://api.github.com/repos/pandas-dev/pandas/pulls/25573
2019-03-06T17:45:14Z
2019-03-07T11:48:50Z
null
2019-03-07T11:48:50Z
REF: add custom Exception for safe_sort
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index 80bf7214e7a27..7f684711b3042 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -616,7 +616,7 @@ def factorize(values, sort=False, order=None, na_sentinel=-1, size_hint=None): na_v...
xref https://github.com/pandas-dev/pandas/pull/25537#issuecomment-469425015 custom `Exception` added primarily to allow more targeted testing, but also to distinguish sort failures and bad input to `safe_sort`
https://api.github.com/repos/pandas-dev/pandas/pulls/25569
2019-03-06T14:41:27Z
2019-03-29T12:31:18Z
null
2019-03-29T12:31:18Z
BLD: Fixed pip install with no numpy
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index f864fcd04e3d4..4ca9d57f3a2e5 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -30,6 +30,7 @@ Fixed Regressions - Fixed regression in :class:`TimedeltaIndex` where ``np.sum(index)`` incorrectly retu...
Closes #25193 Still testing this locally and on https://github.com/pandas-dev/pandas-ci/pull/6
https://api.github.com/repos/pandas-dev/pandas/pulls/25568
2019-03-06T14:26:47Z
2019-03-06T22:39:50Z
2019-03-06T22:39:50Z
2019-09-12T19:23:00Z
DEPR: remove Panel-specific parts of core.indexing
diff --git a/pandas/_libs/indexing.pyx b/pandas/_libs/indexing.pyx index 6e62978c8477f..308e914b7b5b7 100644 --- a/pandas/_libs/indexing.pyx +++ b/pandas/_libs/indexing.pyx @@ -17,4 +17,8 @@ cdef class _NDFrameIndexerBase: ndim = self._ndim if ndim is None: ndim = self._ndim = self.obj.nd...
follow-on from #25550
https://api.github.com/repos/pandas-dev/pandas/pulls/25567
2019-03-06T11:11:38Z
2019-05-30T13:15:19Z
2019-05-30T13:15:19Z
2019-05-30T16:48:39Z
Backport PR #25559 on branch 0.24.x (DOC: Small fixes to 0.24.2 whatsnew)
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index e80b1060e867d..f864fcd04e3d4 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -24,13 +24,11 @@ Fixed Regressions - Fixed issue in ``DataFrame`` construction with passing a mixed list of mixed types...
Backport PR #25559: DOC: Small fixes to 0.24.2 whatsnew
https://api.github.com/repos/pandas-dev/pandas/pulls/25563
2019-03-06T09:13:38Z
2019-03-06T09:16:57Z
2019-03-06T09:16:57Z
2019-03-06T09:50:44Z
Backport PR #25558 on branch 0.24.x (TST: Skip IntervalTree construction overflow test on 32bit)
diff --git a/pandas/tests/indexes/interval/test_interval_tree.py b/pandas/tests/indexes/interval/test_interval_tree.py index 46b2d12015a22..5d9ef2a9a6c32 100644 --- a/pandas/tests/indexes/interval/test_interval_tree.py +++ b/pandas/tests/indexes/interval/test_interval_tree.py @@ -172,6 +172,7 @@ def test_is_overlapping...
Backport PR #25558: TST: Skip IntervalTree construction overflow test on 32bit
https://api.github.com/repos/pandas-dev/pandas/pulls/25561
2019-03-06T04:17:34Z
2019-03-06T09:15:41Z
2019-03-06T09:15:41Z
2019-03-06T09:15:41Z
DOC: Small fixes to 0.24.2 whatsnew
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index e80b1060e867d..f864fcd04e3d4 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -24,13 +24,11 @@ Fixed Regressions - Fixed issue in ``DataFrame`` construction with passing a mixed list of mixed types...
A few small things I noticed reading over the whatsnew entries.
https://api.github.com/repos/pandas-dev/pandas/pulls/25559
2019-03-06T01:34:53Z
2019-03-06T09:13:12Z
2019-03-06T09:13:12Z
2019-03-06T18:01:06Z
TST: Skip IntervalTree construction overflow test on 32bit
diff --git a/pandas/tests/indexes/interval/test_interval_tree.py b/pandas/tests/indexes/interval/test_interval_tree.py index 46b2d12015a22..5d9ef2a9a6c32 100644 --- a/pandas/tests/indexes/interval/test_interval_tree.py +++ b/pandas/tests/indexes/interval/test_interval_tree.py @@ -172,6 +172,7 @@ def test_is_overlapping...
- [X] xref https://github.com/pandas-dev/pandas/pull/25498#issuecomment-469672734 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Skipping this test as it's failing on 32bit due to #23440. Note that this is consistent with #23442 where a few other tests that are bei...
https://api.github.com/repos/pandas-dev/pandas/pulls/25558
2019-03-06T01:28:15Z
2019-03-06T04:17:06Z
2019-03-06T04:17:06Z
2019-03-06T18:01:26Z
BUG: Handle readonly arrays in period_array
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index f864fcd04e3d4..283f12361841c 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -29,6 +29,7 @@ Fixed Regressions - Fixed regression in subtraction between :class:`Series` objects with ``datetime64[ns...
Closes #25403 ~@jbrockmendel suggested changing the def from `object[:]` to `ndarray[object]`. This unfortunately had the same runtime error about readonly buffers. So as a workaround for now (until Cython has const memoryviews), how about unsetting and then `re-setting` the writability of the input array?~
https://api.github.com/repos/pandas-dev/pandas/pulls/25556
2019-03-05T20:18:48Z
2019-03-07T14:24:56Z
2019-03-07T14:24:56Z
2019-03-07T14:25:00Z
DEPS: Bump numpy to 1.13.3
diff --git a/.travis.yml b/.travis.yml index f8302f4718ef2..529f1221899dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,7 @@ matrix: - dist: trusty env: - - JOB="3.6, coverage" ENV_FILE="ci/deps/travis-36.yaml" PATTERN="((not slow and not network) or (single and db))" PANDAS_TESTING_MODE=...
#25227 is trying to add `pyproject.toml` which is necessary for the whole `pip`-machinery to work smoothly post v.19.0. However, this seems to be running into problems with a numpy version bump, and mood there was to bump numpy requirement to 1.13.x. The bare minimum for the bump is implemented in that PR, but a ver...
https://api.github.com/repos/pandas-dev/pandas/pulls/25554
2019-03-05T18:37:00Z
2019-03-28T12:48:15Z
2019-03-28T12:48:15Z
2019-03-28T17:50:31Z
BUG: in error message raised when invalid axis parameter
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 5dd6ce168a0de..ea08a0a6fe07b 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -196,7 +196,7 @@ Missing ^^^^^^^ - Fixed misleading exception message in :meth:`Series.missing` if argument ``order`...
- [x] closes #25555 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry I don't think there is currently an issue for this. will open new and then add whatsnew.
https://api.github.com/repos/pandas-dev/pandas/pulls/25553
2019-03-05T18:30:15Z
2019-03-06T22:35:56Z
2019-03-06T22:35:55Z
2019-03-07T09:50:08Z
Document the behavior of `axis=None` with `style.background_gradient`
diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index c8b5dc6b9b7c0..b872f86eb8683 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -576,10 +576,10 @@ def apply(self, func, axis=0, subset=None, **kwargs): on ``axis``), and return an object with the same shape...
Add docstring entry for using `axis=None`with `style.background_gradient`, which was added in #21259. Also reword to be in numerical order and consistent with how `highlight_max` and `highligh_min` defines column-wise and row-wise. - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | fla...
https://api.github.com/repos/pandas-dev/pandas/pulls/25551
2019-03-05T16:53:45Z
2019-03-07T02:21:08Z
2019-03-07T02:21:08Z
2019-03-07T02:21:14Z
TST/CLN: Remove more Panel tests
diff --git a/pandas/tests/indexing/common.py b/pandas/tests/indexing/common.py index 91ea38920c702..1b74eeea1a8c3 100644 --- a/pandas/tests/indexing/common.py +++ b/pandas/tests/indexing/common.py @@ -4,15 +4,13 @@ from warnings import catch_warnings, filterwarnings import numpy as np -import pytest from pandas....
cc @jbrockmendel
https://api.github.com/repos/pandas-dev/pandas/pulls/25550
2019-03-05T14:50:16Z
2019-03-05T18:44:11Z
2019-03-05T18:44:11Z
2019-03-05T19:19:42Z
ENH: to_datetime support iso week year (16607)
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index ddc5e543c6165..6b31678b09a65 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -19,6 +19,7 @@ including other versions of pandas. Other Enhancements ^^^^^^^^^^^^^^^^^^ +- Added support for ISO we...
- [x] closes #16607 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry I messed up the rebase of the old PR #24844 and started this again on a clean state. Reviewers please review on this PR! #### From old PR I found the issue stagnant, but ...
https://api.github.com/repos/pandas-dev/pandas/pulls/25541
2019-03-05T08:03:21Z
2019-03-18T12:35:48Z
2019-03-18T12:35:48Z
2019-03-19T04:03:13Z
BUG: Fix #25481 by fixing the error message in TypeError
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 124ec8f4ab92c..9468641211720 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -121,7 +121,7 @@ Performance Improvements Bug Fixes ~~~~~~~~~ - Bug in :func:`to_datetime` which would raise an (inco...
BUG: Fix #25481 by fixing the error message in TypeError - [x] closes #25481 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25540
2019-03-05T06:50:22Z
2019-03-10T21:59:15Z
2019-03-10T21:59:14Z
2019-03-10T21:59:17Z
DOC: Polishing typos out of doc/source/user_guide/indexing.rst
diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index be1745e2664a1..00d4dc9efc8cc 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -435,7 +435,7 @@ Selection By Position This is sometimes called ``chained assignment`` and should be avo...
✅ fixes typos in Indexing and Selecting Data doc: - subject verb agreements - extra conjunctions - adds articles - fixes formatting as code markup
https://api.github.com/repos/pandas-dev/pandas/pulls/25538
2019-03-04T22:41:40Z
2019-03-04T22:45:43Z
null
2019-03-04T22:45:43Z
fix MacPython / pandas-wheels ci failures
diff --git a/pandas/tests/test_sorting.py b/pandas/tests/test_sorting.py index 2a64947042979..7528566e8326e 100644 --- a/pandas/tests/test_sorting.py +++ b/pandas/tests/test_sorting.py @@ -409,8 +409,9 @@ def test_mixed_integer_from_list(self): def test_unsortable(self): # GH 13714 arr = np.array...
https://github.com/pandas-dev/pandas/pull/25483#issuecomment-469366672 @jreback : the regex is getting a bit unreadable.. this may suggest that a more (user friendly|consistent) error message should be raised by `safe_sort`?
https://api.github.com/repos/pandas-dev/pandas/pulls/25537
2019-03-04T19:19:00Z
2019-03-05T10:24:47Z
2019-03-05T10:24:47Z
2019-03-05T12:22:14Z
ENH: Add errors parameter to DataFrame.rename
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 124ec8f4ab92c..67474918159d5 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -25,7 +25,7 @@ Other Enhancements - ``Series.str`` has gained :meth:`Series.str.casefold` method to removes all case di...
- [X] closes #13473 - [x] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25535
2019-03-04T14:34:08Z
2019-03-05T22:15:21Z
2019-03-05T22:15:19Z
2019-03-07T10:10:05Z
BUG: caught typeError in series.at (#25506)
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 124ec8f4ab92c..e1a1c975b5ed8 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -150,7 +150,7 @@ Timezones - Bug in :func:`to_datetime` with ``utc=True`` and datetime strings that would apply previ...
- [x] closes #25506 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25533
2019-03-04T12:43:55Z
2019-03-05T21:11:49Z
2019-03-05T21:11:49Z
2019-03-05T21:11:53Z
DOC: fix docstring for pandas.read_parquet
diff --git a/pandas/io/parquet.py b/pandas/io/parquet.py index ba322f42c07c1..db90844a1715f 100644 --- a/pandas/io/parquet.py +++ b/pandas/io/parquet.py @@ -260,8 +260,8 @@ def read_parquet(path, engine='auto', columns=None, **kwargs): Parameters ---------- - path : string - File path + path : ...
- [ ] closes #xxxx - [ ] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry ``` ################################################################################ ####################### Docstring (pandas.read_parquet) ####################### #########...
https://api.github.com/repos/pandas-dev/pandas/pulls/25532
2019-03-04T11:01:30Z
2019-04-10T05:28:12Z
null
2019-04-10T05:28:12Z
Bug groupby idxmin
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 8e72ce83ac028..9405e7804a461 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -254,6 +254,7 @@ Groupby/Resample/Rolling - Bug in :func:`pandas.core.groupby.GroupBy.agg` when applying a aggregation ...
closes #25444 closes #15306 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25531
2019-03-04T08:59:34Z
2019-03-30T19:17:29Z
2019-03-30T19:17:29Z
2019-03-30T19:17:32Z
fix segfault when running with cython coverage enabled, xref cython#2879
diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx index e38e9a1ca5df6..a5a50ea59753d 100644 --- a/pandas/_libs/tslibs/period.pyx +++ b/pandas/_libs/tslibs/period.pyx @@ -138,11 +138,11 @@ cdef int64_t get_daytime_conversion_factor(int from_index, int to_index) nogil: return daytime_conve...
We have several functions getting called inside a `with nogil:` block that aren't currently declared as `nogil`. In the future cython should warn in this type of situation (cython#2879).
https://api.github.com/repos/pandas-dev/pandas/pulls/25529
2019-03-04T00:01:18Z
2019-03-04T18:39:42Z
2019-03-04T18:39:42Z
2019-03-07T22:01:37Z
DOC: Polishing typos out of doc/source/user_guide/indexing.rst
diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index be1745e2664a1..00d4dc9efc8cc 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -435,7 +435,7 @@ Selection By Position This is sometimes called ``chained assignment`` and should be avo...
-[x] fixes 5 small (subject verb agreement, articles, formatting, duplicate conjunction) typos in the doc's user_guide _indexing.rst_ file.
https://api.github.com/repos/pandas-dev/pandas/pulls/25528
2019-03-03T23:35:36Z
2019-03-04T18:54:13Z
2019-03-04T18:54:13Z
2019-03-04T18:54:13Z
DOC: Fixed PeriodArray api ref
diff --git a/doc/source/reference/arrays.rst b/doc/source/reference/arrays.rst index a129b75636536..4cf8db895f0ac 100644 --- a/doc/source/reference/arrays.rst +++ b/doc/source/reference/arrays.rst @@ -259,7 +259,7 @@ Every period in a ``PeriodArray`` must have the same ``freq``. .. autosummary:: :toctree: api/ -...
[ci skip] DatetimeArray was listed twice. PeriodArray was missed.
https://api.github.com/repos/pandas-dev/pandas/pulls/25526
2019-03-03T20:14:11Z
2019-03-20T01:55:34Z
2019-03-20T01:55:34Z
2019-03-20T01:55:38Z
DOC: resolve all GL03 docstring validation errors
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index c4840f1e836c4..51df779341ed5 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -241,8 +241,8 @@ fi ### DOCSTRINGS ### if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then - MSG='Validate docstrings (GL06, GL07, GL09, SS04, SS05, PR03, PR04, PR05,...
- [X] closes #25172 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Original number of errors: 95 Remaining errors: 0
https://api.github.com/repos/pandas-dev/pandas/pulls/25525
2019-03-03T18:24:01Z
2019-03-10T21:08:26Z
2019-03-10T21:08:25Z
2019-03-10T21:08:35Z
DOC:Remove hard-coded examples from _flex_doc_SERIES (#24589)
diff --git a/pandas/core/ops.py b/pandas/core/ops.py index dbdabecafae3a..4d88ce6836ca4 100644 --- a/pandas/core/ops.py +++ b/pandas/core/ops.py @@ -384,57 +384,252 @@ def _get_op_name(op, special): # ----------------------------------------------------------------------------- # Docstring Generation and Templates ...
Initial work on #24589 - Removes hard-coded examples from _flex_doc_SERIES - Adds separate examples for each op (_*_example_SERIES). At this stage I've just copied the examples which were in the _flex_doc_SERIES template (add, sub, mul, div) - Modifies _make_flex_doc to format the _flex_doc_SERIES template with a...
https://api.github.com/repos/pandas-dev/pandas/pulls/25524
2019-03-03T17:56:04Z
2019-03-11T11:58:35Z
2019-03-11T11:58:35Z
2019-03-11T11:58:36Z
BUG-24971 copying blocks also considers ndim
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index 6ad299de45e2a..c3b442e2352bb 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -49,6 +49,12 @@ Bug Fixes - Bug in reading a JSON with ``orient='table'`` generated by :meth:`DataFrame.to_json` with `...
- [X] closes #24971 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry The following gives a series containing [1] instead of 1 ``` >>> pd.Series(pd.Categorical('A', categories=['A', 'B'])).replace({'A': 1, 'B': 2}) 0 [1] dtype: object ```...
https://api.github.com/repos/pandas-dev/pandas/pulls/25521
2019-03-03T03:00:18Z
2019-03-20T12:26:56Z
2019-03-20T12:26:55Z
2019-03-20T12:27:02Z
Backport PR #25368 on branch 0.24.x (BUG: Fix potential segfault after pd.Categorical(pd.Series(...), categories=...))
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index 4fcde7769b362..3d72b62275dab 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -31,6 +31,8 @@ Fixed Regressions - Fixed regression in :class:`TimedeltaIndex` where `np.sum(index)` incorrectly return...
Backport PR #25368: BUG: Fix potential segfault after pd.Categorical(pd.Series(...), categories=...)
https://api.github.com/repos/pandas-dev/pandas/pulls/25520
2019-03-03T02:36:46Z
2019-03-03T03:29:58Z
2019-03-03T03:29:58Z
2019-03-03T03:44:43Z
Backport PR #25498 on branch 0.24.x (BUG: Fix RecursionError during IntervalTree construction)
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index 4fcde7769b362..926239e7e5dc5 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -98,6 +98,7 @@ Bug Fixes - Bug in :meth:`Series.is_unique` where single occurrences of ``NaN`` were not considered un...
Backport PR #25498: BUG: Fix RecursionError during IntervalTree construction
https://api.github.com/repos/pandas-dev/pandas/pulls/25519
2019-03-03T01:44:51Z
2019-03-03T02:57:33Z
2019-03-03T02:57:33Z
2019-03-03T02:57:34Z
Backport PR #25517: TST: xfail non-writeable pytables tests with numpy 1.16x
diff --git a/pandas/compat/numpy/__init__.py b/pandas/compat/numpy/__init__.py index 5e67cf2ee2837..6e9f768d8bd68 100644 --- a/pandas/compat/numpy/__init__.py +++ b/pandas/compat/numpy/__init__.py @@ -12,6 +12,8 @@ _np_version_under1p13 = _nlv < LooseVersion('1.13') _np_version_under1p14 = _nlv < LooseVersion('1.14')...
https://api.github.com/repos/pandas-dev/pandas/pulls/25518
2019-03-03T01:26:20Z
2019-03-03T02:09:01Z
2019-03-03T02:09:01Z
2019-03-03T02:09:02Z
TST: xfail non-writeable pytables tests with numpy 1.16x
diff --git a/pandas/compat/numpy/__init__.py b/pandas/compat/numpy/__init__.py index bc9af01a97467..6e9f768d8bd68 100644 --- a/pandas/compat/numpy/__init__.py +++ b/pandas/compat/numpy/__init__.py @@ -13,6 +13,7 @@ _np_version_under1p14 = _nlv < LooseVersion('1.14') _np_version_under1p15 = _nlv < LooseVersion('1.15')...
closes #25511
https://api.github.com/repos/pandas-dev/pandas/pulls/25517
2019-03-02T17:02:48Z
2019-03-02T21:08:09Z
2019-03-02T21:08:09Z
2019-03-11T19:18:19Z
STY: use pytest.raises context manager (frame)
diff --git a/pandas/tests/frame/test_alter_axes.py b/pandas/tests/frame/test_alter_axes.py index a25e893e08900..f4a2a5f8032a0 100644 --- a/pandas/tests/frame/test_alter_axes.py +++ b/pandas/tests/frame/test_alter_axes.py @@ -633,7 +633,8 @@ def test_rename(self, float_frame): tm.assert_index_equal(renamed.inde...
xref #24332
https://api.github.com/repos/pandas-dev/pandas/pulls/25516
2019-03-02T16:22:39Z
2019-03-04T18:56:49Z
2019-03-04T18:56:49Z
2019-03-05T12:22:36Z
fix MacPython / pandas-wheels ci failures
diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py index c56bf944699e2..3f75c508d22f9 100644 --- a/pandas/tests/test_algos.py +++ b/pandas/tests/test_algos.py @@ -229,7 +229,7 @@ def test_complex_sorting(self): # gh 12666 - check no segfault x17 = np.array([complex(i) for i in range(...
xref https://github.com/pandas-dev/pandas/pull/25452#issuecomment-468654194
https://api.github.com/repos/pandas-dev/pandas/pulls/25505
2019-03-01T14:43:42Z
2019-03-01T16:52:07Z
2019-03-01T16:52:07Z
2019-03-01T17:47:46Z
STY: use pytest.raises context manager (arithmetic, arrays, computati…
diff --git a/pandas/tests/arithmetic/test_timedelta64.py b/pandas/tests/arithmetic/test_timedelta64.py index c31d7acad3111..0faed74d4a021 100644 --- a/pandas/tests/arithmetic/test_timedelta64.py +++ b/pandas/tests/arithmetic/test_timedelta64.py @@ -205,10 +205,20 @@ def test_subtraction_ops(self): td = Timedel...
…on, dtypes) xref #24332
https://api.github.com/repos/pandas-dev/pandas/pulls/25504
2019-03-01T14:30:43Z
2019-03-03T01:41:53Z
2019-03-03T01:41:53Z
2019-03-05T12:23:36Z
BUG: User-facing AssertionError with add column to SparseDataFrame
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index e2ae7cfc0cc34..7b87f6a7f8d3c 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -402,7 +402,7 @@ Sparse - Significant speedup in `SparseArray` initialization that benefits most operations, fixing p...
- [ ] closes #25484 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25503
2019-03-01T13:42:30Z
2019-04-12T13:12:04Z
2019-04-12T13:12:04Z
2019-04-12T13:13:07Z
Update documentation of read_csv to explain that index_col can be a string containg a column name
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index b23a0f10e9e2b..ee0b156027f5e 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -110,11 +110,14 @@ names : array-like, default ``None`` List of column names to use. If file contains no header row, then you sho...
Uses the suggestion from #22276 and closes #22276.
https://api.github.com/repos/pandas-dev/pandas/pulls/25502
2019-03-01T13:02:21Z
2019-03-15T21:29:05Z
2019-03-15T21:29:05Z
2019-03-15T21:52:15Z
BUG: Fix RecursionError during IntervalTree construction
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index 4fcde7769b362..926239e7e5dc5 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -98,6 +98,7 @@ Bug Fixes - Bug in :meth:`Series.is_unique` where single occurrences of ``NaN`` were not considered un...
- [X] closes #25485 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry Credit to @kingsykes for identifying the issue and determining the fix.
https://api.github.com/repos/pandas-dev/pandas/pulls/25498
2019-03-01T08:53:55Z
2019-03-03T01:44:23Z
2019-03-03T01:44:22Z
2019-03-06T01:44:31Z
TST: Fix test_stringified_slice_with_tz failure
diff --git a/pandas/tests/indexes/datetimes/test_datetime.py b/pandas/tests/indexes/datetimes/test_datetime.py index a3ee5fe39769f..c7147e6fe7063 100644 --- a/pandas/tests/indexes/datetimes/test_datetime.py +++ b/pandas/tests/indexes/datetimes/test_datetime.py @@ -100,8 +100,7 @@ def test_hash_error(self): def t...
- [x] closes #25492 - [x] tests added / passed This test shouldn't need to depend on `datetime.now`
https://api.github.com/repos/pandas-dev/pandas/pulls/25496
2019-03-01T06:11:51Z
2019-03-01T12:47:31Z
2019-03-01T12:47:30Z
2019-03-01T16:10:39Z
DOC: Reword Series.interpolate docstring for clarity
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index eb427a42a249b..ee8f9cba951b3 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -6618,10 +6618,10 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None, * 'pad': Fill in NaNs using existing values. ...
- [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry The description of one group of methods in the `Series.interpolate` docstring currently reads: > ‘nearest’, ‘zero’, ‘slinear’, ‘quadratic’, ‘cubic’, ‘spline’, ‘barycentric’, ‘polynomial’: Passed ...
https://api.github.com/repos/pandas-dev/pandas/pulls/25491
2019-03-01T01:44:41Z
2019-03-01T17:21:03Z
2019-03-01T17:21:03Z
2019-03-01T17:21:11Z
DOC: Add conda uninstall pandas to contributing guide
diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst index 027f2d90bbb73..dc7e2c7058fbc 100644 --- a/doc/source/development/contributing.rst +++ b/doc/source/development/contributing.rst @@ -178,6 +178,7 @@ We'll now kick off a three-step process: # Create and activate the ...
closes https://github.com/pandas-dev/pandas/issues/25487 add command `conda uninstall --force pandas`
https://api.github.com/repos/pandas-dev/pandas/pulls/25490
2019-02-28T23:58:46Z
2019-03-03T20:30:19Z
2019-03-03T20:30:19Z
2019-03-03T20:30:19Z
Fix JSON orient='table' issues with numeric column names
diff --git a/pandas/io/json/json.py b/pandas/io/json/json.py index dbf7f4f49ce86..e34c8ea1fe899 100644 --- a/pandas/io/json/json.py +++ b/pandas/io/json/json.py @@ -162,14 +162,14 @@ def _write(self, obj, orient, double_precision, ensure_ascii, class JSONTableWriter(FrameWriter): - _default_orient = 'records' +...
closes #19129 closes #22525 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25488
2019-02-28T23:31:01Z
2019-05-03T05:30:44Z
null
2019-05-03T05:30:44Z
DOC: Use correct pandas when building documentation
diff --git a/doc/make.py b/doc/make.py index 438c4a04a3f08..75890658d7b30 100755 --- a/doc/make.py +++ b/doc/make.py @@ -323,7 +323,7 @@ def main(): # the import of `python_path` correctly. The latter is used to resolve # the import within the module, injecting it into the global namespace os.environ['PY...
This manifested itself in #25419 - when trying to build documentation the version of pandas that gets inserted into the globals of this module may have inadvertently been picked up from another install on the system. This prioritizes the version of pandas dictated by command line args
https://api.github.com/repos/pandas-dev/pandas/pulls/25486
2019-02-28T22:00:57Z
2019-03-01T17:57:39Z
2019-03-01T17:57:39Z
2019-03-01T17:57:42Z
STY: use pytest.raises context manager (plotting, reductions, scalar...)
diff --git a/pandas/tests/plotting/test_boxplot_method.py b/pandas/tests/plotting/test_boxplot_method.py index 7d721c7de3398..e6b9795aebe7c 100644 --- a/pandas/tests/plotting/test_boxplot_method.py +++ b/pandas/tests/plotting/test_boxplot_method.py @@ -267,13 +267,20 @@ def test_grouped_box_return_type(self): def ...
xref #24332
https://api.github.com/repos/pandas-dev/pandas/pulls/25483
2019-02-28T20:01:17Z
2019-03-03T01:46:08Z
2019-03-03T01:46:08Z
2019-03-05T12:24:07Z
Correct documentation on make.py --single parameter
diff --git a/doc/make.py b/doc/make.py index 438c4a04a3f08..8b2a77987e663 100755 --- a/doc/make.py +++ b/doc/make.py @@ -294,14 +294,16 @@ def main(): help='number of jobs used by sphinx-build') argparser.add_argument('--no-api', default=False, - ...
- [X] closes #25480 - [X] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25482
2019-02-28T19:47:48Z
2019-03-01T12:57:50Z
2019-03-01T12:57:50Z
2019-03-04T08:42:58Z
DOC: Fix documentation build command in contribution guide.
diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst index 1270bfec098e8..027f2d90bbb73 100644 --- a/doc/source/development/contributing.rst +++ b/doc/source/development/contributing.rst @@ -435,7 +435,7 @@ reducing the turn-around time for checking your changes. # compi...
- [X] closes #25478 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25479
2019-02-28T14:29:07Z
2019-02-28T15:17:30Z
2019-02-28T15:17:29Z
2019-02-28T15:17:33Z
Backport PR #25266 on branch 0.24.x (BUG: Fix regression on DataFrame.replace for regex)
diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index 8f4beb3f484a4..4fcde7769b362 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -23,6 +23,7 @@ Fixed Regressions - Fixed regression in :meth:`DataFrame.all` and :meth:`DataFrame.any` where ``bool_onl...
Backport PR #25266: BUG: Fix regression on DataFrame.replace for regex
https://api.github.com/repos/pandas-dev/pandas/pulls/25477
2019-02-28T13:55:59Z
2019-02-28T14:42:30Z
2019-02-28T14:42:30Z
2019-02-28T14:43:49Z
DataFrame.drop Raises KeyError definition
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 608e5c53ec094..a40733b7076b0 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3797,7 +3797,12 @@ def drop(self, labels=None, axis=0, index=None, columns=None, axis : {0 or 'index', 1 or 'columns'}, default 0 Whether to ...
- [X] closes #25473 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/25474
2019-02-28T11:41:56Z
2019-02-28T12:41:08Z
2019-02-28T12:41:08Z
2019-02-28T14:11:26Z
BUG: Keep column level name in resample nunique
diff --git a/doc/source/reference/groupby.rst b/doc/source/reference/groupby.rst index 6ed85ff2fac43..c7f9113b53c22 100644 --- a/doc/source/reference/groupby.rst +++ b/doc/source/reference/groupby.rst @@ -99,6 +99,7 @@ application to columns of a specific data type. DataFrameGroupBy.idxmax DataFrameGroupBy.idxm...
Closes #23222 xref #23645
https://api.github.com/repos/pandas-dev/pandas/pulls/25469
2019-02-28T04:25:05Z
2019-02-28T12:42:55Z
2019-02-28T12:42:55Z
2019-02-28T18:17:16Z
ERR: Correct error message in to_datetime
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 170e7f14da397..f8b57f668c44d 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -104,7 +104,8 @@ Performance Improvements Bug Fixes ~~~~~~~~~ - +- Bug in :func:`to_datetime` which would raise an (...
Closes #23830 xref #23969
https://api.github.com/repos/pandas-dev/pandas/pulls/25467
2019-02-28T04:02:31Z
2019-02-28T12:44:44Z
2019-02-28T12:44:44Z
2019-02-28T18:17:17Z
DOC: Fix encoding of docstring validation for Windows
diff --git a/scripts/tests/test_validate_docstrings.py b/scripts/tests/test_validate_docstrings.py index 14172a790887d..34395435bd8c5 100644 --- a/scripts/tests/test_validate_docstrings.py +++ b/scripts/tests/test_validate_docstrings.py @@ -1052,6 +1052,14 @@ def test_raises_for_invalid_attribute_name(self, invalid_nam...
In Windows, the `validate_docstrings.py` script fails because an encoding error. It has been fixed here. PR done in the London python sprints meetup. CC: @datapythonista
https://api.github.com/repos/pandas-dev/pandas/pulls/25466
2019-02-27T21:04:20Z
2019-05-07T01:26:51Z
2019-05-07T01:26:51Z
2019-05-07T04:19:07Z