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
TEST: Add test for #22541 to ensure that error does not occur again
diff --git a/pandas/tests/groupby/test_apply.py b/pandas/tests/groupby/test_apply.py index 18ad5d90b3f60..9fbcced75c327 100644 --- a/pandas/tests/groupby/test_apply.py +++ b/pandas/tests/groupby/test_apply.py @@ -866,3 +866,17 @@ def fct(group): [[1.0, 2.0], [3.0], [np.nan]], index=pd.Index(["a", "b", "none"],...
- [x] closes #22541 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` While searching for related issue for my other pull request, I found that this issue must have been fixed with another commit in the past (don't know when this issue was ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33096
2020-03-28T12:48:06Z
2020-03-30T22:15:06Z
2020-03-30T22:15:06Z
2020-06-14T21:40:14Z
DOC: Fix PR06
diff --git a/pandas/core/arrays/sparse/array.py b/pandas/core/arrays/sparse/array.py index 8021e0babe4e0..8c09aa9176f31 100644 --- a/pandas/core/arrays/sparse/array.py +++ b/pandas/core/arrays/sparse/array.py @@ -232,7 +232,7 @@ class SparseArray(PandasObject, ExtensionArray, ExtensionOpsMixin): 3. ``data.dtyp...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Related to #27977.
https://api.github.com/repos/pandas-dev/pandas/pulls/33093
2020-03-28T04:40:25Z
2020-03-31T17:33:53Z
2020-03-31T17:33:53Z
2020-03-31T17:34:00Z
TYP: enforce tighter inputs on SingleBlockManager
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 58ac2b4cba3b7..d03ef394e91c9 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -253,6 +253,7 @@ Deprecations - Setting values with ``.loc`` using a positional slice is deprecated and will raise in a fut...
there is currently only one place where we pass a list of indexes instead of a single index, so just fixed that and were good to go.
https://api.github.com/repos/pandas-dev/pandas/pulls/33092
2020-03-28T03:34:35Z
2020-03-30T17:40:42Z
2020-03-30T17:40:42Z
2020-03-30T18:03:28Z
ENH: Add index option to_markdown()
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index cee41f248fc60..434aa793d40cc 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -328,6 +328,7 @@ Other enhancements - :meth:`DataFrame.to_html` and :meth:`DataFrame.to_string`'s ``col_space`` parameter n...
- [ ] closes #32667 - [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/33091
2020-03-28T03:29:13Z
2020-07-15T12:29:54Z
2020-07-15T12:29:54Z
2020-07-15T12:52:29Z
BUG: Don't cast nullable Boolean to float in groupby
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index b05911a4d1eb0..eb18e1e07547b 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -444,6 +444,8 @@ Groupby/resample/rolling - Bug in :meth:`DataFrameGroupby.transform` produces incorrect result with transf...
- [x] closes #33071 - [x] closes #32194 - [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/33089
2020-03-28T02:34:30Z
2020-04-07T10:04:16Z
2020-04-07T10:04:15Z
2020-05-06T14:52:16Z
CLN: remove ABCGeneric
diff --git a/pandas/core/dtypes/generic.py b/pandas/core/dtypes/generic.py index 2e83e6b32a51b..7f98ca3d402bc 100644 --- a/pandas/core/dtypes/generic.py +++ b/pandas/core/dtypes/generic.py @@ -71,11 +71,3 @@ def _check(cls, inst) -> bool: ("extension", "categorical", "periodarray", "datetimearray", "timedeltaarray...
https://api.github.com/repos/pandas-dev/pandas/pulls/33088
2020-03-28T01:31:10Z
2020-03-29T14:50:55Z
2020-03-29T14:50:55Z
2020-03-29T15:09:44Z
BUG: Groupby lost index, when one of the agg keys had no function all…
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index e680c2db55a43..df5e425950873 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -990,6 +990,7 @@ Groupby/resample/rolling indices. In particular, the result index shape might change if a copy of the in...
…ocated - [x] closes #32580 - [x] closes #33545 (is a duplicate of 32580) - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry The issue was the concatenation with an empty DataFrame and the result of the min function...
https://api.github.com/repos/pandas-dev/pandas/pulls/33086
2020-03-28T00:07:06Z
2020-06-14T18:04:54Z
2020-06-14T18:04:54Z
2020-06-14T21:35:59Z
CLN: avoid internals in tz_convert, tz_localize
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 5348040808e63..99ae519a76387 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -9244,7 +9244,7 @@ def _tz_convert(ax, tz): raise ValueError(f"The level {level} is not valid") ax = _tz_convert(ax, tz) - ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33085
2020-03-27T23:30:33Z
2020-03-29T14:51:28Z
2020-03-29T14:51:28Z
2020-03-29T15:11:55Z
CLN: de-kludge NDFrame.interpolate
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 5348040808e63..16bed91daa7d2 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -6835,27 +6835,16 @@ def interpolate( axis = self._get_axis_number(axis) if axis == 0: - ax = self._info_axis_name - ...
i think i was responsible for these particular kludges a while back.
https://api.github.com/repos/pandas-dev/pandas/pulls/33084
2020-03-27T23:29:36Z
2020-03-29T15:16:18Z
2020-03-29T15:16:18Z
2020-03-29T15:20:56Z
CLN: avoid internals, some misc cleanups
diff --git a/pandas/core/groupby/grouper.py b/pandas/core/groupby/grouper.py index 21e171f937de8..2f50845fda4dc 100644 --- a/pandas/core/groupby/grouper.py +++ b/pandas/core/groupby/grouper.py @@ -561,7 +561,8 @@ def get_grouper( # if the actual grouper should be obj[key] def is_in_axis(key) -> bool: ...
The only non-trivial thing here is in io.formats.info replacing `frame._data.get_dtype_counts` with an alternative that uses public methods
https://api.github.com/repos/pandas-dev/pandas/pulls/33083
2020-03-27T23:27:48Z
2020-03-29T15:17:50Z
2020-03-29T15:17:50Z
2020-03-29T15:22:59Z
CLN: avoid internals in DataFrame.sort_values
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 1e9f8995b6bed..0c3e2adcbb7cf 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4801,17 +4801,15 @@ def sort_values( k, kind=kind, ascending=ascending, na_position=na_position ) - new_data = self._data.ta...
https://api.github.com/repos/pandas-dev/pandas/pulls/33081
2020-03-27T21:59:51Z
2020-03-30T16:53:34Z
null
2020-04-05T17:48:02Z
CI troubleshoot azure
diff --git a/pandas/tests/io/test_parquet.py b/pandas/tests/io/test_parquet.py index cfcf617cedf9c..d0eaafb787222 100644 --- a/pandas/tests/io/test_parquet.py +++ b/pandas/tests/io/test_parquet.py @@ -1,6 +1,7 @@ """ test parquet compat """ import datetime from distutils.version import LooseVersion +import locale i...
- [ ] closes #33077 - [ ] 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/33080
2020-03-27T21:27:01Z
2020-03-28T17:01:42Z
2020-03-28T17:01:42Z
2020-05-26T09:40:07Z
DOC: whatsnew for #32831
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 20415bba99476..570a5e3ce97ab 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -341,6 +341,7 @@ Indexing - Fix to preserve the ability to index with the "nearest" method with xarray's CFTimeIndex, an :c...
https://api.github.com/repos/pandas-dev/pandas/pulls/33079
2020-03-27T21:15:10Z
2020-03-29T01:02:57Z
2020-03-29T01:02:57Z
2020-03-29T01:09:31Z
Revert "CI: Fix jedi upgrades causes deprecation warning"
diff --git a/pandas/tests/arrays/categorical/test_warnings.py b/pandas/tests/arrays/categorical/test_warnings.py index 9e164a250cdb1..f66c327e9967d 100644 --- a/pandas/tests/arrays/categorical/test_warnings.py +++ b/pandas/tests/arrays/categorical/test_warnings.py @@ -14,16 +14,6 @@ async def test_tab_complete_warning(...
Reverts pandas-dev/pandas#31323 --- Closes #31407
https://api.github.com/repos/pandas-dev/pandas/pulls/33078
2020-03-27T20:37:41Z
2020-03-27T21:30:15Z
null
2020-03-29T09:26:27Z
CLN: avoid using internals methods for DataFrame.drop_duplicates
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 1e9f8995b6bed..5c04678cd5fa6 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4678,22 +4678,16 @@ def drop_duplicates( inplace = validate_bool_kwarg(inplace, "inplace") duplicated = self.duplicated(subset, keep=keep) - ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33075
2020-03-27T19:02:21Z
2020-03-29T15:19:38Z
2020-03-29T15:19:38Z
2020-03-29T15:21:57Z
TYP: require _update_inplace gets Frame/Series, never BlockManager
diff --git a/pandas/core/base.py b/pandas/core/base.py index 9ff0d60b9cd6a..547d9aa47cd93 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -13,7 +13,6 @@ from pandas.compat.numpy import function as nv from pandas.errors import AbstractMethodError from pandas.util._decorators import cache_readonly, doc -...
https://api.github.com/repos/pandas-dev/pandas/pulls/33074
2020-03-27T17:56:51Z
2020-04-01T01:09:54Z
2020-04-01T01:09:53Z
2020-04-01T01:20:13Z
DOC: Added docstring for show_versions()
diff --git a/doc/source/reference/general_utility_functions.rst b/doc/source/reference/general_utility_functions.rst index 0d9e0b0f4c668..575b82b4b06de 100644 --- a/doc/source/reference/general_utility_functions.rst +++ b/doc/source/reference/general_utility_functions.rst @@ -108,3 +108,11 @@ Scalar introspection ...
- [x] closes #33044 - [ ] 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/33073
2020-03-27T17:55:55Z
2020-03-31T19:05:10Z
2020-03-31T19:05:10Z
2020-03-31T19:05:17Z
BUG: Add test to ensure, that bug will not occur again. #33058
diff --git a/pandas/tests/groupby/test_apply.py b/pandas/tests/groupby/test_apply.py index 9fbcced75c327..9fcbabb07857e 100644 --- a/pandas/tests/groupby/test_apply.py +++ b/pandas/tests/groupby/test_apply.py @@ -880,3 +880,24 @@ def test_apply_function_index_return(function): index=pd.Index([1, 2, 3], name="i...
- [x] xref #33058 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Should I add a whatsnew entry? It's not really new, if it is backported to 1.0.1.
https://api.github.com/repos/pandas-dev/pandas/pulls/33072
2020-03-27T17:04:59Z
2020-04-10T20:47:58Z
2020-04-10T20:47:58Z
2020-06-14T21:38:00Z
BUG: AttributeError when read_sas used with GCS
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 19e8acdaa7384..f17cd354d40a3 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -407,6 +407,7 @@ I/O - Bug in :meth:`read_csv` was causing a segfault when there were blank lines between the header and da...
With GCSFS (and when a binary file buffer is passed in), the output from the file read is `bytes`, not a Unicode `str`. The `encode` call is unnecessary in this case. - [x] closes #33069 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` ...
https://api.github.com/repos/pandas-dev/pandas/pulls/33070
2020-03-27T15:14:19Z
2020-04-07T01:23:30Z
2020-04-07T01:23:29Z
2020-04-07T14:09:48Z
BUG: Fix unwanted type casting while replacing values in a DataFrame
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index e4dcffae45f67..196ce6dbafb4f 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -711,13 +711,24 @@ def replace( # try again with a compatible block block = self.astype(obje...
- [x] closes #32988 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry As mentioned in #32988 [here](https://github.com/pandas-dev/pandas/issues/32988#issuecomment-604727057) I think, that I have found a way to fix this...
https://api.github.com/repos/pandas-dev/pandas/pulls/33067
2020-03-27T11:54:17Z
2020-05-11T09:17:24Z
null
2020-06-14T21:37:18Z
ENH/PERF: use mask in factorize for nullable dtypes
diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py index 1768e682b3db4..65e52e03c43c7 100644 --- a/asv_bench/benchmarks/algorithms.py +++ b/asv_bench/benchmarks/algorithms.py @@ -34,7 +34,16 @@ class Factorize: params = [ [True, False], [True, False], - ["...
xref https://github.com/pandas-dev/pandas/issues/30037 This adds the option to use a mask in the `HashTable.factorize` (implementation itself is in `HashTable._unique`). That allows eg IntegerArray to use its mask and avoid the need to convert to object dtype or float dtype (which also avoids a copy of the data),...
https://api.github.com/repos/pandas-dev/pandas/pulls/33064
2020-03-27T10:06:19Z
2020-05-09T11:41:15Z
2020-05-09T11:41:15Z
2020-05-09T11:41:19Z
CLN: remove CategoricalBlock.to_native_types
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 71b05eff9b118..b2a8c7a0864b8 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -2802,19 +2802,6 @@ def __init__(self, values, placement, ndim=None): def _holder(self): return Categorica...
The implementation of `to_native_types` on CategoricalBlock seems duplicated with the one of ExtensionBlock (the default for `na_rep` is different, but internally we always pass a value for that and never use the default).
https://api.github.com/repos/pandas-dev/pandas/pulls/33063
2020-03-27T08:35:25Z
2020-03-27T14:58:21Z
2020-03-27T14:58:21Z
2020-03-27T15:07:20Z
BUG: implement astype from string dtype to nullable int dtype
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 7920820b32620..8fdb442b6e16d 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -314,7 +314,7 @@ Conversion Strings ^^^^^^^ -- +- Bug in the :meth:`~Series.astype` method when converting "string" dtyp...
Closes #32450 This implements a conversion from nullable string dtype to nullable int dtype.
https://api.github.com/repos/pandas-dev/pandas/pulls/33062
2020-03-27T08:27:37Z
2020-03-27T14:59:58Z
2020-03-27T14:59:58Z
2020-03-27T15:06:57Z
ERR: Raise NotImplementedError with BaseIndexer and certain rolling operations
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 20415bba99476..88468050f9b2a 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -85,6 +85,7 @@ Other API changes - Added :meth:`DataFrame.value_counts` (:issue:`5377`) - :meth:`Groupby.groups` now retur...
- [x] xref #32865 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry As a temporary solution for returning incorrect results when using a BaseIndexer subclass with certain rolling operations, a `NotImplementedError` wil...
https://api.github.com/repos/pandas-dev/pandas/pulls/33057
2020-03-27T03:39:00Z
2020-03-29T15:36:18Z
2020-03-29T15:36:18Z
2020-03-29T16:42:09Z
REF: avoid internals in tshift
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index b9ce7cce3685c..fef292306e741 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8978,7 +8978,7 @@ def slice_shift(self: FrameOrSeries, periods: int = 1, axis=0) -> FrameOrSeries: return new_obj.__finalize__(self) def ts...
https://api.github.com/repos/pandas-dev/pandas/pulls/33056
2020-03-27T03:26:39Z
2020-03-27T16:23:04Z
2020-03-27T16:23:04Z
2020-03-27T16:36:55Z
[WIP] Make Index.values read-only
diff --git a/ci/deps/azure-36-32bit.yaml b/ci/deps/azure-36-32bit.yaml index 2dc53f8181ac4..3a661beb34f48 100644 --- a/ci/deps/azure-36-32bit.yaml +++ b/ci/deps/azure-36-32bit.yaml @@ -22,5 +22,5 @@ dependencies: # see comment above - pip - pip: - - cython>=0.29.16 + - Cython==3.0a5 - pytest>=5.0.1,...
- [ ] closes #33001 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This is a PR for looking around enforcing immutability of `pd.Index` objects. It will be a draft, but the main idea is to show what tests fail and w...
https://api.github.com/repos/pandas-dev/pandas/pulls/33055
2020-03-27T03:01:13Z
2020-09-14T20:48:10Z
null
2020-09-14T20:48:10Z
REF: rename _data->_mgr
diff --git a/pandas/_libs/properties.pyx b/pandas/_libs/properties.pyx index 0e04c5417cd7e..9b936eed785b4 100644 --- a/pandas/_libs/properties.pyx +++ b/pandas/_libs/properties.pyx @@ -56,10 +56,10 @@ cdef class AxisProperty: list axes if obj is None: - # Only instances have _data, no...
We have a long-term goal of reducing the exposed surface of the internals. One difficulty is that it is not trivial to identify all the places that access the internal, in part because grepping for `._data` will turn up a ton of non-internals Index and EA attributes. By renaming _data -> _mgr, we'll make it easier to...
https://api.github.com/repos/pandas-dev/pandas/pulls/33054
2020-03-27T01:59:24Z
2020-04-06T18:05:23Z
2020-04-06T18:05:23Z
2020-04-06T18:07:37Z
REF: MultiIndex Indexing tests
diff --git a/pandas/tests/indexes/multi/test_analytics.py b/pandas/tests/indexes/multi/test_analytics.py index a9e02934f27ab..cd98a87459061 100644 --- a/pandas/tests/indexes/multi/test_analytics.py +++ b/pandas/tests/indexes/multi/test_analytics.py @@ -57,23 +57,6 @@ def test_truncate(): index.truncate(3, 1) ...
Trying to make the tests.indexes.foo.test_indexing files cover a uniform collection of methods
https://api.github.com/repos/pandas-dev/pandas/pulls/33053
2020-03-27T01:17:19Z
2020-03-27T15:05:01Z
2020-03-27T15:05:01Z
2020-04-05T17:48:12Z
CLN: remove BlockManager.get
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 67523facb7b7d..de03ed4ebcfd1 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2555,7 +2555,7 @@ def _ixs(self, i: int, axis: int = 0): label = self.columns[i] values = self._mgr.iget(i) - result = self....
This should not be merged until after #33047 and #33045, since the assertions made here will not always hold until then.
https://api.github.com/repos/pandas-dev/pandas/pulls/33052
2020-03-26T21:39:34Z
2020-04-15T19:21:58Z
2020-04-15T19:21:58Z
2020-04-15T19:37:32Z
REF: RangeIndex tests
diff --git a/pandas/tests/indexes/ranges/test_indexing.py b/pandas/tests/indexes/ranges/test_indexing.py new file mode 100644 index 0000000000000..238c33c3db6d7 --- /dev/null +++ b/pandas/tests/indexes/ranges/test_indexing.py @@ -0,0 +1,79 @@ +import numpy as np +import pytest + +import pandas as pd +from pandas import...
https://api.github.com/repos/pandas-dev/pandas/pulls/33050
2020-03-26T19:03:48Z
2020-03-26T22:33:54Z
2020-03-26T22:33:54Z
2020-03-26T23:35:12Z
BUG: DataFrame.at with non-unique axes
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 2f4e961ff433f..0e75e91c61697 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -467,6 +467,7 @@ Indexing - Bug in :meth:`DatetimeIndex.get_loc` raising ``KeyError`` with converted-integer key instead of...
- [x] closes #33041 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Closes #33041 in conjunction with #33045.
https://api.github.com/repos/pandas-dev/pandas/pulls/33047
2020-03-26T18:09:35Z
2020-04-15T18:58:47Z
2020-04-15T18:58:46Z
2020-04-15T19:04:17Z
BUG: frame.lookup with non-unique axes
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 0ebe57bfbb3a1..cfae9a8bf504e 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -337,6 +337,7 @@ Indexing - Bug in :meth:`DataFrame.loc:` and :meth:`Series.loc` with a :class:`DatetimeIndex`, :class:`Tim...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry xref #33041, one more PR coming up to close that.
https://api.github.com/repos/pandas-dev/pandas/pulls/33045
2020-03-26T17:47:50Z
2020-03-26T22:35:34Z
2020-03-26T22:35:34Z
2020-03-26T23:37:05Z
REF: test_searchorted for PeriodIndex
diff --git a/pandas/tests/indexes/period/test_searchsorted.py b/pandas/tests/indexes/period/test_searchsorted.py new file mode 100644 index 0000000000000..f5a2583bf2e10 --- /dev/null +++ b/pandas/tests/indexes/period/test_searchsorted.py @@ -0,0 +1,77 @@ +import numpy as np +import pytest + +from pandas._libs.tslibs im...
https://api.github.com/repos/pandas-dev/pandas/pulls/33040
2020-03-26T16:17:01Z
2020-03-26T22:34:46Z
2020-03-26T22:34:46Z
2020-03-26T23:52:08Z
Bug: TypeError: ufunc 'sqrt' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
diff --git a/pandas/plotting/_matplotlib/core.py b/pandas/plotting/_matplotlib/core.py index 63d0b8abe59d9..bc8346fd48433 100644 --- a/pandas/plotting/_matplotlib/core.py +++ b/pandas/plotting/_matplotlib/core.py @@ -934,6 +934,8 @@ def __init__(self, data, x, y, s=None, c=None, **kwargs): # hide the matpl...
- [x] closes #32904 - [ ] 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/33034
2020-03-26T05:42:44Z
2020-03-26T12:52:13Z
null
2020-03-26T12:54:17Z
fix #32904
diff --git a/pandas/plotting/_matplotlib/core.py b/pandas/plotting/_matplotlib/core.py index 63d0b8abe59d9..b7466a6a056b7 100644 --- a/pandas/plotting/_matplotlib/core.py +++ b/pandas/plotting/_matplotlib/core.py @@ -934,6 +934,8 @@ def __init__(self, data, x, y, s=None, c=None, **kwargs): # hide the matpl...
- [x] closes #32904 - [ ] 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/33033
2020-03-26T04:55:55Z
2020-03-26T05:22:34Z
null
2020-03-26T05:22:34Z
PERF: remove large-array-creating path in fast_xs
diff --git a/asv_bench/benchmarks/indexing.py b/asv_bench/benchmarks/indexing.py index e98d2948e76ea..7f3c24d5a2732 100644 --- a/asv_bench/benchmarks/indexing.py +++ b/asv_bench/benchmarks/indexing.py @@ -308,6 +308,31 @@ def time_frame_getitem_single_column_int(self): self.df_int_col[0] +class IndexSingle...
When frame.columns is non-unique, `frame.iloc[n]` goes through an unnecessary path that effectively creates `frame.values` and looking up `[n]` on that. That's a lot of casting to access just one row. Luckily, that case is obsolete, so this rips it right out.
https://api.github.com/repos/pandas-dev/pandas/pulls/33032
2020-03-26T03:27:56Z
2020-03-29T15:40:25Z
2020-03-29T15:40:25Z
2020-03-29T15:56:33Z
fixed #32904
diff --git a/pandas/plotting/_matplotlib/core.py b/pandas/plotting/_matplotlib/core.py index 63d0b8abe59d9..36d7c71250c56 100644 --- a/pandas/plotting/_matplotlib/core.py +++ b/pandas/plotting/_matplotlib/core.py @@ -934,6 +934,8 @@ def __init__(self, data, x, y, s=None, c=None, **kwargs): # hide the matpl...
- [x] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/33031
2020-03-26T02:57:27Z
2020-03-26T02:59:57Z
null
2020-03-26T02:59:57Z
DOC: Fixing links to the contributing page
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index bc31d362118b5..49200523df40f 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...
Not 100% sure on this changes. --- Feel free to close this at anytime.
https://api.github.com/repos/pandas-dev/pandas/pulls/33029
2020-03-26T00:57:50Z
2020-04-07T23:12:14Z
2020-04-07T23:12:14Z
2020-04-07T23:21:43Z
CLN: de-duplicate Block.should_store and related
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index a8cdb554edf03..71b05eff9b118 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -654,6 +654,20 @@ def _can_hold_element(self, element: Any) -> bool: return issubclass(tipo.type, dtype) ...
FooBlock.should_store is equivalent to `is_dtype_equal(self.dtype, other.dtype)` for almost all of our Block subclasses. This makes that the implementation for the base class, so we define it in fewer places. xref #32878 on remaining cases.
https://api.github.com/repos/pandas-dev/pandas/pulls/33028
2020-03-26T00:56:50Z
2020-03-27T07:01:17Z
2020-03-27T07:01:17Z
2020-03-27T15:23:33Z
ERR: Raise a better error for numpy singletons in Index
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index dcbfe6aeb9a12..3993f8ffa5d14 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -309,6 +309,7 @@ Indexing - Bug in :meth:`DataFrame.iloc.__setitem__` on a :class:`DataFrame` with duplicate columns incorr...
- [x] closes #33017 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/33026
2020-03-25T23:32:57Z
2020-03-26T13:24:10Z
2020-03-26T13:24:10Z
2020-03-27T16:33:55Z
Fix 25648 improve read csv stacktrace on bad argument
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index dcbfe6aeb9a12..0f5372330970a 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -355,6 +355,7 @@ I/O - Bug in :meth:`read_csv` was causing a segfault when there were blank lines between the header and da...
- [x] closes #25648 - [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/33023
2020-03-25T21:55:52Z
2020-05-22T10:48:58Z
null
2020-05-22T14:24:40Z
Fiy Typo in datetimes (parced)
diff --git a/pandas/core/tools/datetimes.py b/pandas/core/tools/datetimes.py index 7414165ab5711..3dd17f5747df9 100644 --- a/pandas/core/tools/datetimes.py +++ b/pandas/core/tools/datetimes.py @@ -260,7 +260,7 @@ def _convert_listlike_datetimes( Parameters ---------- arg : list, tuple, ndarray, Series, I...
Fixed a typo in pandas/core/tools/datetimes (parced -> parsed)
https://api.github.com/repos/pandas-dev/pandas/pulls/33022
2020-03-25T21:30:55Z
2020-03-25T22:25:37Z
2020-03-25T22:25:37Z
2020-03-26T22:46:01Z
CLN: a batch of replacements of @Appender() with @doc()
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index 4fabd8f558fee..40d5c1c7f2375 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -784,7 +784,7 @@ def shift(self, periods=1, fill_value=None, axis=0): "will raise in a futu...
- [x] xref #31942 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] replaces a number of uses of @Appender() with @doc() in `core/generic.py`
https://api.github.com/repos/pandas-dev/pandas/pulls/33021
2020-03-25T20:52:09Z
2020-04-10T11:45:01Z
2020-04-10T11:45:01Z
2020-04-10T11:45:15Z
REF: collect .align tests
diff --git a/pandas/tests/frame/methods/test_align.py b/pandas/tests/frame/methods/test_align.py new file mode 100644 index 0000000000000..36a9a6b5b3d58 --- /dev/null +++ b/pandas/tests/frame/methods/test_align.py @@ -0,0 +1,245 @@ +import numpy as np +import pytest + +import pandas as pd +from pandas import DataFrame,...
https://api.github.com/repos/pandas-dev/pandas/pulls/33019
2020-03-25T18:26:30Z
2020-03-25T23:50:52Z
2020-03-25T23:50:52Z
2020-03-26T00:40:56Z
REF: CategoricalIndex indexing tests
diff --git a/pandas/tests/indexes/categorical/test_category.py b/pandas/tests/indexes/categorical/test_category.py index 9562582393235..6e8e81230b2bb 100644 --- a/pandas/tests/indexes/categorical/test_category.py +++ b/pandas/tests/indexes/categorical/test_category.py @@ -1,8 +1,6 @@ import numpy as np import pytest ...
Current goal is to get the tests.indexes.foo.test_indexing files into alignment (and to actually hold tests for all/only indexing methods)
https://api.github.com/repos/pandas-dev/pandas/pulls/33018
2020-03-25T17:59:22Z
2020-03-25T23:53:26Z
2020-03-25T23:53:26Z
2020-03-26T00:42:57Z
DOC: Document axis for swaplevel, standardize elsewhere
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 8deeb415c17c9..73906033f8f7f 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3897,7 +3897,7 @@ def rename( columns : dict-like or function Alternative to specifying axis (``mapper, axis=1`` is equivalent t...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/33016
2020-03-25T14:47:00Z
2020-03-26T03:18:26Z
2020-03-26T03:18:26Z
2020-03-26T06:43:25Z
Added RuntimeWarning to lib.fast_unique_multiple
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 25f847c698278..19e8acdaa7384 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -87,6 +87,7 @@ Other enhancements - Positional slicing on a :class:`IntervalIndex` now supports slices with ``step > 1`` (:...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/33015
2020-03-25T14:25:39Z
2020-04-02T14:25:03Z
2020-04-02T14:25:03Z
2020-04-02T18:57:57Z
add match to bare pyteset.raises() - arrays
diff --git a/pandas/tests/arithmetic/test_timedelta64.py b/pandas/tests/arithmetic/test_timedelta64.py index b11fcfd20b8c4..beb16c9549cc4 100644 --- a/pandas/tests/arithmetic/test_timedelta64.py +++ b/pandas/tests/arithmetic/test_timedelta64.py @@ -650,9 +650,9 @@ def test_tdi_add_overflow(self): # See GH#1406...
- [x] ref #30999 - [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/33010
2020-03-25T11:46:48Z
2020-03-30T22:41:55Z
2020-03-30T22:41:55Z
2020-03-31T03:18:04Z
STY: Boolean values for bint variables
diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx index 6aa9a8b2dedfd..6c6f6a8600ba2 100644 --- a/pandas/_libs/lib.pyx +++ b/pandas/_libs/lib.pyx @@ -530,14 +530,14 @@ def maybe_booleans_to_slice(ndarray[uint8_t] mask): cdef: Py_ssize_t i, n = len(mask) Py_ssize_t start = 0, end = 0 - ...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/33009
2020-03-25T11:37:32Z
2020-03-26T22:39:13Z
2020-03-26T22:39:13Z
2020-03-29T09:22:41Z
STY: Boolean values for bint variables
diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx index 94e757624c136..53bcf5be2586a 100644 --- a/pandas/_libs/tslib.pyx +++ b/pandas/_libs/tslib.pyx @@ -114,7 +114,7 @@ def ints_to_pydatetime( const int64_t[:] arr, object tz=None, object freq=None, - bint fold=0, + bint fold=False, ...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/33008
2020-03-25T11:31:42Z
2020-03-26T09:02:08Z
2020-03-26T09:02:08Z
2020-03-26T15:40:16Z
BUG: query uses numexpr even when 'compute.use_numexpr' is False
diff --git a/pandas/core/computation/eval.py b/pandas/core/computation/eval.py index a488aac08e060..70814cb2dc1cc 100644 --- a/pandas/core/computation/eval.py +++ b/pandas/core/computation/eval.py @@ -39,10 +39,10 @@ def _check_engine(engine: Optional[str]) -> str: str Engine name. """ - from pand...
- [ ] closes #32556 - [ ] 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/33006
2020-03-25T10:46:26Z
2020-11-26T19:12:14Z
null
2021-07-22T02:32:55Z
STY: Boolean values for bint variables
diff --git a/pandas/_libs/join.pyx b/pandas/_libs/join.pyx index cbe0e71153565..54892a7e4bc77 100644 --- a/pandas/_libs/join.pyx +++ b/pandas/_libs/join.pyx @@ -78,7 +78,7 @@ def inner_join(const int64_t[:] left, const int64_t[:] right, @cython.boundscheck(False) def left_outer_join(const int64_t[:] left, const int...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry --- ```asv``` benchmarks: to show that performance is not changed with the stylistic changes) ``` All benchmarks: before a...
https://api.github.com/repos/pandas-dev/pandas/pulls/33005
2020-03-25T10:39:02Z
2020-03-25T23:44:41Z
2020-03-25T23:44:41Z
2020-03-25T23:54:48Z
DOC: Fix PR01, PR02, RT03 on cumulative function
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 9c1cfda7d6271..abf0b55f8bca8 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -10541,13 +10541,14 @@ def _doc_parms(cls): skipna : bool, default True Exclude NA/null values. If an entire row/column is NA, the result will be...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Related to #27977.
https://api.github.com/repos/pandas-dev/pandas/pulls/33000
2020-03-25T06:49:34Z
2020-03-25T23:49:31Z
2020-03-25T23:49:30Z
2020-03-25T23:49:35Z
DOC: Fix PR01, PR02, RT03 on cumulative function
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index 5b324bc5753ec..8735121f704d2 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -556,7 +556,7 @@ def factorize( >>> codes, uniques = pd.factorize(['b', 'b', 'a', 'c', 'b']) >>> codes - array([0, 0, 1, 2, 0]) +...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Related to #27977.
https://api.github.com/repos/pandas-dev/pandas/pulls/32999
2020-03-25T06:41:20Z
2020-03-25T06:41:49Z
null
2020-03-25T06:44:50Z
WIP/PERF: block-wise ops for frame-with-series axis=1
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 25f847c698278..41ede51b18d27 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -266,6 +266,7 @@ Performance improvements - Performance improvement in :class:`Timedelta` constructor (:issue:`30543`) - P...
xref #32779 which does the same thing for frame-with-frame ops. This one is turning out to be the most difficult of the cases to get right. Posting this for comments, in large part because there are still two failing tests locally, and these may just be behaviors we want to change. ``` # test_scalar_na_logical_...
https://api.github.com/repos/pandas-dev/pandas/pulls/32997
2020-03-25T03:57:50Z
2020-04-03T16:50:15Z
null
2021-11-20T23:23:13Z
REF: collect TimedeltaIndex.delete tests
diff --git a/pandas/tests/indexes/timedeltas/test_delete.py b/pandas/tests/indexes/timedeltas/test_delete.py new file mode 100644 index 0000000000000..593ed7bb0a1ac --- /dev/null +++ b/pandas/tests/indexes/timedeltas/test_delete.py @@ -0,0 +1,70 @@ +import pytest + +from pandas import TimedeltaIndex, timedelta_range +i...
organize the tests left in test_indexing; i made that file a while back and had some pretty inconsistent ideas about what belonged there
https://api.github.com/repos/pandas-dev/pandas/pulls/32996
2020-03-25T02:54:46Z
2020-03-25T23:57:00Z
2020-03-25T23:57:00Z
2020-03-26T00:40:29Z
BUG: DataFrame.diff(axis=1) with mixed (or EA) dtypes
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 5c39377899a20..35d6e867ff86f 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -410,6 +410,8 @@ Numeric - Bug in :meth:`to_numeric` with ``downcast="unsigned"`` fails for empty data (:issue:`32493`) - ...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/32995
2020-03-25T01:31:54Z
2020-04-10T16:05:53Z
2020-04-10T16:05:53Z
2020-04-10T18:18:23Z
REF: collect DataFrame.drop, Series.drop tests
diff --git a/pandas/tests/frame/methods/test_drop.py b/pandas/tests/frame/methods/test_drop.py index e6d002369f758..0bc234dcb39aa 100644 --- a/pandas/tests/frame/methods/test_drop.py +++ b/pandas/tests/frame/methods/test_drop.py @@ -1,7 +1,12 @@ +import re + import numpy as np import pytest +from pandas.errors impo...
https://api.github.com/repos/pandas-dev/pandas/pulls/32994
2020-03-25T00:56:29Z
2020-03-25T23:58:24Z
2020-03-25T23:58:24Z
2020-03-26T00:40:00Z
DOC: Fix capitalization among headings in documentation files (#32550)
diff --git a/doc/source/getting_started/intro_tutorials/01_table_oriented.rst b/doc/source/getting_started/intro_tutorials/01_table_oriented.rst index 02e59b3c81755..9ee3bfc3b8e79 100644 --- a/doc/source/getting_started/intro_tutorials/01_table_oriented.rst +++ b/doc/source/getting_started/intro_tutorials/01_table_orie...
Following #32978 and #32944. Headers updated for the following files: ``` - [ ] doc/source/getting_started/comparison/comparison_with_stata.rst - [ ] doc/source/getting_started/intro_tutorials/01_table_oriented.rst - [ ] doc/source/getting_started/tutorials.rst - [ ] doc/source/reference/arrays.rst - [ ] doc/s...
https://api.github.com/repos/pandas-dev/pandas/pulls/32991
2020-03-24T23:16:27Z
2020-03-30T16:32:42Z
2020-03-30T16:32:42Z
2020-03-30T16:34:56Z
BUG: Multiple unstack using row index level labels and multi level columns DataFrame
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index dcbfe6aeb9a12..8d868550a7d12 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -387,6 +387,7 @@ Reshaping - Bug in :meth:`DataFrame.apply` where callback was called with :class:`Series` parameter even t...
- [x] closes #24729 - [x] closes #28306 - [x] closes #32624 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This should fix the issue with a long list of indices and unstack. The issue appeared with 6 indices for t...
https://api.github.com/repos/pandas-dev/pandas/pulls/32990
2020-03-24T23:12:52Z
2020-03-26T20:08:09Z
2020-03-26T20:08:08Z
2020-03-26T22:46:31Z
CLN: Fix linting
diff --git a/pandas/tests/indexes/timedeltas/test_constructors.py b/pandas/tests/indexes/timedeltas/test_constructors.py index 623b0d80a73dc..3e5bb56c3e58e 100644 --- a/pandas/tests/indexes/timedeltas/test_constructors.py +++ b/pandas/tests/indexes/timedeltas/test_constructors.py @@ -169,8 +169,8 @@ def test_constructo...
I think this fixes the linting problem in the CI
https://api.github.com/repos/pandas-dev/pandas/pulls/32987
2020-03-24T20:41:32Z
2020-03-25T02:51:24Z
2020-03-25T02:51:24Z
2020-03-25T02:52:30Z
DOC: Modify validate_rst_title_capitalization.py script
diff --git a/scripts/validate_rst_title_capitalization.py b/scripts/validate_rst_title_capitalization.py index 17752134e5049..7a24b689adb03 100755 --- a/scripts/validate_rst_title_capitalization.py +++ b/scripts/validate_rst_title_capitalization.py @@ -10,12 +10,11 @@ """ import argparse -import sys -import re -imp...
Regarding issue #32550. @datapythonista Modify script in order to not take into account words with 2 or more capital letters, which should all be proper words.
https://api.github.com/repos/pandas-dev/pandas/pulls/32986
2020-03-24T20:25:36Z
2020-03-24T22:54:54Z
null
2020-03-24T22:54:54Z
CLN: Remove NameResolutionError
diff --git a/pandas/core/computation/common.py b/pandas/core/computation/common.py index 19a8898a2987c..327ec21c3c11c 100644 --- a/pandas/core/computation/common.py +++ b/pandas/core/computation/common.py @@ -24,7 +24,3 @@ def result_type_many(*arrays_and_dtypes): except ValueError: # we have > NPY_MAXARG...
Another small cleanup (this exception was removed in 0.14.0 according to release notes)
https://api.github.com/repos/pandas-dev/pandas/pulls/32985
2020-03-24T20:12:36Z
2020-03-26T01:20:03Z
2020-03-26T01:20:03Z
2020-03-26T01:25:03Z
PERF: Enable %z in parsing datetime
diff --git a/asv_bench/benchmarks/timeseries.py b/asv_bench/benchmarks/timeseries.py index 6c9f8ee77e5ad..b494dbd8a38fa 100644 --- a/asv_bench/benchmarks/timeseries.py +++ b/asv_bench/benchmarks/timeseries.py @@ -336,15 +336,33 @@ def time_infer_quarter(self): class ToDatetimeFormat: def setup(self): - s...
- [ ] closes #32792 - [ ] 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/32984
2020-03-24T17:48:46Z
2020-03-29T15:54:50Z
2020-03-29T15:54:50Z
2020-04-17T14:23:47Z
DOC: Fix orc link
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index f3aff0654530e..d68dc24bae658 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -28,7 +28,7 @@ The pandas I/O API is a set of top level ``reader`` functions accessed like binary;`HDF5 Format <https://support...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/32983
2020-03-24T16:29:52Z
2020-03-24T20:10:36Z
2020-03-24T20:10:36Z
2020-03-24T20:10:53Z
TST: Move _get_cython_table_params into pandas/_testing.py
diff --git a/pandas/_testing.py b/pandas/_testing.py index e69263b81e1aa..1f6b645c821c8 100644 --- a/pandas/_testing.py +++ b/pandas/_testing.py @@ -2662,3 +2662,34 @@ def external_error_raised( import pytest return pytest.raises(expected_exception, match=None) + + +cython_table = pd.core.base.SelectionMixi...
Part of #30914 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/32981
2020-03-24T15:57:22Z
2020-03-24T19:35:39Z
2020-03-24T19:35:39Z
2020-03-24T19:35:43Z
DOC: Fix examples in reshape
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 15b4128424eb1..0b010bb67a89a 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -283,14 +283,8 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then pytest -q --doctest-modules pandas/core/tools/datetimes.py RET=$(($RET + $?)) ; echo $MSG "DONE...
- [ ] 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/32980
2020-03-24T15:25:40Z
2020-03-27T21:08:52Z
2020-03-27T21:08:52Z
2020-03-29T09:23:40Z
Add error message for tz_localize
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index cd1cb0b64f74a..31dc4b8dccb8c 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -101,7 +101,6 @@ Other enhancements - :meth:`~pandas.core.groupby.GroupBy.transform` has gained ``engine`` and ``engine_kwa...
- [x] closes #32967 - [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/32979
2020-03-24T15:15:46Z
2020-06-14T17:26:22Z
null
2020-06-14T17:26:22Z
DOC: Fix capitalization among headings in documentation files (#32550)
diff --git a/doc/source/development/policies.rst b/doc/source/development/policies.rst index b7cc3db3ad260..1031bbfc46457 100644 --- a/doc/source/development/policies.rst +++ b/doc/source/development/policies.rst @@ -6,7 +6,7 @@ Policies .. _policies.version: -Version Policy +Version policy ~~~~~~~~~~~~~~ .. v...
Files updated: ``` - [ ] doc/source/development/policies.rst - [ ] doc/source/development/roadmap.rst - [ ] doc/source/ecosystem.rst - [ ] doc/source/getting_started/comparison/comparison_with_sas.rst - [ ] doc/source/getting_started/comparison/comparison_with_sql.rst ``` more files updated in different PRs...
https://api.github.com/repos/pandas-dev/pandas/pulls/32978
2020-03-24T15:09:51Z
2020-04-07T01:27:42Z
2020-04-07T01:27:42Z
2020-04-07T18:29:24Z
DOC: Mention default behaviour of index_col in readcsv
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index f3aff0654530e..11103b36079f7 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -109,6 +109,11 @@ index_col : int, str, sequence of int / str, or False, default ``None`` Note: ``index_col=False`` can be used t...
- [x] closes #32664 - [ ] tests added / passed (Not needed) - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry (Not needed)
https://api.github.com/repos/pandas-dev/pandas/pulls/32977
2020-03-24T14:19:17Z
2020-04-07T00:23:21Z
2020-04-07T00:23:21Z
2020-04-07T00:23:49Z
CLN: Remove shebang from files that don't need it
diff --git a/pandas/core/computation/eval.py b/pandas/core/computation/eval.py index a488aac08e060..b74f99fca21c7 100644 --- a/pandas/core/computation/eval.py +++ b/pandas/core/computation/eval.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 """ Top level ``eval`` module. """ diff --git a/pandas/tests/io/generate_legacy_...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/32975
2020-03-24T12:12:35Z
2020-03-24T23:56:08Z
2020-03-24T23:56:08Z
2020-03-25T07:40:23Z
PERF: Using _Period for optimization
diff --git a/pandas/_libs/index.pyx b/pandas/_libs/index.pyx index 4d26842cc0277..4a9b504ffb0d9 100644 --- a/pandas/_libs/index.pyx +++ b/pandas/_libs/index.pyx @@ -479,7 +479,6 @@ cdef class PeriodEngine(Int64Engine): return scalar.value if isinstance(scalar, Period): # NB: we assume...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry --- I did two bench marks one in a tight loop(```%timeit```), and one with asv. I don't see a significant performance change (but I'm not sure I ...
https://api.github.com/repos/pandas-dev/pandas/pulls/32973
2020-03-24T11:46:49Z
2020-03-30T22:35:22Z
2020-03-30T22:35:22Z
2020-03-31T06:38:10Z
DOC: Change doc template to fix SA04 errors in docstrings #28792
diff --git a/pandas/core/ops/docstrings.py b/pandas/core/ops/docstrings.py index 7b03b4b449ea5..449a477646c02 100644 --- a/pandas/core/ops/docstrings.py +++ b/pandas/core/ops/docstrings.py @@ -29,11 +29,14 @@ def _make_flex_doc(op_name, typ): if typ == "series": base_doc = _flex_doc_SERIES + if o...
- [x] xref #28792 As requested in #32823 creating separate PR. Also all descriptions for methods starts with upper case and it looks a little out of place. Should it be casted to lowercase perhaps?
https://api.github.com/repos/pandas-dev/pandas/pulls/32972
2020-03-24T11:07:58Z
2020-04-10T19:25:36Z
2020-04-10T19:25:36Z
2020-04-10T19:25:43Z
Correct data type misspelling
diff --git a/doc/source/getting_started/intro_tutorials/02_read_write.rst b/doc/source/getting_started/intro_tutorials/02_read_write.rst index 1b3bcb799d5ce..412a5f9e7485f 100644 --- a/doc/source/getting_started/intro_tutorials/02_read_write.rst +++ b/doc/source/getting_started/intro_tutorials/02_read_write.rst @@ -118...
https://api.github.com/repos/pandas-dev/pandas/pulls/32970
2020-03-24T09:48:21Z
2020-03-24T18:24:06Z
2020-03-24T18:24:06Z
2020-03-24T19:17:50Z
REF: misplaces Series.where, Series.rename tests
diff --git a/pandas/tests/series/indexing/test_alter_index.py b/pandas/tests/series/indexing/test_alter_index.py index a3c431696b689..7d147ccfd7776 100644 --- a/pandas/tests/series/indexing/test_alter_index.py +++ b/pandas/tests/series/indexing/test_alter_index.py @@ -479,16 +479,6 @@ def test_reindex_empty_series_tz_d...
https://api.github.com/repos/pandas-dev/pandas/pulls/32969
2020-03-24T03:55:42Z
2020-03-24T19:36:43Z
2020-03-24T19:36:43Z
2020-03-24T19:52:17Z
CLN: move misplaced (and duplicated) Dataframe.__repr__ test
diff --git a/pandas/tests/frame/test_repr_info.py b/pandas/tests/frame/test_repr_info.py index 48cf37a9abc8b..bfeacdd623b5f 100644 --- a/pandas/tests/frame/test_repr_info.py +++ b/pandas/tests/frame/test_repr_info.py @@ -137,6 +137,10 @@ def test_unicode_string_with_unicode(self): df = DataFrame({"A": ["\u05d0...
https://api.github.com/repos/pandas-dev/pandas/pulls/32968
2020-03-24T03:34:00Z
2020-03-24T19:37:23Z
2020-03-24T19:37:23Z
2020-03-24T19:49:15Z
CLN: Assorted core/generic.py cleanup
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 8c6a5c9d020b4..9bc662c9fdf54 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -198,7 +198,6 @@ class NDFrame(PandasObject, SelectionMixin, indexing.IndexingMixin): def __init__( self, data: BlockManager, - ...
A few mostly aesthetic cleanups
https://api.github.com/repos/pandas-dev/pandas/pulls/32966
2020-03-24T02:09:41Z
2020-03-25T01:05:17Z
null
2020-03-25T01:05:20Z
CLN: Clean NDFrame.__finalize__ signature
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 8c6a5c9d020b4..f3d1dc8ad1ae2 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -5131,9 +5131,7 @@ def pipe(self, func, *args, **kwargs): # ---------------------------------------------------------------------- # Attribute acc...
`NDFrame.__finalize__` doesn't do anything with `method` or `kwargs` so removing them from the signature and all calls. Had to change a few tests which overrode this method with another that also included those arguments.
https://api.github.com/repos/pandas-dev/pandas/pulls/32965
2020-03-24T01:58:06Z
2020-03-24T14:41:13Z
null
2020-03-24T14:41:17Z
TST: Use indices fixture in tests/indexes/test_setops.py
diff --git a/pandas/conftest.py b/pandas/conftest.py index 39b98ba175a15..4861082840b1d 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -416,6 +416,10 @@ def indices(request): return indices_dict[request.param].copy() +# Needed to generate cartesian product of indices +index_fixture2 = indices + + ...
part of #30914 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/32964
2020-03-24T00:43:26Z
2020-03-26T01:15:23Z
2020-03-26T01:15:22Z
2020-03-26T01:15:28Z
TST: Use indices fixture in tests/indexes/test_base.py
diff --git a/pandas/tests/indexes/test_base.py b/pandas/tests/indexes/test_base.py index 9bc19be2999df..35ee81229b716 100644 --- a/pandas/tests/indexes/test_base.py +++ b/pandas/tests/indexes/test_base.py @@ -33,7 +33,6 @@ period_range, ) import pandas._testing as tm -from pandas.conftest import indices_dict fr...
part of #30914 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/32963
2020-03-24T00:30:05Z
2020-03-29T18:00:18Z
2020-03-29T18:00:18Z
2020-03-29T19:51:58Z
TYP: ensure Block.putmask, Block.where get arrays, not Series/DataFrame
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 9c1cfda7d6271..0fcc9fae8c681 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8609,7 +8609,7 @@ def _where( # GH 2745 / GH 4192 # treat like a scalar if len(other) == 1: ...
Avoids the `getattr(obj, "values", obj)` pattern (there's an issue for that)
https://api.github.com/repos/pandas-dev/pandas/pulls/32962
2020-03-23T23:42:34Z
2020-03-26T00:51:35Z
2020-03-26T00:51:35Z
2020-03-26T01:07:01Z
CLN/STY: Nitpicks
diff --git a/pandas/_libs/algos.pyx b/pandas/_libs/algos.pyx index b7f17aee35a44..7a32b8957003e 100644 --- a/pandas/_libs/algos.pyx +++ b/pandas/_libs/algos.pyx @@ -38,8 +38,15 @@ cimport pandas._libs.util as util from pandas._libs.util cimport numeric, get_nat from pandas._libs.khash cimport ( - khiter_t, kh_de...
Things I find myself doing in multiple branches
https://api.github.com/repos/pandas-dev/pandas/pulls/32961
2020-03-23T23:25:29Z
2020-03-26T01:11:22Z
2020-03-26T01:11:22Z
2020-03-26T01:13:40Z
BUG: df.iloc[:, :1] with EA column
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 1b21983c590e2..587b4d181fa61 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -467,6 +467,7 @@ Indexing - Bug in :meth:`DataFrame.iloc.__setitem__` creating a new array instead of overwriting ``Categor...
- [x] closes #32957 - [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/32959
2020-03-23T22:30:23Z
2020-04-10T20:51:26Z
2020-04-10T20:51:26Z
2020-04-10T20:58:16Z
CLN: update Appender to doc with case __doc__
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 8deeb415c17c9..b3beaff5bff36 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2300,7 +2300,7 @@ def to_html( ) # ---------------------------------------------------------------------- - @Appender(info.__doc__) + @doc(in...
- [x] working on #31942 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/32956
2020-03-23T22:07:14Z
2020-03-27T21:14:04Z
2020-03-27T21:14:04Z
2020-03-29T04:15:25Z
CLN: Remove encoding specifier
diff --git a/pandas/_libs/khash.pxd b/pandas/_libs/khash.pxd index ca3b83852b098..b5fe73df5d9be 100644 --- a/pandas/_libs/khash.pxd +++ b/pandas/_libs/khash.pxd @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- from cpython.object cimport PyObject from numpy cimport int64_t, uint64_t, int32_t, uint32_t, float64_t diff --git...
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/32955
2020-03-23T22:02:10Z
2020-03-26T01:09:27Z
2020-03-26T01:09:26Z
2020-03-26T01:10:28Z
BUG: passing a non-dict mapping to pd.concat raises a TypeError
diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst index 692df075f25cb..d00a739004fc3 100644 --- a/doc/source/whatsnew/v1.1.0.rst +++ b/doc/source/whatsnew/v1.1.0.rst @@ -385,8 +385,10 @@ Reshaping - :meth:`DataFrame.replace` and :meth:`Series.replace` will raise a ``TypeError`` if ``to_repla...
closes #32954 closes #32863 - [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/32953
2020-03-23T21:48:29Z
2020-03-26T01:19:31Z
2020-03-26T01:19:31Z
2020-03-26T08:55:54Z
CLN: Remove GroupByError exception
diff --git a/pandas/core/base.py b/pandas/core/base.py index 148be3f50c0e7..2d8a41f770bc2 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -123,15 +123,11 @@ def __setattr__(self, key: str, value): object.__setattr__(self, key, value) -class GroupByError(Exception): +class DataError(Exception)...
From what I can tell this exception isn't used / needed
https://api.github.com/repos/pandas-dev/pandas/pulls/32952
2020-03-23T21:18:17Z
2020-03-24T19:39:39Z
2020-03-24T19:39:39Z
2020-03-24T19:56:45Z
REF: move mixed-dtype frame_apply check outside of _reduce try/except
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 5c04678cd5fa6..58494d2fcaa5f 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -7995,35 +7995,44 @@ def blk_func(values): out[:] = coerce_to_dtypes(out.values, df.dtypes) return out + if not self._is_homo...
cc @jorisvandenbossche this is the same branch I linked the other day. Some variant of #32867 may make this irrelevant, but I don't think getting this improvement in the interim will make that any more difficult.
https://api.github.com/repos/pandas-dev/pandas/pulls/32950
2020-03-23T20:43:15Z
2020-03-30T22:43:04Z
2020-03-30T22:43:04Z
2020-03-30T23:08:05Z
CLN: remove unnecessary Series._convert calls
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 052a4adddca27..eb5674c46bccc 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -5707,7 +5707,6 @@ def _convert( numeric: bool_t = False, timedelta: bool_t = False, coerce: bool_t = False, - copy: bool_...
cc @WillAyd my confidence on the correctness here is only "pretty sure", so could use an extra set of eyes.
https://api.github.com/repos/pandas-dev/pandas/pulls/32949
2020-03-23T20:39:42Z
2020-04-10T16:18:07Z
2020-04-10T16:18:07Z
2020-04-10T17:23:12Z
REF: misplaced DataFrame.where tests
diff --git a/pandas/tests/frame/indexing/test_where.py b/pandas/tests/frame/indexing/test_where.py index bbf8ee5978e7c..24eb424bd5735 100644 --- a/pandas/tests/frame/indexing/test_where.py +++ b/pandas/tests/frame/indexing/test_where.py @@ -591,3 +591,40 @@ def test_where_tz_values(self, tz_naive_fixture): ) ...
https://api.github.com/repos/pandas-dev/pandas/pulls/32948
2020-03-23T20:34:57Z
2020-03-24T19:38:44Z
2020-03-24T19:38:44Z
2020-03-24T19:51:55Z
REF: .values -> ._values
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index 5b324bc5753ec..9afdb82467f90 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -700,7 +700,7 @@ def value_counts( result = result.sort_index() # if we are dropna and we have NO values - if dropna ...
https://api.github.com/repos/pandas-dev/pandas/pulls/32947
2020-03-23T20:18:05Z
2020-03-24T19:41:35Z
2020-03-24T19:41:35Z
2020-03-24T19:51:37Z
DOC: Fix capitalization among headings in documentation files (#32550) part 3
diff --git a/doc/source/development/contributing_docstring.rst b/doc/source/development/contributing_docstring.rst index 1c99b341f6c5a..e61e2debb538a 100644 --- a/doc/source/development/contributing_docstring.rst +++ b/doc/source/development/contributing_docstring.rst @@ -160,7 +160,7 @@ backticks. It is considered inl...
Files updated: ``` doc/source/getting_started/comparison/comparison_with_sas.rst doc/source/getting_started/comparison/comparison_with_sql.rst doc/source/getting_started/comparison/comparison_with_stata.rst doc/source/getting_started/intro_tutorials/01_table_oriented.rst doc/source/getting_started/tutorials.rst...
https://api.github.com/repos/pandas-dev/pandas/pulls/32946
2020-03-23T19:21:37Z
2020-03-23T19:27:03Z
null
2020-03-24T13:24:51Z
DOC: Fix capitalization among headings in documentation files (#32550) part 2
diff --git a/doc/source/development/contributing_docstring.rst b/doc/source/development/contributing_docstring.rst index 1c99b341f6c5a..e61e2debb538a 100644 --- a/doc/source/development/contributing_docstring.rst +++ b/doc/source/development/contributing_docstring.rst @@ -160,7 +160,7 @@ backticks. It is considered inl...
Files updated: ``` doc/source/development/policies.rst doc/source/development/roadmap.rst doc/source/ecosystem.rst doc/source/getting_started/10min.rst doc/source/getting_started/basics.rst ```
https://api.github.com/repos/pandas-dev/pandas/pulls/32945
2020-03-23T19:13:07Z
2020-03-23T19:27:41Z
null
2020-03-24T13:24:51Z
DOC: Fix capitalization among headings in documentation files (#32550)
diff --git a/doc/source/development/contributing_docstring.rst b/doc/source/development/contributing_docstring.rst index efa165e0a2d0c..0c780ad5f5847 100644 --- a/doc/source/development/contributing_docstring.rst +++ b/doc/source/development/contributing_docstring.rst @@ -160,7 +160,7 @@ backticks. The following are co...
Files updated: ``` doc/source/development/contributing_docstring.rst doc/source/development/developer.rst doc/source/development/extending.rst doc/source/development/maintaining.rst doc/source/development/meeting.rst ```
https://api.github.com/repos/pandas-dev/pandas/pulls/32944
2020-03-23T18:53:00Z
2020-03-31T17:26:03Z
2020-03-31T17:26:03Z
2020-04-07T18:35:04Z
CLN: xarray tests
diff --git a/pandas/tests/generic/test_to_xarray.py b/pandas/tests/generic/test_to_xarray.py index 250fe950a05fc..b6abdf09a7f62 100644 --- a/pandas/tests/generic/test_to_xarray.py +++ b/pandas/tests/generic/test_to_xarray.py @@ -1,5 +1,3 @@ -from distutils.version import LooseVersion - import numpy as np import pytes...
- [ ] 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/32943
2020-03-23T18:46:54Z
2020-03-24T16:56:41Z
2020-03-24T16:56:41Z
2020-03-25T19:06:10Z
(WIP) CI: Check that private functions are not used across modules
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index f7a513ca22d53..be2a7fa8dbe26 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -116,6 +116,21 @@ if [[ -z "$CHECK" || "$CHECK" == "lint" ]]; then fi RET=$(($RET + $?)) ; echo $MSG "DONE" + MSG='Check for use of private import across modules...
- [x] ref https://github.com/pandas-dev/pandas/pull/32932#issuecomment-602704059 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry --- cc @jbrockmendel
https://api.github.com/repos/pandas-dev/pandas/pulls/32942
2020-03-23T18:23:25Z
2020-06-14T17:28:10Z
null
2021-05-05T12:14:43Z
(WIP) CI: Check that private functions are not used across modules
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 15b4128424eb1..0868c7b6a3a12 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -232,6 +232,14 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then invgrep -R --include=*.{py,pyx} 'xrange' pandas RET=$(($RET + $?)) ; echo $MSG "DONE" + MS...
- [x] ref https://github.com/pandas-dev/pandas/pull/32932#issuecomment-602704059 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry --- cc @jbrockmendel
https://api.github.com/repos/pandas-dev/pandas/pulls/32941
2020-03-23T18:22:26Z
2020-03-23T18:22:33Z
null
2020-03-23T18:23:04Z
REF: collect casting portion of Block.setitem
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 935ff09585b17..b13481e3442d1 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -833,21 +833,24 @@ def setitem(self, indexer, value): else: # current dtype cannot store value, ...
Block.setitem is sometimes inplace and sometimes casts/copies. The idea here is to isolate the casting cases and eventually separate them into their own method, so we can be more careful about when we call the inplace vs not-inplace setters.
https://api.github.com/repos/pandas-dev/pandas/pulls/32940
2020-03-23T17:40:55Z
2020-03-25T00:10:41Z
2020-03-25T00:10:41Z
2020-03-25T00:40:59Z
pandas/core/ops/: replace .format() with f-strings
diff --git a/pandas/core/ops/__init__.py b/pandas/core/ops/__init__.py index 10dcb59977cdd..96e58158fa77c 100644 --- a/pandas/core/ops/__init__.py +++ b/pandas/core/ops/__init__.py @@ -584,17 +584,18 @@ def _align_method_FRAME( """ def to_series(right): - msg = "Unable to coerce to Series, length mus...
- https://github.com/pandas-dev/pandas/issues/29547 - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/32939
2020-03-23T17:20:29Z
2020-03-25T00:05:55Z
null
2020-03-25T00:05:55Z
REF: misplaced DTI.shift tests
diff --git a/pandas/tests/indexes/categorical/test_category.py b/pandas/tests/indexes/categorical/test_category.py index c18cd1f252c83..9562582393235 100644 --- a/pandas/tests/indexes/categorical/test_category.py +++ b/pandas/tests/indexes/categorical/test_category.py @@ -488,7 +488,7 @@ def test_equals_categorical(sel...
https://api.github.com/repos/pandas-dev/pandas/pulls/32938
2020-03-23T17:05:26Z
2020-03-24T19:42:43Z
2020-03-24T19:42:43Z
2020-03-24T19:51:16Z