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
CLN: Remove type from (class|type) in regexes
diff --git a/pandas/tests/indexes/interval/test_construction.py b/pandas/tests/indexes/interval/test_construction.py index 484a05800561d..7a54ad5c180a4 100644 --- a/pandas/tests/indexes/interval/test_construction.py +++ b/pandas/tests/indexes/interval/test_construction.py @@ -331,8 +331,7 @@ def test_constructor_errors...
xref #25725
https://api.github.com/repos/pandas-dev/pandas/pulls/26434
2019-05-16T21:54:56Z
2019-05-17T12:50:38Z
2019-05-17T12:50:38Z
2019-05-17T13:49:47Z
CLN: Remove unicode u string prefix in regexes
diff --git a/pandas/tests/groupby/test_groupby.py b/pandas/tests/groupby/test_groupby.py index 39d3ffdb286ab..2511063110f92 100644 --- a/pandas/tests/groupby/test_groupby.py +++ b/pandas/tests/groupby/test_groupby.py @@ -730,7 +730,7 @@ def test_omit_nuisance(df): grouped = df.groupby({'A': 0, 'C': 0, 'D': 1, 'E':...
xref #25725
https://api.github.com/repos/pandas-dev/pandas/pulls/26433
2019-05-16T21:12:00Z
2019-05-17T12:55:46Z
2019-05-17T12:55:46Z
2019-05-17T13:51:47Z
CLN: remove __unicode__ from code base
diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py index 6eff6d9ae1091..d25ccd1b158be 100644 --- a/pandas/core/arrays/categorical.py +++ b/pandas/core/arrays/categorical.py @@ -2022,9 +2022,9 @@ def _get_repr(self, length=True, na_rep='NaN', footer=True): result = formatter.to_s...
- [x] xref #25725 Removes use of ``__unicode__`` from the code base.
https://api.github.com/repos/pandas-dev/pandas/pulls/26432
2019-05-16T20:01:47Z
2019-05-17T12:56:40Z
2019-05-17T12:56:40Z
2019-05-17T14:00:40Z
ERR: FutureWarning difficult to identify source
diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py index 6b9806f4d32f5..9c735a5598f4a 100644 --- a/pandas/core/indexes/datetimes.py +++ b/pandas/core/indexes/datetimes.py @@ -689,7 +689,8 @@ def to_series(self, keep_tz=None, index=None, name=None): name = self.name ...
- [x] closes #26329 - [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/26431
2019-05-16T19:56:03Z
2019-05-18T15:09:40Z
2019-05-18T15:09:40Z
2019-05-18T21:18:01Z
BUG: fix calling local references with keyword arguments in query
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 09e246c6ed971..84f9fd8906dbf 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -298,7 +298,6 @@ Bug Fixes ~~~~~~~~~ - Categorical ^^^^^^^^^^^ @@ -380,6 +379,7 @@ Indexing - Bug in which :me...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry calling local references with keyword arguments in query fails with attribute error: ```python import numpy as np import pandas as pd def f(a, b): return b df = p...
https://api.github.com/repos/pandas-dev/pandas/pulls/26426
2019-05-16T11:50:44Z
2019-05-19T20:27:05Z
2019-05-19T20:27:05Z
2019-05-19T20:27:10Z
DOC: ecosystem.rst: Koalas
diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst index f30052be91d40..e232bd2157611 100644 --- a/doc/source/ecosystem.rst +++ b/doc/source/ecosystem.rst @@ -285,6 +285,11 @@ provides a familiar ``DataFrame`` interface for out-of-core, parallel and distri Dask-ML enables parallel and distributed machi...
- [x] closes #26424 - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry I (almost) copied and pasted from its README.md.
https://api.github.com/repos/pandas-dev/pandas/pulls/26425
2019-05-16T09:31:28Z
2019-05-17T13:43:47Z
2019-05-17T13:43:47Z
2019-05-17T13:55:48Z
DOC: remove usage of lrange in docs
diff --git a/doc/source/whatsnew/v0.11.0.rst b/doc/source/whatsnew/v0.11.0.rst index 26b97268038e9..c919698d15689 100644 --- a/doc/source/whatsnew/v0.11.0.rst +++ b/doc/source/whatsnew/v0.11.0.rst @@ -238,14 +238,9 @@ Enhancements - support ``read_hdf/to_hdf`` API similar to ``read_csv/to_csv`` - .. ipyth...
Due to the recent removals (eg https://github.com/pandas-dev/pandas/pull/26396 and others)
https://api.github.com/repos/pandas-dev/pandas/pulls/26423
2019-05-16T08:53:06Z
2019-05-16T09:27:50Z
2019-05-16T09:27:50Z
2019-05-16T10:02:08Z
Correction (and clarification) to EWMA doc
diff --git a/doc/source/user_guide/computation.rst b/doc/source/user_guide/computation.rst index 466486586f50b..71cbf58dff871 100644 --- a/doc/source/user_guide/computation.rst +++ b/doc/source/user_guide/computation.rst @@ -865,7 +865,7 @@ which is equivalent to using weights The difference between the above two va...
Correct ``adjust=True`` to ``adjust=False`` in line 889 of the documentation (discussing EWMA). Also propose minor clarifications in demonstration that two variants (adjust=False and adjust=True) are equivalent for infinite series (lines 868 and 887-893). Closes https://github.com/pandas-dev/pandas/issues/24814
https://api.github.com/repos/pandas-dev/pandas/pulls/26422
2019-05-16T08:44:48Z
2019-05-18T14:22:13Z
2019-05-18T14:22:13Z
2019-05-18T14:22:22Z
DEPR: deprecate SparseArray.values
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index b2d1aa299a45a..79e7ecddc214e 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -259,8 +259,10 @@ Deprecations - The deprecated ``.ix[]`` indexer now raises a more visible FutureWarning instead of ...
Having a `.values` attribute on SparseArray is confusing, as `.values` is typically used on Series/DataFrame/Index and not on the array classes.
https://api.github.com/repos/pandas-dev/pandas/pulls/26421
2019-05-16T08:10:28Z
2019-05-21T06:23:52Z
2019-05-21T06:23:52Z
2019-05-26T15:05:09Z
Add Annotations to GroupBy
diff --git a/pandas/_typing.py b/pandas/_typing.py index 3959e38e6f08c..78f59e4a440b1 100644 --- a/pandas/_typing.py +++ b/pandas/_typing.py @@ -1,5 +1,5 @@ from pathlib import Path -from typing import IO, AnyStr, Type, Union +from typing import IO, AnyStr, List, Type, Union import numpy as np @@ -14,3 +14,8 @@ ...
Not fully complete but got started on these on a flight today. Should be able to review failures in a few more details. @gwrome @vaibhavhrt would love any feedback from you
https://api.github.com/repos/pandas-dev/pandas/pulls/26420
2019-05-16T04:09:09Z
2019-05-27T00:10:59Z
null
2020-01-16T00:33:58Z
Fix GroupBy nth Handling with Observed=False
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index bb28ce9b67a3e..895cc17867cc8 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -117,6 +117,7 @@ Groupby/resample/rolling ^^^^^^^^^^^^^^^^^^^^^^^^ - Bug in :meth:`pandas.core.groupby.DataFrameGrou...
- [X] closes #26385 - [X] tests added / passed - [] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26419
2019-05-16T00:51:52Z
2019-08-20T19:02:10Z
2019-08-20T19:02:10Z
2019-08-23T12:15:10Z
BUG: bugfix 26390 assigning PandasArray to DataFrame error
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index d38ee7b8b589a..f58b62c6e99b1 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -376,6 +376,7 @@ Indexing - Bug in :meth:`DataFrame.loc` and :meth:`Series.loc` where ``KeyError`` was not raised for a...
- [x] closes #26390 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry ---- Which section should i add the whatsnew entry in for this particular case?
https://api.github.com/repos/pandas-dev/pandas/pulls/26417
2019-05-15T18:39:03Z
2019-05-19T18:11:28Z
2019-05-19T18:11:27Z
2021-11-28T08:39:46Z
CLN: remove __unicode__ from pyx, etc. files
diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx index 029a64c8d3ba2..c68d686ff2bf2 100644 --- a/pandas/_libs/tslibs/period.pyx +++ b/pandas/_libs/tslibs/period.pyx @@ -2208,10 +2208,6 @@ cdef class _Period: def now(cls, freq=None): return Period(datetime.now(), freq=freq) - ...
- [x] xref #25725 Removes use of ``__unicode__`` from the all pyx, pxi pxi.in etc type files. This pattern was almost not used in the non-.py type files.
https://api.github.com/repos/pandas-dev/pandas/pulls/26416
2019-05-15T18:11:38Z
2019-05-15T23:32:25Z
2019-05-15T23:32:25Z
2019-05-16T00:15:53Z
CLN: remove __unicode__ from pandas.core.dtypes
diff --git a/pandas/core/dtypes/dtypes.py b/pandas/core/dtypes/dtypes.py index da762978f55cc..f93c445b26841 100644 --- a/pandas/core/dtypes/dtypes.py +++ b/pandas/core/dtypes/dtypes.py @@ -126,14 +126,11 @@ class PandasExtensionDtype(ExtensionDtype): isnative = 0 _cache = {} # type: Dict[str_type, 'PandasExt...
- [x] xref #25725 Removes use of ``__unicode__`` from the pandas.core.dtypes namespace.
https://api.github.com/repos/pandas-dev/pandas/pulls/26415
2019-05-15T18:02:33Z
2019-05-15T23:31:22Z
2019-05-15T23:31:22Z
2019-05-16T00:15:15Z
PLOT: Split matplotlib specific code from pandas plotting
diff --git a/asv_bench/benchmarks/timeseries.py b/asv_bench/benchmarks/timeseries.py index eea1df35c7711..7de1c42246ad5 100644 --- a/asv_bench/benchmarks/timeseries.py +++ b/asv_bench/benchmarks/timeseries.py @@ -5,7 +5,7 @@ from pandas import to_datetime, date_range, Series, DataFrame, period_range from pandas.tseri...
- [X] xref #14130 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry In order to be able to change pandas plotting backend, I think we need 3 main things: 1. Decouple the current matplotlib backend from the pandas plotting system, and just call it...
https://api.github.com/repos/pandas-dev/pandas/pulls/26414
2019-05-15T16:27:40Z
2019-06-08T23:23:01Z
2019-06-08T23:23:01Z
2019-06-08T23:23:07Z
Added conda update step and re-added gcsfs
diff --git a/ci/azure/windows.yml b/ci/azure/windows.yml index 86d445e343777..eeb03a0b28130 100644 --- a/ci/azure/windows.yml +++ b/ci/azure/windows.yml @@ -19,10 +19,13 @@ jobs: steps: - powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts" displayName: Add conda to PATH - - script: cond...
- [X] closes #26345 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26413
2019-05-15T15:11:16Z
2019-05-15T20:11:14Z
2019-05-15T20:11:14Z
2020-01-16T00:33:59Z
DEPR: deprecate get_values
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 1390e60179aae..3b237592122a4 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -615,6 +615,9 @@ Other deprecations Use the public attributes :attr:`~RangeIndex.start`, :attr:`~RangeIndex.stop` and...
Closes https://github.com/pandas-dev/pandas/issues/19617 Reviving an old branch I had lying around. So this was more a quick experiment to see what it involves. The main "problem" is that we ourselves use `get_values` in a bunch of places (eg `values_from_object` which is massively used). The current situation: ...
https://api.github.com/repos/pandas-dev/pandas/pulls/26409
2019-05-15T10:25:55Z
2019-07-01T15:57:42Z
2019-07-01T15:57:41Z
2019-07-01T15:57:47Z
BUG: MultiIndex not dropping nan level and invalid code value
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 49518c57fc846..71f427c3268e7 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -77,6 +77,42 @@ is respected in indexing. (:issue:`24076`, :issue:`16785`) df['2019-01-01 12:00:00+04:00':'2019-0...
- [x] closes #19387 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Please take note that another bug is also fixed in this PR: When the MultiIndex is constructed with code value < -1, a segmentation fault would be resulted in subsequent oper...
https://api.github.com/repos/pandas-dev/pandas/pulls/26408
2019-05-15T09:56:17Z
2019-06-01T14:56:35Z
2019-06-01T14:56:35Z
2019-06-02T08:40:33Z
DEPR: deprecate Series/DataFrame.compound
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index c29b61c9eb448..d38ee7b8b589a 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -257,6 +257,8 @@ Deprecations - Deprecated the ``units=M`` (months) and ``units=Y`` (year) parameters for ``units`` o...
xref https://github.com/pandas-dev/pandas/issues/18262 Not sure if we need to point to an alternative in the deprecation warning. I can put the exact "formula" for what we are currently calculating, but I don't know enough from finance to know if that is actually good to point to (eg I don't directly see that formul...
https://api.github.com/repos/pandas-dev/pandas/pulls/26405
2019-05-15T06:55:56Z
2019-05-16T07:15:28Z
2019-05-16T07:15:28Z
2019-11-21T01:17:50Z
Fix type annotations in pandas.core.indexes.datetimes
diff --git a/mypy.ini b/mypy.ini index 584c747a26f2e..3df8fd13a2a75 100644 --- a/mypy.ini +++ b/mypy.ini @@ -8,11 +8,5 @@ ignore_errors=True [mypy-pandas.core.indexes.datetimelike] ignore_errors=True -[mypy-pandas.core.indexes.datetimes] -ignore_errors=True - [mypy-pandas.core.indexes.period] ignore_errors=True -...
- [x] closes #26366 - [x] tests passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry `pandas/core/indexes/timedeltas.py` taken care of as well since the errors were the same.
https://api.github.com/repos/pandas-dev/pandas/pulls/26404
2019-05-15T06:53:47Z
2019-05-24T15:32:15Z
2019-05-24T15:32:15Z
2019-05-25T00:12:59Z
DEPR: Deprecate ordered=None for CategoricalDtype
diff --git a/doc/source/whatsnew/v0.23.0.rst b/doc/source/whatsnew/v0.23.0.rst index 41c946cc9a559..62cf977d8c8ac 100644 --- a/doc/source/whatsnew/v0.23.0.rst +++ b/doc/source/whatsnew/v0.23.0.rst @@ -935,13 +935,23 @@ In previous versions, the default value for the ``ordered`` parameter was ``Fals New behavior: -...
- [X] closes #26336 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry All of the logic related to breaking changes looks to be consolidated in `CategoricalDtype.update_dtype`, so I'm raising the warning there when a breaking change would occur and...
https://api.github.com/repos/pandas-dev/pandas/pulls/26403
2019-05-15T06:27:48Z
2019-07-03T08:26:38Z
2019-07-03T08:26:37Z
2019-11-28T04:31:01Z
DOC: Test doctests in pandas/core/tools/datetimes.py
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 6d8e03d0896ae..3d1ec637ae202 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -239,6 +239,10 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then pytest -q --doctest-modules pandas/core/groupby/groupby.py -k"-cumcount -describe -pipe" RET=$(...
- [x] closes #26401 - [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/26402
2019-05-15T05:33:36Z
2019-05-15T12:31:23Z
2019-05-15T12:31:23Z
2019-05-15T12:53:19Z
ENH: Support multiple opening hours intervals for BusinessHour
- [x] closes #15481 - [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/26400
2019-05-15T04:57:28Z
2019-06-03T07:51:55Z
null
2019-06-03T08:23:10Z
ENH: Support nested renaming / selection
diff --git a/doc/source/user_guide/groupby.rst b/doc/source/user_guide/groupby.rst index 4f116a42253e5..2014dbd9865f3 100644 --- a/doc/source/user_guide/groupby.rst +++ b/doc/source/user_guide/groupby.rst @@ -568,6 +568,67 @@ For a grouped ``DataFrame``, you can rename in a similar manner: ...
This adds special support for controlling the output column names when performing column-specific groupby aggregations. We use kwargs, using the keywords as the output names, and expecting tuples of `(selection, aggfunc)`. ```python In [2]: df = pd.DataFrame({'kind': ['cat', 'dog', 'cat', 'dog'], ...: ...
https://api.github.com/repos/pandas-dev/pandas/pulls/26399
2019-05-15T03:39:08Z
2019-05-30T01:29:41Z
2019-05-30T01:29:41Z
2019-05-30T01:29:59Z
Fix type annotations in pandas.core.resample
diff --git a/mypy.ini b/mypy.ini index f6d528a13de2f..169fa546f89e8 100644 --- a/mypy.ini +++ b/mypy.ini @@ -29,9 +29,6 @@ ignore_errors=True [mypy-pandas.core.panel] ignore_errors=True -[mypy-pandas.core.resample] -ignore_errors=True - [mypy-pandas.core.reshape.merge] ignore_errors=True diff --git a/pandas/cor...
Part of #25882 - [X] tests passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` This PR addresses the following mypy errors in **pandas.core.resample**: ``` pandas/core/resample.py:34: error: Need type annotation for '_shared_docs_kwargs' pandas/core/resample.py:876: error: All conditiona...
https://api.github.com/repos/pandas-dev/pandas/pulls/26398
2019-05-14T22:30:55Z
2019-05-15T23:46:51Z
2019-05-15T23:46:51Z
2019-05-16T01:28:03Z
CLN: remove compat.lrange
diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py index 6acd3c65e4bea..7036d0e1428fe 100644 --- a/pandas/compat/__init__.py +++ b/pandas/compat/__init__.py @@ -4,9 +4,6 @@ Cross-compatible functions for different versions of Python. -Key items to import for compatible code: -* lists: lrange() - O...
- [x] xref #25725, - [x] xref #26281, #26289 & #26319 Fourth and final part of the removal of ``compat.lrange`` from the code base.
https://api.github.com/repos/pandas-dev/pandas/pulls/26396
2019-05-14T18:34:49Z
2019-05-15T12:16:08Z
2019-05-15T12:16:08Z
2019-05-15T13:04:10Z
[TEST] Add two more parameters to the test_dti_add_sub_nonzero_mth_offset
diff --git a/pandas/tests/arithmetic/test_datetime64.py b/pandas/tests/arithmetic/test_datetime64.py index 910fa4818c5de..13adae279c989 100644 --- a/pandas/tests/arithmetic/test_datetime64.py +++ b/pandas/tests/arithmetic/test_datetime64.py @@ -1435,27 +1435,39 @@ def test_dt64arr_add_sub_offset_ndarray(self, tz_naive_...
- follow up the comment in #26292 - passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/26392
2019-05-14T15:32:51Z
2019-05-25T19:24:39Z
2019-05-25T19:24:39Z
2019-05-26T12:59:26Z
[PERF] Get rid of MultiIndex conversion in IntervalIndex.is_unique
diff --git a/asv_bench/benchmarks/index_object.py b/asv_bench/benchmarks/index_object.py index 908eaa3a9d214..0fdf46e7c64de 100644 --- a/asv_bench/benchmarks/index_object.py +++ b/asv_bench/benchmarks/index_object.py @@ -183,7 +183,7 @@ def time_get_loc(self): class IntervalIndexMethod: # GH 24813 - params =...
- xref #24813 - benchmark added - passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - whatsnew entry This PR follows #25159 (in which I broke something when merging). ``` All benchmarks: before after ratio [304d8d4b] [4ec1fe97] <master> <in...
https://api.github.com/repos/pandas-dev/pandas/pulls/26391
2019-05-14T15:16:05Z
2019-05-28T03:55:53Z
2019-05-28T03:55:53Z
2019-05-28T03:56:18Z
CLN: Cleanup code in parsers.pyx
diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx index e49e67b79e000..2eb19ef1dd082 100644 --- a/pandas/_libs/parsers.pyx +++ b/pandas/_libs/parsers.pyx @@ -41,7 +41,7 @@ import pandas._libs.lib as lib from pandas._libs.khash cimport ( khiter_t, kh_str_t, kh_init_str, kh_put_str, kh_exist_str...
https://api.github.com/repos/pandas-dev/pandas/pulls/26386
2019-05-14T06:50:27Z
2019-05-14T17:09:35Z
2019-05-14T17:09:35Z
2019-05-14T18:05:55Z
Remove Deprecated Azure CI Step
diff --git a/ci/azure/windows.yml b/ci/azure/windows.yml index 1e3390a7f8d9b..86d445e343777 100644 --- a/ci/azure/windows.yml +++ b/ci/azure/windows.yml @@ -17,14 +17,10 @@ jobs: CONDA_PY: "37" steps: - - task: CondaEnvironment@1 - inputs: - updateConda: no - packageSpecs: '' - - ...
Found this while investigating #26345 may or may not be related but figured worth a separate PR in either case
https://api.github.com/repos/pandas-dev/pandas/pulls/26384
2019-05-14T05:33:51Z
2019-05-15T12:20:45Z
2019-05-15T12:20:45Z
2019-05-15T14:42:54Z
Prefixed batch script commands with call
diff --git a/ci/deps/azure-windows-37.yaml b/ci/deps/azure-windows-37.yaml index 66ab307eb3244..5384e794d442a 100644 --- a/ci/deps/azure-windows-37.yaml +++ b/ci/deps/azure-windows-37.yaml @@ -1,9 +1,11 @@ name: pandas-dev channels: - defaults + - conda-forge dependencies: - beautifulsoup4 - bottleneck + ...
maybe fixes #26345
https://api.github.com/repos/pandas-dev/pandas/pulls/26383
2019-05-14T04:30:21Z
2019-05-15T14:45:05Z
null
2020-01-16T00:33:59Z
BUG: error calculating BusinessHourMixin.apply for long business hour per day
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index dacd433f112a5..6f4d589213be2 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -285,7 +285,7 @@ Timedelta - Bug in :func:`TimedeltaIndex.intersection` where for non-monotonic indices in some cases...
- [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew: handle the case where adding of business hour to the timestamp results in an ending time landing in the next business time period. Example Input: ```python bh = BusinessHour(n=4, start='00:00', end='23...
https://api.github.com/repos/pandas-dev/pandas/pulls/26381
2019-05-14T02:51:55Z
2019-05-17T17:50:06Z
2019-05-17T17:50:06Z
2019-05-17T17:50:13Z
BUG: Series.combine_first with mixed timezones
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index dacd433f112a5..976fe95d6ccd6 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -423,6 +423,7 @@ Reshaping - Bug in :func:`pandas.cut` where large bins could incorrectly raise an error due to an inte...
- [x] closes #26283 - [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/26379
2019-05-14T00:06:47Z
2019-05-19T23:55:20Z
null
2019-07-22T06:13:28Z
Fix type annotations in pandas.core.ops
diff --git a/mypy.ini b/mypy.ini index 54b2c59e1ba33..8ede269482f83 100644 --- a/mypy.ini +++ b/mypy.ini @@ -26,9 +26,6 @@ ignore_errors=True [mypy-pandas.core.internals.blocks] ignore_errors=True -[mypy-pandas.core.ops] -ignore_errors=True - [mypy-pandas.core.panel] ignore_errors=True diff --git a/pandas/core/...
Part of #25882 - [X] tests passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Corrects these errors in `pandas.core.ops`: ``` pandas/core/ops.py:632: error: Unsupported target for indexed assignment pandas/core/ops.py:633: error: Value of type "object" is not indexable pandas/core/ops....
https://api.github.com/repos/pandas-dev/pandas/pulls/26377
2019-05-13T20:12:58Z
2019-05-16T00:15:23Z
2019-05-16T00:15:23Z
2019-05-16T01:27:08Z
Remove extraneous brackets
diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index 0eeed483e3250..c0678575fd6f0 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -146,7 +146,7 @@ each as a separate date column. * list of lists. e.g. If [[1, 3]] -> combine columns 1 and 3 and parse as a sin...
Trivial documentation changes Dictionary should have one set of brackets (as seen below in documentation example `{'a': np.float64, 'b': np.int32}`). Brackets don't make sense around `'w' or 'a'`. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --dif...
https://api.github.com/repos/pandas-dev/pandas/pulls/26375
2019-05-13T17:47:50Z
2019-05-14T01:40:54Z
2019-05-14T01:40:54Z
2019-05-14T13:39:40Z
BUG: ngroups and len(groups) do not equal when grouping with a list of Grouper and column label (GH26326)
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index b89646d465fff..81651fcf9053d 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -444,9 +444,9 @@ Groupby/Resample/Rolling - Bug in :meth:`pandas.core.groupby.GroupBy.cumsum`, :meth:`pandas.core.group...
- [x] closes #26326 - [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/26374
2019-05-13T16:54:35Z
2019-05-20T00:23:09Z
2019-05-20T00:23:09Z
2019-05-20T00:23:13Z
Compat with numpy dev argsort (radix sort added)
diff --git a/pandas/compat/numpy/function.py b/pandas/compat/numpy/function.py index ef009f8ff4d77..572dd7272986b 100644 --- a/pandas/compat/numpy/function.py +++ b/pandas/compat/numpy/function.py @@ -18,9 +18,10 @@ easier to adjust to future upstream changes in the analogous numpy signatures. """ from collections i...
https://github.com/numpy/numpy/commit/12fb1015511ac3804d0785bb0d1fe539385548ad adds radix sort to np.argsort. For versions of NumPy with this change (>=1.17), we need to adjust our validator. Closes https://github.com/pandas-dev/pandas/issues/26361
https://api.github.com/repos/pandas-dev/pandas/pulls/26373
2019-05-13T16:13:58Z
2019-05-13T17:17:04Z
2019-05-13T17:17:04Z
2019-05-13T17:19:50Z
Misc Type Annotation fixes
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index d38ee7b8b589a..ca9fe0fe60faf 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -249,6 +249,7 @@ Other API Changes - Comparing :class:`Timestamp` with unsupported objects now returns :py:obj:`NotImpl...
Part of #25882 - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Cleanup of type annotations in files that only had a handful of straightforward errors (or no longer threw errors). These include: # pandas.core.util.hasing `pandas/core/util/hashing.py:8: error: Module 'pandas._libs' has no at...
https://api.github.com/repos/pandas-dev/pandas/pulls/26372
2019-05-13T15:20:49Z
2019-05-18T00:34:32Z
2019-05-18T00:34:32Z
2019-05-20T08:43:10Z
Fix type annotation for pandas.core.indexes.base
diff --git a/mypy.ini b/mypy.ini index 54b2c59e1ba33..f6d528a13de2f 100644 --- a/mypy.ini +++ b/mypy.ini @@ -5,9 +5,6 @@ follow_imports=silent [mypy-pandas.conftest,pandas.tests.*] ignore_errors=True -[mypy-pandas.core.indexes.base] -ignore_errors=True - [mypy-pandas.core.indexes.datetimelike] ignore_errors=True ...
- [x] closes #26363 - [x] tests passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26371
2019-05-13T15:19:17Z
2019-05-13T20:21:54Z
2019-05-13T20:21:54Z
2019-05-15T05:40:20Z
Fix broken link to contributing guide website
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 739dd96db4607..2e6e980242197 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -2,7 +2,7 @@ Whether you are a novice or experienced software developer, all contributions and suggestions are welcome! -Our main contributing guid...
- [ ] closes #xxxx - [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/26369
2019-05-13T15:02:38Z
2019-05-13T16:40:21Z
2019-05-13T16:40:21Z
2019-05-14T17:04:15Z
[WIP] Fix type annotations for Pandas.core.indexes.datetimelike
diff --git a/mypy.ini b/mypy.ini index 54b2c59e1ba33..9b1188cbedfa5 100644 --- a/mypy.ini +++ b/mypy.ini @@ -8,9 +8,6 @@ ignore_errors=True [mypy-pandas.core.indexes.base] ignore_errors=True -[mypy-pandas.core.indexes.datetimelike] -ignore_errors=True - [mypy-pandas.core.indexes.datetimes] ignore_errors=True di...
- [x] closes #26364 - [ ] tests passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26365
2019-05-13T09:35:20Z
2019-05-13T13:28:22Z
null
2019-05-13T13:40:18Z
BUG: DataFrame.join on tz aware index and column
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index dacd433f112a5..2caffab2edc21 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -297,6 +297,7 @@ Timezones - Bug in :func:`DataFrame.update` when updating with timezone aware data would return timezo...
- [x] closes #26335 - [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/26362
2019-05-13T05:57:16Z
2019-05-14T16:04:00Z
2019-05-14T16:03:59Z
2019-05-14T16:42:04Z
New benchmarks for parsing dates with dayfirst=True and format='%d-%m-%Y'
diff --git a/asv_bench/benchmarks/io/csv.py b/asv_bench/benchmarks/io/csv.py index c51fb09ad8671..a12e603a6017f 100644 --- a/asv_bench/benchmarks/io/csv.py +++ b/asv_bench/benchmarks/io/csv.py @@ -3,7 +3,7 @@ import numpy as np import pandas.util.testing as tm -from pandas import DataFrame, Categorical, date_range,...
- [x] closes #25848 - [x] tests added - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Gap in performance between use dayfirst or format is acceptable now. `asv run -E existing -b ParseDateComparison -a warmup_time=2 -a sample_time=2`: | io.csv.ParseDateComparison.time_read_csv_dayfirst |...
https://api.github.com/repos/pandas-dev/pandas/pulls/26360
2019-05-12T20:47:17Z
2019-05-14T17:13:01Z
2019-05-14T17:13:01Z
2019-05-14T17:13:05Z
BUG: groupby.agg returns incorrect results for uint64 cols (#26310)
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index d38ee7b8b589a..f0e8f79c542a8 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -443,6 +443,7 @@ Groupby/Resample/Rolling - Bug in :meth:`pandas.core.groupby.GroupBy.cumsum`, :meth:`pandas.core.group...
- [x] closes #26310 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry A way to avoid incorrect coercion to float64 in the case of uint64 input is to introduce an additional check to `ensure_int64_or_float64`
https://api.github.com/repos/pandas-dev/pandas/pulls/26359
2019-05-12T19:57:36Z
2019-05-18T14:45:06Z
2019-05-18T14:45:05Z
2019-05-18T14:45:37Z
BLD: Correct gcsfs install on Azure
diff --git a/ci/incremental/setup_conda_environment.cmd b/ci/incremental/setup_conda_environment.cmd index 565e7ec5943a9..db7de503e41b6 100644 --- a/ci/incremental/setup_conda_environment.cmd +++ b/ci/incremental/setup_conda_environment.cmd @@ -14,9 +14,10 @@ conda list conda remove --all -q -y -n pandas-dev @rem Sci...
Follow-up #26352 Also realized that the `gcsfs` install was placed in the wrong place (needs to be placed after the `activate` command). However, you will notice then that the install is the culprit for the earlier 3.7 build failures (something is not right on `conda-forge` and / with `gcsfs` and `3.7`). Note thou...
https://api.github.com/repos/pandas-dev/pandas/pulls/26358
2019-05-12T19:49:43Z
2019-05-12T20:34:08Z
2019-05-12T20:34:08Z
2019-05-15T02:17:55Z
CLN: Remove run_with_env.cmd
diff --git a/ci/run_with_env.cmd b/ci/run_with_env.cmd deleted file mode 100644 index 0661039a21fae..0000000000000 --- a/ci/run_with_env.cmd +++ /dev/null @@ -1,95 +0,0 @@ -:: EXPECTED ENV VARS: PYTHON_ARCH (either x86 or x64) -:: CONDA_PY (either 35, 36 etc. - only major version is extracted) -:: -:...
Was used for AppVeyor, which we dropped.
https://api.github.com/repos/pandas-dev/pandas/pulls/26357
2019-05-12T18:40:49Z
2019-05-12T20:02:55Z
2019-05-12T20:02:55Z
2019-05-13T08:14:32Z
BUG: Exception when frame constructed from dict of iterators
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index a829b72c53bc4..88e0f722d943a 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -459,6 +459,7 @@ Reshaping - Bug in :func:`pivot_table` where columns with ``NaN`` values are dropped even if ``dropna`...
- [x] closes #26349 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Allows iterators as values when instantiating DataFrames using dicts. Also collected the iterable-to-list functionality from core/series.py into core/common.py, so it is shar...
https://api.github.com/repos/pandas-dev/pandas/pulls/26356
2019-05-12T15:37:46Z
2019-05-20T00:24:37Z
2019-05-20T00:24:36Z
2019-05-20T00:24:42Z
BUG: Fix MultiIndex DataFrame to_csv() segfault
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index e0b4baf5d8543..990489042de3c 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -336,7 +336,7 @@ Indexing - Improved exception message when calling :meth:`DataFrame.iloc` with a list of non-numeric o...
- [x] closes #26303 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This fix for #26303 would avoid an indexing issue caused by using MultiIndexes which results to a segfault in the example provided in #26303.
https://api.github.com/repos/pandas-dev/pandas/pulls/26355
2019-05-12T13:15:24Z
2019-05-16T01:47:40Z
2019-05-16T01:47:39Z
2019-05-16T13:51:21Z
API: ExtensionArray.argsort places the missing value at the end
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index fd47ca14dc788..18dcaf1359fe3 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -459,6 +459,7 @@ Other API Changes - Most Pandas classes had a ``__bytes__`` method, which was used for getting a pytho...
- closes #21801 - tests added - passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - whatsnew entry `_values_for_argsort` returns different values for missing value in different EA. For example, missing value in `PandasArray` gets `np.nan` and in `PeriodArray` gets `-9223372036854775808` (in my m...
https://api.github.com/repos/pandas-dev/pandas/pulls/26354
2019-05-12T08:43:28Z
2019-06-30T05:31:42Z
null
2019-06-30T05:31:42Z
Add na_filter documentation to read_excel
diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index 0eeed483e3250..84110d07f600e 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -134,8 +134,24 @@ as NaN: '""" + fill("', '".join( sorted(_NA_VALUES)), 70, subsequent_indent=" ") + """'. keep_default_na : bool, def...
- [x] closes #25453 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry (Not needed)
https://api.github.com/repos/pandas-dev/pandas/pulls/26353
2019-05-12T07:41:56Z
2019-06-27T03:33:27Z
null
2019-06-27T03:33:27Z
BLD: Work around Azure Windows 3.7 failure
diff --git a/ci/deps/azure-windows-37.yaml b/ci/deps/azure-windows-37.yaml index 5384e794d442a..66ab307eb3244 100644 --- a/ci/deps/azure-windows-37.yaml +++ b/ci/deps/azure-windows-37.yaml @@ -1,11 +1,9 @@ name: pandas-dev channels: - defaults - - conda-forge dependencies: - beautifulsoup4 - bottleneck - ...
Closes #26345
https://api.github.com/repos/pandas-dev/pandas/pulls/26352
2019-05-12T07:15:08Z
2019-05-12T11:04:36Z
2019-05-12T11:04:36Z
2019-05-12T20:02:00Z
ENH: Allow quantile to accept an int
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index e0b4baf5d8543..dddc74793e16b 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -305,8 +305,7 @@ Numeric - Bug in :meth:`Series.divmod` and :meth:`Series.rdivmod` which would raise an (incorrect) ``V...
This change is to allow `quantile` to accept an `int` argument to make it easier to compute a set of evenly-spaced quantiles. For example, instead of typing `s.quantile([0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9])` or using `np.linspace` you can type `s.quantile(10)`. - [ - ] closes #xxxx (no issue) - [ x ] test...
https://api.github.com/repos/pandas-dev/pandas/pulls/26350
2019-05-11T21:20:49Z
2019-05-13T00:52:38Z
null
2019-05-13T00:52:53Z
DO NOT MERGE: Pinned hypothesis
diff --git a/ci/deps/azure-windows-37.yaml b/ci/deps/azure-windows-37.yaml index 5384e794d442a..65e720c182ae9 100644 --- a/ci/deps/azure-windows-37.yaml +++ b/ci/deps/azure-windows-37.yaml @@ -29,5 +29,5 @@ dependencies: - pytest-xdist - pytest-mock - moto - - hypothesis>=3.58.0 + - hypothesis=4.17.2 - is...
I noticed our CI failures started around the time a new hypothesis version was posted to conda-forge so seeing if pinning that fixes the issue
https://api.github.com/repos/pandas-dev/pandas/pulls/26346
2019-05-11T18:20:40Z
2019-05-11T19:14:29Z
null
2019-05-11T19:14:34Z
BUG: constructing a DataFrame using range doesn't work
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index e0b4baf5d8543..506b0b7a850e5 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -415,6 +415,7 @@ Reshaping - Bug in :func:`pivot_table` where columns with ``NaN`` values are dropped even if ``dropna`...
- [x] closes #26342 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Fixes bug when constructing a ``DataFrame`` using a ``range``.
https://api.github.com/repos/pandas-dev/pandas/pulls/26343
2019-05-11T15:35:04Z
2019-05-12T14:35:54Z
2019-05-12T14:35:54Z
2019-05-12T15:02:54Z
[WIP} Fix type annotation in pandas/core/api
diff --git a/mypy.ini b/mypy.ini index 2388183e09ca5..54b2c59e1ba33 100644 --- a/mypy.ini +++ b/mypy.ini @@ -5,9 +5,6 @@ follow_imports=silent [mypy-pandas.conftest,pandas.tests.*] ignore_errors=True -[mypy-pandas.core.api] -ignore_errors=True - [mypy-pandas.core.indexes.base] ignore_errors=True diff --git a/pa...
- [x] closes #26148 - [x] tests passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26341
2019-05-11T13:45:06Z
2019-05-12T14:52:13Z
2019-05-12T14:52:12Z
2019-05-13T08:18:47Z
Remove Python 2 in CLASSIFIERS
diff --git a/setup.py b/setup.py index d2c97c06e84ac..e289063fbd9fb 100755 --- a/setup.py +++ b/setup.py @@ -214,9 +214,7 @@ def build_extensions(self): 'Operating System :: OS Independent', 'Intended Audience :: Science/Research', 'Programming Language :: Python', - 'Programming Language :: Python ::...
Follow-up to https://github.com/pandas-dev/pandas/pull/26330#issuecomment-491438048 @WillAyd
https://api.github.com/repos/pandas-dev/pandas/pulls/26339
2019-05-10T21:42:14Z
2019-05-12T20:02:33Z
2019-05-12T20:02:33Z
2019-05-12T20:02:38Z
CLN: Remove python2-style longs in regexes
diff --git a/pandas/tests/indexing/multiindex/test_getitem.py b/pandas/tests/indexing/multiindex/test_getitem.py index db588deab30f1..2fbbdef33b633 100644 --- a/pandas/tests/indexing/multiindex/test_getitem.py +++ b/pandas/tests/indexing/multiindex/test_getitem.py @@ -83,9 +83,9 @@ def test_series_getitem_returns_scala...
- [x] xref #25725 Minor cleanup: Cleanup some regexes that guard against python2 style longs in their error messages.
https://api.github.com/repos/pandas-dev/pandas/pulls/26337
2019-05-10T18:36:53Z
2019-05-12T14:36:23Z
2019-05-12T14:36:23Z
2019-05-12T15:03:14Z
PERF: regression fixup for timestamp.TimestampConstruction.time_parse_iso8601_tz benchmark
diff --git a/pandas/_libs/tslibs/conversion.pyx b/pandas/_libs/tslibs/conversion.pyx index bee3e28874a05..04bb4454462a7 100644 --- a/pandas/_libs/tslibs/conversion.pyx +++ b/pandas/_libs/tslibs/conversion.pyx @@ -392,16 +392,15 @@ cdef _TSObject convert_datetime_to_tsobject(datetime ts, object tz, return obj -...
- [x] closes #N/A - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` For detection details see: https://github.com/pandas-dev/pandas/pull/26220#issuecomment-491143978 The slowdown was due to the use of `convert_to_tsobject` function. Asv result: master| patch| ...
https://api.github.com/repos/pandas-dev/pandas/pulls/26334
2019-05-10T10:02:04Z
2019-05-12T14:36:58Z
2019-05-12T14:36:58Z
2019-05-12T14:37:04Z
Remove Panel References from Tests
diff --git a/pandas/tests/groupby/test_groupby.py b/pandas/tests/groupby/test_groupby.py index 31065cbb6f69a..a9945589211f6 100644 --- a/pandas/tests/groupby/test_groupby.py +++ b/pandas/tests/groupby/test_groupby.py @@ -1,4 +1,4 @@ -from collections import OrderedDict, defaultdict +from collections import OrderedDict ...
ref #25632 this removes a good deal of Panel references from tests though not all (excluding anything for msgpack). I think after this and #25567 get merged we can starting finalizing the Panel removal and get out of docs as well
https://api.github.com/repos/pandas-dev/pandas/pulls/26332
2019-05-10T04:14:41Z
2019-05-12T20:45:33Z
2019-05-12T20:45:33Z
2020-01-16T00:34:00Z
Remove _DtypeOpsMixin
diff --git a/pandas/core/dtypes/base.py b/pandas/core/dtypes/base.py index 3fc5acf7de2fe..da8908ec39095 100644 --- a/pandas/core/dtypes/base.py +++ b/pandas/core/dtypes/base.py @@ -8,141 +8,7 @@ from pandas.core.dtypes.generic import ABCDataFrame, ABCIndexClass, ABCSeries -class _DtypeOpsMixin: - # Not all of p...
https://api.github.com/repos/pandas-dev/pandas/pulls/26331
2019-05-10T03:07:59Z
2019-05-12T14:37:29Z
2019-05-12T14:37:29Z
2019-05-12T14:37:40Z
Update python_requires to 3.5+
diff --git a/setup.py b/setup.py index d121a54ded2a1..d2c97c06e84ac 100755 --- a/setup.py +++ b/setup.py @@ -781,5 +781,5 @@ def srcpath(name=None, suffix='.pyx', subdir='src'): long_description=LONG_DESCRIPTION, classifiers=CLASSIFIERS, platforms='any', - python_requires='>=2.7,!=3.0.*,!=3.1....
https://api.github.com/repos/pandas-dev/pandas/pulls/26330
2019-05-10T02:34:30Z
2019-05-10T21:39:55Z
2019-05-10T21:39:55Z
2019-05-10T21:39:58Z
Robustness improvement for normalize.py
diff --git a/pandas/io/json/normalize.py b/pandas/io/json/normalize.py index fa4e35b08bf6e..46dc7fc3c37c8 100644 --- a/pandas/io/json/normalize.py +++ b/pandas/io/json/normalize.py @@ -111,6 +111,8 @@ def json_normalize(data, record_path=None, meta=None, record_path : string or list of strings, default None ...
- [x] closes #26284 - [x] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Improves robustness of json_normalize for inconsistently formatted json. Fixes all observations in #26284
https://api.github.com/repos/pandas-dev/pandas/pulls/26328
2019-05-09T23:39:13Z
2019-06-27T22:39:59Z
null
2019-06-27T22:39:59Z
Add type hints to dtypes/dtypes.py (CategoricalDtype)
diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py index 155638aca5560..9f5e3e8ee77f0 100644 --- a/pandas/core/arrays/categorical.py +++ b/pandas/core/arrays/categorical.py @@ -435,7 +435,7 @@ def ordered(self): return self.dtype.ordered @property - def dtype(self): + ...
This PR adds type hints to pandas/core/dtypes/dtypes.py down to and including the ``CategoricalDtype`` part of the module. I'm more familiar with Categoricals than DateTimeArrays etc. and because I think there are some difficulties in implementing type hints, I think it would make sense to add a general ruleset for add...
https://api.github.com/repos/pandas-dev/pandas/pulls/26327
2019-05-09T16:36:31Z
2019-06-28T16:25:04Z
2019-06-28T16:25:04Z
2019-06-28T16:25:39Z
BUG: fix numpy min/max compat with index (#26125)
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 578e24009d35a..e0b4baf5d8543 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -433,6 +433,7 @@ Other - Removed unused C functions from vendored UltraJSON implementation (:issue:`26198`) - Bug in...
- [x] closes #26125 - [x] 2 tests added - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry When working on the original issue, I came across something similar : - `RangeIndex` had its own implementation of `max`/`min` with the same behavior - `Index` & `RangeIndex` could...
https://api.github.com/repos/pandas-dev/pandas/pulls/26324
2019-05-09T08:49:14Z
2019-05-09T12:36:35Z
2019-05-09T12:36:35Z
2019-05-14T19:33:09Z
CLN: remove empty parenteses on class creation
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 2eb6d08ce22e5..675b4c1ea2d11 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -148,8 +148,8 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then invgrep -R --include="*.py" --include="*.pyx" -E "(DEPRECATED|DEPRECATE|Deprecated)(:|,|\.)" pandas ...
Minor clean-up: Some classes are created with a ``()`` which is not needed.
https://api.github.com/repos/pandas-dev/pandas/pulls/26323
2019-05-09T06:39:56Z
2019-05-09T23:53:14Z
2019-05-09T23:53:14Z
2019-05-10T21:58:24Z
CLN: remove compat.lmap
diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py index 90444efd2ea18..6acd3c65e4bea 100644 --- a/pandas/compat/__init__.py +++ b/pandas/compat/__init__.py @@ -5,7 +5,7 @@ Cross-compatible functions for different versions of Python. Key items to import for compatible code: -* lists: lrange(), lmap(...
- [x] xref #25725 Removal of ``compat.lmap`` from the code base.
https://api.github.com/repos/pandas-dev/pandas/pulls/26322
2019-05-09T06:28:37Z
2019-05-10T21:38:01Z
2019-05-10T21:38:01Z
2019-05-10T22:05:42Z
CLN: remove compat.lrange, part 3
diff --git a/pandas/tests/dtypes/test_inference.py b/pandas/tests/dtypes/test_inference.py index 47441dc49840d..77a80531159e4 100644 --- a/pandas/tests/dtypes/test_inference.py +++ b/pandas/tests/dtypes/test_inference.py @@ -16,7 +16,6 @@ import pytz from pandas._libs import iNaT, lib, missing as libmissing -from p...
- [x] xref #25725, #26281 & #26289 Third part of the removal of ``compat.lrange`` from the code base.
https://api.github.com/repos/pandas-dev/pandas/pulls/26319
2019-05-08T15:34:45Z
2019-05-09T12:31:58Z
2019-05-09T12:31:58Z
2019-05-09T13:23:23Z
Change doc reference to `read_csv` to `read_excel`
diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index 8aad47c231c70..0eeed483e3250 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -151,7 +151,7 @@ If a column or index contains an unparseable date, the entire column or index will be returned unaltered as an object d...
Trivial documentation change - [ ] 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/26317
2019-05-08T14:02:57Z
2019-05-08T14:58:25Z
2019-05-08T14:58:25Z
2019-05-08T15:25:51Z
[ENH] Use default EA repr for IntervalArray
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 050a26cc86d42..3c4625401b243 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -38,7 +38,25 @@ Backwards incompatible API changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :class:`pandas.core.groupby.Grou...
- [x] closes #25022 - [x] 1 test deleted - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26316
2019-05-08T11:55:19Z
2019-09-10T02:28:48Z
2019-09-10T02:28:48Z
2019-09-10T04:14:18Z
Remove other pandas.core.index files from MyPy Blacklist
diff --git a/mypy.ini b/mypy.ini index 2388183e09ca5..40df7aebd92f4 100644 --- a/mypy.ini +++ b/mypy.ini @@ -8,21 +8,9 @@ ignore_errors=True [mypy-pandas.core.api] ignore_errors=True -[mypy-pandas.core.indexes.base] -ignore_errors=True - [mypy-pandas.core.indexes.datetimelike] ignore_errors=True -[mypy-pandas.c...
- [x] xref #25882 - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26315
2019-05-08T11:11:20Z
2019-05-24T03:06:14Z
null
2019-05-24T03:06:14Z
DOC: Replace .values with .to_numpy() in enhancingperf
diff --git a/doc/source/user_guide/enhancingperf.rst b/doc/source/user_guide/enhancingperf.rst index 9941ffcc9de4d..525f9abb1d1ae 100644 --- a/doc/source/user_guide/enhancingperf.rst +++ b/doc/source/user_guide/enhancingperf.rst @@ -234,14 +234,18 @@ the rows, applying our ``integrate_f_typed``, and putting this in the...
As suggested in https://github.com/pandas-dev/pandas/issues/24807#issuecomment-454905470 Replace `.values` with `.to_numpy()` in the benchmark demonstration code.
https://api.github.com/repos/pandas-dev/pandas/pulls/26313
2019-05-08T02:07:47Z
2019-05-08T06:32:44Z
2019-05-08T06:32:44Z
2019-05-08T06:32:53Z
Added Hypothesis property-based test for timedelta addition
diff --git a/pandas/tests/scalar/timedelta/test_arithmetic.py b/pandas/tests/scalar/timedelta/test_arithmetic.py index 0fdbcf6ff4647..034918028433f 100644 --- a/pandas/tests/scalar/timedelta/test_arithmetic.py +++ b/pandas/tests/scalar/timedelta/test_arithmetic.py @@ -2,6 +2,8 @@ Tests for scalar Timedelta arithmetic ...
- [ ] closes #xxxx - [1 ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry - This is the first pull request I've done on any project in any language. Any feedback, pointing to docs, requests to work on other issues instead, etc. happily accepted. Than...
https://api.github.com/repos/pandas-dev/pandas/pulls/26312
2019-05-07T22:03:06Z
2019-05-13T21:01:06Z
null
2019-05-13T21:01:06Z
CLN;: remove compat.lzip
diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py index 8ff319802b200..90444efd2ea18 100644 --- a/pandas/compat/__init__.py +++ b/pandas/compat/__init__.py @@ -5,7 +5,7 @@ Cross-compatible functions for different versions of Python. Key items to import for compatible code: -* lists: lrange(), lmap(...
- [x] xref #25725 Removal of ``compat.lzip`` from the code base.
https://api.github.com/repos/pandas-dev/pandas/pulls/26311
2019-05-07T17:48:12Z
2019-05-08T04:18:40Z
2019-05-08T04:18:39Z
2019-05-08T04:32:55Z
Removed to_panel references
diff --git a/doc/source/reference/frame.rst b/doc/source/reference/frame.rst index 568acd5207bd1..cd3e6594f1d1e 100644 --- a/doc/source/reference/frame.rst +++ b/doc/source/reference/frame.rst @@ -243,7 +243,6 @@ Reshaping, sorting, transposing DataFrame.swapaxes DataFrame.melt DataFrame.squeeze - DataFra...
Follow up to fix some CI issues caused by #26287
https://api.github.com/repos/pandas-dev/pandas/pulls/26308
2019-05-07T14:58:10Z
2019-05-07T17:49:50Z
2019-05-07T17:49:50Z
2019-05-07T17:49:54Z
DOC: Improve links and fix issues on resample documentation page
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 6af5a4d7b9c14..f1bc4f8fd86fb 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7917,7 +7917,7 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None, Parameters ---------- - rule : str +...
- [x] closes #26275 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry (Not required IMO)
https://api.github.com/repos/pandas-dev/pandas/pulls/26306
2019-05-07T10:19:01Z
2019-05-09T12:37:09Z
2019-05-09T12:37:08Z
2019-05-09T12:37:13Z
DOC Fix inconsistencies
diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index 18c02f76a7911..c709cd9e9f0b2 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -1059,8 +1059,8 @@ def _create_method(cls, op, coerce_to_dtype=True): `op` cannot be stored in the ExtensionArray. The dtype of...
Fix a few inconsistencies in the docstrings. Not sure how pandas community feels about these kinds of fixes (and this is my first PR to pandas). I just notice things that are different from how they occur most of the time and decided to fix them up. ### Examples #### Add 's' to headers ``` Example ``` to `...
https://api.github.com/repos/pandas-dev/pandas/pulls/26301
2019-05-06T23:45:42Z
2019-05-08T10:12:02Z
2019-05-08T10:12:02Z
2019-05-08T16:51:13Z
Add type annotation to config_init
diff --git a/mypy.ini b/mypy.ini index 63ccb6eb994ba..c775f0c709123 100644 --- a/mypy.ini +++ b/mypy.ini @@ -20,9 +20,6 @@ ignore_errors=True [mypy-pandas.core.computation.pytables] ignore_errors=True -[mypy-pandas.core.config_init] -ignore_errors=True - [mypy-pandas.core.indexes.base] ignore_errors=True diff -...
- [X] closes #26297 - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/26300
2019-05-06T23:24:09Z
2019-05-07T01:37:05Z
2019-05-07T01:37:05Z
2019-05-09T17:22:59Z
BUG-20629 allow .at accessor with CategoricalIndex
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 84f9fd8906dbf..582568b4f1ec2 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -301,7 +301,7 @@ Bug Fixes Categorical ^^^^^^^^^^^ -- +- Bug in :func:`DataFrame.at` and :func:`Series.at` that woul...
- [X] closes #20629 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry This PR alters exception handling in various `get_value` functions to make calls to `.at` on non-integer `CategoricalIndex` fall back on positional indexing methods instead of r...
https://api.github.com/repos/pandas-dev/pandas/pulls/26298
2019-05-06T20:43:42Z
2019-05-20T00:23:56Z
2019-05-20T00:23:56Z
2019-05-20T00:24:05Z
Fix type annotations in pandas.core.base
diff --git a/mypy.ini b/mypy.ini index 63ccb6eb994ba..d59d20e10d571 100644 --- a/mypy.ini +++ b/mypy.ini @@ -8,9 +8,6 @@ ignore_errors=True [mypy-pandas.core.api] ignore_errors=True -[mypy-pandas.core.base] -ignore_errors=True - [mypy-pandas.core.computation.expr] ignore_errors=True diff --git a/pandas/core/bas...
- [X] closes #26296 - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/26297
2019-05-06T20:40:52Z
2019-05-07T00:21:51Z
2019-05-07T00:21:51Z
2019-05-07T00:28:51Z
Fix type annotations in pandas.core.computation
diff --git a/mypy.ini b/mypy.ini index 181c47b1a9617..2388183e09ca5 100644 --- a/mypy.ini +++ b/mypy.ini @@ -8,15 +8,6 @@ ignore_errors=True [mypy-pandas.core.api] ignore_errors=True -[mypy-pandas.core.computation.expr] -ignore_errors=True - -[mypy-pandas.core.computation.ops] -ignore_errors=True - -[mypy-pandas.co...
- [X] closes #26294 - [X] tests passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/26295
2019-05-06T19:28:32Z
2019-05-08T03:51:26Z
2019-05-08T03:51:26Z
2019-05-08T12:34:47Z
[BUG] Adding offset with nonzero month to DatetimeIndex (GH26258)
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 578e24009d35a..ec0a5565b582d 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -276,6 +276,7 @@ Datetimelike - Improved :class:`Timestamp` type checking in various datetime functions to prevent exce...
- [x] closes #26258 - [x] 1 test added - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26292
2019-05-06T12:08:38Z
2019-05-12T20:51:59Z
2019-05-12T20:51:59Z
2019-05-14T05:23:27Z
CLN: remove compat.lrange, part II
diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index eb5511c2f91cb..701d4bb58bb08 100755 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -18,7 +18,7 @@ import pandas._libs.parsers as parsers from pandas._libs.tslibs import parsing import pandas.compat as compat -from pandas.compat import lrange, l...
- [ ] xref #25725 & #26281 Second part of the removal of ``compat.lrange`` from the code base.
https://api.github.com/repos/pandas-dev/pandas/pulls/26289
2019-05-06T04:44:04Z
2019-05-07T00:26:13Z
2019-05-07T00:26:13Z
2019-05-07T03:52:33Z
Remove Panel References
diff --git a/pandas/compat/numpy/function.py b/pandas/compat/numpy/function.py index f5f018ae23a4b..ef009f8ff4d77 100644 --- a/pandas/compat/numpy/function.py +++ b/pandas/compat/numpy/function.py @@ -287,23 +287,6 @@ def validate_take_with_convert(convert, args, kwargs): method='b...
progress towards #25632
https://api.github.com/repos/pandas-dev/pandas/pulls/26287
2019-05-06T03:40:35Z
2019-05-07T11:28:00Z
2019-05-07T11:28:00Z
2019-05-07T14:53:18Z
Update broken link to contributing.rst in contributing.md
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index faff68b636109..739dd96db4607 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -2,7 +2,7 @@ Whether you are a novice or experienced software developer, all contributions and suggestions are welcome! -Our main contributing guid...
https://api.github.com/repos/pandas-dev/pandas/pulls/26286
2019-05-05T19:25:25Z
2019-05-05T21:19:15Z
2019-05-05T21:19:15Z
2019-05-05T21:19:19Z
BUG: Fix #26210: MultiIndex Sorting with NaNs
diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py index bbe01ff9d2dc4..1f65bd651165c 100644 --- a/pandas/core/dtypes/cast.py +++ b/pandas/core/dtypes/cast.py @@ -563,7 +563,13 @@ def invalidate_string_dtypes(dtype_set): def coerce_indexer_dtype(indexer, categories): - """ coerce the indexer i...
- [x] closes #xxxx - [x] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26282
2019-05-04T16:56:26Z
2019-06-27T22:15:54Z
null
2019-06-27T22:15:54Z
CLN: remove uses of compat.lrange, part I
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 0f44d9ba60ec7..125df6501f54d 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -15,7 +15,7 @@ from pandas._config import config from pandas._libs import Timestamp, iNaT, properties -from pandas.compat import lrange, lzip, set_funct...
- [ ] xref #25725 This PR starts the removal of ``compat.lrange`` from the code base. This removal requires some attention, as in most cases a plain ``range(...)`` should be used, but in some cases a ``list(range(...))`` needs to be used. ``lrange`` is used quite a lot, so there will be 1 or 2 more PRs, before th...
https://api.github.com/repos/pandas-dev/pandas/pulls/26281
2019-05-04T07:29:26Z
2019-05-05T17:34:19Z
2019-05-05T17:34:19Z
2019-05-05T18:30:49Z
Remove pandas.core.index.datetimelike from MyPy Blacklist
diff --git a/mypy.ini b/mypy.ini index eea6a3b551677..f8b37ee5b8663 100644 --- a/mypy.ini +++ b/mypy.ini @@ -3,7 +3,4 @@ ignore_missing_imports=True follow_imports=silent [mypy-pandas.conftest,pandas.tests.*] -ignore_errors=True - -[mypy-pandas.core.indexes.datetimelike] -ignore_errors=True +ignore_errors=True \ No...
- [x] closes #25882 - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26280
2019-05-04T02:11:32Z
2019-06-25T12:34:27Z
2019-06-25T12:34:26Z
2019-06-25T12:34:45Z
CLN: Remove compat.re_type
diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py index 32b3d318dd57c..8ff319802b200 100644 --- a/pandas/compat/__init__.py +++ b/pandas/compat/__init__.py @@ -13,7 +13,6 @@ import platform import struct import sys -from typing import Pattern PY36 = sys.version_info >= (3, 6) PY37 = sys.version_...
- [ ] xref #25725 and #26252 This removes ``compat.re_type`` from the code base.
https://api.github.com/repos/pandas-dev/pandas/pulls/26279
2019-05-03T18:58:07Z
2019-05-05T04:17:40Z
2019-05-05T04:17:40Z
2019-05-05T05:50:46Z
DOC, CI: Correct wide_to_long docstring and add reshape/melt to CI
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index c314ae03a7daf..4468b5e07cc07 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -245,6 +245,7 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then pandas/core/reshape/pivot.py \ pandas/core/reshape/reshape.py \ pandas/core/res...
- [x] closes #25733 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Fix the erroneous example in the wide_to_long docstring (non-integer suffixes portion) Update code_checks to include reshape/melt.py Edits based on the PR made by `sanjusci` (...
https://api.github.com/repos/pandas-dev/pandas/pulls/26273
2019-05-03T06:41:29Z
2019-05-03T14:52:15Z
2019-05-03T14:52:15Z
2019-05-03T14:57:26Z
WIP: Maintain Int64 Precision on Construction
diff --git a/pandas/core/arrays/integer.py b/pandas/core/arrays/integer.py index 3f0a3590e24a3..ba01d7338a8d0 100644 --- a/pandas/core/arrays/integer.py +++ b/pandas/core/arrays/integer.py @@ -1,11 +1,12 @@ import copy import sys -from typing import Type +from typing import Sequence, Type import warnings import n...
- [X] closes #26259 - [X] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This is not the final implementation but providing for discussion and feedback. Consideration points are: - `_from_sequence_of_strings` was hacked to just return an Interval...
https://api.github.com/repos/pandas-dev/pandas/pulls/26272
2019-05-03T04:22:50Z
2019-07-11T14:37:12Z
null
2020-01-16T00:34:05Z
Python2 String Handling Cleanup in parsers.pyx
diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx index a6512080eb428..e49e67b79e000 100644 --- a/pandas/_libs/parsers.pyx +++ b/pandas/_libs/parsers.pyx @@ -21,16 +21,14 @@ from cython import Py_ssize_t from cpython cimport (PyObject, PyBytes_FromString, PyBytes_AsString, ...
Just removing some old Py2 cruft hanging around in parsers.pyx
https://api.github.com/repos/pandas-dev/pandas/pulls/26270
2019-05-03T00:07:27Z
2019-05-03T13:23:36Z
2019-05-03T13:23:36Z
2020-01-16T00:34:06Z
Canonicalize CRAN links
diff --git a/doc/source/getting_started/comparison/comparison_with_r.rst b/doc/source/getting_started/comparison/comparison_with_r.rst index dfd388125708e..2957430666b8a 100644 --- a/doc/source/getting_started/comparison/comparison_with_r.rst +++ b/doc/source/getting_started/comparison/comparison_with_r.rst @@ -31,7 +3...
- [~] closes #xxxx - [~] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [~] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/26268
2019-05-02T18:32:10Z
2019-05-02T20:24:07Z
2019-05-02T20:24:07Z
2019-05-03T06:26:07Z
DOC: Add regex example in str.split docstring
diff --git a/pandas/core/strings.py b/pandas/core/strings.py index f78997a506f94..84927a149023a 100644 --- a/pandas/core/strings.py +++ b/pandas/core/strings.py @@ -2255,7 +2255,7 @@ def cat(self, others=None, sep=None, na_rep=None, join=None): name=self._orig.name) return result ...
- [x] closes #25296 - [x] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Adding the regex example in the `str.split()` documentation to make people aware of the need to escape special characters when using regular expressions as the pattern. Error...
https://api.github.com/repos/pandas-dev/pandas/pulls/26267
2019-05-02T15:26:25Z
2019-05-03T05:50:10Z
2019-05-03T05:50:10Z
2019-05-03T06:47:43Z
Clean up Py2 Influence in move.c
diff --git a/pandas/util/move.c b/pandas/util/move.c index f561f9081439d..1c29a4c214909 100644 --- a/pandas/util/move.c +++ b/pandas/util/move.c @@ -7,16 +7,9 @@ Distributed under the terms of the BSD Simplified License. The full license is in the LICENSE file, distributed with this software. */ +#define PY_SSIZE_T...
More extension module review / cleanup to get rid of Python2 traces
https://api.github.com/repos/pandas-dev/pandas/pulls/26266
2019-05-02T04:58:51Z
2019-05-02T12:15:07Z
2019-05-02T12:15:07Z
2020-01-16T00:34:06Z
Remove usage of register keyword in Extension Modules
diff --git a/pandas/_libs/src/parser/tokenizer.c b/pandas/_libs/src/parser/tokenizer.c index 3a6c7ba07a444..fd5fc0df299ae 100644 --- a/pandas/_libs/src/parser/tokenizer.c +++ b/pandas/_libs/src/parser/tokenizer.c @@ -45,7 +45,7 @@ void coliter_setup(coliter_t *self, parser_t *parser, int i, int start) { self->line...
- [X] closes #26263 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry ASV results show no difference: ```sh BENCHMARKS NOT SIGNIFICANTLY CHANGED. ``` As I am fairly certain this keyword was being entirely ignored by the compilers anyway (s...
https://api.github.com/repos/pandas-dev/pandas/pulls/26264
2019-05-02T04:00:39Z
2019-05-05T21:15:51Z
2019-05-05T21:15:51Z
2020-01-16T00:34:01Z
CLN: clean more uses of python2-style super()
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 51edc218cc2bd..856c0f5936079 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -130,6 +130,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then invgrep -R --include="*.py" --include="*.pyx" -E "# -\*- coding: utf-8 -\*-" pandas scripts RET...
- [x] xref #25725 & #26177 Simplifies the uses of ``super`` by converting to use python3 idioms. This is a followup to #26177, focusing on uses of ``super`` in class methods. Also adds a check for python2-style uses of ``super`` in code_checks.sh.
https://api.github.com/repos/pandas-dev/pandas/pulls/26261
2019-05-01T20:14:09Z
2019-05-01T21:32:02Z
2019-05-01T21:32:02Z
2019-05-01T21:34:24Z
CLN: Removing dead code in plotting and minor refactoring
diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index a0057275d901e..831694a3eba9c 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -401,22 +401,8 @@ def _add_table(self): def _post_plot_logic_common(self, ax, data): """Common post process for each axes""" - ...
Follow up of #26185 . This delete dead code from the `MPLPlot._post_plot_logic_common` and move the change from #26185 into` LinePlot._post_plot_logic`. In detail, the change are only executed when the `self.__need_to_set_index` is True The `self._need_to_set_index` variable is only set if you call `_get_xticks`....
https://api.github.com/repos/pandas-dev/pandas/pulls/26260
2019-05-01T18:00:36Z
2019-05-02T16:55:58Z
2019-05-02T16:55:58Z
2019-05-27T12:19:16Z
[BUG] Add is_coerce argument to func array_to_datetime_object (GH26122)
diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 3e559e771f126..a4c5f1bdb439d 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -273,7 +273,7 @@ Datetimelike - Bug in :class:`DataFrame` and :class:`Series` where timezone aware data with ``dtype='d...
- closes #26122 - 1 test added - passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - whatsnew entry added
https://api.github.com/repos/pandas-dev/pandas/pulls/26257
2019-05-01T15:58:46Z
2019-05-07T01:59:20Z
2019-05-07T01:59:20Z
2019-05-07T01:59:30Z
DOC: Test doctests in pandas/core/groupby/groupby.py
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 51edc218cc2bd..1f9ada185f9a3 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -231,6 +231,10 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then -k"-_set_axis_name -_xs -describe -droplevel -groupby -interpolate -pct_change -pipe -reindex -r...
- [x] closes #26254 - [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/26255
2019-05-01T08:12:04Z
2019-05-01T21:46:23Z
2019-05-01T21:46:22Z
2019-05-01T23:21:01Z
Fix type annotation in pandas.compat
diff --git a/mypy.ini b/mypy.ini index 596d71c77317e..63ccb6eb994ba 100644 --- a/mypy.ini +++ b/mypy.ini @@ -5,9 +5,6 @@ follow_imports=silent [mypy-pandas.conftest,pandas.tests.*] ignore_errors=True -[mypy-pandas.compat] -ignore_errors=True - [mypy-pandas.core.api] ignore_errors=True diff --git a/pandas/compat...
- [X] closes #26251 - [X] tests passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/26252
2019-04-30T23:56:08Z
2019-05-01T23:27:00Z
2019-05-01T23:27:00Z
2019-05-02T12:30:28Z