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
BUG/DEPR: deprecate Categorical take default behaviour + fix Series[categorical].take
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index c128058858c17..2440a8d586c96 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -891,6 +891,7 @@ Deprecations removed in a future version (:issue:`20419`). - ``DatetimeIndex.offset`` is deprecated...
closes #20664 I might be unavailable for the next few hours, so I'm just putting this up here, even though it includes changes from https://github.com/pandas-dev/pandas/pull/20814 in the first commit. Once that is merged, this can be merged on top of master and it'll just have the categorical changes.
https://api.github.com/repos/pandas-dev/pandas/pulls/20841
2018-04-27T11:17:58Z
2018-04-30T11:55:36Z
2018-04-30T11:55:35Z
2018-04-30T12:04:25Z
BUG: concat of Series of EA and other dtype fails
diff --git a/pandas/core/dtypes/concat.py b/pandas/core/dtypes/concat.py index 377ef7ad7e4f8..4aa74cdbbc2c0 100644 --- a/pandas/core/dtypes/concat.py +++ b/pandas/core/dtypes/concat.py @@ -175,7 +175,7 @@ def is_nonempty(x): return _concat_sparse(to_concat, axis=axis, typs=typs) extensions = [is_extensi...
Closes #20832
https://api.github.com/repos/pandas-dev/pandas/pulls/20840
2018-04-27T09:43:18Z
2018-04-29T21:06:25Z
2018-04-29T21:06:24Z
2018-04-30T11:46:55Z
Handle duplicate column names in select_dtypes and get_dummies
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index 5a0b4bb20f774..eb6c212731822 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -1359,6 +1359,7 @@ Reshaping - Bug in :meth:`DataFrame.astype` where column metadata is lost when converting to categor...
Functions `select_dtypes` and `get_dummies` previously failed on DataFrames with duplicate column names and had strange behavior as shown below. This PR fixes that strange behavior. Previous behavior: ```python In [6]: df Out[6]: col1 col1 0 1 a 1 2 b In [7]: df.select_dtypes(include=['int'...
https://api.github.com/repos/pandas-dev/pandas/pulls/20839
2018-04-27T07:48:11Z
2018-05-05T12:59:06Z
2018-05-05T12:59:06Z
2018-05-06T06:12:05Z
PERF: Faster Series.__getattribute__
diff --git a/asv_bench/benchmarks/series_methods.py b/asv_bench/benchmarks/series_methods.py index 478aba278029c..3f6522c3403d9 100644 --- a/asv_bench/benchmarks/series_methods.py +++ b/asv_bench/benchmarks/series_methods.py @@ -121,3 +121,16 @@ def setup(self): def time_dir_strings(self): dir(self.s) +...
Closes #19764
https://api.github.com/repos/pandas-dev/pandas/pulls/20834
2018-04-26T19:51:13Z
2018-05-01T06:45:20Z
2018-05-01T06:45:19Z
2019-05-06T19:37:36Z
TST: Fixed failures in JSON asserts
diff --git a/pandas/tests/extension/json/array.py b/pandas/tests/extension/json/array.py index 95f868e89ac39..2e75bb3b8c326 100644 --- a/pandas/tests/extension/json/array.py +++ b/pandas/tests/extension/json/array.py @@ -105,6 +105,12 @@ def take(self, indexer, allow_fill=True, fill_value=None): def copy(self, dee...
Fixes an occasional failure in the json tests. They'd fail when the Series held objects of equal length. ```pytb pandas/tests/extension/json/test_json.py:114: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _...
https://api.github.com/repos/pandas-dev/pandas/pulls/20827
2018-04-26T03:15:50Z
2018-04-26T12:18:15Z
2018-04-26T12:18:15Z
2018-04-26T12:18:18Z
Fixed read_csv with CategoricalDtype with boolean categories (20498)
diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst index 4ff3cc728f7f7..9b32034defda0 100644 --- a/doc/source/whatsnew/v0.24.0.rst +++ b/doc/source/whatsnew/v0.24.0.rst @@ -1369,6 +1369,7 @@ Current Behavior: Notice how we now instead output ``np.nan`` itself instead of a stringified form...
- [x] closes #20498 - [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/20826
2018-04-25T22:01:21Z
2018-11-27T16:17:27Z
2018-11-27T16:17:26Z
2018-11-27T16:17:32Z
DOC: Removed duplicate returns section
diff --git a/pandas/core/window.py b/pandas/core/window.py index 96630258c3e50..d7f9f7c85fbbc 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -1271,12 +1271,12 @@ def kurt(self, **kwargs): check_minp=_require_min_periods(4), **kwargs) _shared_docs['quantile'] = deden...
Closes https://github.com/pandas-dev/pandas/issues/20822
https://api.github.com/repos/pandas-dev/pandas/pulls/20823
2018-04-25T20:45:16Z
2018-04-26T01:07:06Z
2018-04-26T01:07:06Z
2018-04-26T01:07:06Z
Change _can_hold_na to a class attribute and document that it shouldn't be changed
diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index 9958be47267ee..f1a81b5eefddd 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -38,10 +38,9 @@ class ExtensionArray(object): * copy * _concat_same_type - Some additional methods are available to satisfy p...
- [x] closes #20761 - [x] tests added / passed - removed tests dependent on `_can_hold_na` - [x ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry - not needed because it is part of `ExtensionArray` support new for v0.23 Replaces pull request #20815 (see discussion there f...
https://api.github.com/repos/pandas-dev/pandas/pulls/20819
2018-04-25T16:11:04Z
2018-04-26T15:34:46Z
2018-04-26T15:34:45Z
2018-06-29T14:00:47Z
ExtensionArray.take default implementation
diff --git a/pandas/api/extensions/__init__.py b/pandas/api/extensions/__init__.py index cc09204d992d8..3e6e192a3502c 100644 --- a/pandas/api/extensions/__init__.py +++ b/pandas/api/extensions/__init__.py @@ -2,5 +2,6 @@ from pandas.core.accessor import (register_dataframe_accessor, # noqa ...
Implements a take interface that's compatible with NumPy and optionally pandas' NA semantics. ```python In [1]: import pandas as pd In [2]: from pandas.tests.extension.decimal.array import * In [3]: arr = DecimalArray(['1.1', '1.2', '1.3']) In [4]: arr.take([0, 1, -1]) Out[4]: DecimalArray(array(['1.1', ...
https://api.github.com/repos/pandas-dev/pandas/pulls/20814
2018-04-24T19:03:37Z
2018-04-27T13:06:07Z
2018-04-27T13:06:06Z
2022-11-30T02:56:54Z
CLN: Continued indexes/test_base.py cleanup
diff --git a/pandas/tests/indexes/test_base.py b/pandas/tests/indexes/test_base.py index 7cd880b51661d..afb6653b1e694 100644 --- a/pandas/tests/indexes/test_base.py +++ b/pandas/tests/indexes/test_base.py @@ -62,9 +62,9 @@ def generate_index_types(self, skip_index_keys=[]): Return a generator of the various in...
progress towards #20812
https://api.github.com/repos/pandas-dev/pandas/pulls/20813
2018-04-24T18:21:32Z
2018-04-27T10:56:05Z
2018-04-27T10:56:05Z
2018-05-14T21:11:05Z
Fixed typo
diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst index 750b260c7f228..66d183d910000 100644 --- a/doc/source/indexing.rst +++ b/doc/source/indexing.rst @@ -1773,7 +1773,7 @@ These both yield the same results, so which should you use? It is instructive to of operations on these and why method 2 (``.loc``) ...
I believe it should be either `Then another Python operation ``dfmi_with_one['second']`` happens.` or `Then another Python operation ``dfmi_with_one['second']`` selects the series indexed by ``'second'``.` . Not `Then another Python operation ``dfmi_with_one['second']`` selects the series indexed by ``'second'`` happe...
https://api.github.com/repos/pandas-dev/pandas/pulls/20811
2018-04-24T16:44:13Z
2018-04-24T19:13:29Z
2018-04-24T19:13:29Z
2018-04-24T19:13:31Z
BUG: Fixed NDFrame.transform('abs')
diff --git a/pandas/core/apply.py b/pandas/core/apply.py index 8fb74e2e87174..ac173c5182bc7 100644 --- a/pandas/core/apply.py +++ b/pandas/core/apply.py @@ -111,8 +111,14 @@ def get_result(self): # string dispatch if isinstance(self.f, compat.string_types): - self.kwds['axis'] = self.axis...
Closes https://github.com/pandas-dev/pandas/issues/19760 So this is a hacky workaround. I think we would ideally whitelist a set of valid NDFrame.transform methods, but I don't want to break things. What would that list include? - abs - pct_change - shift - tshift - cum*
https://api.github.com/repos/pandas-dev/pandas/pulls/20800
2018-04-23T18:50:57Z
2018-04-25T20:21:41Z
2018-04-25T20:21:41Z
2018-04-25T20:21:44Z
BUG: Coerce to object for mixed concat
diff --git a/pandas/core/dtypes/concat.py b/pandas/core/dtypes/concat.py index 0501493e718d0..377ef7ad7e4f8 100644 --- a/pandas/core/dtypes/concat.py +++ b/pandas/core/dtypes/concat.py @@ -8,6 +8,7 @@ from pandas.core.dtypes.common import ( is_categorical_dtype, is_sparse, + is_extension_array_dtype, ...
- [x] closes #20762 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/20799
2018-04-23T16:54:41Z
2018-04-24T07:48:41Z
2018-04-24T07:48:40Z
2018-04-24T08:50:22Z
BUG: fix to_latex() when using MultiIndex with NaN in (#14249) (v2)
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index e19aedac80213..46c972a9fa574 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -1148,6 +1148,10 @@ I/O - Bug in :func:`read_csv` where missing values were not being handled properly when ``keep_defa...
This is an improved version of #19910 cleaning up MultiIndex handling in the process. - [x] closes #14249 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry ~~I quickly looked at some other issues that this didn't originally aim to address and ...
https://api.github.com/repos/pandas-dev/pandas/pulls/20797
2018-04-23T15:53:12Z
2018-04-25T01:28:02Z
2018-04-25T01:28:00Z
2018-04-25T01:29:18Z
ENH: Implemented lazy iteration
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index 3c0dd646aa502..ba2e63c20d3f8 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -103,6 +103,7 @@ def setup(self): self.df2 = DataFrame(np.random.randn(N * 50, 10)) ...
Fixes GH20783. - [x] closes #20783 - [x] no tests needed because just internal implementation change - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` * there are some failures on existing code - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/20796
2018-04-23T14:52:30Z
2018-12-25T17:59:10Z
2018-12-25T17:59:10Z
2018-12-25T23:03:58Z
DOC/API: expose ExtensionArray in public api
diff --git a/doc/source/api.rst b/doc/source/api.rst index e43632ea46bfb..93edd090d846b 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -2549,6 +2549,8 @@ objects. api.extensions.register_dataframe_accessor api.extensions.register_series_accessor api.extensions.register_index_accessor + api.ex...
cc @jorisvandenbossche do you want to include these in the public API docs? It's nice to have a place to link to I think.
https://api.github.com/repos/pandas-dev/pandas/pulls/20795
2018-04-23T14:21:52Z
2018-04-24T07:51:19Z
2018-04-24T07:51:19Z
2018-04-24T07:51:24Z
TST: ExtensionArrays disallow .values attribute
diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index 97a764fa7dbe8..1a76797afd9b9 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -61,7 +61,7 @@ class ExtensionArray(object): ExtensionArrays are limited to 1 dimension. - They may be backed by none, one, or m...
xref https://github.com/pandas-dev/pandas/issues/20735. Adds a test to ensure EA authors don't use the `.values` or `._values` attribute, which can give problems with pandas internals depending on how the data is stored.
https://api.github.com/repos/pandas-dev/pandas/pulls/20794
2018-04-23T12:03:45Z
2018-04-24T10:28:32Z
2018-04-24T10:28:32Z
2018-04-24T11:26:19Z
DOC: add concatenation-section to text.rst
diff --git a/doc/source/text.rst b/doc/source/text.rst index da8e40892716e..bcbf7f0ef78d7 100644 --- a/doc/source/text.rst +++ b/doc/source/text.rst @@ -199,6 +199,75 @@ regular expression object will raise a ``ValueError``. --------------------------------------------------------------------------- ValueErro...
As requested by @jreback in #20347.
https://api.github.com/repos/pandas-dev/pandas/pulls/20790
2018-04-23T06:01:11Z
2018-04-24T10:01:49Z
2018-04-24T10:01:49Z
2018-04-24T18:11:31Z
DEPR: removed long deprecated input param 'axis' in .replace()
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index c194d98a89789..3320bd224d5fb 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -1019,6 +1019,7 @@ Removal of prior version deprecations/changes ``ambiguous='infer'``, and ``infer_dst=False`` to ``...
- [x] closes additional request in PR https://github.com/pandas-dev/pandas/pull/20271 - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/20789
2018-04-22T21:11:40Z
2018-05-03T00:19:49Z
2018-05-03T00:19:49Z
2018-05-03T00:19:53Z
BUG: Switch more size_t references to int64_t
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index bcc442189bf11..71ac8712eea0a 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -1140,6 +1140,7 @@ I/O - Bug in :func:`read_msgpack` with a non existent file is passed in Python 2 (:issue:`15296`) -...
closes #20785 - [ ] 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/20786
2018-04-22T12:10:39Z
2018-04-24T10:03:53Z
2018-04-24T10:03:53Z
2018-04-24T10:37:53Z
DEPR: remove v018 resample compatibilitiy
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index e19aedac80213..08285ba852ff6 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -555,7 +555,6 @@ Convert to an xarray DataArray p.to_xarray() - .. _whatsnew_0230.api_breaking.core_common: ...
closes #20554
https://api.github.com/repos/pandas-dev/pandas/pulls/20782
2018-04-21T23:10:38Z
2018-04-24T09:58:56Z
2018-04-24T09:58:56Z
2018-04-24T09:59:50Z
TST: split test_groupby.py
diff --git a/pandas/tests/groupby/aggregate/test_aggregate.py b/pandas/tests/groupby/aggregate/test_aggregate.py index d85719d328ff2..b2f18e11de8ee 100644 --- a/pandas/tests/groupby/aggregate/test_aggregate.py +++ b/pandas/tests/groupby/aggregate/test_aggregate.py @@ -15,51 +15,6 @@ import pandas.util.testing as tm ...
closes #20696
https://api.github.com/repos/pandas-dev/pandas/pulls/20781
2018-04-21T19:00:09Z
2018-04-21T22:26:28Z
2018-04-21T22:26:28Z
2018-04-21T22:26:28Z
Accessor registry
diff --git a/pandas/core/accessor.py b/pandas/core/accessor.py index 06c4068f86bfe..c638b9e4ea117 100644 --- a/pandas/core/accessor.py +++ b/pandas/core/accessor.py @@ -148,6 +148,7 @@ def decorator(accessor): UserWarning, stacklevel=2) setattr(cls, name, CachedAccessor(name, ...
Closes #19963 cc @datapythonista I think this would have solved your issues w/ the validation script.
https://api.github.com/repos/pandas-dev/pandas/pulls/20780
2018-04-21T18:34:10Z
2018-04-23T12:49:43Z
2018-04-23T12:49:43Z
2018-04-23T12:49:48Z
ENH: Implement mode(dropna=False)
diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt index 55e76512b2440..6cbc19cca99e1 100644 --- a/doc/source/whatsnew/v0.24.0.txt +++ b/doc/source/whatsnew/v0.24.0.txt @@ -13,6 +13,7 @@ New features Other Enhancements ^^^^^^^^^^^^^^^^^^ - :func:`to_datetime` now supports the ``%Z`` and `...
- [x] closes #17534 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry There are other mode tests in ``tests/test_algos.py`` but I'm not sure if I should test the ``dropna`` parameter in this file too. The tests seem very similar to those in ``test...
https://api.github.com/repos/pandas-dev/pandas/pulls/20779
2018-04-21T17:15:28Z
2018-05-31T21:44:30Z
2018-05-31T21:44:29Z
2018-06-02T12:07:26Z
BUG: Fix KeyError in merge on CategoricalIndex
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index f5e3b1a35acb5..9cdda2d14669c 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -1327,6 +1327,7 @@ Sparse Reshaping ^^^^^^^^^ +- Bug in :func:`DataFrame.merge` where referencing a ``CategoricalInd...
For categorical type indices a `KeyError` is raised when the index level is used during a merge on an index level Example: ``` import pandas as pd left = pd.DataFrame( {"left_data": [1, 2]}, index=pd.CategoricalIndex(data=["A", "B"], categories=["A", "B"], name='index_col') ) right = pd.DataFrame( ...
https://api.github.com/repos/pandas-dev/pandas/pulls/20777
2018-04-21T15:39:14Z
2018-05-03T10:37:12Z
2018-05-03T10:37:12Z
2018-05-03T10:37:18Z
DOC: Add interpolate to fillna 'See Also' section
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index d3ab7afc025c9..2b683d3a606b1 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -5289,6 +5289,7 @@ def fillna(self, value=None, method=None, axis=None, inplace=False, See Also -------- + interpolate : Fill NaN...
https://api.github.com/repos/pandas-dev/pandas/pulls/20776
2018-04-21T10:20:17Z
2018-04-21T17:23:14Z
2018-04-21T17:23:14Z
2018-04-21T17:26:53Z
BUG: Fix freq setter for DatetimeIndex/TimedeltaIndex and deprecate for PeriodIndex
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index c128058858c17..4330552e0eb11 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -890,8 +890,10 @@ Deprecations of the ``Series`` and ``Index`` classes have been deprecated and will be removed in...
- [X] closes #20678 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry For `DatetimeIndex`/`TimedeltaIndex`: - Setting `freq` with a string alias now works - Frequencies are validated with invalid frequencies raising - Same behavior as ...
https://api.github.com/repos/pandas-dev/pandas/pulls/20772
2018-04-20T23:07:38Z
2018-04-30T17:53:13Z
2018-04-30T17:53:12Z
2018-04-30T18:02:17Z
Emit warning for missing labels in Multiindex.loc[[...]] (and more)
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index e19aedac80213..a05fca94a14e5 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -873,6 +873,7 @@ Deprecations - The ``is_copy`` attribute is deprecated and will be removed in a future version (:issue...
- [x] closes #17758 - [x] closes #20748 - [x] closes #20753 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Main changes: - the presence of at least one key (and of all of them, for the temporary warning) is now checked _after_ building the i...
https://api.github.com/repos/pandas-dev/pandas/pulls/20770
2018-04-20T18:16:11Z
2018-05-01T14:13:08Z
2018-05-01T14:13:07Z
2018-05-01T23:02:07Z
Use conda-env for CI environments
diff --git a/.travis.yml b/.travis.yml index e4dab4eb53afb..4e25380a7d941 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,33 +34,32 @@ matrix: - os: osx language: generic env: - - JOB="3.5_OSX" TEST_ARGS="--skip-slow --skip-network" + - JOB="3.5, OSX" ENV_FILE="ci/travis-35-osx.yaml" ...
Closes https://github.com/pandas-dev/pandas/issues/20720 The old setup where things were installed in multiple places resulted in some strange environments, with multiple copies of the same package in `site-packages`. This attempts to reduce the environment definition to a single file per CI job, and the environm...
https://api.github.com/repos/pandas-dev/pandas/pulls/20767
2018-04-20T15:17:18Z
2018-04-24T01:35:30Z
2018-04-24T01:35:29Z
2018-04-24T13:58:35Z
DOC: Clean up badges in README
diff --git a/README.md b/README.md index 36323410854b0..78e9b93ae535f 100644 --- a/README.md +++ b/README.md @@ -9,18 +9,33 @@ <table> <tr> <td>Latest Release</td> - <td><img src="https://img.shields.io/pypi/v/pandas.svg" alt="latest release" /></td> + <td> + <a href="https://pypi.python.org/pypi/pandas/"> + ...
Since we have pypi and conda covered in latest release and the links to them are no longer available. It probably make sense to remove these two rows.
https://api.github.com/repos/pandas-dev/pandas/pulls/20749
2018-04-19T17:07:50Z
2018-04-20T10:12:37Z
2018-04-20T10:12:37Z
2018-04-20T10:12:42Z
TST: correct constructor in extension array tests
diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index 97a764fa7dbe8..bb910b687cd0f 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -27,7 +27,7 @@ class ExtensionArray(object): The interface includes the following abstract methods that must be implemented by sub...
Replace `type(data)(..)` with `data._constructor_from_sequence`. A bit annoying the name is that long :-), but this is the correct usage. cc @TomAugspurger
https://api.github.com/repos/pandas-dev/pandas/pulls/20746
2018-04-19T14:37:58Z
2018-04-23T14:06:24Z
2018-04-23T14:06:24Z
2018-04-23T14:06:28Z
Fix pd.merge to preserve ExtensionArrays dtypes
diff --git a/pandas/core/dtypes/common.py b/pandas/core/dtypes/common.py index 3a90feb7ccd7d..c45838e6040a9 100644 --- a/pandas/core/dtypes/common.py +++ b/pandas/core/dtypes/common.py @@ -1807,7 +1807,7 @@ def _get_dtype(arr_or_dtype): return arr_or_dtype elif isinstance(arr_or_dtype, type): ret...
Closes https://github.com/pandas-dev/pandas/issues/20743
https://api.github.com/repos/pandas-dev/pandas/pulls/20745
2018-04-19T14:09:48Z
2018-04-22T14:53:46Z
2018-04-22T14:53:45Z
2018-04-22T14:53:46Z
DOC: use apply(raw=True) in docs to silence warning
diff --git a/doc/source/computation.rst b/doc/source/computation.rst index 4285767654e25..ff06c369e1897 100644 --- a/doc/source/computation.rst +++ b/doc/source/computation.rst @@ -323,7 +323,7 @@ compute the mean absolute deviation on a rolling basis: mad = lambda x: np.fabs(x - x.mean()).mean() @savefig rol...
cc @jreback doc follow-up on https://github.com/pandas-dev/pandas/pull/20584
https://api.github.com/repos/pandas-dev/pandas/pulls/20741
2018-04-19T08:38:34Z
2018-04-19T10:07:35Z
2018-04-19T10:07:35Z
2018-04-19T10:07:35Z
Fix more tests expecting little-endian
diff --git a/pandas/tests/dtypes/test_cast.py b/pandas/tests/dtypes/test_cast.py index 590f28b275aec..20cd8b43478d2 100644 --- a/pandas/tests/dtypes/test_cast.py +++ b/pandas/tests/dtypes/test_cast.py @@ -191,9 +191,9 @@ def testinfer_dtype_from_scalar_errors(self): (pd.Categorical(list('aabc')), 'category', ...
As in #14832, use = (native) instead of < (little-endian) - [ ] 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/20738
2018-04-18T19:14:32Z
2018-04-19T10:12:49Z
2018-04-19T10:12:49Z
2018-04-19T13:30:39Z
DOC: add coverage href to README.md
diff --git a/README.md b/README.md index 86cf95508a5d9..36323410854b0 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,11 @@ </tr> <tr> <td>Coverage</td> - <td><img src="https://codecov.io/github/pandas-dev/pandas/coverage.svg?branch=master" alt="coverage" /></td> +  <td> + <a href="https://codecov.io/gh/pa...
https://api.github.com/repos/pandas-dev/pandas/pulls/20736
2018-04-18T18:23:18Z
2018-04-19T10:15:33Z
2018-04-19T10:15:33Z
2018-04-19T17:29:39Z
BUG: unexpected assign by a single-element list (GH19474)
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index cb96c7093c005..1c9849730edd6 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -1113,6 +1113,7 @@ Indexing - Bug in :meth:`DataFrame.first_valid_index` and :meth:`DataFrame.last_valid_index` in pres...
- [x] closes #19474 - [x] tests added / passed (some failed independently of my changes) - [x] passes `git diff master --name-only -- "*.py" | flake8` - [x] whatsnew entry I thought it is a straightforward way to evaluate all of `df.loc[0, ['A']] = ['X']`, `df.loc[0, ['A', 'B']] = ['X', 'Y']`, ...(more-columns ca...
https://api.github.com/repos/pandas-dev/pandas/pulls/20732
2018-04-18T14:22:41Z
2018-04-21T16:39:43Z
2018-04-21T16:39:43Z
2018-05-09T20:59:37Z
DEPR: Deprecate DatetimeIndex.offset in favor of DatetimeIndex.freq
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index 641214550a3b7..2975b2a53c3a8 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -877,6 +877,7 @@ Deprecations - The ``convert_datetime64`` parameter in :func:`DataFrame.to_records` has been deprecate...
- [X] closes #20716 - [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/20730
2018-04-18T03:02:10Z
2018-04-19T12:43:21Z
2018-04-19T12:43:21Z
2018-09-24T17:24:30Z
[ENH] Add read support for Google Cloud Storage
diff --git a/ci/appveyor-27.yaml b/ci/appveyor-27.yaml index cfc6a796bd77e..10511ac0e00ca 100644 --- a/ci/appveyor-27.yaml +++ b/ci/appveyor-27.yaml @@ -6,6 +6,7 @@ dependencies: - beautifulsoup4 - bottleneck - dateutil + - gcsfs - html5lib - jinja2=2.8 - lxml diff --git a/ci/check_imports.py b/ci/ch...
- [x] closes #19454 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Couple of remaining issues: - I had to do some weird logging magic to suppress the output of `gcsfs` when catching authentication exceptions - Proper Parquet support seems to ...
https://api.github.com/repos/pandas-dev/pandas/pulls/20729
2018-04-18T01:48:25Z
2018-06-26T14:59:24Z
2018-06-26T14:59:24Z
2018-07-02T15:37:17Z
BUG: Fix a bug in plotting when using color array. #20726
diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst index ce629816a14c3..067f2e08ce72e 100644 --- a/doc/source/whatsnew/v0.24.0.rst +++ b/doc/source/whatsnew/v0.24.0.rst @@ -1595,6 +1595,7 @@ Plotting - Bug in :func:`DataFrame.plot.scatter` and :func:`DataFrame.plot.hexbin` caused x-axis l...
- [x] closes #20726 - [x] tests added / passed - [x] passes `git diff master --name-only -- "*.py" | flake8` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/20727
2018-04-17T23:50:24Z
2018-12-31T13:21:18Z
2018-12-31T13:21:17Z
2018-12-31T13:21:21Z
DOC: add Raises, Examples and See Also sections to methods at_time/between_time/first/last
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index eb6c212731822..05e0028047941 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -916,6 +916,10 @@ Datetimelike API Changes - :class:`CacheableOffset` and :class:`WeekDay` are no longer available in t...
Added note that methods ``at_time``/``between_time``/``first``/``last`` requires that the index is a DateTimeIndex. Added functioning examples to the method doc strings. Added See Also section to the mentioned method doc string. EDIT: The doc strings for ``DatetimeIndex.indexer_at_time`` and ``DatetimeIndex.in...
https://api.github.com/repos/pandas-dev/pandas/pulls/20725
2018-04-17T20:08:51Z
2018-05-07T10:43:14Z
2018-05-07T10:43:14Z
2018-05-18T18:09:05Z
DEPR: Series ndarray properties (strides, data, base, itemsize, flags)
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index e19aedac80213..1b3b5fcac7bcf 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -885,6 +885,9 @@ Deprecations - The ``convert_datetime64`` parameter in :func:`DataFrame.to_records` has been deprecate...
- [x] closes #20419 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/20721
2018-04-17T14:50:25Z
2018-04-25T21:07:22Z
2018-04-25T21:07:22Z
2020-05-23T14:54:48Z
PKG: remove pyproject.toml for now
diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index f0d57d1d808a2..0000000000000 --- a/pyproject.toml +++ /dev/null @@ -1,9 +0,0 @@ -[build-system] -requires = [ - "wheel", - "setuptools", - "Cython", # required for VCS build, optional for released source - "numpy==1.9.3; python_ver...
Since this gives problems, it might be better to remove this until support in pip is better? Eg I also have errors on the geopandas CI when installing pandas master with pip due to this. Scipy did something similar: https://github.com/scipy/scipy/pull/8735
https://api.github.com/repos/pandas-dev/pandas/pulls/20718
2018-04-17T09:18:17Z
2018-04-18T08:52:02Z
2018-04-18T08:52:02Z
2018-04-18T08:52:09Z
DOC: Change the indent for the pydoc of apply() function.
diff --git a/pandas/core/series.py b/pandas/core/series.py index 1d6f770d92795..2ed4c99b7a998 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -3130,7 +3130,7 @@ def apply(self, func, convert_dtype=True, args=(), **kwds): >>> def add_custom_values(x, **kwargs): ... for month in kw...
report a bug of pydoc of apply function.
https://api.github.com/repos/pandas-dev/pandas/pulls/20715
2018-04-16T22:21:19Z
2018-04-17T10:34:14Z
2018-04-17T10:34:14Z
2018-04-17T22:18:33Z
DOC: Correct documentation to GroupBy.rank
diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index 7c89cab6b1428..8c20d62117e25 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -1841,24 +1841,27 @@ def cumcount(self, ascending=True): @Appender(_doc_template) def rank(self, method='average',...
Closes #20694. cc @peterpanmj
https://api.github.com/repos/pandas-dev/pandas/pulls/20708
2018-04-15T19:49:41Z
2018-04-16T10:36:20Z
2018-04-16T10:36:20Z
2018-04-16T11:30:41Z
DOC: Various EA docs
diff --git a/doc/source/extending.rst b/doc/source/extending.rst index 25c4ba4a4a2a3..b94a43480ed93 100644 --- a/doc/source/extending.rst +++ b/doc/source/extending.rst @@ -57,6 +57,13 @@ If you write a custom accessor, make a pull request adding it to our Extension Types --------------- +.. versionadded:: 0.23.0 +...
Closes https://github.com/pandas-dev/pandas/issues/20668
https://api.github.com/repos/pandas-dev/pandas/pulls/20707
2018-04-15T19:20:19Z
2018-04-21T16:30:41Z
2018-04-21T16:30:41Z
2018-04-21T16:30:45Z
HDFStore.select_column error reporting
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index eee0f1997d081..8f7291bc1a28c 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -1111,6 +1111,7 @@ I/O - Bug in :meth:`pandas.io.json.json_normalize` where subrecords are not properly normalized if a...
- [x] closes #17912 - [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/20705
2018-04-15T15:01:41Z
2018-04-16T10:30:07Z
2018-04-16T10:30:07Z
2018-04-16T10:30:16Z
Revert DOC/CI: temp pin matplotlib for doc build #20045
diff --git a/ci/requirements-3.6_DOC.run b/ci/requirements-3.6_DOC.run index fa9cab32c0ac2..084f38ce17eb2 100644 --- a/ci/requirements-3.6_DOC.run +++ b/ci/requirements-3.6_DOC.run @@ -5,7 +5,7 @@ sphinx nbconvert nbformat notebook -matplotlib=2.1* +matplotlib seaborn scipy lxml
Closes https://github.com/pandas-dev/pandas/issues/20031 Need to check the output of `merging.rst`.
https://api.github.com/repos/pandas-dev/pandas/pulls/20704
2018-04-15T12:39:36Z
2018-04-15T18:57:28Z
2018-04-15T18:57:28Z
2018-04-15T18:57:39Z
PERF: enhance MultiIndex.remove_unused_levels when no levels are unused
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index eee0f1997d081..772e80e160579 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -901,6 +901,7 @@ Performance Improvements - :func:`Series` / :func:`DataFrame` tab completion limits to 100 values, for...
- [x] closes #19289 - [x] tests passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This uses ``np.bincount`` rather than ``algos.unique`` to check _if_ there are unused levels: since levels indexes are adjacent integers, the former is faster (~50% in my tests). It the...
https://api.github.com/repos/pandas-dev/pandas/pulls/20703
2018-04-15T10:40:06Z
2018-04-15T18:50:34Z
2018-04-15T18:50:34Z
2018-04-15T22:37:25Z
DOC: Addition to pd.DataFrame.assign() docstring (#20085)
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 9e57579ddfc05..5e3b71a7d88fa 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3168,7 +3168,8 @@ def insert(self, loc, column, value, allow_duplicates=False): def assign(self, **kwargs): r""" Assign new columns to a Dat...
- [ ] closes #20085 - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Adding information to pd.DataFrame.assign() docstring that re-assigning of existing columns will overwrite the same.
https://api.github.com/repos/pandas-dev/pandas/pulls/20702
2018-04-15T09:19:23Z
2018-04-15T20:25:21Z
2018-04-15T20:25:20Z
2018-04-16T17:05:15Z
DEP: Add 'python_requires' to setup.py to drop 3.4 support
diff --git a/ci/environment-dev.yaml b/ci/environment-dev.yaml index 1337fc54e9aac..f9f9208519d61 100644 --- a/ci/environment-dev.yaml +++ b/ci/environment-dev.yaml @@ -11,5 +11,5 @@ dependencies: - python-dateutil>=2.5.0 - python=3 - pytz - - setuptools>=3.3 + - setuptools>=24.2.0 - sphinx diff --git a/c...
- [x] closes #20697 - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This is a small change to the setup.py that *should* stop newer versions of pandas from being downloaded in environments with older/unsupported versions of python. I followed t...
https://api.github.com/repos/pandas-dev/pandas/pulls/20698
2018-04-14T23:55:18Z
2018-04-16T10:34:36Z
2018-04-16T10:34:36Z
2018-04-17T08:01:50Z
BUG: Series.is_unique has extra output if contains objects with __ne__ defined
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index 1f75de598330d..32166db08f8ad 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -1068,6 +1068,7 @@ Indexing - Bug in :meth:`Index.difference` when taking difference of an ``Index`` with itself (:issu...
- [x] closes #20661 - [x] tests added / passed - series/test/series/test_analytics.py:test_is_unique_class_ne - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Simple change from `_checknan` to `checknull` in pandas/_libs/hashtable_class_helper.pxi.in Checked perf...
https://api.github.com/repos/pandas-dev/pandas/pulls/20691
2018-04-13T21:17:04Z
2018-04-15T19:03:35Z
2018-04-15T19:03:34Z
2018-04-15T22:53:51Z
CLN: OrderedDict -> Dict
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index d436385ba61ce..977fac518e863 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -9,7 +9,7 @@ labeling information """ import collections -from collections import OrderedDict, abc +from collections import abc from io import StringIO import ...
- xref https://github.com/pandas-dev/pandas/issues/30469 - [x] follow up from https://github.com/pandas-dev/pandas/pull/29212 - [x] passes `black pandas` As of CPython 3.6 the implementation of dict maintains insertion order. This became a language feature in python 3.7. Note in python 3.8 support for revers...
https://api.github.com/repos/pandas-dev/pandas/pulls/29923
2019-11-29T00:28:51Z
2019-12-01T17:50:19Z
2019-12-01T17:50:19Z
2019-12-27T00:58:07Z
BUG: loc-indexing with a CategoricalIndex with non-string categories
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 3e72072eae303..afecc7fa4e41b 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -742,6 +742,7 @@ Indexing - Fix assignment of column via `.loc` with numpy non-ns datetime type (:issue:`27395`) - Bug in ...
- [x] closes #17569 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Bug when indexing with ``.loc`` and the index is a CategoricalIndex with integer or float categories.
https://api.github.com/repos/pandas-dev/pandas/pulls/29922
2019-11-28T22:29:17Z
2019-12-11T13:18:32Z
2019-12-11T13:18:31Z
2019-12-11T13:57:19Z
Document S3 and GCS path functionality of DataFrame.to_csv()
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index fa47a5944f7bf..0112b51e42923 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -34,7 +34,7 @@ The pandas I/O API is a set of top level ``reader`` functions accessed like binary;`SPSS <https://en.wikipedia.o...
- [x] closes #8508 I made more changes than absolutely necessary for documenting this. It's a bit more complete and it reads a more similar to `pd.read_csv()`
https://api.github.com/repos/pandas-dev/pandas/pulls/29920
2019-11-28T20:08:28Z
2019-12-17T18:14:09Z
2019-12-17T18:14:09Z
2019-12-17T18:14:19Z
DEPR: remove itemsize, data, base, flags, strides
diff --git a/doc/redirects.csv b/doc/redirects.csv index f124fdb840ce0..a305a1a50a31a 100644 --- a/doc/redirects.csv +++ b/doc/redirects.csv @@ -622,7 +622,6 @@ generated/pandas.Index.asi8,../reference/api/pandas.Index.asi8 generated/pandas.Index.asof,../reference/api/pandas.Index.asof generated/pandas.Index.asof_loc...
and un-deprecated `item`, though im not sure where that goes in the whatsnew
https://api.github.com/repos/pandas-dev/pandas/pulls/29918
2019-11-28T17:21:52Z
2019-11-30T17:47:09Z
2019-11-30T17:47:09Z
2019-11-30T17:53:19Z
CI: Highlighting flake8 and grep errors in GitHub Actions
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 7c6c98d910492..4e25fd0ddb5ea 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -34,17 +34,13 @@ function invgrep { # # This is useful for the CI, as we want to fail if one of the patterns # that we want to avoid is found by grep. - if [[...
Our code checks genereated the output in a way that Azure pipelines was highlighting the errors. In GitHub actions it's possible to do more or less the same, but with a different syntax. Changing the syntax here, and simplifying some tricky parts in the script. Introducing some errors, so we can see how it looks.
https://api.github.com/repos/pandas-dev/pandas/pulls/29915
2019-11-28T14:08:30Z
2019-11-29T22:36:09Z
2019-11-29T22:36:09Z
2019-11-29T22:36:12Z
DEPR: Series.cat.categorical, Series.cat.index, Series.cat.name
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 8a9b9db140409..4522e5b0ad0d7 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -406,6 +406,7 @@ or ``matplotlib.Axes.plot``. See :ref:`plotting.formatters` for more. - Removed the previously deprecated ...
https://api.github.com/repos/pandas-dev/pandas/pulls/29914
2019-11-28T04:56:09Z
2019-11-28T07:46:47Z
2019-11-28T07:46:47Z
2019-11-28T16:06:19Z
DEPR: CategoricalBlock.where casting to object
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index e54397e635c77..5f1a73f6d268c 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -418,6 +418,7 @@ or ``matplotlib.Axes.plot``. See :ref:`plotting.formatters` for more. - Removed :meth:`DataFrame.as_blocks...
the whatsnew note here seems awkward, suggestions welcome
https://api.github.com/repos/pandas-dev/pandas/pulls/29913
2019-11-28T04:02:47Z
2019-11-29T22:36:50Z
2019-11-29T22:36:49Z
2019-11-29T23:23:07Z
DEPR: categorical.take allow_fill default
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index bb4a24e1b4eb5..435f99fc2cf3d 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -365,6 +365,7 @@ Deprecations is equivalent to ``arr[idx.get_loc(idx_val)] = val``, which should be used instead (:issue:...
- [x] closes #27745 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Also deprecates take_nd as an alias for take.
https://api.github.com/repos/pandas-dev/pandas/pulls/29912
2019-11-28T03:52:45Z
2019-11-29T22:39:28Z
2019-11-29T22:39:28Z
2019-11-29T23:19:14Z
DEPR: Remove errors argument in tz_localize
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index e54397e635c77..1468718b16170 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -458,6 +458,7 @@ or ``matplotlib.Axes.plot``. See :ref:`plotting.formatters` for more. - Changed the default value for the ...
- [x] xref #22644 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29911
2019-11-28T03:43:07Z
2019-11-29T17:39:40Z
2019-11-29T17:39:40Z
2019-11-29T19:50:48Z
BUG/DEPR: Timestamp/Timedelta resolution
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 14f36a808c468..bb4a24e1b4eb5 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -457,6 +457,7 @@ or ``matplotlib.Axes.plot``. See :ref:`plotting.formatters` for more. - Removed previously deprecated keyw...
Timedelta.resolution used to return a string, but that was deprecated in 0.25.0. Enforce that deprecation to return Timedelta(nanoseconds=1), mirroring the stdlib timedelta.resolution behavior. Timestamp.resolution correctly mirrors datetime.resolution by returning Timedelta(nanoseconds=1), but it is a property whe...
https://api.github.com/repos/pandas-dev/pandas/pulls/29910
2019-11-28T01:12:37Z
2019-11-29T21:07:56Z
2019-11-29T21:07:56Z
2019-11-29T21:11:59Z
Added FutureWarning to Series.str.__iter__
diff --git a/doc/source/whatsnew/v0.12.0.rst b/doc/source/whatsnew/v0.12.0.rst index 0a74d67486715..86ff338536f80 100644 --- a/doc/source/whatsnew/v0.12.0.rst +++ b/doc/source/whatsnew/v0.12.0.rst @@ -417,6 +417,7 @@ Bug fixes original ``Series`` or ``NaN``. For example, .. ipython:: python + :okwarn...
- [x] #28277 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29909
2019-11-27T23:57:39Z
2019-12-08T17:55:03Z
2019-12-08T17:55:02Z
2023-12-11T23:53:30Z
TYP: Annotated pandas/core/indexing.py
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index b52015b738c6e..2523d7b2d56b1 100755 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -240,7 +240,7 @@ def _has_valid_tuple(self, key: Tuple): "[{types}] types".format(types=self._valid_types) ) - ...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29908
2019-11-27T23:44:17Z
2019-11-30T17:48:11Z
2019-11-30T17:48:11Z
2019-12-01T13:18:16Z
CI: Making benchmark errors easier to find
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b689da8e39ff0..f68080d05bea6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,15 +80,18 @@ jobs: git fetch upstream if git diff upstream/master --name-only | grep -q "^asv_bench/"; then asv m...
- [X] xref https://github.com/pandas-dev/pandas/pull/29900#issuecomment-559278405 It takes a while to find the failing line of the benchmarks logs at the moment. This should highlight the failing ones, and also publish the log as an artifact so it can be analyzed easier. CC: @jbrockmendel
https://api.github.com/repos/pandas-dev/pandas/pulls/29907
2019-11-27T23:33:08Z
2019-11-29T22:50:20Z
2019-11-29T22:50:20Z
2019-11-29T23:37:13Z
CI: Fix broken asv
diff --git a/asv_bench/benchmarks/timeseries.py b/asv_bench/benchmarks/timeseries.py index 498774034d642..ba0b51922fd31 100644 --- a/asv_bench/benchmarks/timeseries.py +++ b/asv_bench/benchmarks/timeseries.py @@ -113,7 +113,7 @@ class InferFreq: def setup(self, freq): if freq is None: self.id...
i think this is causing fails in unrelated PRs
https://api.github.com/repos/pandas-dev/pandas/pulls/29906
2019-11-27T22:46:14Z
2019-11-28T04:16:14Z
2019-11-28T04:16:14Z
2019-11-28T04:20:53Z
STY: x.__class__ to type(x) #batch-6
diff --git a/pandas/tseries/offsets.py b/pandas/tseries/offsets.py index 0620f2b9aae49..9c0bceb1d5110 100644 --- a/pandas/tseries/offsets.py +++ b/pandas/tseries/offsets.py @@ -309,9 +309,8 @@ def apply_index(self, i): if type(self) is not DateOffset: raise NotImplementedError( - ...
- [x] ref https://github.com/pandas-dev/pandas/pull/29816 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29905
2019-11-27T22:40:16Z
2019-11-29T16:48:03Z
2019-11-29T16:48:03Z
2019-11-30T10:12:54Z
STY: x.__class__ to type(x) #batch-5
diff --git a/pandas/tests/indexes/datetimelike.py b/pandas/tests/indexes/datetimelike.py index e6e38ce9921f5..42244626749b9 100644 --- a/pandas/tests/indexes/datetimelike.py +++ b/pandas/tests/indexes/datetimelike.py @@ -38,7 +38,7 @@ def test_str(self): idx.name = "foo" assert not "length={}".format(...
- [x] ref https://github.com/pandas-dev/pandas/pull/29816 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29904
2019-11-27T22:09:56Z
2019-11-29T16:46:37Z
2019-11-29T16:46:37Z
2019-11-30T10:12:33Z
Convert core/indexes/base.py to f-strings
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 4a3fa26c3460e..aa2326eeab8fa 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -120,7 +120,7 @@ def cmp_method(self, other): return result return ops.invalid_comparison(self, other, op) - ...
https://api.github.com/repos/pandas-dev/pandas/pulls/29903
2019-11-27T21:58:59Z
2019-12-01T22:24:50Z
2019-12-01T22:24:49Z
2019-12-01T22:24:50Z
STY: x.__class__ to type(x) #batch-4
diff --git a/pandas/io/formats/format.py b/pandas/io/formats/format.py index b18f0db622b3e..f8f5d337185c4 100644 --- a/pandas/io/formats/format.py +++ b/pandas/io/formats/format.py @@ -352,7 +352,7 @@ def to_string(self) -> str: if len(series) == 0: return "{name}([], {footer})".format( - ...
- [x] ref https://github.com/pandas-dev/pandas/pull/29816 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29902
2019-11-27T21:37:33Z
2019-11-29T16:45:12Z
2019-11-29T16:45:12Z
2019-11-30T10:12:13Z
DEPR: Categorical.ravel, get_dtype_counts, dtype_str, to_dense
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index eb9a0e83271f1..9647693d4ed6b 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -565,7 +565,7 @@ def setup(self): def time_frame_get_dtype_counts(self): with wa...
Starting in on the 0.25.0 section in #6581.
https://api.github.com/repos/pandas-dev/pandas/pulls/29900
2019-11-27T19:51:06Z
2019-12-01T18:11:53Z
2019-12-01T18:11:53Z
2019-12-01T18:15:03Z
TYP: some types for pandas/core/arrays/sparse/dtype.py
diff --git a/pandas/core/arrays/sparse/dtype.py b/pandas/core/arrays/sparse/dtype.py index 3b656705f5568..0124304727ab3 100644 --- a/pandas/core/arrays/sparse/dtype.py +++ b/pandas/core/arrays/sparse/dtype.py @@ -1,7 +1,7 @@ """Sparse Dtype""" import re -from typing import Any +from typing import Any, Tuple impo...
broken off #28339
https://api.github.com/repos/pandas-dev/pandas/pulls/29899
2019-11-27T19:47:02Z
2019-11-29T17:01:13Z
2019-11-29T17:01:13Z
2019-12-01T13:21:18Z
TYP: some types for pandas/core/arrays/sparse/array.py
diff --git a/pandas/core/arrays/sparse/array.py b/pandas/core/arrays/sparse/array.py index 943dea4252499..593ba7a643193 100644 --- a/pandas/core/arrays/sparse/array.py +++ b/pandas/core/arrays/sparse/array.py @@ -260,6 +260,7 @@ class SparseArray(PandasObject, ExtensionArray, ExtensionOpsMixin): _pandas_ftype = "s...
broken off #28339
https://api.github.com/repos/pandas-dev/pandas/pulls/29898
2019-11-27T19:43:12Z
2019-11-29T16:59:59Z
2019-11-29T16:59:59Z
2019-12-01T13:21:58Z
TYP: some types for pandas/_config/config.py
diff --git a/pandas/_config/config.py b/pandas/_config/config.py index 814f855cceeac..8f75d0381c1a6 100644 --- a/pandas/_config/config.py +++ b/pandas/_config/config.py @@ -51,7 +51,7 @@ from collections import namedtuple from contextlib import contextmanager import re -from typing import Dict, List +from typing imp...
broken off #28339
https://api.github.com/repos/pandas-dev/pandas/pulls/29897
2019-11-27T19:35:56Z
2019-11-29T22:59:11Z
2019-11-29T22:59:11Z
2020-12-12T12:51:23Z
DEPR: ftype, ftypes
diff --git a/doc/redirects.csv b/doc/redirects.csv index fb922eb79e363..f124fdb840ce0 100644 --- a/doc/redirects.csv +++ b/doc/redirects.csv @@ -357,10 +357,8 @@ generated/pandas.DataFrame.from_csv,../reference/api/pandas.DataFrame.from_csv generated/pandas.DataFrame.from_dict,../reference/api/pandas.DataFrame.from_di...
Side-note, should we remove all of the redirects.csv entries for Panel?
https://api.github.com/repos/pandas-dev/pandas/pulls/29895
2019-11-27T19:05:26Z
2019-11-27T20:49:09Z
2019-11-27T20:49:09Z
2019-11-27T21:24:44Z
STY: x.__class__ to type(x) #batch-3
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index b52015b738c6e..67412ed5e5b26 100755 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -105,7 +105,7 @@ class _NDFrameIndexer(_NDFrameIndexerBase): def __call__(self, axis=None): # we need to return a copy of ourselves - ...
- [x] ref https://github.com/pandas-dev/pandas/pull/29816 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29894
2019-11-27T18:57:33Z
2019-11-29T16:43:44Z
2019-11-29T16:43:44Z
2019-11-30T10:11:50Z
STY: x.__class__ to type(x) #batch-2
diff --git a/pandas/core/dtypes/dtypes.py b/pandas/core/dtypes/dtypes.py index 2c601b01dbae5..fb3097684f0c3 100644 --- a/pandas/core/dtypes/dtypes.py +++ b/pandas/core/dtypes/dtypes.py @@ -420,7 +420,7 @@ def __repr__(self) -> str_type: if self.categories is None: data = "None, " else: - ...
- [x] ref https://github.com/pandas-dev/pandas/pull/29816 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29893
2019-11-27T18:27:27Z
2019-11-29T16:41:14Z
2019-11-29T16:41:14Z
2019-11-30T10:11:34Z
String formatting > fstring
diff --git a/pandas/errors/__init__.py b/pandas/errors/__init__.py index 34838af5fd6e4..43ce8ad4abb45 100644 --- a/pandas/errors/__init__.py +++ b/pandas/errors/__init__.py @@ -167,9 +167,7 @@ class AbstractMethodError(NotImplementedError): def __init__(self, class_instance, methodtype="method"): types = ...
xref #29547 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` More fstring changes
https://api.github.com/repos/pandas-dev/pandas/pulls/29892
2019-11-27T18:25:00Z
2019-12-04T14:20:47Z
2019-12-04T14:20:47Z
2019-12-04T14:20:50Z
CI: fix mypy complaint introduced in #29873
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 69d632479e969..a50d2d1a72155 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -2641,7 +2641,9 @@ def write(self, **kwargs): "cannot write on an abstract storer: sublcasses should implement" ) - def delete(self, ...
@jreback the pertinent `delete` methods are never hit in tests. any chance we can rip them out?
https://api.github.com/repos/pandas-dev/pandas/pulls/29891
2019-11-27T16:50:05Z
2019-11-27T18:14:19Z
2019-11-27T18:14:19Z
2019-11-27T19:07:58Z
CLN: follow-up to 29725
diff --git a/pandas/conftest.py b/pandas/conftest.py index 0717f478e2782..f7d30d537b358 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -878,6 +878,6 @@ def index_or_series(request): List item 0 has incompatible type "Type[Series]"; expected "Type[PandasObject]" - See GH#????? + See GH#29725 ...
fill in GH references
https://api.github.com/repos/pandas-dev/pandas/pulls/29890
2019-11-27T16:35:14Z
2019-11-27T19:02:19Z
2019-11-27T19:02:19Z
2019-11-27T19:06:15Z
STY: x.__class__ to type(x) #batch-1
diff --git a/pandas/_libs/internals.pyx b/pandas/_libs/internals.pyx index ba108c4524b9c..603caed805e58 100644 --- a/pandas/_libs/internals.pyx +++ b/pandas/_libs/internals.pyx @@ -54,7 +54,7 @@ cdef class BlockPlacement: else: v = self._as_array - return f'{self.__class__.__name__}({v})'...
- [x] ref https://github.com/pandas-dev/pandas/pull/29816 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29889
2019-11-27T16:25:12Z
2019-11-27T20:50:33Z
2019-11-27T20:50:33Z
2019-11-28T05:14:17Z
BUG: .count() raises if use_inf_as_na is enabled
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 48808a7ef7a46..e6f02222248c0 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -674,6 +674,7 @@ Other - Bug in :meth:`DataFrame.append` that raised ``IndexError`` when appending with empty list (:issue:...
- [x] closes #29478 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29888
2019-11-27T16:13:13Z
2019-11-29T17:51:05Z
2019-11-29T17:51:05Z
2019-12-19T06:24:15Z
CLN: Clean up of locale testing
diff --git a/ci/azure/posix.yml b/ci/azure/posix.yml index cb0b17e3553a4..55e8e839f4fae 100644 --- a/ci/azure/posix.yml +++ b/ci/azure/posix.yml @@ -19,18 +19,24 @@ jobs: ENV_FILE: ci/deps/azure-36-minimum_versions.yaml CONDA_PY: "36" PATTERN: "not slow and not network" + py36_...
- [X] xref #23923, https://github.com/pandas-dev/pandas/pull/29852#discussion_r351228283 There are couple of things I don't understand from the locale: - For what I see, we test with different locales (e.g. `it_IT.UTF-8`) but pandas never uses the language (`it_IT`) only the encoding (`UTF-8`). So, not sure if te...
https://api.github.com/repos/pandas-dev/pandas/pulls/29883
2019-11-27T12:55:58Z
2020-01-01T16:25:37Z
2020-01-01T16:25:37Z
2020-01-01T16:25:42Z
TYP: some types for pandas/util/_exceptions.py
diff --git a/pandas/util/_exceptions.py b/pandas/util/_exceptions.py index 4f2cbd4314b8e..b8719154eb791 100644 --- a/pandas/util/_exceptions.py +++ b/pandas/util/_exceptions.py @@ -1,15 +1,16 @@ import contextlib +from typing import Tuple @contextlib.contextmanager -def rewrite_exception(old_name, new_name): +def...
broken off #28339
https://api.github.com/repos/pandas-dev/pandas/pulls/29881
2019-11-27T12:43:24Z
2019-11-27T14:39:15Z
2019-11-27T14:39:15Z
2019-11-27T14:39:17Z
TYP: some types for util._print_versions
diff --git a/pandas/util/_print_versions.py b/pandas/util/_print_versions.py index 289a32c51a916..d1c74e8530245 100644 --- a/pandas/util/_print_versions.py +++ b/pandas/util/_print_versions.py @@ -6,14 +6,15 @@ import struct import subprocess import sys +from typing import List, Optional, Tuple, Union from pandas...
broken off #28339
https://api.github.com/repos/pandas-dev/pandas/pulls/29880
2019-11-27T12:37:31Z
2019-11-27T14:40:38Z
2019-11-27T14:40:38Z
2019-11-27T14:40:40Z
ENH: Allow users to definite their own window bound calculations in rolling
diff --git a/doc/source/reference/window.rst b/doc/source/reference/window.rst index d09ac0d1fa7f7..3db1aa12a4275 100644 --- a/doc/source/reference/window.rst +++ b/doc/source/reference/window.rst @@ -74,3 +74,14 @@ Exponentially-weighted moving window functions EWM.var EWM.corr EWM.cov + +Window Indexer +-...
Currently `rolling` allows integer and offset as `window` arguments. This PR allows users to define a custom method for calculating window boundaries by passing a subclass of a new `BaseIndexer` ``` from pandas.api.indexers import BaseIndexer class MyWindowIndexer(BaseIndexer): def get_window_bounds(self,...
https://api.github.com/repos/pandas-dev/pandas/pulls/29878
2019-11-27T03:53:34Z
2019-12-05T12:56:12Z
2019-12-05T12:56:12Z
2022-07-15T03:12:12Z
CI: Fix tests broken by np 1.18 sorting change
diff --git a/pandas/core/indexes/datetimelike.py b/pandas/core/indexes/datetimelike.py index b41227871ae03..9dcf62d472481 100644 --- a/pandas/core/indexes/datetimelike.py +++ b/pandas/core/indexes/datetimelike.py @@ -284,7 +284,10 @@ def sort_values(self, return_indexer=False, ascending=True): sorted_index...
Longer-term, do we want to use numpy's new behavior? cc @TomAugspurger <b>Update</b> A little more background: consider two ndarrays in np<1.18 ``` arr1 = np.array([1, 2, np.nan, 3, 4]) arr2 = np.array([1, 2, np.datetime64("NaT"), 3, 4], dtype="datetime64[ns]") >>> np.sort(arr1) array([ 1., 2., 3., 4...
https://api.github.com/repos/pandas-dev/pandas/pulls/29877
2019-11-27T02:46:51Z
2019-11-27T09:51:15Z
2019-11-27T09:51:15Z
2019-11-27T16:23:02Z
DEPR: infer_dtype default for skipna is now True
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index d01a5fb4f8b43..ca950fbe047d9 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -402,6 +402,7 @@ or ``matplotlib.Axes.plot``. See :ref:`plotting.formatters` for more. **Other removals** - Floordiv of ...
https://api.github.com/repos/pandas-dev/pandas/pulls/29876
2019-11-27T02:35:19Z
2019-11-28T07:36:04Z
2019-11-28T07:36:04Z
2019-11-28T16:04:26Z
DEPR: dropna multiple axes, fillna int for td64, from_codes with floats, Series.nonzero
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 7d3f61ccf4e9f..42e28e0556d18 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -459,6 +459,10 @@ or ``matplotlib.Axes.plot``. See :ref:`plotting.formatters` for more. - In :func:`concat` the default val...
https://api.github.com/repos/pandas-dev/pandas/pulls/29875
2019-11-27T02:06:38Z
2019-12-01T22:23:28Z
2019-12-01T22:23:28Z
2019-12-01T22:25:30Z
CI: Building docs in GitHub actions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a36420556ae24..7d20f172533c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,3 +95,65 @@ jobs: name: Benchmarks log path: asv_bench/benchmarks.log if: failure() + + web_and_docs: + name: Web a...
Building the documentation in GitHub actions. In Azure-pipelines we publish the built docs to GitHub pages, served at dev.pandas.io. After this is merged, I'll work on publishing the Actions docs to the new OVH server. Possibly, publishing the docs of every PR.
https://api.github.com/repos/pandas-dev/pandas/pulls/29874
2019-11-26T23:36:43Z
2019-12-30T20:40:07Z
2019-12-30T20:40:07Z
2020-01-08T15:47:14Z
CLN: remove never-used kwargs, make kwargs explicit
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 18ae081caf69d..4cc40c55361a3 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -779,7 +779,6 @@ def select_as_coordinates( where=None, start: Optional[int] = None, stop: Optional[int] = None, - **kwargs, ...
https://api.github.com/repos/pandas-dev/pandas/pulls/29873
2019-11-26T23:34:47Z
2019-11-27T15:58:50Z
2019-11-27T15:58:50Z
2019-11-27T16:45:33Z
REF: implement cumulative ops block-wise
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index b403508029f1f..7b94ee20eabb7 100755 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -763,6 +763,7 @@ Numeric - Bug in :class:`NumericIndex` construction that caused :class:`UInt64Index` to be casted to :clas...
- [x] closes #19296 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry cc @TomAugspurger
https://api.github.com/repos/pandas-dev/pandas/pulls/29872
2019-11-26T23:22:57Z
2019-12-30T13:30:19Z
2019-12-30T13:30:19Z
2019-12-30T16:43:46Z
REF: io.pytables operate on DataFrames instead of Blocks
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 69d632479e969..cd1ea3dd16975 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -48,7 +48,6 @@ import pandas.core.common as com from pandas.core.computation.pytables import PyTablesExpr, maybe_expression from pandas.core.index import ens...
Wouldn't be surprised if there is a perf hit here, will run asvs.
https://api.github.com/repos/pandas-dev/pandas/pulls/29871
2019-11-26T21:53:43Z
2019-12-03T13:49:46Z
2019-12-03T13:49:46Z
2019-12-03T16:08:38Z
STY: F-strings
diff --git a/pandas/io/msgpack/_packer.pyx b/pandas/io/msgpack/_packer.pyx index 7c7c8f7b61e60..5c0499b489110 100644 --- a/pandas/io/msgpack/_packer.pyx +++ b/pandas/io/msgpack/_packer.pyx @@ -234,7 +234,7 @@ cdef class Packer: default_used = 1 continue else: - ...
- [x] xref #29547 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29870
2019-11-26T20:23:54Z
2019-11-27T13:07:34Z
2019-11-27T13:07:33Z
2019-11-27T13:15:30Z
CI: Removing Checks job form Azure pipelines
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6fb8241d6d600..57032932b878c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,95 +16,6 @@ jobs: name: Windows vmImage: vs2017-win2016 -- job: 'Checks' - pool: - vmImage: ubuntu-16.04 - timeoutInMinutes: 90 - steps: - - scri...
The `Checks` job was copied to GitHub actions, and looks like it's been working all right. Removing it from pipelines, so it's not diuplicated anymore.
https://api.github.com/repos/pandas-dev/pandas/pulls/29869
2019-11-26T17:29:36Z
2019-11-27T04:30:43Z
2019-11-27T04:30:43Z
2019-11-27T04:31:04Z
CI: Setting path only once in GitHub Actions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5aa31e0ed3ab0..b689da8e39ff0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,6 @@ on: env: ENV_FILE: environment.yml - # TODO: remove export PATH=... in each step once this works - # PATH: $HOME/miniconda3/bin...
Updating PATH only once for the whole job, so it doesn't need to be set at every step.
https://api.github.com/repos/pandas-dev/pandas/pulls/29867
2019-11-26T17:25:44Z
2019-11-27T21:08:51Z
2019-11-27T21:08:51Z
2019-11-27T21:08:53Z
TST added test for groupby agg on mulitlevel column (#29772)
diff --git a/pandas/tests/groupby/aggregate/test_aggregate.py b/pandas/tests/groupby/aggregate/test_aggregate.py index ea986058616d7..e4de2147586f5 100644 --- a/pandas/tests/groupby/aggregate/test_aggregate.py +++ b/pandas/tests/groupby/aggregate/test_aggregate.py @@ -92,6 +92,25 @@ def test_groupby_aggregation_mixed_d...
- [x] closes #29772 - [x] tests added / passed - [x] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29866
2019-11-26T17:06:02Z
2019-11-27T18:39:49Z
2019-11-27T18:39:48Z
2019-11-27T18:39:49Z
CLN: remove unsupported sparse code from io.pytables
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 18ae081caf69d..1df89b0ce1f71 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -44,7 +44,6 @@ isna, ) from pandas.core.arrays.categorical import Categorical -from pandas.core.arrays.sparse import BlockIndex, IntIndex import pandas....
AFAICT this is a legacy of SparseDataFrame
https://api.github.com/repos/pandas-dev/pandas/pulls/29863
2019-11-26T16:49:28Z
2019-11-27T20:54:20Z
2019-11-27T20:54:20Z
2019-11-27T21:19:55Z
CI: Fix version openpyxl
diff --git a/environment.yml b/environment.yml index 848825c37a160..2b171d097a693 100644 --- a/environment.yml +++ b/environment.yml @@ -78,7 +78,7 @@ dependencies: - fastparquet>=0.3.2 # pandas.read_parquet, DataFrame.to_parquet - html5lib # pandas.read_html - lxml # pandas.read_html - - openpyxl # panda...
- [ ] closes #29854 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/29862
2019-11-26T16:47:04Z
2019-11-26T22:55:16Z
2019-11-26T22:55:15Z
2020-04-29T16:50:45Z
TYP: io.pytables annotations
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index bf7aa5970519f..8539d0547e5d1 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -53,7 +53,7 @@ from pandas.io.formats.printing import adjoin, pprint_thing if TYPE_CHECKING: - from tables import File # noqa:F401 + from tables impo...
https://api.github.com/repos/pandas-dev/pandas/pulls/29861
2019-11-26T16:37:21Z
2019-11-29T23:06:23Z
2019-11-29T23:06:23Z
2019-11-29T23:27:04Z
CI: Fix npdev build
diff --git a/pandas/__init__.py b/pandas/__init__.py index cd697b757a26a..d6f3458b4d604 100644 --- a/pandas/__init__.py +++ b/pandas/__init__.py @@ -24,6 +24,7 @@ _np_version_under1p15, _np_version_under1p16, _np_version_under1p17, + _np_version_under1p18, ) try: diff --git a/pandas/tests/api/test...
https://api.github.com/repos/pandas-dev/pandas/pulls/29860
2019-11-26T15:31:01Z
2019-11-27T00:55:40Z
2019-11-27T00:55:40Z
2019-11-27T16:27:14Z