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
Remove isort dep
diff --git a/ci/deps/travis-36-doc.yaml b/ci/deps/travis-36-doc.yaml index 8f7556e6b47ad..a3c9f27f72d7e 100644 --- a/ci/deps/travis-36-doc.yaml +++ b/ci/deps/travis-36-doc.yaml @@ -44,4 +44,3 @@ dependencies: # universal - pytest>=4.0.2 - pytest-xdist - - isort
- Follow up from #26732 ( i missed a file )
https://api.github.com/repos/pandas-dev/pandas/pulls/26741
2019-06-08T20:43:36Z
2019-06-08T21:44:11Z
2019-06-08T21:44:11Z
2019-12-25T20:32:50Z
Move ExcelWriter Tests
diff --git a/pandas/tests/io/test_excel.py b/pandas/tests/io/test_excel.py index 6860afa710c4a..1f6839fa5dc52 100644 --- a/pandas/tests/io/test_excel.py +++ b/pandas/tests/io/test_excel.py @@ -56,7 +56,24 @@ def ignore_xlrd_time_clock_warning(): yield -@pytest.mark.parametrize("ext", ['.xls', '.xlsx', '.xl...
Because read_excel and ExcelWriter have different parametrization requirements it makes things clearer for now to separate these out. Maybe longer term they can be more intelligently combined but for now I think this still helps clean up requirements for adding new engines @simonjayhawkins
https://api.github.com/repos/pandas-dev/pandas/pulls/26740
2019-06-08T19:56:05Z
2019-06-08T21:25:20Z
2019-06-08T21:25:20Z
2019-06-09T01:06:17Z
TST/CLN: remove TestData from tests\frame\test_rank.py
diff --git a/pandas/tests/frame/test_rank.py b/pandas/tests/frame/test_rank.py index 1e600ea8cd878..c93defe7c64a6 100644 --- a/pandas/tests/frame/test_rank.py +++ b/pandas/tests/frame/test_rank.py @@ -4,12 +4,11 @@ import pytest from pandas import DataFrame, Series -from pandas.tests.frame.common import TestData i...
follow-on from #26733
https://api.github.com/repos/pandas-dev/pandas/pulls/26739
2019-06-08T15:15:58Z
2019-06-08T17:03:15Z
2019-06-08T17:03:15Z
2019-06-08T17:04:06Z
CLN: remove Panel-specific parts of core.generic
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 19d093dd29457..c4e08f50958f7 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1570,11 +1570,6 @@ def _is_level_reference(self, key, axis=0): """ axis = self._get_axis_number(axis) - if self.ndim > 2: - ...
xref #25632 removed small amount of code related to self.ndim > 2 also a few changes to make the NotImplemented errors for self.ndim>2 more consistent and added test for these. (might be worth having a decorator for these)
https://api.github.com/repos/pandas-dev/pandas/pulls/26738
2019-06-08T14:58:14Z
2019-06-09T18:42:52Z
2019-06-09T18:42:52Z
2019-06-10T08:00:40Z
TST: Fix mpl 3.0.3 grid settings test failure
diff --git a/pandas/tests/plotting/common.py b/pandas/tests/plotting/common.py index 7b108157096b3..73fc59389181a 100644 --- a/pandas/tests/plotting/common.py +++ b/pandas/tests/plotting/common.py @@ -446,7 +446,7 @@ def is_grid_on(): # for mpl 2.2.2, gridOn and gridline.get_visible disagree. ...
- [ ] closes #26734 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26737
2019-06-08T14:27:11Z
2019-06-08T15:06:47Z
2019-06-08T15:06:47Z
2019-06-08T15:08:04Z
read_excel and Excel File Engine conflict
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 844e062b20ca3..7c7112bae0ff3 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -665,6 +665,7 @@ I/O - Bug in :func:`read_json` where date strings with ``Z`` were not converted to a UTC timezone (:is...
- [x] closes #26566 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry cc. @WillAyd Note I only decided to raise an error when the engine specified to `read_excel` was different to that of the ExcelFile - otherwise around 15 test cases would n...
https://api.github.com/repos/pandas-dev/pandas/pulls/26736
2019-06-08T14:02:54Z
2019-06-10T21:55:10Z
2019-06-10T21:55:09Z
2019-12-25T20:35:17Z
TST: return pytest MarkDecorator from td.skip_if_no
diff --git a/pandas/tests/io/test_html.py b/pandas/tests/io/test_html.py index 225503cddceee..bd6fc6f57c496 100644 --- a/pandas/tests/io/test_html.py +++ b/pandas/tests/io/test_html.py @@ -77,10 +77,8 @@ def test_same_ordering(datapath): @pytest.mark.parametrize("flavor", [ - pytest.param('bs4', marks=pytest.ma...
`skip_if_no` returns a decorator that applies a pytest mark. pytest marks are decorators and can be applied directly to test functions. This PR changes `skip_if_no` to return just the pytest mark. `skip_if_no` can then be used in (pytest.param(... , marks=) situations. eg. pandas/tests/io/test_html.py could...
https://api.github.com/repos/pandas-dev/pandas/pulls/26735
2019-06-08T14:01:56Z
2019-06-08T19:51:09Z
2019-06-08T19:51:09Z
2019-06-09T17:48:35Z
[TST] Fixturize frame/test_rank.py
diff --git a/pandas/tests/frame/test_rank.py b/pandas/tests/frame/test_rank.py index eed91850888fc..1e600ea8cd878 100644 --- a/pandas/tests/frame/test_rank.py +++ b/pandas/tests/frame/test_rank.py @@ -29,19 +29,19 @@ def method(self, request): """ return request.param - def test_rank(self): + ...
xref #22471
https://api.github.com/repos/pandas-dev/pandas/pulls/26733
2019-06-08T13:49:08Z
2019-06-08T14:31:50Z
2019-06-08T14:31:50Z
2019-06-08T14:36:08Z
Remove isort dep
diff --git a/ci/deps/azure-35-compat.yaml b/ci/deps/azure-35-compat.yaml index e55a4fbdf3fa9..6643f804eb6f7 100644 --- a/ci/deps/azure-35-compat.yaml +++ b/ci/deps/azure-35-compat.yaml @@ -22,7 +22,6 @@ dependencies: - hypothesis>=3.58.0 - pytest-xdist - pytest-mock - - isort - pip - pip: # for pyt...
#LondonPythonSprints - [x] closes #26661 - [x] tests added / passed - [x] passes git diff upstream/master -u -- "*.py" | flake8 --diff cc @datapythonista
https://api.github.com/repos/pandas-dev/pandas/pulls/26732
2019-06-08T11:21:01Z
2019-06-08T19:52:20Z
2019-06-08T19:52:20Z
2019-12-25T20:36:04Z
CI: pin to sphinx 2.0.1
diff --git a/ci/deps/travis-36-doc.yaml b/ci/deps/travis-36-doc.yaml index 9d6cbd82fdc05..8f7556e6b47ad 100644 --- a/ci/deps/travis-36-doc.yaml +++ b/ci/deps/travis-36-doc.yaml @@ -33,7 +33,8 @@ dependencies: - pytz - scipy - seaborn - - sphinx + # recursion error with sphinx 2.1.0. https://github.com/pandas...
xref https://github.com/pandas-dev/pandas/issues/26723 (leaving open, to unpin).
https://api.github.com/repos/pandas-dev/pandas/pulls/26727
2019-06-08T03:33:45Z
2019-06-08T04:24:53Z
2019-06-08T04:24:53Z
2019-06-08T04:24:56Z
Fix broken np_dev CI
diff --git a/pandas/tests/arithmetic/test_timedelta64.py b/pandas/tests/arithmetic/test_timedelta64.py index 56f47324967a1..ead9876e7c2a8 100644 --- a/pandas/tests/arithmetic/test_timedelta64.py +++ b/pandas/tests/arithmetic/test_timedelta64.py @@ -1537,7 +1537,8 @@ def test_td64arr_div_nat_invalid(self, box_with_array...
- [X] closes #26725 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26726
2019-06-08T00:46:21Z
2019-06-08T02:05:35Z
2019-06-08T02:05:35Z
2019-06-08T02:13:13Z
REF: Refactor signature of RangeIndex._simple_new
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index fd47ca14dc788..64175c9d9892c 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -525,7 +525,7 @@ Performance Improvements - Improved performance of :meth:`Series.searchsorted`. The speedup is especia...
This PR refactors ``RangeIndex._simple_new``, so its signature is the same as ``Index._simple_new``. This will help typing later on, as currently mypy complains about the different signatures. In short a ``_simple_new`` now expects a ``range`` as its input. As a ``range`` is immutable, the code is easy to reason about....
https://api.github.com/repos/pandas-dev/pandas/pulls/26722
2019-06-07T22:25:36Z
2019-06-14T12:42:00Z
2019-06-14T12:42:00Z
2019-06-14T15:54:47Z
PERF: building MultiIndex with categorical levels
diff --git a/asv_bench/benchmarks/multiindex_object.py b/asv_bench/benchmarks/multiindex_object.py index ca2bdc45dc2cb..c979ba6d53a08 100644 --- a/asv_bench/benchmarks/multiindex_object.py +++ b/asv_bench/benchmarks/multiindex_object.py @@ -2,7 +2,7 @@ import numpy as np import pandas.util.testing as tm -from panda...
- [x] closes #22044 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry ```python df = pd.DataFrame({ 'a': np.arange(1_000_000, dtype=np.int32), 'b': np.arange(1_000_000, dtype=np.int64), 'c': np.arange(1_000_000, dtype=float), }).a...
https://api.github.com/repos/pandas-dev/pandas/pulls/26721
2019-06-07T22:15:10Z
2019-06-08T21:04:28Z
2019-06-08T21:04:28Z
2019-06-08T21:22:31Z
TST: skip assert for mpl 3.1+
diff --git a/ci/deps/travis-36-cov.yaml b/ci/deps/travis-36-cov.yaml index 606b5bac8306d..afd9877afdf84 100644 --- a/ci/deps/travis-36-cov.yaml +++ b/ci/deps/travis-36-cov.yaml @@ -20,7 +20,8 @@ dependencies: # https://github.com/pydata/pandas-gbq/issues/271 - google-cloud-bigquery<=1.11 - psycopg2 - - pyarro...
Closes #26714 xref https://github.com/pandas-dev/pandas/issues/26716
https://api.github.com/repos/pandas-dev/pandas/pulls/26715
2019-06-07T20:36:34Z
2019-06-08T04:22:44Z
2019-06-08T04:22:44Z
2019-06-08T04:22:48Z
ASV: remove large IntervalIndex benchmark
diff --git a/asv_bench/benchmarks/index_object.py b/asv_bench/benchmarks/index_object.py index de72f08515246..d0aced87c54c6 100644 --- a/asv_bench/benchmarks/index_object.py +++ b/asv_bench/benchmarks/index_object.py @@ -188,7 +188,7 @@ def time_get_loc(self): class IntervalIndexMethod: # GH 24813 - params =...
Closes #26709 The `setup` for that `N` took 30s+ on my machine. I doubt that was intended.
https://api.github.com/repos/pandas-dev/pandas/pulls/26712
2019-06-07T19:17:00Z
2019-06-07T20:34:08Z
2019-06-07T20:34:08Z
2019-06-07T20:37:18Z
PERF: perform a unique intersection with IntervalIndex if at least one side is unique
diff --git a/asv_bench/benchmarks/index_object.py b/asv_bench/benchmarks/index_object.py index d0aced87c54c6..1eedc1a2b3021 100644 --- a/asv_bench/benchmarks/index_object.py +++ b/asv_bench/benchmarks/index_object.py @@ -196,6 +196,9 @@ def setup(self, N): self.intv = IntervalIndex.from_arrays(left, right) ...
Resolves https://github.com/pandas-dev/pandas/issues/26709 ``` before after ratio [3ff4f38f] [30bd5369] <datetime_iter~1> - 749±100μs 365±70μs 0.49 index_object.IntervalIndexMethod.time_intersection_duplicate(1000) - 59.6±3ms 8.04±0.2ms ...
https://api.github.com/repos/pandas-dev/pandas/pulls/26711
2019-06-07T19:08:56Z
2019-06-10T22:20:53Z
2019-06-10T22:20:53Z
2019-07-20T09:39:54Z
BUG: TDI/PI comparison with zero-dim array
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 1890d7b31bed2..5150532c8ce7f 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -539,6 +539,7 @@ Datetimelike - Bug in adding :class:`DateOffset` with nonzero month to :class:`DatetimeIndex` would ra...
- [x] closes #26689 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry The long-term solution to problems of this kind will be #23853.
https://api.github.com/repos/pandas-dev/pandas/pulls/26707
2019-06-07T14:30:53Z
2019-06-07T15:14:35Z
2019-06-07T15:14:35Z
2019-06-07T16:03:10Z
Convert Sparse ASVs
diff --git a/asv_bench/benchmarks/sparse.py b/asv_bench/benchmarks/sparse.py index ca4469e64c335..281e81f21ba9c 100644 --- a/asv_bench/benchmarks/sparse.py +++ b/asv_bench/benchmarks/sparse.py @@ -1,9 +1,8 @@ -import itertools - import numpy as np import scipy.sparse -from pandas import (SparseSeries, SparseDataFrame...
https://api.github.com/repos/pandas-dev/pandas/pulls/26704
2019-06-07T11:28:42Z
2019-06-16T14:32:13Z
2019-06-16T14:32:13Z
2019-06-16T14:32:18Z
Renaming asv setting build_cache_size
diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json index fa098e2455683..571ede1a21134 100644 --- a/asv_bench/asv.conf.json +++ b/asv_bench/asv.conf.json @@ -107,7 +107,7 @@ // `asv` will cache wheels of the recent builds in each // environment, making them faster to install next time. This is ...
The CI job that is checking that the benchmarks don't break is reporting that an `asv` setting has been renamed. I think we've got a server where we run the benchmarks, not sure if we replicate the environment there at every run from `environment.yml`. Otherwise I guess we should do it manually before merging this. ...
https://api.github.com/repos/pandas-dev/pandas/pulls/26703
2019-06-07T10:44:44Z
2019-06-10T22:28:16Z
2019-06-10T22:28:16Z
2019-06-10T22:28:20Z
PERF: restore DatetimeIndex.__iter__ performance by using non-EA implementation
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 5150532c8ce7f..a21e9773243da 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -513,6 +513,7 @@ Performance Improvements - Improved performance of :meth:`IntervalIndex.intersection` (:issue:`24813`)...
The `timeseries.TimeIteration.time_iter` benchmark shows a `6.4x` regression here: https://qwhelan.github.io/pandas/#timeseries.Iteration.time_iter?p-time_index=%3Cfunction%20date_range%3E&commits=08395af4-fc24c2cd . An iteration of `asv find` blames https://github.com/pandas-dev/pandas/commit/1fc76b80#diff-26a6d2ca7ad...
https://api.github.com/repos/pandas-dev/pandas/pulls/26702
2019-06-07T08:46:53Z
2019-06-07T19:01:02Z
2019-06-07T19:01:02Z
2019-06-07T19:35:04Z
CI: Add print skipped tests into azure step
diff --git a/.travis.yml b/.travis.yml index ce8817133a477..fd59544d9b3c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -103,10 +103,5 @@ script: after_script: - echo "after_script start" - source activate pandas-dev && pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd - - if [ -e test-da...
- [x] closes #26695 - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26698
2019-06-07T01:44:49Z
2019-06-10T15:48:05Z
2019-06-10T15:48:04Z
2019-06-10T23:09:33Z
PERF: use python int in RangeIndex.get_loc
diff --git a/pandas/core/indexes/range.py b/pandas/core/indexes/range.py index 14ebc3c7e8e2a..7daeb9b644a9b 100644 --- a/pandas/core/indexes/range.py +++ b/pandas/core/indexes/range.py @@ -346,8 +346,9 @@ def __contains__(self, key: Union[int, np.integer]) -> bool: @Appender(_index_shared_docs['get_loc']) def...
Follow-up to #26565. I didn't ensure a python int in ``RangeIndex.get_loc`` in the original PR, causing a slow performance when using a key with a wrong type: ```python In [1]: rng = pd.RangeIndex(1_000_000) In [2]: %timeit rng.get_loc(np.int64(900_000)) 156 ms ± 1.03 ms per loop # master 478 ns ± 6.3 ns per l...
https://api.github.com/repos/pandas-dev/pandas/pulls/26697
2019-06-06T21:18:16Z
2019-06-07T11:35:18Z
2019-06-07T11:35:18Z
2019-10-15T20:09:12Z
Add Sponsors Button to GitHub Repo
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000000000..6912d15abf3d6 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +custom: https://pandas.pydata.org/donate.html
While discussion on other support avenues are still ongoing, I think it would still be beneficial to add the a Sponsors Button to the repo that points to https://pandas.pydata.org/donate.html Note: https://www.flipcause.com/secure/cause_pdetails/MzA3OA== is the direct page to donate but this link doesn't appear as "...
https://api.github.com/repos/pandas-dev/pandas/pulls/26694
2019-06-06T18:47:36Z
2019-06-07T17:01:59Z
2019-06-07T17:01:59Z
2019-06-07T17:24:15Z
DEPS: Using cpplint from conda-forge
diff --git a/environment.yml b/environment.yml index e5d62d53d86a5..897fd34ebb803 100644 --- a/environment.yml +++ b/environment.yml @@ -16,14 +16,13 @@ dependencies: - cython>=0.28.2 # code checks + - cpplint - flake8 - flake8-comprehensions # used by flake8, linting of unnecessary comprehensions - ...
Follow up of #26691. `cpplint` was installed from pip, but it's now available in conda-forge. CC: @TomAugspurger
https://api.github.com/repos/pandas-dev/pandas/pulls/26693
2019-06-06T15:52:05Z
2019-06-07T11:29:24Z
2019-06-07T11:29:24Z
2019-06-07T11:29:27Z
DEPS: Grouping deps and adding information to environment.yml
diff --git a/environment.yml b/environment.yml index 91ea26eef4b61..e5d62d53d86a5 100644 --- a/environment.yml +++ b/environment.yml @@ -9,59 +9,73 @@ dependencies: - python-dateutil>=2.5.0 - pytz - # development + # benchmarks - asv + + # building - cython>=0.28.2 + + # code checks - flake8 - - f...
- [X] closes #26659 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry I didn't add or remove any dependency here. I think it makes more sense to keep exactly the same here that the diff is not so clear, and make changes in a follow up PR if needed...
https://api.github.com/repos/pandas-dev/pandas/pulls/26691
2019-06-06T14:19:50Z
2019-06-06T15:46:22Z
2019-06-06T15:46:22Z
2019-06-07T07:42:20Z
ERR: include original error message for missing required dependencies
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index f61c8bfbd782e..7d123697d3d20 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -96,7 +96,8 @@ Other Enhancements - :meth:`DataFrame.query` and :meth:`DataFrame.eval` now supports quoting column name...
closes #23868 Resubmit of PR #26665, which was merged in a bit too eagerly! Change to test hopefully avoids recursion, although like others, it doesn't reproduce locally for me.
https://api.github.com/repos/pandas-dev/pandas/pulls/26685
2019-06-06T07:42:15Z
2019-06-11T08:27:05Z
2019-06-11T08:27:05Z
2019-06-11T08:27:06Z
DEPR: Deprecate Series/Dataframe.to_dense/to_sparse
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 2b1a61186dca6..54462728dc38a 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -503,6 +503,7 @@ Other Deprecations - The :meth:`Series.ftype`, :meth:`Series.ftypes` and :meth:`DataFrame.ftypes` meth...
- [x] closes #26557 - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] add whatsnew entry - [x] add tests Marks the methods mentioned in #26557 as deprecated, with proper messages.
https://api.github.com/repos/pandas-dev/pandas/pulls/26684
2019-06-06T03:49:53Z
2019-06-19T00:41:04Z
2019-06-19T00:41:03Z
2019-06-19T00:41:11Z
TST: avoid matplotlib warnings in tests
diff --git a/pandas/tests/plotting/test_frame.py b/pandas/tests/plotting/test_frame.py index f42f86540e46b..9a2b87558b869 100644 --- a/pandas/tests/plotting/test_frame.py +++ b/pandas/tests/plotting/test_frame.py @@ -800,7 +800,10 @@ def test_line_area_stacked(self): with pytest.raises(ValueError): ...
In master we get the following warnings in this file: ``` $ pytest pandas/tests/plotting/test_frame.py --skip-slow [...] pandas/tests/plotting/test_frame.py::TestDataFramePlots::test_mpl2_color_cycle_str pandas/pandas/plotting/_style.py:60: MatplotlibDeprecationWarning: Support for uppercase single-letter co...
https://api.github.com/repos/pandas-dev/pandas/pulls/26678
2019-06-05T19:44:38Z
2019-06-07T19:45:00Z
2019-06-07T19:45:00Z
2019-06-07T19:58:18Z
BUG: .isin on datetimelike indexes do not validate input of level parameter
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 3096a13ac0767..df22a21196dab 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -540,6 +540,7 @@ Datetimelike - Bug in :func:`to_datetime` which does not replace the invalid argument with ``NaT`` whe...
#LondonPythonSprints - [x] closes #26675 - [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/26677
2019-06-05T19:41:28Z
2019-06-09T21:59:57Z
2019-06-09T21:59:56Z
2019-06-10T07:57:50Z
Filter warning in sparse repr
diff --git a/pandas/core/sparse/frame.py b/pandas/core/sparse/frame.py index 0320da6d9a48d..67ecbcbea67f9 100644 --- a/pandas/core/sparse/frame.py +++ b/pandas/core/sparse/frame.py @@ -242,6 +242,11 @@ def _init_spmatrix(self, data, index, columns, dtype=None, def to_coo(self): return SparseFrameAccessor(...
xref https://github.com/pandas-dev/pandas/issues/26555
https://api.github.com/repos/pandas-dev/pandas/pulls/26669
2019-06-05T17:26:42Z
2019-06-05T21:48:47Z
2019-06-05T21:48:47Z
2019-06-05T21:48:53Z
ERR: include original error message for missing required dependencies
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 4018418294963..8fd9f07442810 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -82,7 +82,7 @@ Other Enhancements - :meth:`DataFrame.query` and :meth:`DataFrame.eval` now supports quoting column name...
- [x] closes #23868 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Modifies the try-catch for imports of required dependencies (`numpy`, `pytz`, and `dateutil`) to record any exceptions raised, and then to include the message from these when r...
https://api.github.com/repos/pandas-dev/pandas/pulls/26665
2019-06-05T14:07:17Z
2019-06-05T18:44:39Z
2019-06-05T18:44:39Z
2019-06-05T20:33:37Z
Excel Tests Continued Fixture Cleanup
diff --git a/pandas/tests/io/test_excel.py b/pandas/tests/io/test_excel.py index b99f0336fa4c5..6860afa710c4a 100644 --- a/pandas/tests/io/test_excel.py +++ b/pandas/tests/io/test_excel.py @@ -32,18 +32,16 @@ def frame(float_frame): return float_frame[:10] -@pytest.fixture -def frame2(float_frame): - float_...
Follow up to #26579 Removing the frame2 fixture which is sparsely used. I've also removed inheritance of `ReadingTestsBase` and made that it's own discoverable class. Previously these tests were only being generated when `TestXlrdReader` was being run which tightly couples reading with xlrd. The goal here in sub...
https://api.github.com/repos/pandas-dev/pandas/pulls/26662
2019-06-05T13:49:22Z
2019-06-08T16:15:58Z
2019-06-08T16:15:58Z
2019-06-08T16:16:13Z
DEPS: Adding missing doc dependencies to environment.yml
diff --git a/environment.yml b/environment.yml index cf17dc1281ec9..91ea26eef4b61 100644 --- a/environment.yml +++ b/environment.yml @@ -17,10 +17,17 @@ dependencies: - flake8-rst>=0.6.0,<=0.7.0 - gitpython - hypothesis>=3.82 + - ipywidgets - isort - moto - mypy + - nbconvert>=5.4.1 + - nbformat + ...
In #26648 we detected that `environment.yml` didn't contain some of the dependencies required to build the documentation. `environment.yml` is what we use to build the documentation locally. Adding them here. CC: @jorisvandenbossche
https://api.github.com/repos/pandas-dev/pandas/pulls/26657
2019-06-05T11:13:22Z
2019-06-05T12:46:38Z
2019-06-05T12:46:38Z
2019-06-05T13:36:09Z
Remove redundant check arr_or_dtype is None
diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py index b5cd73a81962b..8e67ef1c14cdf 100644 --- a/pandas/core/dtypes/common.py +++ b/pandas/core/dtypes/common.py @@ -1902,8 +1902,6 @@ def _is_dtype_type(arr_or_dtype, condition): if issubclass(arr_or_dtype, ExtensionDtype): a...
- [ X ] tests passed - [ X ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Checking whether `if arr_or_dtype is None` is done in the beginning of the function so the following check is redundant and can be safely removed. This issue (among a few others) were flagged up by LGTM.com website: https...
https://api.github.com/repos/pandas-dev/pandas/pulls/26655
2019-06-05T09:35:43Z
2019-06-05T21:37:55Z
2019-06-05T21:37:55Z
2019-06-05T21:53:15Z
Update Accessors URL for PdVega package.
diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst index e232bd2157611..b1a5430752558 100644 --- a/doc/source/ecosystem.rst +++ b/doc/source/ecosystem.rst @@ -363,4 +363,5 @@ Library Accessor Classes ============== ========== ========================= .. _cyberpandas: https://cyberpandas.read...
See altair-viz/pdvega@7476a8a26b for details.
https://api.github.com/repos/pandas-dev/pandas/pulls/26653
2019-06-05T06:34:50Z
2019-06-05T11:53:41Z
2019-06-05T11:53:40Z
2019-06-05T11:53:41Z
BUG: avoid overflow in Bday generate_range, closes #24252
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index e6bc422b52e89..56095ed014c4b 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -600,6 +600,7 @@ Datetimelike - Bug in :meth:`isin` for datetimelike indexes; :class:`DatetimeIndex`, :class:`Timedelta...
- [x] closes #24252 - [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/26651
2019-06-04T21:05:19Z
2019-06-21T02:02:00Z
2019-06-21T02:02:00Z
2019-06-21T02:13:48Z
CI/DOC: Building the documentation with azure-pipelines
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 85325c52e7e6d..b40d46bdebe02 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,7 +24,6 @@ jobs: # XXX next command should avoid redefining the path in every step, but # made the process crash as it couldn't find deactivate ...
- [X] xref #22766, #26574 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Looks like the problem in #26591 was that the `HostName` input of the azure task that installs the key, is not the host name, but the `know_hosts` line for the host name w...
https://api.github.com/repos/pandas-dev/pandas/pulls/26648
2019-06-04T16:29:15Z
2019-06-13T08:54:38Z
2019-06-13T08:54:38Z
2019-06-13T10:07:14Z
DOC: Small whatsnew cleanups
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 0e8cd95084a8d..267e34efc946f 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -72,7 +72,7 @@ Other Enhancements - :meth:`DataFrame.pivot_table` now accepts an ``observed`` parameter which is passed...
Some small fixes I noticed reading over the whatsnew
https://api.github.com/repos/pandas-dev/pandas/pulls/26643
2019-06-04T00:27:07Z
2019-06-04T01:23:50Z
2019-06-04T01:23:50Z
2019-06-04T02:22:47Z
Remove NDFrame.select
diff --git a/doc/source/reference/frame.rst b/doc/source/reference/frame.rst index b4fb85c028b3e..7d5cd5d245631 100644 --- a/doc/source/reference/frame.rst +++ b/doc/source/reference/frame.rst @@ -204,7 +204,6 @@ Reindexing / Selection / Label manipulation DataFrame.rename_axis DataFrame.reset_index DataFra...
- [x] xref #17633 - [x] whatsnew entry Removes ``NDFrame.select``, that was deprecated in 0.21.
https://api.github.com/repos/pandas-dev/pandas/pulls/26641
2019-06-03T23:56:09Z
2019-06-04T23:59:02Z
2019-06-04T23:59:02Z
2019-06-05T09:06:32Z
DOC: Minor doc cleanup because of Panel removal
diff --git a/doc/source/getting_started/basics.rst b/doc/source/getting_started/basics.rst index 80e334054a986..5ec0094de0a91 100644 --- a/doc/source/getting_started/basics.rst +++ b/doc/source/getting_started/basics.rst @@ -1455,9 +1455,8 @@ Iteration The behavior of basic iteration over pandas objects depends on t...
"Other data structures..." is not usuful anymore, as ``Panel`` and ``Panel4D`` are have been removed for the code base, Plus other small stuff.
https://api.github.com/repos/pandas-dev/pandas/pulls/26638
2019-06-03T21:22:48Z
2019-06-03T22:17:41Z
2019-06-03T22:17:41Z
2019-06-03T22:17:46Z
#26545 Fix: same .tsv file, get different data-frame structure using engine 'python' and 'c'
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index f61c8bfbd782e..7d95c0122aae0 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -667,6 +667,7 @@ I/O - Bug in :func:`read_json` where date strings with ``Z`` were not converted to a UTC timezone (:is...
- [x] closes #26545 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry BugFix: When using `engine='python'`, columns were handled incorrectly if the first header had in the bom. Bug: ``` In [1]: import pandas as pd ...
https://api.github.com/repos/pandas-dev/pandas/pulls/26634
2019-06-03T14:46:46Z
2019-06-12T18:40:48Z
2019-06-12T18:40:47Z
2019-06-13T18:08:53Z
[TST] Fix test_quantile_interpolation_int
diff --git a/pandas/tests/frame/test_quantile.py b/pandas/tests/frame/test_quantile.py index 9ccbd290923ba..097477c42d249 100644 --- a/pandas/tests/frame/test_quantile.py +++ b/pandas/tests/frame/test_quantile.py @@ -160,8 +160,7 @@ def test_quantile_interpolation_int(self, int_frame): assert q['A'] == np.perc...
Follow up https://github.com/pandas-dev/pandas/pull/26556#discussion_r289056741
https://api.github.com/repos/pandas-dev/pandas/pulls/26633
2019-06-03T14:38:45Z
2019-06-05T07:22:09Z
2019-06-05T07:22:09Z
2019-06-05T07:22:31Z