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
TST: Fix broken test cases where Timedelta/Timestamp raise
diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py index 08176af2b326d..5801384bf8db9 100644 --- a/pandas/core/dtypes/cast.py +++ b/pandas/core/dtypes/cast.py @@ -350,14 +350,21 @@ def maybe_promote(dtype, fill_value=np.nan): # returns tuple of (dtype, fill_value) if issubclass(dtype.type,...
Orthogonal to #28725, but will need to be rebased after that is merged.
https://api.github.com/repos/pandas-dev/pandas/pulls/28729
2019-10-01T15:30:13Z
2019-10-02T11:55:36Z
2019-10-02T11:55:36Z
2019-10-02T13:27:34Z
DOC: fix pr09,pr08 errors in frame.py
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 9467978f13d30..0cfeb61871a85 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -304,7 +304,7 @@ class DataFrame(NDFrame): Parameters ---------- data : ndarray (structured or homogeneous), Iterable, dict, or DataFrame - Di...
fixing methods defined in this file this is part of a larger clean up of the dataframe class this fixes a subset of #28702 - [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/28728
2019-10-01T15:22:44Z
2019-10-01T18:46:32Z
2019-10-01T18:46:32Z
2019-10-01T18:46:38Z
Added doctstring to fixture
diff --git a/pandas/tests/io/excel/conftest.py b/pandas/tests/io/excel/conftest.py index 54acd2128369d..843b3c08421b3 100644 --- a/pandas/tests/io/excel/conftest.py +++ b/pandas/tests/io/excel/conftest.py @@ -7,6 +7,9 @@ @pytest.fixture def frame(float_frame): + """ + Returns the first ten items in fixture "f...
- xref https://github.com/pandas-dev/pandas/pull/26579#pullrequestreview-245987920 - 0 tests added - passes `black pandas` - passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/28727
2019-10-01T15:17:33Z
2019-10-02T10:04:31Z
2019-10-02T10:04:31Z
2019-10-02T10:09:38Z
Change maybe_promote fill_value to dt64/td64 NaT instead of iNaT
diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py index a3ad84ff89a66..08176af2b326d 100644 --- a/pandas/core/dtypes/cast.py +++ b/pandas/core/dtypes/cast.py @@ -339,7 +339,7 @@ def maybe_promote(dtype, fill_value=np.nan): # if we passed an array here, determine the fill value by dtype if i...
Unambiguous, preliminary for fixing more xfails.
https://api.github.com/repos/pandas-dev/pandas/pulls/28725
2019-10-01T14:51:15Z
2019-10-01T16:59:10Z
2019-10-01T16:59:10Z
2019-10-01T17:02:45Z
DOC: Fixed PR06 docstrings errors in pandas.ExcelWriter
diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index 6dba5e042562b..039a0560af627 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -532,15 +532,15 @@ class ExcelWriter(metaclass=abc.ABCMeta): Parameters ---------- - path : string + path : str Path to x...
- [x] xref #28724 - [ ] tests added / passed - [x] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/28723
2019-10-01T14:21:52Z
2019-10-01T16:33:25Z
2019-10-01T16:33:25Z
2019-10-01T16:33:40Z
API: Change matplotlib formatter registration
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 0b9aae6676710..f4761c5663c9f 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -208,7 +208,7 @@ import sys import pandas blacklist = {'bs4', 'gcsfs', 'html5lib', 'http', 'ipython', 'jinja2', 'hypothesis', - 'lxml', 'numexpr', 'openpyxl', '...
This PR does two things 1. Enforces the deprecation of pandas auto registering our formatters. 2. Provides a new option, "auto", which will only apply our formatters to our plots. By default, the value will be "auto". Background: pandas used to register formatters for Period, datetime, date, and time. This forma...
https://api.github.com/repos/pandas-dev/pandas/pulls/28722
2019-10-01T14:17:31Z
2019-10-25T12:17:14Z
2019-10-25T12:17:14Z
2019-10-25T12:17:17Z
DOC: Fixed PR06 docstrings errors in pandas.arrays.IntervalArray
diff --git a/pandas/core/arrays/interval.py b/pandas/core/arrays/interval.py index 1f4b76a259f00..6dd0b116b3b0d 100644 --- a/pandas/core/arrays/interval.py +++ b/pandas/core/arrays/interval.py @@ -259,7 +259,7 @@ def _from_factorized(cls, values, original): closed : {'left', 'right', 'both', 'neither'}, default 'r...
- [x] xref #28724 - [ ] tests added / passed - [x] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/28721
2019-10-01T14:15:01Z
2019-10-01T15:50:41Z
2019-10-01T15:50:41Z
2019-10-01T15:50:50Z
CLN: Exception in io/plotting
diff --git a/pandas/plotting/_matplotlib/tools.py b/pandas/plotting/_matplotlib/tools.py index 1c9bd01b16739..eddc9b4cd21bd 100644 --- a/pandas/plotting/_matplotlib/tools.py +++ b/pandas/plotting/_matplotlib/tools.py @@ -12,14 +12,11 @@ def format_date_labels(ax, rot): # mini version of autofmt_xdate - try: ...
Broken off from #28649 to focus in on what is breaking there.
https://api.github.com/repos/pandas-dev/pandas/pulls/28720
2019-10-01T13:57:22Z
2019-10-01T16:51:32Z
2019-10-01T16:51:32Z
2019-10-01T16:53:23Z
DOC: Fixed PR06 docstrings errors in pandas.timedelta_range
diff --git a/pandas/core/indexes/timedeltas.py b/pandas/core/indexes/timedeltas.py index b03d60c7b5b37..49dcea4da5760 100644 --- a/pandas/core/indexes/timedeltas.py +++ b/pandas/core/indexes/timedeltas.py @@ -717,17 +717,17 @@ def timedelta_range( Parameters ---------- - start : string or timedelta-like,...
- [x] xref #28724 - [ ] tests added / passed - [x] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/28719
2019-10-01T13:49:05Z
2019-10-02T08:59:25Z
2019-10-02T08:59:25Z
2019-10-02T08:59:41Z
DOC: Fixed PR06 docstring errors in pandas.DataFrame
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 16f34fee5e1ff..9467978f13d30 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -7948,7 +7948,7 @@ def idxmin(self, axis=0, skipna=True): ---------- axis : {0 or 'index', 1 or 'columns'}, default 0 The axis to use...
- [x] xref #28724 - [ ] tests added / passed - [x] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/28718
2019-10-01T13:38:33Z
2019-10-01T15:43:52Z
2019-10-01T15:43:52Z
2019-10-01T15:44:04Z
DOC: Series.between() can take arguments that are not just scalars
diff --git a/pandas/core/series.py b/pandas/core/series.py index c87e371354f63..48f10bbfa8c9e 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -4410,9 +4410,9 @@ def between(self, left, right, inclusive=True): Parameters ---------- - left : scalar + left : scalar or li...
modified the docs of Series.between() to reflect that it can take any list like object like Series closes #28435
https://api.github.com/repos/pandas-dev/pandas/pulls/28717
2019-10-01T13:36:56Z
2019-10-01T16:55:05Z
2019-10-01T16:55:05Z
2019-10-01T18:51:25Z
Backport PR #28710 on branch 0.25.x (CI Failing: TestReadHtml.test_spam_url #28708)
diff --git a/pandas/tests/io/test_html.py b/pandas/tests/io/test_html.py index 615e2735cd288..d818b83202e83 100644 --- a/pandas/tests/io/test_html.py +++ b/pandas/tests/io/test_html.py @@ -134,8 +134,8 @@ def test_banklist_url(self): @network def test_spam_url(self): url = ( - "http://ndb....
Backport PR #28710: CI Failing: TestReadHtml.test_spam_url #28708
https://api.github.com/repos/pandas-dev/pandas/pulls/28716
2019-10-01T12:55:24Z
2019-10-01T14:22:45Z
2019-10-01T14:22:45Z
2019-10-01T14:23:12Z
precursor to Split out test_pytables.py to sub-module of tests
diff --git a/pandas/tests/io/pytables/test_pytables.py b/pandas/tests/io/pytables/test_pytables.py index ae604b1141204..46d8ef04dd8e5 100644 --- a/pandas/tests/io/pytables/test_pytables.py +++ b/pandas/tests/io/pytables/test_pytables.py @@ -51,6 +51,19 @@ tables = pytest.importorskip("tables") +@pytest.fixture +de...
- precursor to #18498 - All tests in test_pytables are passing @simonjayhawkins as discussed this is the pre work to splitting this large test file into smaller files. So far, I have fixturised the class base class and updated methods using self.path from base to use the setup_path fixture instead. Next I plan to ...
https://api.github.com/repos/pandas-dev/pandas/pulls/28715
2019-10-01T12:50:51Z
2019-10-01T15:51:05Z
2019-10-01T15:51:05Z
2019-10-01T15:54:04Z
Backport PR #28671 on branch 0.25.x (BUG: restore limit in RangeIndex.get_indexer)
diff --git a/doc/source/whatsnew/v0.25.2.rst b/doc/source/whatsnew/v0.25.2.rst index 76c7ad208865d..cc072c6ee2491 100644 --- a/doc/source/whatsnew/v0.25.2.rst +++ b/doc/source/whatsnew/v0.25.2.rst @@ -49,7 +49,7 @@ Interval Indexing ^^^^^^^^ -- +- Fix regression in :meth:`DataFrame.reindex` not following ``limit`` ...
Backport PR #28671: BUG: restore limit in RangeIndex.get_indexer
https://api.github.com/repos/pandas-dev/pandas/pulls/28712
2019-10-01T12:18:11Z
2019-10-01T18:53:15Z
2019-10-01T18:53:15Z
2019-10-02T06:52:56Z
CI Failing: TestReadHtml.test_spam_url #28708
diff --git a/pandas/tests/io/test_html.py b/pandas/tests/io/test_html.py index 183d217eb09d6..1045b72f0aa6e 100644 --- a/pandas/tests/io/test_html.py +++ b/pandas/tests/io/test_html.py @@ -135,8 +135,8 @@ def test_banklist_url(self): @network def test_spam_url(self): url = ( - "http://ndb....
- [x] closes #28708 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] fixed test_spam_url test by changing a url address to the same html page stored in the pandas github repo
https://api.github.com/repos/pandas-dev/pandas/pulls/28710
2019-10-01T12:06:04Z
2019-10-01T12:49:35Z
2019-10-01T12:49:34Z
2019-10-02T06:53:58Z
DOC: Fixed PR08, PR09 doctring issues in pandas.core.groupby
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 0ab19448043f6..b5aec189700ce 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -709,7 +709,7 @@ def filter(self, func, dropna=True, *args, **kwargs): f : function Function to apply ...
- xref #25232. - 0 tests added - ✓ passes `black pandas` - ✓passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
https://api.github.com/repos/pandas-dev/pandas/pulls/28709
2019-10-01T11:51:12Z
2019-10-01T14:55:26Z
2019-10-01T14:55:26Z
2019-10-01T14:55:42Z
DOC: Fixed PR09 docstring errors in pandas.tseries (#27977)
diff --git a/pandas/tseries/offsets.py b/pandas/tseries/offsets.py index 4ebb4f353a8fd..81d8869dd7ba0 100644 --- a/pandas/tseries/offsets.py +++ b/pandas/tseries/offsets.py @@ -204,7 +204,8 @@ def __add__(date): normalize : bool, default False Whether to round the result of a DateOffset addition down to t...
- [ ] xref #27977 - [ ] tests added / passed - [ ] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x ] fixed minor issues in the couple of docstrings (ErrorCode: PR09) in pandas.tseries.offsets.py, namely added dots at the end of parameters {param_name} descriptions. So...
https://api.github.com/repos/pandas-dev/pandas/pulls/28707
2019-10-01T10:25:35Z
2019-10-01T12:12:05Z
2019-10-01T12:12:05Z
2019-10-01T13:27:06Z
read_hdf closes HDF5 stores that it didn't open.
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index fd1c1271a5e37..cde2a4279cf27 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -311,6 +311,7 @@ I/O - Bug in :func:`DataFrame.to_string` where values were truncated using display options instead of outp...
- [ ] closes #28699 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This commit fixes #28699. I added a test for the bug.
https://api.github.com/repos/pandas-dev/pandas/pulls/28700
2019-10-01T00:49:39Z
2019-10-10T02:05:01Z
2019-10-10T02:05:01Z
2019-10-10T02:05:06Z
TST: Add test for categorical with str and tuples
diff --git a/pandas/tests/arrays/categorical/test_constructors.py b/pandas/tests/arrays/categorical/test_constructors.py index 704f9c94463e6..237ec17f56974 100644 --- a/pandas/tests/arrays/categorical/test_constructors.py +++ b/pandas/tests/arrays/categorical/test_constructors.py @@ -3,6 +3,8 @@ import numpy as np im...
The bug is not present any more. - [x] closes #21416 - [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/28693
2019-09-30T20:10:08Z
2019-10-06T22:02:43Z
2019-10-06T22:02:43Z
2019-10-07T15:58:05Z
To html encoding add
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 1112e42489342..6da8478a83630 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -109,6 +109,7 @@ Other enhancements (:issue:`28368`) - :meth:`DataFrame.to_json` now accepts an ``indent`` integer argum...
- [x ] closes https://github.com/pandas-dev/pandas/issues/28663 - [x ] tests added / passed - [x ] passes `black pandas` - [x ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x ] whatsnew entry added encoding argument to DataFrame.to_html()
https://api.github.com/repos/pandas-dev/pandas/pulls/28692
2019-09-30T19:35:35Z
2019-10-16T12:29:24Z
2019-10-16T12:29:24Z
2019-10-16T12:29:27Z
DEPR: DeprecationWarning -> FutureWarning for back-compat in pytables
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index f649c922257a8..b4854b6e9d2e5 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -398,6 +398,7 @@ Deprecations - ``pd.tseries.frequencies.get_offset_name`` function is deprecated. Use offset's ``.freq...
already long deprecated, changing to `FutureWarning`.
https://api.github.com/repos/pandas-dev/pandas/pulls/12027
2016-01-12T21:55:00Z
2016-01-12T23:19:37Z
2016-01-12T23:19:37Z
2016-01-12T23:19:37Z
BUG: remove millisecond field that raises valueerror
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 9ebed15c05246..19181fa86f7ef 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -503,3 +503,6 @@ Bug Fixes - Bug in ``.to_csv`` ignoring formatting parameters ``decimal``, ``na_rep``, ``float_format`...
This would appear in the `dir` and cause tab completion to a field that would raise a `ValueError`. When I brought this up in gitter it seemed like it was safe to remove it. I couldn't find any tests that hit this descriptor.
https://api.github.com/repos/pandas-dev/pandas/pulls/12019
2016-01-11T22:41:13Z
2016-01-12T14:42:07Z
2016-01-12T14:42:07Z
2016-01-12T14:42:11Z
BUG: GH11880 where __contains__ fails in unpacked DataFrame with object cols
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 4ce2ce5b69cb4..3496e9eea834c 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -463,6 +463,7 @@ Bug Fixes - Bug in ``pd.read_clipboard`` and ``pd.to_clipboard`` functions not supporting Unicode; upg...
closes #11880
https://api.github.com/repos/pandas-dev/pandas/pulls/12013
2016-01-10T23:25:59Z
2016-01-15T13:46:42Z
2016-01-15T13:46:42Z
2016-01-15T13:47:24Z
DOC: fix escape in EWM docstring
diff --git a/pandas/core/window.py b/pandas/core/window.py index 4bbdf444ac2a7..1e5816e898baa 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -966,7 +966,7 @@ def corr(self, other=None, pairwise=None, **kwargs): """ class EWM(_Rolling): - """ + r""" Provides exponential weighted functio...
Because of the `\a` in the `\alpha` otherwise being interpreted
https://api.github.com/repos/pandas-dev/pandas/pulls/12001
2016-01-08T22:46:06Z
2016-01-09T15:15:38Z
2016-01-09T15:15:38Z
2016-01-09T15:15:38Z
BUG: accept unicode in Timedelta constructor, #11995
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 4fd5edb21ace8..9ebed15c05246 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -438,7 +438,7 @@ Bug Fixes - Regression in ``.clip`` with tz-aware datetimes (:issue:`11838`) - Bug in ``date_range`` ...
closes #11995
https://api.github.com/repos/pandas-dev/pandas/pulls/11997
2016-01-08T14:32:32Z
2016-01-08T18:20:15Z
2016-01-08T18:20:15Z
2016-01-08T18:28:57Z
COMPAT: drop suppport for python 2.6, #7718
diff --git a/.travis.yml b/.travis.yml index 6252b5654890f..087d7f1565707 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,14 +19,15 @@ git: matrix: fast_finish: true include: - - python: 2.6 + - python: 2.7 env: - - JOB_NAME: "26_nslow_nnet" + - JOB_NAME: "27_nslow_nnet_COMPAT" ...
closes #8760 closes #7718
https://api.github.com/repos/pandas-dev/pandas/pulls/11988
2016-01-07T16:49:44Z
2016-01-08T14:07:14Z
2016-01-08T14:07:14Z
2016-01-08T14:07:20Z
DOC: whatsnew Timestamp addition example fix up
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 498cfaf838320..4d35d7f833ddf 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -212,8 +212,8 @@ as opposed to .. code-block:: python - In [3]: pd.Timestamp('1990315') + pd.Timestamp('19900315'...
The problem was I only had 7 digits in the date string.
https://api.github.com/repos/pandas-dev/pandas/pulls/11976
2016-01-07T01:27:59Z
2016-01-07T01:32:01Z
2016-01-07T01:32:01Z
2016-01-07T01:32:01Z
TST: fix comparison message for #10174
diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py index 8e533f3e22e5c..adb1b538fc2aa 100644 --- a/pandas/tests/test_frame.py +++ b/pandas/tests/test_frame.py @@ -13706,8 +13706,7 @@ def test_quantile_interpolation_np_lt_1p9(self): assert_series_equal(q, q1) # interpolation method ...
https://api.github.com/repos/pandas-dev/pandas/pulls/11975
2016-01-07T01:01:04Z
2016-01-07T01:16:19Z
2016-01-07T01:16:19Z
2016-01-07T01:16:19Z
BUG: GH11835 where comparison of Timedelta array caused infinite loop
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index af3c3dc013e26..2bdcd9e5acff5 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -476,6 +476,7 @@ Bug Fixes - Bug in ``.style.bar`` may not rendered properly using specific browser (:issue:`11678`) ...
closes #11835
https://api.github.com/repos/pandas-dev/pandas/pulls/11957
2016-01-04T23:09:14Z
2016-01-05T00:39:03Z
2016-01-05T00:39:03Z
2016-01-05T00:39:06Z
PEP: pandas/core round 2
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index 462ead70c9f93..abc9e58d7c435 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -13,33 +13,38 @@ from pandas.core.missing import interpolate_2d from pandas.util.decorators import cache_readonly, deprecate_kwarg -from...
Fix layout and pep8 compliance for categorical, common, and frame. Used YAPF with default settings and then manual modifications including: -fixing line length of comments/docstrings for pep8 compliance -converting lambdas to functions for pep8 compliance -change YAPF default formatting of error strings -change some Y...
https://api.github.com/repos/pandas-dev/pandas/pulls/11951
2016-01-03T21:47:08Z
2016-01-16T15:13:58Z
2016-01-16T15:13:58Z
2016-01-16T17:12:07Z
WIP/PEP8: pandas/core
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index e5347f03b5462..d1c983769ed2a 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -12,6 +12,7 @@ import pandas.hashtable as htable from pandas.compat import string_types + def match(to_match, values, na_sentinel=-1): ...
xref #11928 Putting this out there as a start. Will add to this over the next couple of days.
https://api.github.com/repos/pandas-dev/pandas/pulls/11945
2016-01-03T13:21:24Z
2016-01-04T02:53:54Z
2016-01-04T02:53:54Z
2016-01-04T02:53:58Z
PEP8: add in flake8 checking
diff --git a/.travis.yml b/.travis.yml index abca2fe9c2c7e..6252b5654890f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -173,4 +173,4 @@ after_script: - if [ -f /tmp/doc.log ]; then cat /tmp/doc.log; fi - source activate pandas && ci/print_versions.py - ci/print_skipped.py /tmp/nosetests.xml - - ci/after_scri...
don't actually fail this till #11928 is clean.
https://api.github.com/repos/pandas-dev/pandas/pulls/11941
2016-01-02T03:42:34Z
2016-01-03T15:43:55Z
2016-01-03T15:43:55Z
2016-01-03T15:43:55Z
DOC: several minor doc improvements
diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst index 72f1e5749a886..6fa58bf620005 100644 --- a/doc/source/indexing.rst +++ b/doc/source/indexing.rst @@ -186,7 +186,7 @@ Attribute Access .. _indexing.attribute_access: -You may access an index on a ``Series``, column on a ``DataFrame``, and a item on...
https://api.github.com/repos/pandas-dev/pandas/pulls/11940
2016-01-02T02:11:56Z
2016-01-02T02:20:55Z
2016-01-02T02:20:55Z
2016-01-02T02:20:57Z
head(0) and tail(0) return empty DataFrames
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 58d003b5c9dc7..2c97cae80ae2a 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -166,6 +166,8 @@ Backwards incompatible API changes - The parameter ``out`` has been removed from the ``Series.round(...
closes #11930 frame.head(0) and frame.tail(0) now return empty DataFrames.
https://api.github.com/repos/pandas-dev/pandas/pulls/11937
2015-12-31T20:28:05Z
2016-01-02T06:39:59Z
2016-01-02T06:39:59Z
2016-01-02T06:40:03Z
API: GH11885 DataFrame.round() now returns non-numeric columns unchanged
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 89ffd0b015846..4dd8a1d19c383 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -165,6 +165,7 @@ Backwards incompatible API changes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - The parameter ``out`` has b...
closes #11885
https://api.github.com/repos/pandas-dev/pandas/pulls/11923
2015-12-29T18:51:08Z
2015-12-29T21:12:56Z
2015-12-29T21:12:56Z
2015-12-29T21:12:59Z
ENH: raise exception when sqlalchemy is required for database string URI
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index 49f277f6ba7bc..47642c2e2bc28 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -528,6 +528,8 @@ def pandasSQL_builder(con, flavor=None, schema=None, meta=None, con = _engine_builder(con) if _is_sqlalchemy_connectable(con): return SQLDatabas...
- I get a cryptic error `AttributeError: 'str' object has no attribute 'cursor'` if sqlalchemy is not installed and I pass a database string URI to `pandas.read_sql`. I think the error should be made more explicit. - Also I think there is a shadowing issue with`_SQLALCHEMY_INSTALLED` in `_engine_builder`. ``` /opt/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/11920
2015-12-29T04:09:22Z
2016-08-10T10:15:35Z
2016-08-10T10:15:35Z
2016-08-10T10:15:35Z
DOC: fix get_dummies function examples
diff --git a/pandas/core/reshape.py b/pandas/core/reshape.py index fecfe5cd82c6d..719f35dd90ce2 100644 --- a/pandas/core/reshape.py +++ b/pandas/core/reshape.py @@ -986,7 +986,7 @@ def get_dummies(data, prefix=None, prefix_sep='_', dummy_na=False, >>> import pandas as pd >>> s = pd.Series(list('abca')) - ...
Small change, to include the pd alias and to remove an extra colon on the last example.
https://api.github.com/repos/pandas-dev/pandas/pulls/11917
2015-12-28T17:41:23Z
2015-12-28T17:51:54Z
2015-12-28T17:51:54Z
2015-12-28T17:52:03Z
DOC: adapt remaining occurences of pf.rolling_
diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst index 12be3037def75..bcfc30c6e404b 100644 --- a/doc/source/visualization.rst +++ b/doc/source/visualization.rst @@ -1595,8 +1595,8 @@ when plotting a large number of points. price = pd.Series(np.random.randn(150).cumsum(), ...
https://api.github.com/repos/pandas-dev/pandas/pulls/11916
2015-12-28T10:15:46Z
2015-12-28T11:18:32Z
2015-12-28T11:18:32Z
2015-12-28T11:18:32Z
ENH: add pd.test to enable nose test runnning from the imported session, #4327
diff --git a/doc/source/api.rst b/doc/source/api.rst index 3c7ca6d5c2326..88efe27b16c2b 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -194,6 +194,14 @@ Top-level evaluation eval +Testing +~~~~~~~ + +.. autosummary:: + :toctree: generated/ + + test + .. _api.series: Series diff --git a/doc/...
closes #4327 copied from `numpy` nosetester.
https://api.github.com/repos/pandas-dev/pandas/pulls/11913
2015-12-27T15:44:51Z
2016-01-08T14:07:46Z
2016-01-08T14:07:46Z
2016-03-10T00:52:08Z
DEPR: pandas.stats.var, pandas.stats.plm, pandas.stats.ols, pandas.stats.fama_macbeth
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index f9bb37359235c..b443bb74e98ea 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -253,6 +253,8 @@ Deprecations For example, instead of ``s.rolling(window=5,freq='D').max()`` to get the max value on ...
closes #6077 this cleans ups the remainder of the `pandas.stats` modules we are directing: - `OLS` -> `http://statsmodels.sourceforge.net/stable/regression.html` - `PanelOLS/MovingOLS/PooledOLS` to `http://statsmodels.sourceforge.net/stable/mixed_linear.html` - `VAR` to `http://statsmodels.sourceforge.net/stable/vec...
https://api.github.com/repos/pandas-dev/pandas/pulls/11898
2015-12-24T21:29:09Z
2015-12-26T13:08:42Z
2015-12-26T13:08:42Z
2015-12-26T13:08:42Z
BUG: masking empty DataFrame
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 733e86e38e47a..9cb0339f60cd7 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -345,3 +345,4 @@ Bug Fixes - Bug in ``read_sql`` with pymysql connections failing to return chunked data (:issue:`115...
closes #11859 A `ValueError` was raised when trying to mask an empty DataFrame. In addition to solve the bug I've also added a simple new unit test in `test_frame.py`. I didn't add a line in `whatsnew` because this was already done in #10126
https://api.github.com/repos/pandas-dev/pandas/pulls/11895
2015-12-24T12:00:53Z
2015-12-26T00:29:36Z
2015-12-26T00:29:36Z
2015-12-26T00:29:40Z
DOC: Put MultiIndex into the main API Reference
diff --git a/doc/source/api.rst b/doc/source/api.rst index 3c7ca6d5c2326..1b7c7916c33a1 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -572,6 +572,7 @@ strings and apply several methods to it. These can be accessed like Series.dt Index.str CategoricalIndex.str + MultiIndex.str...
Doc changes only. closes #11890
https://api.github.com/repos/pandas-dev/pandas/pulls/11893
2015-12-23T23:09:32Z
2016-01-11T13:39:53Z
2016-01-11T13:39:53Z
2016-01-22T19:08:24Z
ENH: RangeIndex redux
diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst index d976b0c8c21a5..465fbf483b1cc 100644 --- a/doc/source/advanced.rst +++ b/doc/source/advanced.rst @@ -617,10 +617,20 @@ faster than fancy indexing. timeit ser.ix[indexer] timeit ser.take(indexer) +.. _indexing.index_types: + +Index Types +----...
closes #939 replaces #9977 ToDo: - [x] test for packers.py - [x] more code review Much commentary on the original issue #9977 but in essence `RangeIndex` is a complete replacement for `Int64Index`, which all indexing semantics and interop. This is now the default indexer upon construction. It should be completely...
https://api.github.com/repos/pandas-dev/pandas/pulls/11892
2015-12-23T22:10:54Z
2016-01-16T17:36:53Z
2016-01-16T17:36:53Z
2016-01-17T01:56:47Z
Fix passing args in groupby plot (GH11805)
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 4614ce9acf3d5..89ffd0b015846 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -330,8 +330,9 @@ Bug Fixes - Bug in ``to_numeric`` where it does not raise if input is more than one dimension (:issue:...
Closes https://github.com/pydata/pandas/issues/11805 So probably all groupby plot calls that use kwargs are broken in 0.17.x. @shoyer it was only a very small change actually! Still need to add tests.
https://api.github.com/repos/pandas-dev/pandas/pulls/11891
2015-12-23T21:18:33Z
2015-12-28T10:08:29Z
2015-12-28T10:08:29Z
2015-12-28T10:08:29Z
DOC: add examples of database drivers (GH11686)
diff --git a/doc/source/install.rst b/doc/source/install.rst index b099186f208ae..0f2f7e6f83d78 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -247,6 +247,13 @@ Optional Dependencies * `SciPy <http://www.scipy.org>`__: miscellaneous statistical functions * `PyTables <http://www.pytables.org>`__: ...
Closes #11686
https://api.github.com/repos/pandas-dev/pandas/pulls/11888
2015-12-23T13:45:23Z
2015-12-23T19:09:00Z
2015-12-23T19:09:00Z
2015-12-23T19:09:01Z
Add examples for pandas.*.sample
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index d3cd0840782b4..85f23b988778f 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -748,10 +748,10 @@ def bool(self): def __abs__(self): return self.abs() - + def __round__(self,decimals=0): return self.ro...
The following doc files are generated from the sample() function from pandas/core/generic.py: pandas.DataFrame.sample.html pandas.Panel.sample.html pandas.Panel4D.sample.html pandas.Series.sample.html Examples for each have been added to the sample() function docstring.
https://api.github.com/repos/pandas-dev/pandas/pulls/11883
2015-12-22T05:54:01Z
2015-12-23T14:27:42Z
2015-12-23T14:27:42Z
2015-12-23T15:29:25Z
Doc: added names parameter in read_excel
diff --git a/pandas/io/excel.py b/pandas/io/excel.py index 2b9ba56447dee..106d263f56093 100644 --- a/pandas/io/excel.py +++ b/pandas/io/excel.py @@ -71,7 +71,7 @@ def get_writer(engine_name): raise ValueError("No Excel writer '%s'" % engine_name) def read_excel(io, sheetname=0, header=0, skiprows=None, skip...
closes #11468 Please Review.
https://api.github.com/repos/pandas-dev/pandas/pulls/11874
2015-12-21T00:28:23Z
2015-12-23T14:50:41Z
2015-12-23T14:50:41Z
2015-12-23T14:50:55Z
raise NotImplemented for date parsing args in read_excel #11544
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 21e3e86e07f37..c8a83029bed9c 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -340,4 +340,8 @@ Bug Fixes - Bug in ``Index`` prevents copying name of passed ``Index``, when a new name is not provide...
Fixes #11544 The `parse_dates` and `date_parser` args are passed to `TextReader` and then to `TextFileReader` where they don't seem to have an effect. It was decided to raise the exception at the `_parse_excel` level however, following suit with the handling of `chunksize` args.
https://api.github.com/repos/pandas-dev/pandas/pulls/11870
2015-12-19T16:21:49Z
2015-12-19T20:03:33Z
2015-12-19T20:03:33Z
2016-01-15T19:05:45Z
DOC: paramaters -> parameters
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 6a14a4024ba5a..a2597757c3353 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -194,7 +194,7 @@ Bug Fixes - Bug in Timestamp-Timestamp not returning a Timedelta type and datelike-datelike ops with t...
Typo that generates sphinx warning
https://api.github.com/repos/pandas-dev/pandas/pulls/11869
2015-12-19T11:52:32Z
2015-12-19T11:52:55Z
2015-12-19T11:52:55Z
2015-12-19T11:52:56Z
look for colormap in rcParams['axes.prop_cycle'] (mpl 1.5+) first
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 5b8c282d3e4ed..cd404476e1d7e 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -227,8 +227,7 @@ Bug Fixes - Bug in parsing timezone offset strings with non-zero minutes (:issue:`11708`) - - +- B...
Fixes #11614
https://api.github.com/repos/pandas-dev/pandas/pulls/11865
2015-12-18T20:17:02Z
2015-12-25T21:47:39Z
2015-12-25T21:47:39Z
2015-12-25T21:47:39Z
COMPAT: remove python 3.3. compat, #11273
diff --git a/.travis.yml b/.travis.yml index 4e46fb7ad85ca..abca2fe9c2c7e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,13 +57,6 @@ matrix: - FULL_DEPS=true - CLIPBOARD=xsel - BUILD_TYPE=conda - - python: 3.3 - env: - - JOB_NAME: "33_nslow" - - NOSE_ARGS="not slow and not disa...
closes #11273
https://api.github.com/repos/pandas-dev/pandas/pulls/11863
2015-12-18T18:43:53Z
2015-12-18T19:17:37Z
2015-12-18T19:17:37Z
2015-12-18T19:17:37Z
BUG: force list type for tuples from chunked sql table reads #11522
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index de5439885a6a7..6d891ce3221ce 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -238,3 +238,4 @@ Bug Fixes - Bug in ``df.replace`` while replacing value in mixed dtype ``Dataframe`` (:issue:`11698`) ...
Closes #11522.
https://api.github.com/repos/pandas-dev/pandas/pulls/11861
2015-12-17T22:55:13Z
2015-12-19T12:58:10Z
2015-12-19T12:58:09Z
2015-12-19T16:16:32Z
DOC: typos in DataFrame.iterrows and itertuples docstrings
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 8658c6d45f1b6..9ecee2ea86bd1 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -1212,7 +1212,7 @@ To iterate over the rows of a DataFrame, you can use the following methods: This converts the rows to Series objects, which can change the...
https://api.github.com/repos/pandas-dev/pandas/pulls/11860
2015-12-17T21:36:25Z
2015-12-17T21:53:45Z
2015-12-17T21:53:45Z
2015-12-17T21:53:50Z
REGR: Regression in .clip with tz-aware datetimes #11838
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index a534c3ec0017a..de5439885a6a7 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -92,7 +92,7 @@ In addition, ``.round()`` will be available thru the ``.dt`` accessor of ``Serie Backwards incompatible ...
closes #11838
https://api.github.com/repos/pandas-dev/pandas/pulls/11850
2015-12-16T01:51:21Z
2015-12-16T13:13:06Z
2015-12-16T13:13:06Z
2015-12-16T13:13:06Z
COMPAT: GH11769 Fix msgpack ExtType unpack errors on Windows in Python 3.5
diff --git a/pandas/src/msgpack/unpack.h b/pandas/src/msgpack/unpack.h index 5deb7cde0b929..3f9d0f1b64895 100644 --- a/pandas/src/msgpack/unpack.h +++ b/pandas/src/msgpack/unpack.h @@ -265,9 +265,9 @@ static inline int unpack_callback_ext(unpack_user* u, const char* base, const ch } // length also includes th...
closes #11769
https://api.github.com/repos/pandas-dev/pandas/pulls/11842
2015-12-15T05:44:49Z
2015-12-15T12:01:56Z
2015-12-15T12:01:56Z
2015-12-15T12:02:51Z
Spelling fixes
diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst index b550f59b8c5e6..d976b0c8c21a5 100644 --- a/doc/source/advanced.rst +++ b/doc/source/advanced.rst @@ -525,7 +525,7 @@ they have a MultiIndex: df.T.sort_index(level=1, axis=1) -The ``MultiIndex`` object has code to **explicity check the sort dept...
https://api.github.com/repos/pandas-dev/pandas/pulls/11837
2015-12-14T04:04:27Z
2015-12-14T08:38:03Z
2015-12-14T08:38:03Z
2015-12-14T08:38:11Z
CLN: frequency.get_offset always return copy
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 733e86e38e47a..56a129fddee16 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -252,6 +252,8 @@ Deprecations For example, instead of ``s.rolling(window=5,freq='D').max()`` to get the max value o...
Closes #11192. Fix 2 points which should not affect to normal users (thus no release note descriptions). - get_offset (#11192): It returns cached offset, overwriting it may leads to unexpected results. `pandas` public methods doesn't use them as it is. Thus it should not affect to almost all users, except who explici...
https://api.github.com/repos/pandas-dev/pandas/pulls/11834
2015-12-13T04:01:11Z
2015-12-26T00:28:22Z
2015-12-26T00:28:22Z
2015-12-27T06:41:58Z
CLN: Use `is` operator for comparing with `None` (Pep8)
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 6aeb4d83649ef..072926405d849 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -4500,7 +4500,7 @@ def describe_1d(data, percentiles): else: data = self elif include == 'all': - if exclu...
https://api.github.com/repos/pandas-dev/pandas/pulls/11828
2015-12-12T06:01:47Z
2015-12-15T16:37:26Z
2015-12-15T16:37:26Z
2015-12-15T17:58:42Z
CLN: Use sentinel values instead of mutable default arguments
diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py index 9df53bd3239bf..639da4176cd61 100644 --- a/pandas/compat/__init__.py +++ b/pandas/compat/__init__.py @@ -475,8 +475,10 @@ def setdefault(self, key, default=None): self[key] = default return default - def __repr__(self, _repr_...
From [Quantified Code](https://www.quantifiedcode.com/): Mutable list or dictionary used as default argument to a method or function. Python creates a single persistent object and uses it for every subsequent call in which the argument is left empty. This can cause problems if the program was expecting the function to...
https://api.github.com/repos/pandas-dev/pandas/pulls/11827
2015-12-12T05:44:13Z
2015-12-15T19:55:48Z
2015-12-15T19:55:48Z
2015-12-15T20:46:07Z
DOC: Add example to pandas.DataFrame.applymap
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index bc60e1dff9ab5..4ec0dd68d5261 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4124,6 +4124,22 @@ def applymap(self, func): func : function Python function, returns a single value from a single value + Examples ...
https://api.github.com/repos/pandas-dev/pandas/pulls/11826
2015-12-12T04:40:36Z
2015-12-23T14:24:16Z
2015-12-23T14:24:16Z
2015-12-23T15:29:42Z
TST: avoid int conversions on windows, xref #11816
diff --git a/pandas/tseries/tests/test_tslib.py b/pandas/tseries/tests/test_tslib.py index 679ee340f72bd..7e772aeb14f6e 100644 --- a/pandas/tseries/tests/test_tslib.py +++ b/pandas/tseries/tests/test_tslib.py @@ -390,13 +390,13 @@ def test_today(self): def test_asm8(self): np.random.seed(7960929) - ...
xref #11816 cc @llllllllll had to change the test as this numpy bug on window: https://github.com/numpy/numpy/issues/6812
https://api.github.com/repos/pandas-dev/pandas/pulls/11824
2015-12-11T15:35:06Z
2015-12-11T15:49:34Z
2015-12-11T15:49:34Z
2015-12-11T15:49:34Z
BUG: GH11808 subclasses of DataFrame did not propagate AttributeError
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 0710f65dc9a74..b2894f669593b 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -206,7 +206,8 @@ Bug Fixes -- Bug groupby on tz-aware data where selection not returning ``Timestamp`` (:issue:`11...
closes #11808
https://api.github.com/repos/pandas-dev/pandas/pulls/11822
2015-12-11T06:58:52Z
2015-12-11T13:07:58Z
2015-12-11T13:07:58Z
2015-12-11T13:08:02Z
DOC: Fix typo in example for df.merge()
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index bc60e1dff9ab5..dd41075ddf92e 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -140,7 +140,7 @@ 2 baz 3 2 qux 7 3 foo 4 3 bar 8 ->>> merge(A, B, left_on='lkey', right_on='rkey', how='outer') +>>> A.merge(B, left...
https://api.github.com/repos/pandas-dev/pandas/pulls/11821
2015-12-11T05:41:31Z
2015-12-11T15:37:53Z
2015-12-11T15:37:53Z
2015-12-15T19:45:57Z
BUG: read_excel fails when empty sheets exist and sheetname=None #11711
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 0710f65dc9a74..a590d8a3afd15 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -230,3 +230,5 @@ Bug Fixes - Bug in ``df.replace`` while replacing value in mixed dtype ``Dataframe`` (:issue:`1169...
Fixes issue #11711. Existing code prematurely returns an empty dataframe when an empty sheet in the source excel file is encountered. Fix is to store an empty dataframe in the output dict and continue to the next sheet.
https://api.github.com/repos/pandas-dev/pandas/pulls/11819
2015-12-11T05:13:19Z
2015-12-12T13:49:39Z
2015-12-12T13:49:39Z
2015-12-15T04:34:56Z
ENH: add 'asm8' to NaT
diff --git a/pandas/tseries/tests/test_tslib.py b/pandas/tseries/tests/test_tslib.py index 4fe136fceb671..679ee340f72bd 100644 --- a/pandas/tseries/tests/test_tslib.py +++ b/pandas/tseries/tests/test_tslib.py @@ -388,6 +388,17 @@ def test_today(self): self.assertTrue(abs(ts_from_string_tz.tz_localize(None) ...
I was suprised to find that `NaT.asm8` does not exist though there is a valid nat form for `numpy.datetime64`. This also adds tests for the asm8 behavior for a random sample of times and `NaT`
https://api.github.com/repos/pandas-dev/pandas/pulls/11816
2015-12-10T23:33:14Z
2015-12-11T13:05:31Z
2015-12-11T13:05:31Z
2015-12-11T13:05:35Z
ENH: Using built-in round on a series #11763
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index e71830d7dd8d8..a534c3ec0017a 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -34,6 +34,8 @@ Other enhancements - Handle truncated floats in SAS xport files (:issue:`11713`) - Added option to hide...
closes #11763 This contains changes to support `round()` (works in Python 3 only) for DataFrame, Series and Panel. Also includes `Panel.round()`. Note on code changes - moved code from test_format.py to test_frame.py because it made more logical sense to put the testing code for `round()` into test_frame.py
https://api.github.com/repos/pandas-dev/pandas/pulls/11809
2015-12-09T23:17:21Z
2015-12-15T22:51:56Z
2015-12-15T22:51:56Z
2016-12-09T16:42:35Z
be more careful with half-opened date_range
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index de5439885a6a7..5b8c282d3e4ed 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -190,6 +190,7 @@ Bug Fixes - Bug in ``GroupBy.size`` when data-frame is empty. (:issue:`11699`) - Bug in ``Period.end_...
closes #11804 This changes the definition of 'left' and 'right'. If the generated_dates are strictly within (start, end), then changing the value of closed has no impact. Before the code would always remove the leftmost date or rightmost date independently of the value of start and end.
https://api.github.com/repos/pandas-dev/pandas/pulls/11806
2015-12-09T18:54:09Z
2015-12-17T22:43:13Z
2015-12-17T22:43:13Z
2015-12-18T19:33:16Z
Fix import-time DeprecationWarning on Python 3.5
diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx index ad34fc4b41d95..84d0cc61be8e6 100644 --- a/pandas/tslib.pyx +++ b/pandas/tslib.pyx @@ -4773,8 +4773,8 @@ class TimeRE(dict): # format directives (%m, etc.). regex_chars = re_compile(r"([\\.^$*+?\(\){}\[\]|])") format = regex_chars.sub(r"\\...
Fixes the following: ``` $ python3.5 -Wall Python 3.5.0 (default, Sep 18 2015, 09:31:01) [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pandas.tslib pandas/__init__.py:7: DeprecationWarning: bad escape \s from pandas import hashtabl...
https://api.github.com/repos/pandas-dev/pandas/pulls/11798
2015-12-08T22:57:18Z
2015-12-10T01:30:31Z
2015-12-10T01:30:31Z
2015-12-10T17:04:35Z
BUG: bug in deep copy of datetime tz-aware objects, #11794
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index c1b7ff82f4c76..94ca376df8436 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -170,7 +170,7 @@ Bug Fixes - Bug in ``Timedelta.round`` with negative values (:issue:`11690`) - Bug in ``.loc`` agains...
closes #11794 cleanups in copy / remove warnings
https://api.github.com/repos/pandas-dev/pandas/pulls/11796
2015-12-08T14:42:16Z
2015-12-08T20:14:58Z
2015-12-08T20:14:58Z
2015-12-08T20:14:58Z
DOC: Add examples for MultiIndex.get_locs + cleanups
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index d79937829cf3f..61e28dde2e34c 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -229,7 +229,7 @@ class Categorical(PandasObject): See also -------- - pandas.api.types.CategoricalDtype + pandas.api.types...
- [x ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Adds examples to ``MultiIndex.get_locs`` and also some changes to ``.get_loc`` and ``.get_loc_values``.
https://api.github.com/repos/pandas-dev/pandas/pulls/17675
2017-09-25T22:33:48Z
2017-09-30T15:25:58Z
2017-09-30T15:25:58Z
2017-10-09T21:00:07Z
Fixed Value Error when doing HDFStore.Select of contiguous mixed-data
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 06f19782682b0..da615c1176cd1 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -580,6 +580,7 @@ I/O - Bug in :func:`read_html` where import check fails when run in multiple threads (:issue:`16928`) ...
Fixed Value Error when doing HDFStore.Select of contiguous mixed-data table ft. VLArray Closes 17021 Signed-off-by: Amol Kahat <akahat@redhat.com> - [x] closes #17021 - [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/17670
2017-09-25T18:50:38Z
2017-09-28T14:12:51Z
2017-09-28T14:12:50Z
2017-09-28T14:12:53Z
Last of the timezones funcs
diff --git a/pandas/_libs/tslibs/timezones.pxd b/pandas/_libs/tslibs/timezones.pxd index e5d1343e1c984..95e0474b3a174 100644 --- a/pandas/_libs/tslibs/timezones.pxd +++ b/pandas/_libs/tslibs/timezones.pxd @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # cython: profile=False -from numpy cimport ndarray - cdef bint is_utc...
Moves `tools.datetimes._infer_tzinfo` to `tslibs.timezones._infer_tzinfo`. Refactor a large timezone-specific chunk of `tslib.tz_localize_to_utc` to `tslibs.timezones._infer_dst` The new func `timezones._infer_dst` is taken out of `tslib.tz_localize_to_utc`. It is very nearly a cut/paste. The only change is rem...
https://api.github.com/repos/pandas-dev/pandas/pulls/17669
2017-09-25T18:12:51Z
2017-09-29T10:16:36Z
2017-09-29T10:16:36Z
2017-10-30T16:23:13Z
DOC: improve docstring of function where
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 3d55e07df6eac..8e2a91ee9fd61 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -5822,13 +5822,15 @@ def _where(self, cond, other=np.nan, inplace=False, axis=None, level=None, _shared_docs['where'] = (""" Return an objec...
Clarified parameters `cond` and `other`. Added example with scalar `other`.
https://api.github.com/repos/pandas-dev/pandas/pulls/17665
2017-09-25T12:01:08Z
2017-09-25T23:19:22Z
2017-09-25T23:19:22Z
2017-09-25T23:19:26Z
COMPAT: skip 32-bit test on int repr
diff --git a/pandas/tests/frame/test_api.py b/pandas/tests/frame/test_api.py index b3209da6449d6..230a5806ccb2e 100644 --- a/pandas/tests/frame/test_api.py +++ b/pandas/tests/frame/test_api.py @@ -213,8 +213,8 @@ def test_itertuples(self): assert (list(dfaa.itertuples()) == [(0, 1, 1), (1, 2, ...
closes #17121
https://api.github.com/repos/pandas-dev/pandas/pulls/17664
2017-09-25T11:10:45Z
2017-09-25T14:12:46Z
2017-09-25T14:12:46Z
2017-09-25T14:21:23Z
DOC: Correct wrong doc string for MultiIndex.get_loc_level + added examples
diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py index 0b7c5f414b178..a3accb58cad19 100644 --- a/pandas/core/indexes/multi.py +++ b/pandas/core/indexes/multi.py @@ -2056,16 +2056,42 @@ def _maybe_str_to_time_stamp(key, lev): def get_loc_level(self, key, level=0, drop_level=True): ...
- [x ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` The doc string for MultiIndex.get_loc_level is currently wrong. This corrects that + adds some examples.
https://api.github.com/repos/pandas-dev/pandas/pulls/17663
2017-09-25T08:56:40Z
2017-09-25T11:54:03Z
2017-09-25T11:54:03Z
2017-09-26T09:39:43Z
CLN: replace %s syntax with .format in io
diff --git a/pandas/io/clipboard/exceptions.py b/pandas/io/clipboard/exceptions.py index 413518e53660a..d948ad414327c 100644 --- a/pandas/io/clipboard/exceptions.py +++ b/pandas/io/clipboard/exceptions.py @@ -8,5 +8,5 @@ class PyperclipException(RuntimeError): class PyperclipWindowsException(PyperclipException): ...
Progress toward issue #16130. Converted old string formatting to new string formatting in io/html.py, io/excel.py, msgpack/_packer.pyx, msgpack/_unpacker.pyx, clipboard/exceptions.py, json/json.py, json/normalize.py, sas/sas.pyx
https://api.github.com/repos/pandas-dev/pandas/pulls/17660
2017-09-24T22:48:39Z
2017-09-25T10:10:06Z
2017-09-25T10:10:06Z
2017-09-25T11:08:23Z
TST: Fix repeat parameter overwritten in the sparse asv test
diff --git a/asv_bench/benchmarks/sparse.py b/asv_bench/benchmarks/sparse.py index 7259e8cdb7d61..b958f5e0e5c34 100644 --- a/asv_bench/benchmarks/sparse.py +++ b/asv_bench/benchmarks/sparse.py @@ -1,4 +1,4 @@ -from itertools import repeat +import itertools from .pandas_vb_common import * import scipy.sparse @@ -33,...
- [x] closes #17658 - [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/17659
2017-09-24T16:43:02Z
2017-09-24T19:06:42Z
2017-09-24T19:06:42Z
2017-09-24T19:55:27Z
TST: install cython from pip for 3.6_NUMPY_DEV build
diff --git a/ci/requirements-3.6_NUMPY_DEV.build b/ci/requirements-3.6_NUMPY_DEV.build index 900c050f1cc9e..336fbe86b57d8 100644 --- a/ci/requirements-3.6_NUMPY_DEV.build +++ b/ci/requirements-3.6_NUMPY_DEV.build @@ -1,3 +1,2 @@ python=3.6* pytz -cython diff --git a/ci/requirements-3.6_NUMPY_DEV.build.sh b/ci/require...
https://api.github.com/repos/pandas-dev/pandas/pulls/17657
2017-09-24T14:23:11Z
2017-09-24T18:42:54Z
2017-09-24T18:42:54Z
2017-09-24T18:43:57Z
DEPR: deprecate .as_blocks()
diff --git a/doc/source/10min.rst b/doc/source/10min.rst index ef6b2d6ef2c90..ede52908bbe0f 100644 --- a/doc/source/10min.rst +++ b/doc/source/10min.rst @@ -95,17 +95,7 @@ will be completed: df2.append df2.combine_first df2.apply df2.compound df2.applymap df2.consolidate -...
closes #17302
https://api.github.com/repos/pandas-dev/pandas/pulls/17656
2017-09-24T14:11:54Z
2017-09-25T10:14:48Z
2017-09-25T10:14:47Z
2017-09-25T10:16:02Z
DOC: Fixed errors in doc string for Categorical + cleanup
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index 98d6d7a68017a..ac9840c57301a 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -196,34 +196,34 @@ class Categorical(PandasObject): Examples -------- - >>> from pandas import Categorical - >>> Categoric...
The doc string for ``Categorical`` has the examples wrong wrt. orderedness. This fixes that + some cleanup.
https://api.github.com/repos/pandas-dev/pandas/pulls/17655
2017-09-24T09:42:57Z
2017-09-25T07:13:11Z
2017-09-25T07:13:11Z
2017-09-26T09:39:53Z
BUG: Fix series rename called with str altering name rather index (GH17407)
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 4a3122a78b234..e0e0c18052550 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -589,6 +589,7 @@ Indexing - Bug in intersection of ``RangeIndex`` with negative step (:issue:`17296`) - Bug in ``Inter...
- [x] closes #17407 - [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/17654
2017-09-24T01:20:01Z
2017-09-30T19:33:53Z
2017-09-30T19:33:53Z
2017-10-01T15:42:02Z
DOC: Added example to MultiIndex doc string
diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py index 0b7c5f414b178..8c6b26c9070a9 100644 --- a/pandas/core/indexes/multi.py +++ b/pandas/core/indexes/multi.py @@ -68,6 +68,33 @@ class MultiIndex(Index): Copy the meta-data verify_integrity : boolean, default True Check th...
- [ ] closes #xxxx - [ ] tests added / passed - [x ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry I think ``MultiIndex`` doc string should have a quick note on how ``MultiIndex`` is typically instantiated, as you normally wouldn't instantiate it directly. I've added an ex...
https://api.github.com/repos/pandas-dev/pandas/pulls/17653
2017-09-24T00:07:27Z
2017-09-25T08:12:35Z
2017-09-25T08:12:35Z
2017-09-26T09:40:02Z
cut/paste AccessorProperty and PandasDelegate to core.accessor
diff --git a/pandas/core/accessor.py b/pandas/core/accessor.py index 9f8556d1e6961..c8476841bfce4 100644 --- a/pandas/core/accessor.py +++ b/pandas/core/accessor.py @@ -5,6 +5,7 @@ that can be mixed into or pinned onto other pandas classes. """ +from pandas.core.common import AbstractMethodError class DirNames...
To try to get some positive momentum on wrapping up #17042, this PR cut/pastes AccessorProperty and PandasDelegate from core.base to core.accessor, updates the appropriate imports. The idea is that it will be easier to review actual design changes in isolation of cut/paste changes. - [ ] closes #xxxx - [ ] tests...
https://api.github.com/repos/pandas-dev/pandas/pulls/17651
2017-09-23T23:28:20Z
2017-09-24T13:15:30Z
2017-09-24T13:15:30Z
2017-10-30T16:23:25Z
Fix apparent copy/paste error skewness --> excess kurtosis
diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py index 858aed7fd3e23..388b2ecdff445 100644 --- a/pandas/core/nanops.py +++ b/pandas/core/nanops.py @@ -565,7 +565,7 @@ def nanskew(values, axis=None, skipna=True): @disallow('M8', 'm8') def nankurt(values, axis=None, skipna=True): - """ Compute the sample...
- [ ] 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/17647
2017-09-23T16:53:44Z
2017-09-23T17:00:50Z
2017-09-23T17:00:50Z
2017-10-30T16:23:26Z
TST: remove some more warnings
diff --git a/pandas/core/dtypes/missing.py b/pandas/core/dtypes/missing.py index 101612893cb02..49b7b1d1d3a9b 100644 --- a/pandas/core/dtypes/missing.py +++ b/pandas/core/dtypes/missing.py @@ -327,25 +327,7 @@ def array_equivalent(left, right, strict_nan=False): left = left.view('i8') right = right.vi...
TST: parametrize stata tests
https://api.github.com/repos/pandas-dev/pandas/pulls/17645
2017-09-23T15:13:14Z
2017-09-23T18:52:12Z
2017-09-23T18:52:12Z
2017-09-23T18:53:17Z
API: harmonize drop/reindex/rename args (GH12392) - drop
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 261e12b824509..5a14e3c189571 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -91,6 +91,24 @@ This does not raise any obvious exceptions, but also does not create a new colum Setting a list-like ...
xref #12392. For now this only deals with `drop` (making it similar with `reindex`), and not the other way around (`reindex` similar to `drop`). So the title is not fully correct, but this is the more easy part.
https://api.github.com/repos/pandas-dev/pandas/pulls/17644
2017-09-23T11:52:56Z
2017-09-24T11:48:01Z
2017-09-24T11:48:00Z
2017-09-24T11:48:08Z
Accept CategoricalDtype in read_csv
diff --git a/doc/source/io.rst b/doc/source/io.rst index d6abed6e9d1ad..4d47d8b77aebf 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -452,7 +452,8 @@ Specifying Categorical dtype .. versionadded:: 0.19.0 -``Categorical`` columns can be parsed directly by specifying ``dtype='category'`` +``Categorical`` ...
```python import pandas as pd from io import StringIO from pandas.api.types import CategoricalDtype data = 'col1,col2,col3\na,b,1\na,b,2\nc,d,3' dtype = CategoricalDtype(['d', 'c', 'b', 'a'], ordered=True) pd.read_csv(StringIO(data), dtype={'col1': dtype}).dtypes ``` This is for after https://github.com...
https://api.github.com/repos/pandas-dev/pandas/pulls/17643
2017-09-23T11:27:36Z
2017-10-02T14:10:43Z
2017-10-02T14:10:43Z
2017-10-02T14:32:55Z
DOC: fix no autosummary for numerical index api pages
diff --git a/doc/sphinxext/numpydoc/numpydoc.py b/doc/sphinxext/numpydoc/numpydoc.py index 710c3cc9842c4..f06915997c616 100755 --- a/doc/sphinxext/numpydoc/numpydoc.py +++ b/doc/sphinxext/numpydoc/numpydoc.py @@ -43,9 +43,10 @@ def mangle_docstrings(app, what, name, obj, options, lines, ) # PANDAS...
For some reason the 'class_without_autosummary' template is not working for the newly added numeric index classes. I asked in the PR https://github.com/pandas-dev/pandas/pull/17611 to combine them, but now as a test splitting them again (all other cases where it does work is only one class, but if this works seems a...
https://api.github.com/repos/pandas-dev/pandas/pulls/17642
2017-09-23T10:48:10Z
2017-09-26T14:30:40Z
2017-09-26T14:30:40Z
2017-09-26T14:30:44Z
DOC: correct example use of nth dropna keyword
diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst index e9a7d8dd0a46e..91d806ca5dd4f 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -1060,7 +1060,7 @@ To select from a DataFrame or Series the nth item, use the nth method. This is a g.nth(-1) g.nth(1) -If you want to select the ...
dropna=True is deprecated now, small follow-up to ttps://github.com/pandas-dev/pandas/pull/17493
https://api.github.com/repos/pandas-dev/pandas/pulls/17641
2017-09-23T10:34:54Z
2017-09-23T14:13:01Z
2017-09-23T14:13:01Z
2017-09-23T14:13:03Z
BUG: overflow on Timedelta construction & arithmetic now raises
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 5003aa0d97c1c..43e90f06ed504 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -498,6 +498,7 @@ Conversion - Bug in :func:`Series.fillna` returns frame when ``inplace=True`` and ``value`` is dict (:...
closes #17637
https://api.github.com/repos/pandas-dev/pandas/pulls/17640
2017-09-23T02:48:12Z
2017-09-23T14:11:02Z
2017-09-23T14:11:01Z
2017-09-23T14:12:05Z
TST: remove some warnings
diff --git a/pandas/core/reshape/reshape.py b/pandas/core/reshape/reshape.py index 7260bc9a8b7a1..bff09be6149f3 100644 --- a/pandas/core/reshape/reshape.py +++ b/pandas/core/reshape/reshape.py @@ -851,7 +851,7 @@ def lreshape(data, groups, dropna=True, label=None): return DataFrame(mdata, columns=id_cols + pivot_c...
https://api.github.com/repos/pandas-dev/pandas/pulls/17638
2017-09-23T01:45:39Z
2017-09-23T02:22:36Z
2017-09-23T02:22:36Z
2017-09-23T03:34:36Z
DEPR: deprecate .select()
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index e47926d95d2fa..400519788d38b 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -667,6 +667,31 @@ Deprecations - passing ``categories`` or ``ordered`` kwargs to :func:`Series.astype` is deprecated, i...
xref #12401
https://api.github.com/repos/pandas-dev/pandas/pulls/17633
2017-09-22T21:29:27Z
2017-10-04T11:07:36Z
2017-10-04T11:07:36Z
2017-10-04T11:08:36Z
preserve kwargs order on assign func for py36plus - #14207
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 5003aa0d97c1c..49f831b95a71f 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -117,6 +117,7 @@ Other Enhancements - :func:`MultiIndex.is_monotonic_decreasing` has been implemented. Previously retu...
- [x] closes #14207 - [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/17632
2017-09-22T20:38:25Z
2017-09-24T13:22:14Z
2017-09-24T13:22:14Z
2017-09-25T02:19:39Z
COMPAT: sum/prod on all nan will remain nan regardless of bottleneck install
diff --git a/doc/source/missing_data.rst b/doc/source/missing_data.rst index 07740d66a2186..c0b3a2e0edb30 100644 --- a/doc/source/missing_data.rst +++ b/doc/source/missing_data.rst @@ -181,6 +181,42 @@ account for missing data. For example: df.mean(1) df.cumsum() + +.. _missing_data.numeric_sum: + +Sum/Prod o...
xref #15507 closes #9422
https://api.github.com/repos/pandas-dev/pandas/pulls/17630
2017-09-22T15:08:18Z
2017-10-10T13:17:02Z
2017-10-10T13:17:02Z
2017-10-10T16:09:20Z
BUG: coerce pd.wide_to_long suffixes to ints
diff --git a/doc/source/whatsnew/v0.22.0.txt b/doc/source/whatsnew/v0.22.0.txt index 02cb5aa870c9b..d982d88eafcfe 100644 --- a/doc/source/whatsnew/v0.22.0.txt +++ b/doc/source/whatsnew/v0.22.0.txt @@ -191,6 +191,7 @@ Other API Changes - Refactored ``setup.py`` to use ``find_packages`` instead of explicitly listing out...
- [x] closes #17627 - [x] I had to change nearly all the tests which had the suffixes as strings to integers. I also added a few other tests including one for string suffixes - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` I also cleaned up the finding of the var_names and substituted in some ...
https://api.github.com/repos/pandas-dev/pandas/pulls/17628
2017-09-22T13:54:31Z
2017-12-10T21:36:16Z
2017-12-10T21:36:16Z
2017-12-10T21:51:24Z
DOC: whatsnew fixes
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 885babfdd1d19..a80fa744780a2 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -135,7 +135,7 @@ We have updated our minimum supported versions of dependencies (:issue:`15206`, +--------------+-...
closes #17601
https://api.github.com/repos/pandas-dev/pandas/pulls/17626
2017-09-22T13:39:34Z
2017-09-22T13:39:41Z
2017-09-22T13:39:41Z
2017-09-22T13:39:41Z
Revert "BLD: pin numpy to particular variant that is built for all our deps
diff --git a/ci/requirements-3.6.build b/ci/requirements-3.6.build index 31ffd5acc7fcc..1c4b46aea3865 100644 --- a/ci/requirements-3.6.build +++ b/ci/requirements-3.6.build @@ -2,7 +2,5 @@ python=3.6* python-dateutil pytz nomkl +numpy cython - -# pin numpy that is built for all our deps -numpy=1.13.1=py36_blas_open...
xref #17619 This reverts commit 6930f27e78b2b61a4df31b667a816fa53e49ffed. closes #17620
https://api.github.com/repos/pandas-dev/pandas/pulls/17625
2017-09-22T12:53:23Z
2017-09-22T13:41:32Z
2017-09-22T13:41:32Z
2017-09-23T10:17:23Z
BUG: Fix groupby nunique with NaT
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 1cd65bb530f73..e4a3bd796e3ba 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -543,6 +543,7 @@ Groupby/Resample/Rolling - Bug in ``Series.resample(...).apply()`` where an empty ``Series`` modified ...
- [x] closes #17575 - [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/17624
2017-09-22T12:24:38Z
2017-09-22T21:39:13Z
2017-09-22T21:39:13Z
2017-09-22T21:39:23Z
TST: Use fixtures in indexes common tests
diff --git a/pandas/tests/indexes/common.py b/pandas/tests/indexes/common.py index 90618cd6e235f..970dd7b63225a 100644 --- a/pandas/tests/indexes/common.py +++ b/pandas/tests/indexes/common.py @@ -30,9 +30,9 @@ def setup_indices(self): for name, idx in self.indices.items(): setattr(self, name, idx...
- [x] closes #16835 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Not sure if there is a better way to define fixture params since they're essentially the indexes defined in `setup_method`. Also thinking about adding an id to each param so the...
https://api.github.com/repos/pandas-dev/pandas/pulls/17622
2017-09-22T10:51:14Z
2017-09-25T10:20:51Z
2017-09-25T10:20:51Z
2017-09-28T03:23:05Z
BUG: Fix unexpected sort in groupby
diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 50f11c38bae23..5eb2c94ecf66e 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -625,6 +625,7 @@ Groupby/Resample/Rolling - Bug in ``.rolling(...).apply(...)`` with a ``DataFrame`` with a ``DatetimeI...
- [x] closes #17537 - [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/17621
2017-09-22T07:41:49Z
2017-10-01T14:53:46Z
2017-10-01T14:53:45Z
2017-10-01T14:53:48Z