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
CI: Drop Python 3.5 support
diff --git a/ci/azure/posix.yml b/ci/azure/posix.yml index 62b15bae6d2ce..d6afb263b447f 100644 --- a/ci/azure/posix.yml +++ b/ci/azure/posix.yml @@ -9,17 +9,16 @@ jobs: strategy: matrix: ${{ if eq(parameters.name, 'macOS') }}: - py35_macos: - ENV_FILE: ci/deps/azure-macos-35.yaml - ...
- [X] closes #29034 - [ ] 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/29212
2019-10-24T19:05:47Z
2019-11-08T14:48:11Z
2019-11-08T14:48:11Z
2019-11-08T14:48:41Z
Adding test for assert_equal_index with empty iterables
diff --git a/pandas/tests/indexes/multi/test_constructor.py b/pandas/tests/indexes/multi/test_constructor.py index ff98da85cfb2d..c32adf275ac98 100644 --- a/pandas/tests/indexes/multi/test_constructor.py +++ b/pandas/tests/indexes/multi/test_constructor.py @@ -722,3 +722,10 @@ def test_from_frame_invalid_names(names, e...
- [x] closes #16844 - [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/29211
2019-10-24T18:52:58Z
2019-10-29T15:22:48Z
2019-10-29T15:22:47Z
2019-10-30T07:13:21Z
CLN: Remove unnecessary sys.version_info checks
diff --git a/pandas/tests/io/formats/test_to_csv.py b/pandas/tests/io/formats/test_to_csv.py index a85f3677bc3ab..095dfb7876154 100644 --- a/pandas/tests/io/formats/test_to_csv.py +++ b/pandas/tests/io/formats/test_to_csv.py @@ -11,7 +11,7 @@ class TestToCSV: @pytest.mark.xfail( - (3, 6, 5) > sys.version...
Title is self-explanatory.
https://api.github.com/repos/pandas-dev/pandas/pulls/29210
2019-10-24T18:28:23Z
2019-10-25T12:44:19Z
2019-10-25T12:44:19Z
2019-10-25T15:03:55Z
Clean up noqa E241 #29207
diff --git a/pandas/tests/dtypes/test_inference.py b/pandas/tests/dtypes/test_inference.py index 60afd768195d9..aeec12b9ad14e 100644 --- a/pandas/tests/dtypes/test_inference.py +++ b/pandas/tests/dtypes/test_inference.py @@ -62,46 +62,46 @@ def coerce(request): # collect all objects to be tested for list-like-ness; us...
- [X] closes #29207 - [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/29209
2019-10-24T17:40:27Z
2019-10-24T18:38:04Z
2019-10-24T18:38:04Z
2019-10-25T04:54:30Z
CLN: simplify core.algorithms
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index 2c9f632e8bc24..e64290a196523 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -47,7 +47,7 @@ from pandas.core.dtypes.missing import isna, na_value_for_dtype from pandas.core import common as com -from pandas.core.const...
https://api.github.com/repos/pandas-dev/pandas/pulls/29199
2019-10-24T04:01:02Z
2019-10-25T17:49:34Z
2019-10-25T17:49:34Z
2019-10-31T14:52:05Z
CLN: don't catch AttributeError in _wrap_applied_output
diff --git a/pandas/core/base.py b/pandas/core/base.py index 5ae3926952a67..9586d49c555ff 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -571,8 +571,6 @@ def _aggregate_multiple_funcs(self, arg, _level, _axis): except (TypeError, DataError): pass - e...
cc @jreback @WillAyd
https://api.github.com/repos/pandas-dev/pandas/pulls/29195
2019-10-23T21:26:49Z
2019-10-25T17:10:33Z
2019-10-25T17:10:33Z
2019-10-25T17:36:14Z
CLN: dont catch Exception in _aggregate_frame
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index c766fcaa4f849..0ae3d71d077df 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -1074,15 +1074,8 @@ def _aggregate_frame(self, func, *args, **kwargs): else: for name in self.indices:...
cc @jreback @WillAyd
https://api.github.com/repos/pandas-dev/pandas/pulls/29194
2019-10-23T20:46:56Z
2019-10-24T12:06:27Z
2019-10-24T12:06:27Z
2019-10-25T13:52:32Z
Removed generate_bins_generic
diff --git a/pandas/core/groupby/ops.py b/pandas/core/groupby/ops.py index 79b51ef57cd37..17bd60fb9d152 100644 --- a/pandas/core/groupby/ops.py +++ b/pandas/core/groupby/ops.py @@ -53,59 +53,6 @@ ) -def generate_bins_generic(values, binner, closed): - """ - Generate bin edge offsets and bin labels for one ar...
appears to be dead groupby code
https://api.github.com/repos/pandas-dev/pandas/pulls/29192
2019-10-23T19:24:21Z
2019-10-29T17:10:50Z
2019-10-29T17:10:50Z
2019-10-29T17:11:05Z
Fix mypy error in pandas/tests.indexes.test_base.py
diff --git a/pandas/tests/indexes/test_base.py b/pandas/tests/indexes/test_base.py index 5bfa13c0865f1..9d6dc3e906dff 100644 --- a/pandas/tests/indexes/test_base.py +++ b/pandas/tests/indexes/test_base.py @@ -507,7 +507,7 @@ def test_constructor_dtypes_timedelta(self, attr, klass): result = klass(list(values),...
- [x] relates to #28926 - [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/29188
2019-10-23T17:23:02Z
2019-11-27T16:09:11Z
2019-11-27T16:09:11Z
2019-11-27T16:09:19Z
DOC: infer_objects doc fixup
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 4211b15203721..aae1fffb7a3b6 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -2025,11 +2025,12 @@ object conversion pandas offers various functions to try to force conversion of types from the ``object`` dtype to other types. In case...
follow up to #16915
https://api.github.com/repos/pandas-dev/pandas/pulls/17018
2017-07-19T01:51:51Z
2017-07-19T09:51:47Z
2017-07-19T09:51:47Z
2017-07-19T09:51:50Z
DOC: add warning to append about inefficiency
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 6559fc4c24ce2..9fda0f44320f8 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4618,6 +4618,11 @@ def append(self, other, ignore_index=False, verify_integrity=False): the DataFrame's index, the order of the columns in the resulting ...
- [X] closes #16418 - [X] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff`` - [X] Improves documentation about append with regards to append I think I misused Git and deleted my old pull request and repushed the branch instead of rebasing correctly.... sorry about that. I believe I have addresse...
https://api.github.com/repos/pandas-dev/pandas/pulls/17017
2017-07-19T01:51:44Z
2017-07-19T10:22:53Z
2017-07-19T10:22:53Z
2017-07-19T15:03:24Z
BUG: do not cast ints to floats if inputs of crosstab are not aligned
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 9a6016c82e794..8c81868af82b9 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -224,10 +224,10 @@ Sparse Reshaping ^^^^^^^^^ - Joining/Merging with a non unique ``PeriodIndex`` raised a TypeError ...
- [x] closes #17005 - [x] tests added / passed - [x] passes ``git diff master -u -- "*.py" | flake8 --diff`` - [x] whatsnew entry ... plus some trivial refactoring.
https://api.github.com/repos/pandas-dev/pandas/pulls/17011
2017-07-18T11:03:19Z
2017-07-21T10:38:12Z
2017-07-21T10:38:11Z
2017-07-23T20:51:06Z
BUG: Don't error with empty Series for .isin
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index c63d4575bac43..90f3e6a82952d 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -204,3 +204,4 @@ Categorical Other ^^^^^ - Bug in :func:`eval` where the ``inplace`` parameter was being incorrectly ...
Empty `Series` initializes to `float64`, even when the data type is `object` for `.isin`, leading to an error with membership. Closes #16991.
https://api.github.com/repos/pandas-dev/pandas/pulls/17006
2017-07-18T08:18:18Z
2017-07-19T00:45:02Z
2017-07-19T00:45:02Z
2017-07-19T02:55:26Z
DEPS: set min versions
diff --git a/.travis.yml b/.travis.yml index 897d31cf23a3b..034e2a32bb75c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,7 @@ matrix: - JOB="3.5_OSX" TEST_ARGS="--skip-slow --skip-network" - dist: trusty env: - - JOB="2.7_LOCALE" TEST_ARGS="--only-slow --skip-network" LOCALE_OVERRID...
closes #15206, numpy >= 1.9 closes #15543, matplotlib >= 1.4.3 closes #15214, bottleneck >= 1.0.0 scipy >= 0.14.0
https://api.github.com/repos/pandas-dev/pandas/pulls/17002
2017-07-18T01:11:01Z
2017-08-22T09:50:58Z
2017-08-22T09:50:58Z
2017-08-22T10:50:57Z
COMPAT: np.full not available in all versions, xref #16773
diff --git a/pandas/core/sparse/frame.py b/pandas/core/sparse/frame.py index e157ae16e71f9..5fe96d70fc16f 100644 --- a/pandas/core/sparse/frame.py +++ b/pandas/core/sparse/frame.py @@ -163,7 +163,9 @@ def _init_dict(self, data, index, columns, dtype=None): # TODO: figure out how to handle this case, all nan'...
https://api.github.com/repos/pandas-dev/pandas/pulls/17000
2017-07-17T23:34:16Z
2017-07-18T01:31:43Z
2017-07-18T01:31:43Z
2017-07-18T01:31:43Z
DOC: Make highlight functions match documentation
diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index b08d3877f3b03..d88a230b42403 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -1054,9 +1054,9 @@ def highlight_max(self, subset=None, color='yellow', axis=0): subset: IndexSlice, default None a va...
Fixes mismatch between function and docs defined in #16998
https://api.github.com/repos/pandas-dev/pandas/pulls/16999
2017-07-17T21:37:45Z
2017-07-18T16:08:04Z
2017-07-18T16:08:04Z
2017-07-18T16:08:13Z
BUG: np.inf now causes Index to upcast from int to float
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 935e9d740b91c..b8c4cf61edc5b 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -145,6 +145,7 @@ Bug Fixes ~~~~~~~~~ - Fixes regression in 0.20, :func:`Series.aggregate` and :func:`DataFrame.aggre...
- [x] closes #16957 - [x] tests added / passed - [x] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff`` - [x] whatsnew entry Previously the following code would cause an OverflowError ```python df = pd.DataFrame(columns=[0]) df.loc[0] = 0 df.loc[np.inf] = 1 ``` This patch catches the e...
https://api.github.com/repos/pandas-dev/pandas/pulls/16996
2017-07-17T17:04:18Z
2017-07-18T15:58:56Z
2017-07-18T15:58:55Z
2017-07-18T15:59:06Z
MAINT: Drop line_width and height from options
diff --git a/doc/source/options.rst b/doc/source/options.rst index f373705a96f48..c585da64efece 100644 --- a/doc/source/options.rst +++ b/doc/source/options.rst @@ -304,7 +304,6 @@ display.float_format None The callable should accept a fl This is ...
Deprecated since 0.11 and 0.12 respectively. xref #2881 xref #3663
https://api.github.com/repos/pandas-dev/pandas/pulls/16993
2017-07-17T08:27:58Z
2017-07-17T23:18:56Z
2017-07-17T23:18:56Z
2017-07-17T23:43:19Z
COMPAT: Add back remove_na for seaborn
diff --git a/pandas/core/series.py b/pandas/core/series.py index 4d5b718ce0ae9..219eca4277f32 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -37,7 +37,6 @@ maybe_convert_platform, maybe_cast_to_datetime, maybe_castable) from pandas.core.dtypes.missing import isnull, notnull, remove_na_arra...
Title is self-explanatory. Closes #16971.
https://api.github.com/repos/pandas-dev/pandas/pulls/16992
2017-07-17T07:29:33Z
2017-07-17T23:29:58Z
2017-07-17T23:29:58Z
2017-07-17T23:43:45Z
DOC: Clarify 'it' in aggregate doc
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index e4e2e0093b1a6..f12592feaa4c3 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3152,7 +3152,7 @@ def pipe(self, func, *args, **kwargs): (e.g., np.mean(arr_2d, axis=0)) as opposed to mimicking the default Numpy behavior (e.g....
The grammarian part of me agrees that clarification is needed. Closes #16988.
https://api.github.com/repos/pandas-dev/pandas/pulls/16989
2017-07-17T06:19:12Z
2017-07-17T06:19:28Z
2017-07-17T06:19:27Z
2017-07-17T06:21:26Z
CLN/COMPAT: for various py2/py3 in doc/bench scripts
diff --git a/asv_bench/vbench_to_asv.py b/asv_bench/vbench_to_asv.py index c3041ec2b1ba1..2a4ce5d183ea2 100644 --- a/asv_bench/vbench_to_asv.py +++ b/asv_bench/vbench_to_asv.py @@ -114,7 +114,7 @@ def translate_module(target_module): l_vars = {} exec('import ' + target_module) in g_vars - print target_mo...
- [ ] 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/16984
2017-07-16T19:24:00Z
2017-07-17T12:59:15Z
2017-07-17T12:59:14Z
2017-07-17T15:59:28Z
ENH: Use 'Y' as an alias for end of year
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index 1dd80aec4fd6c..8f02a86adbd48 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -1092,9 +1092,9 @@ frequencies. We will refer to these aliases as *offset aliases* "BQ", "business quarter endfrequency" "QS", "quarte...
Redo of #16958. Closes #9313. cc @imih Additional components: - [x] `whatsnew` mention - [x] doc in `timeseries.rst` - [x] tests for 'YS' and `date_range`
https://api.github.com/repos/pandas-dev/pandas/pulls/16978
2017-07-16T10:35:56Z
2017-07-19T02:51:58Z
2017-07-19T02:51:58Z
2017-07-19T15:34:36Z
TST: Add test for sub-char in read_csv
diff --git a/pandas/tests/io/parser/common.py b/pandas/tests/io/parser/common.py index 584a6561b505b..4d1f9936af983 100644 --- a/pandas/tests/io/parser/common.py +++ b/pandas/tests/io/parser/common.py @@ -1677,6 +1677,16 @@ def test_internal_eof_byte_to_file(self): result = self.read_csv(path) ...
Title is self-explanatory. Closes #16893. cc @Khris777
https://api.github.com/repos/pandas-dev/pandas/pulls/16977
2017-07-16T10:29:49Z
2017-07-16T15:31:13Z
2017-07-16T15:31:13Z
2017-07-16T17:17:00Z
Revert "Create a 'Y' alias for date_range yearly frequency "
diff --git a/pandas/tests/tseries/test_frequencies.py b/pandas/tests/tseries/test_frequencies.py index 4bcd0b49db7e0..54d12317b0bf8 100644 --- a/pandas/tests/tseries/test_frequencies.py +++ b/pandas/tests/tseries/test_frequencies.py @@ -248,10 +248,9 @@ def test_anchored_shortcuts(self): # ensure invalid cas...
Reverts #16958. Was prematurely merged.
https://api.github.com/repos/pandas-dev/pandas/pulls/16976
2017-07-16T09:56:58Z
2017-07-16T09:57:15Z
2017-07-16T09:57:15Z
2017-07-16T09:58:04Z
DOC: Improving docstring of reset_index method (#16416)
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 9a79ca1d4eab1..c18aaf25bfde5 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3023,35 +3023,98 @@ def reset_index(self, level=None, drop=False, inplace=False, col_level=0, Examples -------- - >>> df = pd.DataFrame(...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff`` - [ ] whatsnew entry I failed to see that someone else was taking care of the reset_index documentation. But I think the examples I implemented are more clear, so submitting the PR anyway.
https://api.github.com/repos/pandas-dev/pandas/pulls/16975
2017-07-16T07:58:16Z
2017-07-19T10:19:30Z
2017-07-19T10:19:30Z
2017-07-19T10:33:14Z
CLN: some residual code removed, xref to #16761
diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py index e70db1d13e376..04563907582ee 100644 --- a/pandas/core/config_init.py +++ b/pandas/core/config_init.py @@ -255,18 +255,6 @@ def use_numexpr_cb(key): df.info() (the behaviour in earlier versions of pandas). """ -pc_mpl_style_doc = """ -: b...
xref #16761
https://api.github.com/repos/pandas-dev/pandas/pulls/16974
2017-07-16T01:02:16Z
2017-07-16T01:42:56Z
2017-07-16T01:42:56Z
2017-07-16T01:42:57Z
COMPAT: rename isnull -> isna, notnull -> notna
diff --git a/doc/source/10min.rst b/doc/source/10min.rst index 8482eef552c17..def49a641a0ff 100644 --- a/doc/source/10min.rst +++ b/doc/source/10min.rst @@ -373,7 +373,7 @@ To get the boolean mask where values are ``nan`` .. ipython:: python - pd.isnull(df1) + pd.isna(df1) Operations diff --git a/doc/sour...
existing isnull, notnull remain user facing, will show DeprecationWarning closes #15001
https://api.github.com/repos/pandas-dev/pandas/pulls/16972
2017-07-15T23:34:33Z
2017-07-25T10:18:24Z
2017-07-25T10:18:24Z
2017-10-27T19:17:10Z
DEPR: deprecate html.border option
diff --git a/doc/source/options.rst b/doc/source/options.rst index 6ff5b76014c95..f373705a96f48 100644 --- a/doc/source/options.rst +++ b/doc/source/options.rst @@ -400,7 +400,7 @@ display.width 80 Width of the display in charact display.html.table_schema False Whether ...
Use display.html.border instead - [x] closes #15793 - [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/16970
2017-07-15T22:57:20Z
2017-07-16T15:32:45Z
2017-07-16T15:32:45Z
2017-07-16T15:40:21Z
ERR: Raise ValueError when setting scalars in a dataframe with no index ( #16823)
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index b8b06ee0fe94e..1e9c402dac73e 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -706,6 +706,8 @@ Other API Changes - Restricted DateOffset keyword arguments. Previously, ``DateOffset`` subclasses al...
- [x] closes #16823 - [x] tests added / passed - [x] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff`` - [x] whatsnew entry Trying to set a column with an scalar value and no index now raises a ValueError, similar to the behaviour of the DataFrame constructor.
https://api.github.com/repos/pandas-dev/pandas/pulls/16968
2017-07-15T22:30:07Z
2017-10-08T17:04:56Z
2017-10-08T17:04:56Z
2017-10-09T20:12:52Z
DOC: channel from pandas to conda-forge
diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index bfcf560565977..b44d0f36b86a1 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -171,7 +171,7 @@ other dependencies, you can install them as follows:: To install *all* pandas dependencies you can do the following:...
fixes the 'copy/paste' command to install the `requirements_all.txt` file. It currently will fail because `nbsphinx` is not in the `pandas` channel.
https://api.github.com/repos/pandas-dev/pandas/pulls/16966
2017-07-15T21:57:11Z
2017-07-15T23:49:09Z
2017-07-15T23:49:09Z
2017-07-15T23:49:33Z
DOC: document convention argument for resample()
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index a4bb746722c1e..e4e2e0093b1a6 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -4826,6 +4826,8 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None, label : {'right', 'left'} Which bin edge ...
- [ ] closes #15432 - [ ] tests added / passed - [ ] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff`` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16965
2017-07-15T21:51:46Z
2017-07-16T15:55:34Z
2017-07-16T15:55:34Z
2017-07-16T15:55:35Z
DOC: misspelling in DatetimeIndex.indexer_between_time [CI skip]
diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py index d8aae2367976b..e6bc1790f2992 100644 --- a/pandas/core/indexes/datetimes.py +++ b/pandas/core/indexes/datetimes.py @@ -1882,7 +1882,7 @@ def indexer_between_time(self, start_time, end_time, include_start=True, Select values b...
- [ ] fix typo in DatetimeIndex.indexer_between_time - [ ] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff``
https://api.github.com/repos/pandas-dev/pandas/pulls/16963
2017-07-15T21:21:24Z
2017-07-16T01:20:56Z
2017-07-16T01:20:56Z
2017-07-16T01:20:58Z
Fixes SparseSeries initiated with dictionary raising AttributeError
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 6ddf6029b99bb..f8bd643f05ca0 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -180,7 +180,7 @@ Groupby/Resample/Rolling Sparse ^^^^^^ - +- Bug in ``SparseSeries`` raises ``AttributeError`` when ...
- [x] closes #16905 - [x] tests added / passed - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16960
2017-07-15T20:56:55Z
2017-07-19T10:17:57Z
2017-07-19T10:17:57Z
2017-07-19T10:23:32Z
Create a 'Y' alias for date_range yearly frequency
diff --git a/pandas/tests/tseries/test_frequencies.py b/pandas/tests/tseries/test_frequencies.py index 54d12317b0bf8..4bcd0b49db7e0 100644 --- a/pandas/tests/tseries/test_frequencies.py +++ b/pandas/tests/tseries/test_frequencies.py @@ -248,9 +248,10 @@ def test_anchored_shortcuts(self): # ensure invalid cas...
- [x] closes #9313 - [x] tests added / passed - [x] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff`` - [ ] whatsnew entry - [ ] Add alias 'Y' to docs. What's the best place to introduce this in docs? Moreover, note the inference still infers a year to 'A'.
https://api.github.com/repos/pandas-dev/pandas/pulls/16958
2017-07-15T20:26:52Z
2017-07-16T08:04:36Z
2017-07-16T08:04:36Z
2017-07-16T10:09:06Z
Deprecating Series.argmin and Series.argmax (#16830)
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 36551fa30c3ad..61e81387f8fec 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -487,11 +487,33 @@ Other API Changes Deprecations ~~~~~~~~~~~~ + - :func:`read_excel()` has deprecated ``sheetname`...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff`` - [x] whatsnew entry This is one step toward closing issue #16830. After this, I will post another pull request containing the code to implement the expected behavior of argmax and argmin for b...
https://api.github.com/repos/pandas-dev/pandas/pulls/16955
2017-07-15T19:43:43Z
2017-09-27T15:07:48Z
2017-09-27T15:07:48Z
2017-09-27T15:07:48Z
BUG Fix for Issue #12565 - font size on secondary_y
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index bd19d71182762..8d5b390801318 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -166,7 +166,7 @@ I/O Plotting ^^^^^^^^ - +- Bug in plotting methods using ``secondary_y`` and ``fontsize`` not setti...
There may be other plotting methods that need testing. - [ ] closes #12565 - [ ] tests added / passed - [ ] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff`` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16952
2017-07-15T18:05:00Z
2017-07-15T23:13:50Z
2017-07-15T23:13:49Z
2017-07-15T23:17:22Z
ENH: Add warning when setting into nonexistent attribute
diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst index 1659d57b33b84..53a259ad6eb15 100644 --- a/doc/source/indexing.rst +++ b/doc/source/indexing.rst @@ -227,10 +227,6 @@ as an attribute: dfa.A panel.one -You can use attribute access to modify an existing element of a Series or column of a Data...
- [ ] closes #7175 - [ ] closes #5904 - [ ] tests added / passed - [ ] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff`` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16951
2017-07-15T16:52:52Z
2017-08-07T11:05:59Z
2017-08-07T11:05:58Z
2017-08-16T20:41:45Z
Clarify whitespace behavior in read_fwf documentation (#16772)
diff --git a/doc/source/io.rst b/doc/source/io.rst index 9bf84e5419ffa..495d4e9c3a5a3 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1258,7 +1258,8 @@ Files with Fixed Width Columns While ``read_csv`` reads delimited data, the :func:`read_fwf` function works with data files that have known and fixed col...
- [x] closes #16772 - [x] tests added / passed - [x] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff`` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16950
2017-07-15T16:24:27Z
2017-07-18T05:01:27Z
2017-07-18T05:01:27Z
2017-07-18T12:41:20Z
Support non unique period indexes on join and merge operations
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 6ddf6029b99bb..34ff73082627a 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -185,7 +185,7 @@ Sparse Reshaping ^^^^^^^^^ - +- Joining/Merging with a non unique ``PeriodIndex`` raised a TypeErro...
- [x] closes #16871 - [x] tests added / passed - [x] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff`` - [x] whatsnew entry Now join and merge operations on dataframes with non unique period indexes are supported, test included.
https://api.github.com/repos/pandas-dev/pandas/pulls/16949
2017-07-15T16:19:30Z
2017-07-15T21:28:24Z
2017-07-15T21:28:23Z
2017-07-15T23:18:40Z
DOC: Improving docstring of take method
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index d9d75c870b20c..c83b1073afc8e 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2063,18 +2063,77 @@ def __delitem__(self, key): def take(self, indices, axis=0, convert=True, is_copy=True, **kwargs): """ - Analogo...
- [ ] 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/16948
2017-07-15T15:49:16Z
2017-08-21T08:27:25Z
2017-08-21T08:27:24Z
2017-08-21T08:38:19Z
Change "pls" to "please" in warning message
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 6559fc4c24ce2..4d8b831b7d63f 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3359,7 +3359,7 @@ def sort_index(self, axis=0, level=None, ascending=True, inplace=False, inplace = validate_bool_kwarg(inplace, 'inplace') # 107...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff`` - [x] whatsnew entry Code is now more formal when talking to users, as to not disrespect them! Full warning: `"by argument to sort_index is deprecated, please use .sort_values(by=...)"`
https://api.github.com/repos/pandas-dev/pandas/pulls/16947
2017-07-15T15:18:22Z
2017-07-15T15:34:05Z
2017-07-15T15:34:05Z
2017-10-02T20:44:24Z
DOC: Expand docstrings for head / tail methods
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 5a7f37bba91aa..d9d75c870b20c 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2978,14 +2978,36 @@ def filter(self, items=None, like=None, regex=None, axis=None): def head(self, n=5): """ - Returns first n rows ...
This is just a first draft of some documentation changes to head and tail methods. From EuroPython sprint.
https://api.github.com/repos/pandas-dev/pandas/pulls/16941
2017-07-15T09:38:29Z
2017-08-21T07:50:45Z
2017-08-21T07:50:45Z
2017-08-21T07:58:18Z
TST: Don't assert that a bug exists in numpy
diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py index 9504d2a9426f0..993dcc4f527b2 100644 --- a/pandas/tests/test_algos.py +++ b/pandas/tests/test_algos.py @@ -2,6 +2,7 @@ import numpy as np import pytest +import warnings from numpy.random import RandomState from numpy import nan @@ -127,7 ...
Better to ignore the warning from the bug, rather than assert the bug is still there After this change, numpy/numpy#9412 _could_ be backported to fix the bug
https://api.github.com/repos/pandas-dev/pandas/pulls/16940
2017-07-15T09:26:10Z
2017-07-15T12:30:03Z
2017-07-15T12:30:03Z
2017-07-15T13:41:10Z
CLN16668: remove OrderedDefaultDict
diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py index 9eacb9acef2c9..33b41d61aa978 100644 --- a/pandas/compat/__init__.py +++ b/pandas/compat/__init__.py @@ -21,7 +21,6 @@ given metaclass instead (and avoids intermediary class creation) Other items: -* OrderedDefaultDict * platform checker ""...
- [x] closes #16668 - [x] tests added / passed - [x] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff`` - [ ] whatsnew entry The replacement of usage covered by tests.
https://api.github.com/repos/pandas-dev/pandas/pulls/16939
2017-07-15T09:16:21Z
2017-07-15T13:58:25Z
2017-07-15T13:58:25Z
2017-07-15T13:58:28Z
BUG: MultiIndex sort with ascending as list
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index bd19d71182762..6ddf6029b99bb 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -156,6 +156,7 @@ Indexing - When called on an unsorted ``MultiIndex``, the ``loc`` indexer now will raise ``UnsortedInd...
MultiIndex sorting with `sort_index` would fail when the `ascending` argument was specified as a list but not all levels of the index were specified in the `level` argument, or the levels were specified in a different order to the MultiIndex. - [X] closes #16934 - [X] tests added / passed - [X] passes ``git ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16937
2017-07-15T05:59:40Z
2017-07-15T15:34:32Z
2017-07-15T15:34:32Z
2017-07-15T15:34:34Z
ERR: add stacklevel to to_dict() UserWarning (#16927)
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 6559fc4c24ce2..44e43138e6911 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -972,7 +972,8 @@ def to_dict(self, orient='dict', into=dict): """ if not self.columns.is_unique: warnings.warn("DataFrame columns are...
- [x] closes #16927 - [ ] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) - [x] The warning now correctly points to the calling site. I would like some gu...
https://api.github.com/repos/pandas-dev/pandas/pulls/16936
2017-07-15T04:29:54Z
2017-07-15T16:01:39Z
2017-07-15T16:01:38Z
2017-07-15T16:04:31Z
Move series.remove_na to core.dtypes.missing.remove_na_arraylike
diff --git a/pandas/core/dtypes/missing.py b/pandas/core/dtypes/missing.py index af3a873bc2866..9913923cb7807 100644 --- a/pandas/core/dtypes/missing.py +++ b/pandas/core/dtypes/missing.py @@ -394,3 +394,10 @@ def na_value_for_dtype(dtype): elif is_bool_dtype(dtype): return False return np.nan + + +d...
See discussion on #16931.
https://api.github.com/repos/pandas-dev/pandas/pulls/16935
2017-07-14T23:32:27Z
2017-07-15T19:14:34Z
2017-07-15T19:14:34Z
2017-08-02T23:54:29Z
DOC: behavior when slicing with missing bounds
diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst index f988fb7cd6806..1659d57b33b84 100644 --- a/doc/source/indexing.rst +++ b/doc/source/indexing.rst @@ -78,8 +78,10 @@ of multi-axis indexing. *label* of the index. This use is **not** an integer position along the index) - A list or array of...
- [x] closes #16917 - [ ] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) - [ ] whatsnew entry This documents the behavior discussed in #16917. I don't hav...
https://api.github.com/repos/pandas-dev/pandas/pulls/16932
2017-07-14T21:54:32Z
2017-07-16T15:23:31Z
2017-07-16T15:23:30Z
2017-07-16T17:16:19Z
EHN: Improved thread safety for read_html() GH16928
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 762107a261090..5c7a00475733a 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -164,6 +164,8 @@ I/O - Bug in :func:`read_stata` where value labels could not be read when using an iterator (:issue:...
- [X] closes #16928 - [x] tests added / passed - [X] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) - [X] whatsnew entry It failed a total of 6 tests when running `test_fast.sh` but...
https://api.github.com/repos/pandas-dev/pandas/pulls/16930
2017-07-14T19:25:11Z
2017-07-21T23:25:12Z
2017-07-21T23:25:12Z
2017-07-21T23:25:15Z
DOC: Recommend sphinx 1.5 for now
diff --git a/ci/requirements_all.txt b/ci/requirements_all.txt index e9f49ed879c86..de37ec4d20be4 100644 --- a/ci/requirements_all.txt +++ b/ci/requirements_all.txt @@ -2,7 +2,7 @@ pytest pytest-cov pytest-xdist flake8 -sphinx +sphinx=1.5* nbsphinx ipython python-dateutil
xref https://github.com/pandas-dev/pandas/issues/16705 I've started to debug the slowdown (it's on the writing side), but haven't diagnosed the cause. For the SciPy sprints tomorrow we should recommend 1.5
https://api.github.com/repos/pandas-dev/pandas/pulls/16929
2017-07-14T19:14:52Z
2017-07-14T19:46:42Z
2017-07-14T19:46:42Z
2017-10-27T12:04:55Z
BUG: Allow value labels to be read with iterator
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 2716d9b09eaa9..bd19d71182762 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -162,6 +162,7 @@ I/O - Bug in :func:`read_csv` in which non integer values for the header argument generated an unhel...
All value labels to be read before the iterator has been used Fix issue where categorical data was incorrectly reformatted when write_index was False closes #16923 - [X] closes #16923 - [X] tests added / passed - [X] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``g...
https://api.github.com/repos/pandas-dev/pandas/pulls/16926
2017-07-14T17:22:36Z
2017-07-14T21:20:28Z
2017-07-14T21:20:28Z
2018-04-22T21:12:04Z
DOC: Update flake8 command instructions
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 959858fb50f89..e8b6ee21ad104 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,4 @@ - [ ] closes #xxxx - [ ] tests added / passed - - [ ] passes ``git diff upstream/master --name-only...
xref <a href="https://github.com/pandas-dev/pandas/pull/16738#issuecomment-315211329">#16738 (comment)</a> cc @thequackdaddy
https://api.github.com/repos/pandas-dev/pandas/pulls/16919
2017-07-14T06:54:42Z
2017-07-15T04:16:00Z
2017-07-15T04:16:00Z
2017-07-15T04:16:48Z
API: add infer_objects for soft conversions
diff --git a/doc/source/api.rst b/doc/source/api.rst index d6053791d6f4b..77d095a965221 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -270,6 +270,7 @@ Conversion :toctree: generated/ Series.astype + Series.infer_objects Series.copy Series.isnull Series.notnull @@ -777,6 +778,7 @@ C...
- [x] closes #11221 (more or less) - [ ] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) - [x] whatsnew entry Need to add more tests cases still
https://api.github.com/repos/pandas-dev/pandas/pulls/16915
2017-07-13T23:39:13Z
2017-07-18T11:26:45Z
2017-07-18T11:26:45Z
2017-07-19T01:17:14Z
Fix for #16909(DeltatimeIndex.get_loc is not working on np.deltatime64 data type)
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 039b24cc63217..2716d9b09eaa9 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -155,6 +155,7 @@ Indexing - When called with a null slice (e.g. ``df.iloc[:]``), the ``.iloc`` and ``.loc`` indexers re...
get_loc should now work for np.timedelta64 data type. - [x] closes #16909 - [ ] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16912
2017-07-13T20:17:20Z
2017-07-14T14:13:54Z
2017-07-14T14:13:54Z
2017-07-14T14:14:00Z
MAINT: Remove unused mock import
diff --git a/pandas/tests/io/formats/test_printing.py b/pandas/tests/io/formats/test_printing.py index aae3ba31648ff..ec34e7656e01f 100644 --- a/pandas/tests/io/formats/test_printing.py +++ b/pandas/tests/io/formats/test_printing.py @@ -127,14 +127,7 @@ class TestTableSchemaRepr(object): @classmethod def setu...
We import it, set it as an attribute, and then don't use it. xref <a href="https://github.com/pandas-dev/pandas/issues/16716#issuecomment-315127204">#16716 (comment)</a> cc @TomAugspurger
https://api.github.com/repos/pandas-dev/pandas/pulls/16908
2017-07-13T17:38:44Z
2017-07-13T19:15:27Z
2017-07-13T19:15:27Z
2017-07-13T19:32:56Z
Fixes for #16896(TimedeltaIndex indexing regression for strings)
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index a5ee0e0ce2653..0fbf865b24d50 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -155,7 +155,7 @@ Indexing - When called with a null slice (e.g. ``df.iloc[:]``), the ``.iloc`` and ``.loc`` indexers ...
Fixed a regression for indexing with a string with a ``TimedeltaIndex`` (#16896) I am not a fan of the catch all except, but there is no guarantee in `_get_dtype_type`. As part of this PR, we can ensure that all type checks return True/False. `_get_dtype_type` should probably return a type or a TypeError... Nothing ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16907
2017-07-13T14:41:25Z
2017-07-13T23:04:30Z
2017-07-13T23:04:30Z
2017-07-14T12:32:22Z
Added test for _get_dtype_type.
diff --git a/pandas/tests/dtypes/test_common.py b/pandas/tests/dtypes/test_common.py index 290cdd732b6d6..b02691e957366 100644 --- a/pandas/tests/dtypes/test_common.py +++ b/pandas/tests/dtypes/test_common.py @@ -568,3 +568,40 @@ def test__get_dtype(input_param, result): def test__get_dtype_fails(input_param): # ...
- [ ] closes #xxxx - [ x] tests added / passed - [ x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) - [ ] whatsnew entry Tests for ``core.dtype.common._get_dtype_type``.
https://api.github.com/repos/pandas-dev/pandas/pulls/16899
2017-07-12T22:44:52Z
2017-07-21T11:01:39Z
2017-07-21T11:01:39Z
2017-09-11T21:11:20Z
BUG: setitem with boolean mask and tz-aware DTI
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 5146bd35dff30..4270d08b96e39 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -196,7 +196,8 @@ Indexing - Fix :func:`MultiIndex.sort_index` ordering when ``ascending`` argument is a list, but not a...
closes #16889 - [x] closes #xxxx - [x] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16897
2017-07-12T16:59:52Z
2017-07-21T11:01:00Z
2017-07-21T11:01:00Z
2017-07-21T12:46:14Z
BUG: coercing of bools in groupby transform
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index a5d4259480ba8..762107a261090 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -175,7 +175,7 @@ Groupby/Resample/Rolling - Bug in ``DataFrame.resample(...).size()`` where an empty ``DataFrame`` did ...
This bug is happening because of the following lines of code(3054-3059 in groupby.py) ``` # we will only try to coerce the result type if # we have a numeric dtype, as these are *always* udfs # the cython take a different path (and casting) dtype = self._selected_obj.dtype ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16895
2017-07-12T14:57:47Z
2017-07-16T01:12:58Z
2017-07-16T01:12:58Z
2017-07-16T01:13:00Z
Let _get_dtype accept Categoricals and CategoricalIndex
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 015fdf1f45f47..40df813cf4b3b 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -148,7 +148,6 @@ Conversion ^^^^^^^^^^ - Indexing ^^^^^^^^ diff --git a/pandas/core/dtypes/common.py b/pandas/c...
- [ x] closes #16817 - [x ] tests added / passed - [x ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) - [ ] whatsnew entry Makes ``_get_dtype`` accept ``Categorical``s and ``Catego...
https://api.github.com/repos/pandas-dev/pandas/pulls/16887
2017-07-11T22:00:47Z
2017-07-13T20:35:48Z
2017-07-13T20:35:48Z
2017-07-13T20:43:31Z
PERF: SparseDataFrame._init_dict uses intermediary dict, not DataFrame
diff --git a/asv_bench/benchmarks/sparse.py b/asv_bench/benchmarks/sparse.py index 500149b89b08b..7259e8cdb7d61 100644 --- a/asv_bench/benchmarks/sparse.py +++ b/asv_bench/benchmarks/sparse.py @@ -1,3 +1,5 @@ +from itertools import repeat + from .pandas_vb_common import * import scipy.sparse from pandas import Spars...
- [X] closes https://github.com/pandas-dev/pandas/issues/16773 - [x] tests added / passed - [X] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16883
2017-07-11T17:15:30Z
2017-07-17T15:11:38Z
2017-07-17T15:11:37Z
2017-07-17T15:11:46Z
fix 4 lgtm alerts
diff --git a/asv_bench/benchmarks/rolling.py b/asv_bench/benchmarks/rolling.py index 9da9d0b855323..899349cd21f84 100644 --- a/asv_bench/benchmarks/rolling.py +++ b/asv_bench/benchmarks/rolling.py @@ -26,7 +26,7 @@ def time_rolling_quantile_median(self): def time_rolling_median(self): (self.df.rolling(sel...
Fix name of methods as `rolling_mean` instead of `rolling_median` following a43c1576ce3d94bc82f7cdd63531280ced5a9fa0. I'm a dev on lgtm.com so I'm very biased but these were flagged [here](https://lgtm.com/projects/g/pydata/pandas/rev/a43c1576ce3d94bc82f7cdd63531280ced5a9fa0) and you can catch such issues (and more ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16881
2017-07-11T11:08:28Z
2017-07-11T16:40:21Z
2017-07-11T16:40:21Z
2017-07-11T16:41:17Z
COMPAT with dateutil 2.6.1, fixed ambiguous tz dst behavior
diff --git a/ci/requirements-3.5.run b/ci/requirements-3.5.run index 43e6814ed6c8e..52828b5220997 100644 --- a/ci/requirements-3.5.run +++ b/ci/requirements-3.5.run @@ -1,4 +1,3 @@ -python-dateutil pytz numpy=1.11.3 openpyxl diff --git a/ci/requirements-3.5.sh b/ci/requirements-3.5.sh index d0f0b81802dc6..917439a876...
https://api.github.com/repos/pandas-dev/pandas/pulls/16880
2017-07-11T10:32:16Z
2017-07-11T16:39:40Z
2017-07-11T16:39:40Z
2017-07-11T16:40:43Z
BUG: Fix css for displaying DataFrames in notebook #16792
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index c808babeee5d9..faf66afb16f1e 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -520,6 +520,7 @@ I/O - Bug in :func:`read_stata` where the index was not set (:issue:`16342`) - Bug in :func:`read_htm...
- [ ] closes #16792 - [ ] tests added / passed - [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16879
2017-07-10T22:14:57Z
2017-09-22T07:19:40Z
2017-09-22T07:19:39Z
2023-03-29T14:47:51Z
Confirm that `select` was *not* clearer in 0.12
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 7d1a8adf381fe..5722539b87aec 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2098,7 +2098,6 @@ def xs(self, key, axis=0, level=None, drop_level=True): _xs = xs - # TODO: Check if this was clearer in 0.12 def select(...
This just deletes a comment `# TODO: Check if this was clearer in 0.12`. Checking, the answer is "no". It was nearly identical. The docstring was exactly identical. The only change in the code from 0.12.0 is using `_get_axis_number` in the newer version. This is based on comparison against 0.12.0 found at http...
https://api.github.com/repos/pandas-dev/pandas/pulls/16878
2017-07-10T21:41:48Z
2017-07-11T10:01:12Z
2017-07-11T10:01:12Z
2017-08-03T00:07:10Z
COMPAT: moar 32-bit compat for testing of indexers
diff --git a/pandas/tests/indexes/test_category.py b/pandas/tests/indexes/test_category.py index 9dc2cfdecb98f..14f344acbefb2 100644 --- a/pandas/tests/indexes/test_category.py +++ b/pandas/tests/indexes/test_category.py @@ -393,7 +393,7 @@ def test_reindex_dtype(self): res, indexer = c.reindex(['a', 'c']) ...
xref #16826
https://api.github.com/repos/pandas-dev/pandas/pulls/16869
2017-07-10T10:06:54Z
2017-07-10T10:36:32Z
2017-07-10T10:36:32Z
2017-07-10T10:37:52Z
MAINT: Drop the get_offset_name method
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index d5cc3d6ddca8e..43bfebd0c2e59 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -126,6 +126,7 @@ Removal of prior version deprecations/changes - ``Index`` has dropped the ``.sym_diff()`` method in fa...
Deprecated since 0.18.0 xref #11834 ( :-1: for no test being added for its deprecation back then! :smile:)
https://api.github.com/repos/pandas-dev/pandas/pulls/16863
2017-07-09T07:48:09Z
2017-07-10T10:12:50Z
2017-07-10T10:12:50Z
2017-07-10T15:06:05Z
DOC: Fix missing parentheses in documentation
diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst index 61f43146aba85..937d682d238b3 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -933,7 +933,7 @@ The dimension of the returned result can also change: d = pd.DataFrame({"a":["x", "y"], "b":[1,2]}) def identity(df): -...
Add parentheses to fix `SyntaxError: Missing parentheses in call to 'print'` inside documentations. - [ ] closes #xxxx - [ ] tests added / passed - [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16862
2017-07-09T07:25:14Z
2017-07-10T10:13:50Z
2017-07-10T10:13:49Z
2017-07-10T10:13:52Z
COMPAT: moar 32-bit compat for testing of indexers
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index cefb080a3ee78..e1053c1610175 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -2704,7 +2704,7 @@ def get_indexer_non_unique(self, target): tgt_values = target._values indexer, missing = self...
xref #16826
https://api.github.com/repos/pandas-dev/pandas/pulls/16861
2017-07-08T15:13:22Z
2017-07-08T16:08:31Z
2017-07-08T16:08:31Z
2017-07-08T16:09:27Z
ENH - Modify Dataframe.select_dtypes to accept scalar values
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 134cc5106015b..d8b1602fb104d 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -2229,7 +2229,3 @@ All numpy dtypes are subclasses of ``numpy.generic``: Pandas also defines the types ``category``, and ``datetime64[ns, tz]``, which ar...
This commit relates to GH16855. It allows the Dataframe.select_dtypes function to accept scalar values as well as list-like values. As such, it should maintain backwards compatibility. - [x ] closes #16855 - [x ] tests added / passed - [x ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --di...
https://api.github.com/repos/pandas-dev/pandas/pulls/16860
2017-07-08T14:52:02Z
2017-07-10T10:36:01Z
2017-07-10T10:36:01Z
2017-07-10T10:38:02Z
Bug: groupby multiindex levels equals rows
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index c5fe89282bf52..944f88d257496 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -361,7 +361,7 @@ Groupby/Resample/Rolling - Bug in ``groupby.transform()`` that would coerce boolean dtypes back to flo...
Fix for GH16843 where groubpy gives wrong result when number of groupedby index+columns is equal to length of axis closes #16843 tests added passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternat...
https://api.github.com/repos/pandas-dev/pandas/pulls/16859
2017-07-07T22:49:52Z
2017-08-24T10:38:28Z
2017-08-24T10:38:28Z
2017-08-25T08:35:55Z
BUG: Series.isin fails or categoricals
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index d5cc3d6ddca8e..c6046aac831b1 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -188,7 +188,7 @@ Numeric Categorical ^^^^^^^^^^^ - +- Bug in ``:func:Series.isin()`` when called with a categorical ...
- closes #16639 - [1 ] tests added / passed - ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) - [check ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16858
2017-07-07T21:30:40Z
2017-07-11T10:40:51Z
2017-07-11T10:40:51Z
2017-08-08T18:19:24Z
TST/PKG: Move test HDF5 file to legacy
diff --git a/pandas/tests/io/data/periodindex_0.20.1_x86_64_darwin_2.7.13.h5 b/pandas/tests/io/data/legacy_hdf/periodindex_0.20.1_x86_64_darwin_2.7.13.h5 similarity index 100% rename from pandas/tests/io/data/periodindex_0.20.1_x86_64_darwin_2.7.13.h5 rename to pandas/tests/io/data/legacy_hdf/periodindex_0.20.1_x86_64_...
@jreback this failed `pd.test()` from a not-git build, since our setup.py only include HDF5 files under the `legacy_hdf` directory. ```python >>> pd.test(['-k', 'test_read_py2_hdf_file_in_py3']) ```
https://api.github.com/repos/pandas-dev/pandas/pulls/16856
2017-07-07T15:47:18Z
2017-07-07T16:54:05Z
2017-07-07T16:54:04Z
2017-12-12T02:38:30Z
DOC: Whatsnew updates
diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt index 644a3047ae7a9..582f975f81a7a 100644 --- a/doc/source/whatsnew/v0.20.3.txt +++ b/doc/source/whatsnew/v0.20.3.txt @@ -1,100 +1,60 @@ .. _whatsnew_0203: -v0.20.3 (June ??, 2017) +v0.20.3 (July 7, 2017) ----------------------- -This ...
[ci skip]
https://api.github.com/repos/pandas-dev/pandas/pulls/16853
2017-07-07T13:40:30Z
2017-07-07T13:46:05Z
2017-07-07T13:46:05Z
2017-12-12T02:38:29Z
TST/PKG: Remove definition of pandas.util.testing.slow
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 4b97fb83cb13b..4406df316f3f4 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -54,6 +54,7 @@ Backwards incompatible API changes - :class:`pandas.HDFStore`'s string representation is now faster and ...
And just use @pytest.mark.slow instead closes #16850
https://api.github.com/repos/pandas-dev/pandas/pulls/16852
2017-07-07T12:05:50Z
2017-07-12T15:51:07Z
2017-07-12T15:51:07Z
2017-12-20T16:10:35Z
COMPAT: 32-bit compat for testing of indexers
diff --git a/pandas/core/indexes/category.py b/pandas/core/indexes/category.py index d13636e8b43e2..c9e0e3b10875c 100644 --- a/pandas/core/indexes/category.py +++ b/pandas/core/indexes/category.py @@ -497,7 +497,6 @@ def get_indexer(self, target, method=None, limit=None, tolerance=None): codes = self.c...
xref #16826
https://api.github.com/repos/pandas-dev/pandas/pulls/16849
2017-07-07T10:14:37Z
2017-07-07T13:10:32Z
2017-07-07T13:10:32Z
2017-07-07T13:11:53Z
Added tests for _get_dtype
diff --git a/pandas/tests/dtypes/test_common.py b/pandas/tests/dtypes/test_common.py index ba510e68f9a21..c32e8590c5675 100644 --- a/pandas/tests/dtypes/test_common.py +++ b/pandas/tests/dtypes/test_common.py @@ -524,3 +524,42 @@ def test_is_complex_dtype(): assert com.is_complex_dtype(np.complex) assert co...
- [ ] closes #xxxx - [ x] tests added / passed - [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) - [ ] whatsnew entry See #16817 for a discussion on this. Added tests for `` p...
https://api.github.com/repos/pandas-dev/pandas/pulls/16845
2017-07-06T22:27:19Z
2017-07-11T10:08:58Z
2017-07-11T10:08:58Z
2017-07-11T10:51:36Z
0.20.3 backports
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 9281c51059087..959858fb50f89 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,4 @@ - [ ] closes #xxxx - [ ] tests added / passed - - [ ] passes ``git diff upstream/master --name-only...
First round of backports. I'll just cherry-pick the remaining PRs to this branch once they're merged.
https://api.github.com/repos/pandas-dev/pandas/pulls/16841
2017-07-06T17:52:11Z
2017-07-07T15:03:08Z
2017-07-07T15:03:08Z
2017-07-07T15:13:42Z
BUG: kind parameter on categorical argsort
diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt index 3d1bed2c9f1a9..2f5b108f28fc5 100644 --- a/doc/source/whatsnew/v0.20.3.txt +++ b/doc/source/whatsnew/v0.20.3.txt @@ -92,6 +92,7 @@ Numeric Categorical ^^^^^^^^^^^ +- Bug in ``DataFrame.sort_values`` not respecting the ``kind`` with ...
- [x] closes #16793 - [ ] tests added / passed - [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16834
2017-07-06T01:00:27Z
2017-07-07T10:17:16Z
2017-07-07T10:17:16Z
2017-07-07T13:10:43Z
Bug issue 16819 Index.get_indexer_not_unique inconsistent return types vs get_indexer
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index de2516d75040b..36f3db98a39b5 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -53,6 +53,7 @@ Backwards incompatible API changes - :func:`read_csv` now treats ``'n/a'`` strings as missing values by ...
closes #16819 tests added / passed passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` (On Windows, ``git diff upstream/master -u -- "*.py" | flake8 --diff`` might work as an alternative.) whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/16826
2017-07-04T22:50:05Z
2017-07-06T12:37:12Z
2017-07-06T12:37:12Z
2017-07-06T13:21:10Z
BUG: rolling.cov with multi-index columns should preseve the MI
diff --git a/doc/source/whatsnew/v0.20.3.txt b/doc/source/whatsnew/v0.20.3.txt index dcce427f8dd84..3d1bed2c9f1a9 100644 --- a/doc/source/whatsnew/v0.20.3.txt +++ b/doc/source/whatsnew/v0.20.3.txt @@ -40,7 +40,7 @@ Bug Fixes - Fixed issue with :meth:`DataFrame.style` where element id's were not unique (:issue:`16780`)...
xref #16814
https://api.github.com/repos/pandas-dev/pandas/pulls/16825
2017-07-04T14:11:56Z
2017-07-04T20:34:13Z
2017-07-04T20:34:13Z
2017-07-07T13:10:43Z
TST: use network decorator on additional tests
diff --git a/pandas/tests/io/parser/test_network.py b/pandas/tests/io/parser/test_network.py index e12945a6a3102..cfa60248605ad 100644 --- a/pandas/tests/io/parser/test_network.py +++ b/pandas/tests/io/parser/test_network.py @@ -19,6 +19,7 @@ def salaries_table(): return read_table(path) +@pytest.mark.network ...
``--skip-network`` didn't actually skip the parser compressed url tests as ``tm.network`` is in an inner function (and its not easy to make work with parameterize). Also some additional network required tests.
https://api.github.com/repos/pandas-dev/pandas/pulls/16824
2017-07-04T13:22:38Z
2017-07-04T20:35:37Z
2017-07-04T20:35:37Z
2017-07-07T13:10:42Z
BUG/API: dtype inconsistencies in .where / .setitem / .putmask / .fillna
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 5146bd35dff30..bab1cf0fec51b 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -127,6 +127,65 @@ the target. Now, a ``ValueError`` will be raised when such an input is passed in ... ValueErro...
This fixes a number of inconsistencies and API issues w.r.t. dtype conversions. This is a reprise of #14145. This removes some code from the core structures & pushes it to internals, where the primitives are made more consistent. This should all us to be a bit more consistent for pandas2 type things. closes #16402 ...
https://api.github.com/repos/pandas-dev/pandas/pulls/16821
2017-07-04T00:30:26Z
2017-07-21T11:05:20Z
2017-07-21T11:05:20Z
2017-07-21T11:06:21Z
DOC: Extend docstring pandas core index to_frame method
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index d3a8f11a38715..b96bb22199fa1 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -1122,7 +1122,26 @@ def to_frame(self, index=True): Returns ------- - DataFrame : a DataFrame containing the ...
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This PR provides adaptations of the original `to_frame` docstring, taking into account the [docstring guide](https://python-sprints.github.io/pandas/guide/pandas_docstring.html).
https://api.github.com/repos/pandas-dev/pandas/pulls/20036
2018-03-07T14:38:40Z
2018-03-10T09:15:42Z
2018-03-10T09:15:42Z
2018-03-11T15:29:29Z
TST: xfail numpy-dev clip failures
diff --git a/pandas/tests/frame/test_analytics.py b/pandas/tests/frame/test_analytics.py index de4a132e0d613..59a30fc69905f 100644 --- a/pandas/tests/frame/test_analytics.py +++ b/pandas/tests/frame/test_analytics.py @@ -15,7 +15,8 @@ from pandas.compat import lrange, product from pandas import (compat, isna, notna...
xref #20301
https://api.github.com/repos/pandas-dev/pandas/pulls/20035
2018-03-07T13:12:03Z
2018-03-07T13:55:34Z
2018-03-07T13:55:34Z
2018-03-07T13:55:34Z
Moving tests in series/indexing to fixtures (#20014.1)
diff --git a/pandas/tests/series/indexing/conftest.py b/pandas/tests/series/indexing/conftest.py new file mode 100644 index 0000000000000..0e06f6b8e4640 --- /dev/null +++ b/pandas/tests/series/indexing/conftest.py @@ -0,0 +1,8 @@ +import pytest + +from pandas.tests.series.common import TestData + + +@pytest.fixture(sco...
Moving series/indexing tests from classes to fixtures (issue #20014, part 1) - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/20034
2018-03-07T13:05:32Z
2018-03-07T21:09:42Z
2018-03-07T21:09:42Z
2018-03-08T07:58:03Z
TST: xfail some tests for mpl 2.2 compat
diff --git a/pandas/tests/plotting/test_datetimelike.py b/pandas/tests/plotting/test_datetimelike.py index 18eefa6a14a37..9b721e45099fe 100644 --- a/pandas/tests/plotting/test_datetimelike.py +++ b/pandas/tests/plotting/test_datetimelike.py @@ -1356,10 +1356,10 @@ def test_plot_outofbounds_datetime(self): valu...
xref #20031
https://api.github.com/repos/pandas-dev/pandas/pulls/20033
2018-03-07T12:45:19Z
2018-03-07T13:15:50Z
2018-03-07T13:15:50Z
2018-03-07T13:15:50Z
DOC: misc typos
diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst index 3d4bb8ec57794..e4ce7ebd01dac 100644 --- a/doc/source/categorical.rst +++ b/doc/source/categorical.rst @@ -177,7 +177,7 @@ are consistent among all columns. .. note:: To perform table-wise conversion, where all labels in the entire ``Data...
Found via `codespell -q 3 -I ../pandas-whitelist.txt`
https://api.github.com/repos/pandas-dev/pandas/pulls/20029
2018-03-07T05:09:51Z
2018-03-07T11:10:40Z
2018-03-07T11:10:40Z
2018-03-07T15:06:52Z
CLN: Deprecate Index.summary (GH18217)
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index 791365295c268..53b91e79f5477 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -736,6 +736,7 @@ Deprecations - :attr:`Timestamp.weekday_name`, :attr:`DatetimeIndex.weekday_name`, and :attr:`Series.d...
- [X] closes #18217 - [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/20028
2018-03-07T03:04:48Z
2018-03-16T10:27:12Z
2018-03-16T10:27:12Z
2018-03-17T23:52:10Z
Fix typos in test_interval_new.py
diff --git a/pandas/tests/indexing/interval/test_interval_new.py b/pandas/tests/indexing/interval/test_interval_new.py index 16326845de1d5..3eb5f38ba0c80 100644 --- a/pandas/tests/indexing/interval/test_interval_new.py +++ b/pandas/tests/indexing/interval/test_interval_new.py @@ -1,6 +1,5 @@ import pytest import nump...
Very minor. A few instances of lowercase `pd.interval` with an unnecessary `import pandas as pd`.
https://api.github.com/repos/pandas-dev/pandas/pulls/20026
2018-03-07T02:04:53Z
2018-03-07T13:57:51Z
2018-03-07T13:57:51Z
2018-09-24T17:25:15Z
Replace api coverage script
diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index e159af9958fde..61efc6a707d31 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -351,8 +351,10 @@ Some other important things to know about the docs: pandoc doc/source/contributing.rst -t markdown_github > C...
- [ ] closes #xxxx - [ ] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This PR adds to the output of the script `validate_docstrings.py` the methods from `Series`, `DataFrame` and `Panel` that are not present in `doc/api.rst`. This makes the script ...
https://api.github.com/repos/pandas-dev/pandas/pulls/20025
2018-03-07T00:24:09Z
2018-03-08T11:07:09Z
2018-03-08T11:07:09Z
2018-03-08T11:07:20Z
Added .pytest_cache to gitignore
diff --git a/.gitignore b/.gitignore index 0d4e8c6fb75a6..00dac6e336c37 100644 --- a/.gitignore +++ b/.gitignore @@ -88,8 +88,9 @@ scikits *.c *.cpp -# Performance Testing # -####################### +# Unit / Performance Testing # +############################## +.pytest_cache/ asv_bench/env/ asv_bench/html/ asv...
After running the unit test suite `.pytest_cache/` keeps showing up in the project root. Figured it was worth adding to `.gitignore` to prevent this from being inadvertently committed
https://api.github.com/repos/pandas-dev/pandas/pulls/20021
2018-03-06T20:46:15Z
2018-03-07T13:59:40Z
2018-03-07T13:59:40Z
2018-03-07T17:20:47Z
TST: Fix wrong argument in TestDataFrameAlterAxes.test_set_index_dst
diff --git a/pandas/tests/frame/test_alter_axes.py b/pandas/tests/frame/test_alter_axes.py index c824f0026af50..3e0ba26c20eb0 100644 --- a/pandas/tests/frame/test_alter_axes.py +++ b/pandas/tests/frame/test_alter_axes.py @@ -301,7 +301,7 @@ def test_set_index_timezone(self): def test_set_index_dst(self): ...
- [x] tests passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/20019
2018-03-06T17:07:59Z
2018-03-07T13:55:49Z
2018-03-07T13:55:49Z
2018-03-07T15:52:27Z
BUG: Check for wrong arguments in index subclasses constructors
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index 3afd9cff10e86..f686a042c1a74 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -935,6 +935,7 @@ Indexing - Bug in :func:`IntervalIndex.symmetric_difference` where the symmetric difference with a non...
- [x] closes #19348 - [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/20017
2018-03-06T16:49:07Z
2018-03-10T11:42:53Z
2018-03-10T11:42:53Z
2018-03-16T11:03:09Z
DOC: add guide on shared docstrings
diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index ff0aa8af611db..967d1fe3369f0 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -1088,5 +1088,4 @@ The branch will still exist on GitHub, so to delete it there do:: git push origin --delete shiny-new-feature ...
closes https://github.com/pandas-dev/pandas/issues/16446 xref https://github.com/pandas-dev/pandas/issues/19932 cc @jorisvandenbossche The main change in best practices here is the recommendation is that `Appender` is only for appending. `Substitution` should be used for substituting values. See the change...
https://api.github.com/repos/pandas-dev/pandas/pulls/20016
2018-03-06T16:41:54Z
2018-03-28T07:49:48Z
2018-03-28T07:49:48Z
2018-05-02T13:10:01Z
DOC: enable matplotlib plot_directive to include figures in docstrings
diff --git a/doc/source/conf.py b/doc/source/conf.py index c81d38db05cca..46249af8a5a56 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -63,6 +63,7 @@ 'ipython_sphinxext.ipython_console_highlighting', # lowercase didn't work 'IPython.sphinxext.ipython_console_hig...
This adds the matplotlib.sphinxext.plot_directive as extension to conf.py, and added a small example in the `Series.plot.line` docstring
https://api.github.com/repos/pandas-dev/pandas/pulls/20015
2018-03-06T15:20:53Z
2018-03-07T13:57:18Z
2018-03-07T13:57:18Z
2018-03-07T13:57:21Z
TST: clean deprecation warnings for xref #19980
diff --git a/pandas/tests/plotting/test_datetimelike.py b/pandas/tests/plotting/test_datetimelike.py index 92ca68257eabf..18eefa6a14a37 100644 --- a/pandas/tests/plotting/test_datetimelike.py +++ b/pandas/tests/plotting/test_datetimelike.py @@ -111,12 +111,15 @@ def test_tsplot_deprecated(self): @pytest.mark.slo...
xfail some mpl > 2.1.2 tests
https://api.github.com/repos/pandas-dev/pandas/pulls/20013
2018-03-06T11:29:53Z
2018-03-06T12:25:18Z
2018-03-06T12:25:18Z
2018-03-07T10:48:19Z
month_name/day_name warnings followup
diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx index 5bb53cf20b478..9818d53e386bd 100644 --- a/pandas/_libs/tslibs/timestamps.pyx +++ b/pandas/_libs/tslibs/timestamps.pyx @@ -766,7 +766,7 @@ class Timestamp(_Timestamp): """ warnings.warn("`weekday_name` is depreca...
xref https://github.com/pandas-dev/pandas/pull/18164#issuecomment-370390747 - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Changed the `weekday_name` warning to a `FutureWarning` and catching them in 2 additional tests.
https://api.github.com/repos/pandas-dev/pandas/pulls/20010
2018-03-06T04:45:01Z
2018-03-06T12:25:56Z
2018-03-06T12:25:55Z
2018-03-06T17:33:43Z
TST: split series/test_indexing.py (#18614)
diff --git a/pandas/tests/series/indexing/__init__.py b/pandas/tests/series/indexing/__init__.py new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/pandas/tests/series/indexing/test_alter_index.py b/pandas/tests/series/indexing/test_alter_index.py new file mode 100644 index 0000000000000..7456239d3433...
- [x] closes #18614 - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/20006
2018-03-05T22:39:25Z
2018-03-06T12:25:38Z
2018-03-06T12:25:38Z
2018-03-06T12:25:41Z
DOC: fixed dynamic import mechanics of make.py
diff --git a/doc/make.py b/doc/make.py index 53635498f2adb..4967f30453fd1 100755 --- a/doc/make.py +++ b/doc/make.py @@ -11,6 +11,7 @@ $ python make.py html $ python make.py latex """ +import importlib import sys import os import shutil @@ -20,8 +21,6 @@ import webbrowser import jinja2 -import pandas ...
- [X] closes #20001 - [ ] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/20005
2018-03-05T22:17:02Z
2018-03-06T08:30:14Z
2018-03-06T08:30:14Z
2018-05-14T21:11:42Z