title stringlengths 1 185 | diff stringlengths 0 32.2M | body stringlengths 0 123k ⌀ | url stringlengths 57 58 | created_at stringlengths 20 20 | closed_at stringlengths 20 20 | merged_at stringlengths 20 20 ⌀ | updated_at stringlengths 20 20 |
|---|---|---|---|---|---|---|---|
BUG: Fix MultiIndex names handling in pd.concat | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 7664688ffa4f4..94e32da7eb191 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1170,6 +1170,7 @@ Indexing
- Bug in creating a ``MultiIndex`` with tuples and not passing a list of names; this will n... | This is a fix attempt for issue #15787.
The discrepancy between definition and corresponding implementation of so-called non-none names in function _get_consensus_names leads to this bug.
- [x] closes #15787
- [x] tests added / passed
- [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --... | https://api.github.com/repos/pandas-dev/pandas/pulls/15955 | 2017-04-09T14:20:46Z | 2017-04-10T12:10:24Z | null | 2017-04-10T16:39:01Z |
ENH: Style blocks | diff --git a/.gitignore b/.gitignore
index a509fcf736ea8..c953020f59342 100644
--- a/.gitignore
+++ b/.gitignore
@@ -103,3 +103,4 @@ doc/source/index.rst
doc/build/html/index.html
# Windows specific leftover:
doc/tmp.sv
+doc/source/templates/
diff --git a/MANIFEST.in b/MANIFEST.in
index b7a7e6039ac9a..31de3466cb357 ... | ENH: Add blocks to Styler template
This will make subclassing the Styler and extending
the templates easier.
REF: Move template to its own file
Use Environment and PackageLoader to load it | https://api.github.com/repos/pandas-dev/pandas/pulls/15954 | 2017-04-08T22:25:20Z | 2017-04-15T13:59:00Z | 2017-04-15T13:59:00Z | 2017-05-29T20:44:01Z |
TST: Add test decorators for redirecting stdout and stderr | diff --git a/pandas/tests/frame/test_repr_info.py b/pandas/tests/frame/test_repr_info.py
index 024e11e63a924..918938c1758ed 100644
--- a/pandas/tests/frame/test_repr_info.py
+++ b/pandas/tests/frame/test_repr_info.py
@@ -191,6 +191,7 @@ def test_latex_repr(self):
# GH 12182
self.assertIsNone(df._repr_... | Add testing decorators for redirecting `stdout` and `stderr`.
xref <a href="https://github.com/pandas-dev/pandas/pull/15925#discussion_r110283696">#15925 (comment)</a> | https://api.github.com/repos/pandas-dev/pandas/pulls/15952 | 2017-04-08T20:00:58Z | 2017-04-08T21:58:32Z | 2017-04-08T21:58:32Z | 2017-04-08T22:01:08Z |
DOC: Cleanup for nbsphinx output | diff --git a/doc/source/style.ipynb b/doc/source/style.ipynb
index 7e408f96f6c28..38b39bad8b415 100644
--- a/doc/source/style.ipynb
+++ b/doc/source/style.ipynb
@@ -45,6 +45,20 @@
"Let's see some examples."
]
},
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": t... | Followup to https://github.com/pandas-dev/pandas/pull/15581
Using the `nbsphinx: hidden` metadata to hide the ouptut, so
readers don't see matplotlib's fc-list warning.
Make the tables monospaced in CSS. | https://api.github.com/repos/pandas-dev/pandas/pulls/15951 | 2017-04-08T18:47:55Z | 2017-04-08T20:58:17Z | 2017-04-08T20:58:17Z | 2017-05-29T20:43:57Z |
TST: clean up series/frame api tests inheritance a bit | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index e8170b4bf2113..fd1cd3d0022c9 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1219,6 +1219,7 @@ Conversion
- Bug in ``DataFrame.fillna()`` with tz-aware datetimes (:issue:`15855`)
- Bug in ``is_s... | https://api.github.com/repos/pandas-dev/pandas/pulls/15949 | 2017-04-08T14:46:33Z | 2017-04-10T12:12:01Z | 2017-04-10T12:12:01Z | 2017-04-10T12:12:13Z | |
COMPAT: 32bit compat on indexing for MI.remove_unused_levels | diff --git a/pandas/indexes/multi.py b/pandas/indexes/multi.py
index 3f84d8b292980..74c45aac8b620 100644
--- a/pandas/indexes/multi.py
+++ b/pandas/indexes/multi.py
@@ -1224,6 +1224,7 @@ def _sort_levels_monotonic(self):
lev = lev.take(indexer)
# indexer to reorder the labels
+ in... | https://api.github.com/repos/pandas-dev/pandas/pulls/15948 | 2017-04-08T13:43:06Z | 2017-04-08T14:32:09Z | 2017-04-08T14:32:09Z | 2017-04-08T15:56:35Z | |
MAINT: Refactor Python engine empty line funcs | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index 10f8c53987471..95fbbce9de205 100755
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -2441,7 +2441,19 @@ def _check_for_bom(self, first_row):
# return an empty string.
return [""]
- def _empty(self, line):
+ def _is... | The Python engine's `_empty` and `_check_empty` methods were uninformative and undocumented.
This commit renames them to `_is_line_empty` and `_remove_empty_lines` respectively and provides appropriate documentation.
xref <a href="https://github.com/pandas-dev/pandas/pull/15925#discussion_r110377233">#15925 (comm... | https://api.github.com/repos/pandas-dev/pandas/pulls/15946 | 2017-04-07T20:33:47Z | 2017-04-08T13:25:24Z | 2017-04-08T13:25:24Z | 2017-04-08T16:35:49Z |
BUG: Validate the skipfooter parameter in read_csv | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index d571c0f2d9620..95f5ed6916936 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1184,6 +1184,7 @@ I/O
- Bug in ``pd.read_csv()`` in which certain invalid file objects caused the Python interpreter t... | Previously, the `skipfooter` parameter was assumed to be an integer, but that was not checked.
xref <a href="https://github.com/pandas-dev/pandas/pull/15925#discussion_r110283317">#15925 (comment)</a>
| https://api.github.com/repos/pandas-dev/pandas/pulls/15945 | 2017-04-07T20:21:29Z | 2017-04-08T13:24:44Z | 2017-04-08T13:24:44Z | 2017-04-08T16:35:56Z |
BUG/DOC: Add documentation in types/common.py | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 0b98e57c606a3..436d51da6e873 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1145,6 +1145,7 @@ Conversion
- Bug in ``.asfreq()``, where frequency was not set for empty ``Series`` (:issue:`14320`)... | Adds documentation for all internal functions in `types/common.py`
In addition, caught a bug in which some functions calling `_get_dtype` were not catching the `TypeError`. Documented those functions along the way too.
Partially addresses #15895. | https://api.github.com/repos/pandas-dev/pandas/pulls/15941 | 2017-04-07T17:31:33Z | 2017-04-07T22:42:30Z | 2017-04-07T22:42:30Z | 2017-04-08T00:40:39Z |
DEPR: deprecate pd.get_store as not api consistent and cluttering | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index cb9e2496757ef..d607d070bf2c6 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -913,13 +913,14 @@ Deprecations
- importing ``concat`` from ``pandas.tools.merge`` has been deprecated in favor of impo... | https://api.github.com/repos/pandas-dev/pandas/pulls/15940 | 2017-04-07T14:02:46Z | 2017-04-07T15:21:05Z | 2017-04-07T15:21:05Z | 2017-04-07T15:23:01Z | |
DOC/TST: add pd.unique doc-string & buggy return of Categorical | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 7664688ffa4f4..4c0594c024774 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -593,6 +593,76 @@ result. On the other hand, this might have backward incompatibilities: e.g.
compared to numpy arrays,... | closes #9346
| https://api.github.com/repos/pandas-dev/pandas/pulls/15939 | 2017-04-07T13:21:42Z | 2017-04-09T15:28:52Z | 2017-04-09T15:28:52Z | 2017-04-09T17:22:28Z |
ENH: Minor change to parallel_coordinates (#15908) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index fd1cd3d0022c9..382e57e0421c5 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -371,6 +371,8 @@ Other Enhancements
- :func:`MultiIndex.remove_unused_levels` has been added to facilitate :ref:`removi... | Add option to sort class lables, add to test
- [x] closes #15908
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15935 | 2017-04-07T05:17:44Z | 2017-04-14T13:30:24Z | null | 2017-04-14T13:30:30Z |
BUG: Correct Timestamp localization with tz near DST (#11481) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 4e29e01415ba6..7664688ffa4f4 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1124,6 +1124,7 @@ Conversion
- Bug in ``Timestamp.replace`` now raises ``TypeError`` when incorrect argument names are... | - [x] closes #11481, #15777
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
Seemed that the `Timestamp` constructor with a string incorrectly localized a naive time with `tz_convert_single` instead of `tz_localize_to_utc` which is... | https://api.github.com/repos/pandas-dev/pandas/pulls/15934 | 2017-04-07T04:19:44Z | 2017-04-08T21:59:06Z | 2017-04-08T21:59:06Z | 2017-12-20T02:00:29Z |
DOC: Fix a typo in advanced.rst | diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst
index f380070ddac79..0b81bc6d934e1 100644
--- a/doc/source/advanced.rst
+++ b/doc/source/advanced.rst
@@ -46,7 +46,7 @@ data with an arbitrary number of dimensions in lower dimensional data
structures like Series (1d) and DataFrame (2d).
In this section... | https://api.github.com/repos/pandas-dev/pandas/pulls/15933 | 2017-04-07T04:06:09Z | 2017-04-07T12:08:57Z | 2017-04-07T12:08:57Z | 2017-04-07T12:09:00Z | |
TST: suppress some warnings | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 244f882f2c103..9b88ea23483bd 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -3,7 +3,7 @@
intended for public consumption
"""
from __future__ import division
-from warnings import warn
+from warnings import warn, catch... | https://api.github.com/repos/pandas-dev/pandas/pulls/15932 | 2017-04-07T02:55:59Z | 2017-04-07T12:03:55Z | 2017-04-07T12:03:55Z | 2017-04-07T12:04:54Z | |
DEPR: deprecate relableling dicts in groupby.agg | diff --git a/doc/source/computation.rst b/doc/source/computation.rst
index a37cbc96b2d8c..f46a00826a8d9 100644
--- a/doc/source/computation.rst
+++ b/doc/source/computation.rst
@@ -610,14 +610,6 @@ aggregation with, outputting a DataFrame:
r['A'].agg([np.sum, np.mean, np.std])
-If a dict is passed, the keys wil... | pre-curser to #14668
This is basically in the whatsnew, but:
```
In [1]: df = pd.DataFrame({'A': [1, 1, 1, 2, 2],
...: 'B': range(5),
...: 'C':range(5)})
...: df
...:
Out[1]:
A B C
0 1 0 0
1 1 1 1
2 1 2 2
3 2 3 3
4 ... | https://api.github.com/repos/pandas-dev/pandas/pulls/15931 | 2017-04-07T02:44:53Z | 2017-04-13T10:18:04Z | 2017-04-13T10:18:04Z | 2017-11-30T20:22:28Z |
CLN: algos | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 80664a9ba3019..244f882f2c103 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -8,30 +8,22 @@
from pandas import compat, _np_version_under1p8
from pandas.types.cast import maybe_promote
-from pandas.types.generic import... | - clean up select_n algos
- clean ensure_data
closes #15903
should make this much simpler going forward. All dtype conversions are now centralized.
Added some doc-strings as well. | https://api.github.com/repos/pandas-dev/pandas/pulls/15929 | 2017-04-06T21:09:42Z | 2017-04-07T00:16:56Z | 2017-04-07T00:16:56Z | 2017-04-25T10:47:05Z |
ENH add fill_value feature to pd.get_dummies | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 0b98e57c606a3..4db70ef7825ea 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -372,6 +372,8 @@ Other Enhancements
- :func:`MultiIndex.remove_unused_levels` has been added to facilitate :ref:`removi... | - [x] closes #15923
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
Closes #15923 | https://api.github.com/repos/pandas-dev/pandas/pulls/15926 | 2017-04-06T20:12:51Z | 2017-08-01T22:54:15Z | null | 2017-08-01T22:54:15Z |
ENH: Support malformed row handling in Python engine | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 5cec27c329a7f..f4676f3ad964e 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -342,11 +342,11 @@ error_bad_lines : boolean, default ``True``
Lines with too many fields (e.g. a csv line with too many commas) will by
default cause an exception to be ... | Support `warn_bad_lines` and `error_bad_lines` for the Python engine.
xref #12686 (master tracker)
Inspired by <a href="https://github.com/pandas-dev/pandas/issues/15910#issuecomment-291998838">#15910 (comment)</a>
In addition, the Python parser now raises `pandas.error.ParserError`, which is in line with what... | https://api.github.com/repos/pandas-dev/pandas/pulls/15925 | 2017-04-06T18:28:34Z | 2017-04-07T19:47:30Z | 2017-04-07T19:47:30Z | 2017-04-07T19:58:05Z |
BUG: use entire size of DatetimeTZBlock when coercing result (#15855) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index cb9e2496757ef..f9b6cebb26693 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -999,6 +999,7 @@ Conversion
- Bug in ``DataFrame.fillna()`` where the argument ``downcast`` was ignored when fillna val... | - [x] closes #15855
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15924 | 2017-04-06T17:41:46Z | 2017-04-07T20:37:41Z | 2017-04-07T20:37:41Z | 2017-04-07T21:36:37Z |
TST: skip decimal conversion tests on 32-bit | diff --git a/pandas/tests/io/json/test_pandas.py b/pandas/tests/io/json/test_pandas.py
index 8fc8ecbdf8abc..a24e8cdaf0273 100644
--- a/pandas/tests/io/json/test_pandas.py
+++ b/pandas/tests/io/json/test_pandas.py
@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
# pylint: disable-msg=W0612,E1101
import pytest
-from pandas.com... | xref #15865
| https://api.github.com/repos/pandas-dev/pandas/pulls/15922 | 2017-04-06T15:01:58Z | 2017-04-06T16:41:07Z | 2017-04-06T16:41:07Z | 2017-04-06T16:41:08Z |
DOC: Added statsmodels to show_versions | diff --git a/pandas/util/print_versions.py b/pandas/util/print_versions.py
index ca75d4d02e927..adc97f4780b87 100644
--- a/pandas/util/print_versions.py
+++ b/pandas/util/print_versions.py
@@ -69,6 +69,7 @@ def show_versions(as_json=False):
("Cython", lambda mod: mod.__version__),
("numpy", lambda mod... | xref https://github.com/statsmodels/statsmodels/issues/3580 | https://api.github.com/repos/pandas-dev/pandas/pulls/15921 | 2017-04-06T12:10:35Z | 2017-04-06T13:51:17Z | null | 2017-05-29T20:30:57Z |
DOC: timeseries.rst floating point precision (#15817) | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 44c200e13b877..45fe271e9de9d 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -265,17 +265,23 @@ Typical epoch stored units
pd.to_datetime([1349720105100, 1349720105200, 1349720105300,
1349720105400... | - [x] closes #15817 | https://api.github.com/repos/pandas-dev/pandas/pulls/15919 | 2017-04-06T09:48:30Z | 2017-04-08T21:54:05Z | null | 2017-04-10T06:45:22Z |
Fix a typo | diff --git a/pandas/io/excel.py b/pandas/io/excel.py
index 737141f11d7d1..7f2f0cf4943b8 100644
--- a/pandas/io/excel.py
+++ b/pandas/io/excel.py
@@ -571,7 +571,7 @@ def _fill_mi_header(row, control_row):
----------
row : list
List of items in a single row.
- constrol_row : list of boolean
+ con... | Simple fix. | https://api.github.com/repos/pandas-dev/pandas/pulls/15918 | 2017-04-06T09:36:14Z | 2017-04-06T11:34:25Z | 2017-04-06T11:34:25Z | 2017-04-06T11:34:40Z |
BLD: update merge script to update on github | diff --git a/scripts/merge-py.py b/scripts/merge-pr.py
similarity index 83%
rename from scripts/merge-py.py
rename to scripts/merge-pr.py
index b9350f8feceb8..1fc4eef3d0583 100755
--- a/scripts/merge-py.py
+++ b/scripts/merge-pr.py
@@ -99,6 +99,14 @@ def continue_maybe(prompt):
fail("Okay, exiting")
+def c... | @jreback @TomAugspurger This adds the ability to checkout a PR, do a small fixup or rebase, and push changes to github.
I now added it as an additional question whether to update or merge, but can also make to separate scripts of it for convenience. | https://api.github.com/repos/pandas-dev/pandas/pulls/15917 | 2017-04-06T08:37:15Z | 2017-04-07T18:58:21Z | 2017-04-07T18:58:21Z | 2017-04-07T18:58:29Z |
DOC: Fix a typo in indexing.rst | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index bc8997b313053..f988fb7cd6806 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -69,7 +69,7 @@ Different Choices for Indexing
.. versionadded:: 0.11.0
Object selection has had a number of user-requested additions in order to
-su... | https://api.github.com/repos/pandas-dev/pandas/pulls/15916 | 2017-04-06T07:40:54Z | 2017-04-06T11:35:59Z | 2017-04-06T11:35:59Z | 2017-04-06T12:52:41Z | |
DOC: Fix a typo in travis.yml | diff --git a/.travis.yml b/.travis.yml
index d864b755541de..e5e05ed26da56 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,7 @@ python: 3.5
# set NOCACHE-true
# To delete caches go to https://travis-ci.org/OWNER/REPOSITORY/caches or run
# travis cache --delete inside the project directory from the travis comman... | https://api.github.com/repos/pandas-dev/pandas/pulls/15915 | 2017-04-06T06:55:40Z | 2017-04-06T07:07:58Z | 2017-04-06T07:07:58Z | 2017-04-06T07:29:15Z | |
BUG: Standardize malformed row handling in Python engine | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index ad190671cbbdc..462341d3d692d 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -365,6 +365,7 @@ Other Enhancements
- ``pandas.io.json.json_normalize()`` gained the option ``errors='ignore'|'raise'``... | Wrap `next(source)` when `source` is a file-buffer object to allow for more uniform error message displaying in the Python engine. Closes #15910. | https://api.github.com/repos/pandas-dev/pandas/pulls/15913 | 2017-04-06T01:53:36Z | 2017-04-06T13:31:32Z | 2017-04-06T13:31:32Z | 2017-04-06T14:53:25Z |
DEPR: correct locations to access public json/parser objects in depr message | diff --git a/pandas/__init__.py b/pandas/__init__.py
index 83ad85e3e292b..529750cd97076 100644
--- a/pandas/__init__.py
+++ b/pandas/__init__.py
@@ -60,11 +60,15 @@
# extension module deprecations
from pandas.util.depr_module import _DeprecatedModule
-json = _DeprecatedModule(deprmod='pandas.json', deprmodto='panda... |
Another one remaining is `pd.parser.na_values`
```
In [2]: pd.parser.na_values
/home/joris/miniconda3/envs/dev/bin/ipython:1: FutureWarning: pandas.parser.na_values is deprecated.
Please use pandas.io.libparsers.na_values instead.
#!/home/joris/miniconda3/envs/dev/bin/python
Out[2]:
{numpy.bool_: 255,
... | https://api.github.com/repos/pandas-dev/pandas/pulls/15909 | 2017-04-05T19:44:53Z | 2017-04-07T19:04:32Z | 2017-04-07T19:04:32Z | 2017-04-09T08:50:21Z |
WIP: add pd.read_ipc and DataFrame.to_ipc to provide efficient serialization to/from memory | diff --git a/pandas/io/ipc.py b/pandas/io/ipc.py
new file mode 100644
index 0000000000000..3aeee40ba8a3e
--- /dev/null
+++ b/pandas/io/ipc.py
@@ -0,0 +1,129 @@
+""" ipc format compat """
+
+from pandas.types.generic import ABCIndexClass, ABCSeries, ABCDataFrame
+from pandas.compat import string_types, cPickle
+from pan... | https://api.github.com/repos/pandas-dev/pandas/pulls/15907 | 2017-04-05T18:40:33Z | 2017-06-10T19:02:52Z | null | 2017-09-12T13:15:09Z | |
TST: better testing of Series.nlargest/nsmallest | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index a62d290277443..99ef76e0f4812 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -12,6 +12,7 @@
from pandas.types.common import (is_unsigned_integer_dtype,
is_signed_integer_dtype,
... | xref #15299 | https://api.github.com/repos/pandas-dev/pandas/pulls/15902 | 2017-04-05T14:03:55Z | 2017-04-05T19:16:06Z | null | 2017-04-05T19:17:48Z |
(rebased) ENH: Added more options for formats.style.bar | diff --git a/doc/source/html-styling.ipynb b/doc/source/html-styling.ipynb
index 1a97378fd30b1..841dc34f5cb04 100644
--- a/doc/source/html-styling.ipynb
+++ b/doc/source/html-styling.ipynb
@@ -2,7 +2,9 @@
"cells": [
{
"cell_type": "markdown",
- "metadata": {},
+ "metadata": {
+ "collapsed": true
+ },
... | Author: Julien Marrec <julien.marrec@gmail.com>
Closes #14757 from jmarrec/style-bar and squashes the following commits:
dc3cbe8 [Julien Marrec] Added a whatsnew note
af6c9bd [Julien Marrec] Added a simple example before the parametric one
80a3ce0 [Julien Marrec] Check for bad align value and raise. Wrote test ... | https://api.github.com/repos/pandas-dev/pandas/pulls/15900 | 2017-04-05T12:22:34Z | 2017-04-06T13:32:04Z | null | 2017-04-06T13:32:04Z |
DEPR: correct locations to access public tslib objects | diff --git a/pandas/__init__.py b/pandas/__init__.py
index 1bc85899fb89f..83ad85e3e292b 100644
--- a/pandas/__init__.py
+++ b/pandas/__init__.py
@@ -64,7 +64,11 @@
parser = _DeprecatedModule(deprmod='pandas.parser', deprmodto='pandas.io.libparsers')
lib = _DeprecatedModule(deprmod='pandas.lib', deprmodto='pandas._lib... | You got currently:
```
In [4]: pd.tslib.Timestamp
/home/joris/miniconda3/envs/dev/bin/ipython:1: FutureWarning: pandas.tslib.Timestamp is deprecated.
Please use pandas._libs.tslib.Timestamp instead.
#!/home/joris/miniconda3/envs/dev/bin/python
Out[4]: pandas._libs.tslib.Timestamp
```
and
```
In [2]:... | https://api.github.com/repos/pandas-dev/pandas/pulls/15897 | 2017-04-05T08:03:44Z | 2017-04-05T10:59:18Z | 2017-04-05T10:59:18Z | 2017-04-05T10:59:21Z |
API: to_datetime, required unit with numerical (#15836) | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 014f251ffb90a..db1b1ba07088a 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -131,13 +131,89 @@ Other Enhancements
- :func:`pd.read_sas()` now recognizes much more of the most frequently used date... | * add test_to_datetime_numerical_input
* check arg for numerical type
- [x] closes #15836
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15896 | 2017-04-04T22:07:47Z | 2017-11-12T19:49:38Z | null | 2017-11-12T19:49:38Z |
ENH: Add file buffer validation to I/O ops | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 2e1cc396287ce..cbb4d32cc5edb 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1033,6 +1033,7 @@ I/O
- Bug in ``pd.read_csv()`` with ``parse_dates`` when multiline headers are specified (:issue:`15... | 1) Allows for more uniform handling of invalid file buffers to our `read_*` functions.
2) Adds a ton of new documentation to `inference.py`
Closes #15337.
Partially addresses #15895. | https://api.github.com/repos/pandas-dev/pandas/pulls/15894 | 2017-04-04T21:33:40Z | 2017-04-05T19:18:44Z | null | 2017-04-05T19:57:50Z |
BUG: Bug in DataFrame construction with nulls and datetimes in a list like | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 355dceba1b953..2e1cc396287ce 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -997,6 +997,7 @@ Conversion
- Bug in ``Series.ffill()`` with mixed dtypes containing tz-aware datetimes. (:issue:`14956... | closes #15869 | https://api.github.com/repos/pandas-dev/pandas/pulls/15892 | 2017-04-04T20:02:23Z | 2017-04-04T22:15:18Z | null | 2017-04-04T22:16:40Z |
DOC fixes in contributing.rst | diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst
index 467d6456d60cd..8af7de688a2ae 100644
--- a/doc/source/contributing.rst
+++ b/doc/source/contributing.rst
@@ -536,10 +536,10 @@ signatures and add deprecation warnings where needed.
.. _contributing.ci:
-Testing Thru Continuous Integration
... | xref #15883 | https://api.github.com/repos/pandas-dev/pandas/pulls/15887 | 2017-04-04T09:36:48Z | 2017-04-04T12:29:38Z | 2017-04-04T12:29:38Z | 2017-04-04T12:29:41Z |
BUG: groupby's first/last functions maintain Series rather than convert to numpy array (#15884) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 74fe7916523c5..493f50617aceb 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1072,6 +1072,7 @@ Groupby/Resample/Rolling
- Bug in ``.rolling()`` where ``pd.Timedelta`` or ``datetime.timedelta`` wa... | - [x] closes #15884
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15885 | 2017-04-03T23:20:44Z | 2017-04-04T00:58:08Z | null | 2017-04-04T02:09:37Z |
DOC: add section on how to use parametrize to contributing.rst | diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst
index 82f9b18c1e2eb..467d6456d60cd 100644
--- a/doc/source/contributing.rst
+++ b/doc/source/contributing.rst
@@ -51,14 +51,9 @@ Bug reports must:
...
```
-#. Include the full version string of *pandas* and its dependencies. In versi... | closes #15608 | https://api.github.com/repos/pandas-dev/pandas/pulls/15883 | 2017-04-03T19:48:51Z | 2017-04-03T19:49:00Z | 2017-04-03T19:49:00Z | 2017-04-04T09:07:31Z |
BUG: Patch handling no NA values in TextFileReader | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 63aea96ef3369..fd7744158829f 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -995,6 +995,7 @@ I/O
- Bug in ``pd.read_csv()`` for the C engine where ``usecols`` were being indexed incorrectly with ... | When cleaning `na_values` during initialization of `TextFileReader`, we return a `list` whenever we specify that `na_values` should be empty. However, the rest of the code expects a `set`.
Closes #15835.
| https://api.github.com/repos/pandas-dev/pandas/pulls/15881 | 2017-04-03T17:56:15Z | 2017-04-03T20:47:30Z | null | 2017-04-03T20:49:07Z |
DOC: update contributing.rst for ci | diff --git a/doc/source/_static/ci.png b/doc/source/_static/ci.png
new file mode 100644
index 0000000000000..82985ff8c204a
Binary files /dev/null and b/doc/source/_static/ci.png differ
diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst
index 83cc1777b35f6..82f9b18c1e2eb 100644
--- a/doc/source/contr... | xref #15878 | https://api.github.com/repos/pandas-dev/pandas/pulls/15880 | 2017-04-03T17:41:10Z | 2017-04-03T18:26:36Z | 2017-04-03T18:26:36Z | 2017-04-03T18:52:43Z |
DOC: remove gbq_integration instructions from contributing.rst | diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst
index 5e551a7fd5349..83cc1777b35f6 100644
--- a/doc/source/contributing.rst
+++ b/doc/source/contributing.rst
@@ -616,23 +616,23 @@ Or with one of the following constructs::
pytest pandas/tests/[test-module].py::[TestClass]
pytest pandas/t... | DOC: remove vbench instructions from contributing.rst
| https://api.github.com/repos/pandas-dev/pandas/pulls/15879 | 2017-04-03T17:25:49Z | 2017-04-03T17:25:55Z | 2017-04-03T17:25:55Z | 2019-12-26T03:32:34Z |
DOC: Fix a typo in dsintro.rst | diff --git a/doc/source/dsintro.rst b/doc/source/dsintro.rst
index cc69367017aed..4fcb63c18757a 100644
--- a/doc/source/dsintro.rst
+++ b/doc/source/dsintro.rst
@@ -153,7 +153,7 @@ Vectorized operations and label alignment with Series
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When doing data analysis, a... | https://api.github.com/repos/pandas-dev/pandas/pulls/15877 | 2017-04-03T15:50:16Z | 2017-04-03T16:06:46Z | 2017-04-03T16:06:46Z | 2017-04-03T16:21:50Z | |
Revert "CI: add jdcal to 3.6 build as openpyxl >= 2.4.5 is broken" | diff --git a/ci/requirements-3.6.run b/ci/requirements-3.6.run
index 8f81c4620558e..41c9680ce1b7e 100644
--- a/ci/requirements-3.6.run
+++ b/ci/requirements-3.6.run
@@ -2,10 +2,7 @@ python-dateutil
pytz
numpy
scipy
-# openpyxl >= 2.4.5 should be dependent on jdcal
-# but is not for some reason
openpyxl
-jdcal
xlsx... | This reverts commit d1e1ba08ef259724ba71e0953c52e8e4ad81bd17.
closes #15861
| https://api.github.com/repos/pandas-dev/pandas/pulls/15875 | 2017-04-03T13:01:53Z | 2017-04-03T13:02:00Z | 2017-04-03T13:01:59Z | 2017-04-03T13:02:00Z |
VIS: Allow 'C0'-like plotting for plotting colors #15516 | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index ad190671cbbdc..a872bcee3ed12 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -342,6 +342,7 @@ Other Enhancements
- The ``skiprows`` argument in ``pd.read_csv()`` now accepts a callable function as... | - [x] closes #15516
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
Defined special case for 'CN' cases where N is 0 to 9. There may be custom color cycles that can also be parsed as a single color so the ValueError message is le... | https://api.github.com/repos/pandas-dev/pandas/pulls/15873 | 2017-04-03T09:02:06Z | 2017-04-12T20:49:50Z | 2017-04-12T20:49:49Z | 2017-04-13T20:11:35Z |
CLN: Remove "flake8: noqa" from even more files | diff --git a/pandas/compat/pickle_compat.py b/pandas/compat/pickle_compat.py
index 279a82fea1cc2..e268dc1d89ea0 100644
--- a/pandas/compat/pickle_compat.py
+++ b/pandas/compat/pickle_compat.py
@@ -1,13 +1,13 @@
-""" support pre 0.12 series pickle compatibility """
-
-# flake8: noqa
+"""
+Support pre-0.12 series pickle ... | Another round of house-cleaning that builds off #15867. Likely to be the last one for now. | https://api.github.com/repos/pandas-dev/pandas/pulls/15872 | 2017-04-03T08:03:05Z | 2017-04-03T16:35:46Z | null | 2017-04-03T16:36:48Z |
Support more sas7bdat date/datetime formats | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index 85685ed7b430d..4f55c6388c728 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -127,6 +127,7 @@ Other Enhancements
- Integration with `Apache Parquet <https://parquet.apache.org/>`__, including a ne... | updated p.r. #13089 after `origin` parameter was added by #15828
- [ v ] tests added / passed
- [ .. ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15871 | 2017-04-03T06:34:49Z | 2017-08-18T00:52:35Z | 2017-08-18T00:52:35Z | 2017-08-18T00:52:43Z |
COMPAT: NaT support tz_localize / tz_convert (#15830) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 230f39db67197..781a912555e14 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -837,6 +837,8 @@ Other API Changes
ignored (no longer needed to specify the new behaviour) and is deprecated.
- ``Na... | closes #15830
* add tz_convert/tz_localize methods
* add tests
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
| https://api.github.com/repos/pandas-dev/pandas/pulls/15868 | 2017-04-02T09:17:48Z | 2017-04-02T21:57:01Z | 2017-04-02T21:57:01Z | 2017-04-02T21:57:07Z |
CLN: Remove "flake8: noqa" from more files | diff --git a/pandas/_version.py b/pandas/_version.py
index d764923fd7247..4695b512feff5 100644
--- a/pandas/_version.py
+++ b/pandas/_version.py
@@ -1,4 +1,3 @@
-
# This file helps to compute a version number in source trees obtained from
# git-archive tarball (such as those provided by githubs download-from-tag
# f... | Another round of house-cleaning that builds off #15842.
xref <a href="https://github.com/pandas-dev/pandas/issues/12066#issuecomment-172285473">#12066 (comment)</a> : the issue remains unresolved, but it does not seem entirely necessary to disable style-checking on the entire file for that IMO. | https://api.github.com/repos/pandas-dev/pandas/pulls/15867 | 2017-04-02T09:04:51Z | 2017-04-02T22:01:42Z | null | 2017-04-03T00:13:21Z |
CLN: [WIP] trial pull-request to make sure everything is in order before proceeding (GH14468) | diff --git a/.travis.yml b/.travis.yml
index f0ece15de65db..9cfd937ac5f1e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -50,7 +50,7 @@ matrix:
- python-gtk2
- os: linux
env:
- - JOB="3.5" TEST_ARGS="--skip-slow --skip-network" COVERAGE=true
+ - JOB="3.5" TEST_ARGS="--skip-slow --ski... | The most uncertain aspect is how to annotate "array-like." numpy doesn't even have a clear definition or recommendation. see the commit message for 60783c7 and numpy/numpy/issues/7370 for more details.
For now `pandas.types.hinting` are essentially just place holders for complex types that need to be defined.
Any... | https://api.github.com/repos/pandas-dev/pandas/pulls/15866 | 2017-04-02T05:49:52Z | 2017-06-21T00:58:29Z | null | 2017-06-21T00:58:30Z |
BUG: Fix rollover handling in json encoding | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index a34b9feb2b2fa..be9b52e1051f1 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -988,6 +988,7 @@ I/O
- Bug in ``pd.read_hdf()`` passing a ``Timestamp`` to the ``where`` parameter with a non date colu... | This is a fix attempt for issue #15716 as well as #15864.
Note that whenever the frac is incremented, there is a chance that its
value may hit the value of pow10. | https://api.github.com/repos/pandas-dev/pandas/pulls/15865 | 2017-04-02T05:04:30Z | 2017-04-03T12:43:26Z | null | 2017-04-06T15:02:49Z |
BUG: Check integrity of sparse int indices | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index a34b9feb2b2fa..e397365dc8d50 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -944,6 +944,7 @@ Indexing
^^^^^^^^
- Bug in ``Index`` power operations with reversed operands (:issue:`14973`)
+- Bu... | The `check_integrity` method of `IntIndex` in `pandas.sparse` was un-implemented despite having documentation. This PR implements the method and calls it when initializing `IntIndex`.
xref <a href="https://github.com/pandas-dev/pandas/pull/15844#discussion_r108840154">#15844 (comment)</a> | https://api.github.com/repos/pandas-dev/pandas/pulls/15863 | 2017-04-02T03:21:19Z | 2017-04-02T14:21:39Z | null | 2017-04-02T21:17:37Z |
API/BUG: Handling Dtype Coercions in Series/Index (GH 15832) | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index a6b6d704737bd..7b8312d25641d 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -54,7 +54,7 @@ Backwards incompatible API changes
Other API Changes
^^^^^^^^^^^^^^^^^
-
+- Series and Index construc... | - [x] closes #15832
- [x] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
Hey @jreback , need a quick help here. I was able to raise an overflow exception (case II), but I wasn't able to raise it on case III. Can you help? Thanks | https://api.github.com/repos/pandas-dev/pandas/pulls/15859 | 2017-04-01T15:18:32Z | 2017-08-17T10:34:25Z | null | 2017-08-17T10:34:25Z |
TST: test 3.4 on windows | diff --git a/pandas/_libs/src/ujson/python/objToJSON.c b/pandas/_libs/src/ujson/python/objToJSON.c
index 26a68b8a9ae3a..f2c0b18d35131 100644
--- a/pandas/_libs/src/ujson/python/objToJSON.c
+++ b/pandas/_libs/src/ujson/python/objToJSON.c
@@ -401,7 +401,8 @@ static void *PyStringToUTF8(JSOBJ _obj, JSONTypeContext *tc, vo... | BLD: bug in building json compiled code | https://api.github.com/repos/pandas-dev/pandas/pulls/15857 | 2017-03-31T22:22:58Z | 2017-04-01T15:37:17Z | 2017-04-01T15:37:17Z | 2017-04-01T15:38:14Z |
ENH: Citing source in README file | diff --git a/doc/cheatsheet/README.txt b/doc/cheatsheet/README.txt
index e2f6ec042e9cc..d32fe5bcd05a6 100644
--- a/doc/cheatsheet/README.txt
+++ b/doc/cheatsheet/README.txt
@@ -2,3 +2,7 @@ The Pandas Cheat Sheet was created using Microsoft Powerpoint 2013.
To create the PDF version, within Powerpoint, simply do a "Sav... | For GH users who strictly or heavily use the web-view instead of a local Git, having a direct link is handy, as it does not require downloading the PDF _if_ the user wanted to go to the source of it directly. It's an alternative that allows those interested in more uploads similar to this PDF from the same author(s).
... | https://api.github.com/repos/pandas-dev/pandas/pulls/15856 | 2017-03-31T20:41:11Z | 2017-04-04T22:32:47Z | 2017-04-04T22:32:47Z | 2017-04-04T22:32:52Z |
Only call validation functions when args/kwargs are passed | diff --git a/pandas/compat/numpy/function.py b/pandas/compat/numpy/function.py
index 4053994efa005..f448a9aad04c6 100644
--- a/pandas/compat/numpy/function.py
+++ b/pandas/compat/numpy/function.py
@@ -37,23 +37,24 @@ def __init__(self, defaults, fname=None, method=None,
def __call__(self, args, kwargs, fname=Non... | cc @gfyoung | https://api.github.com/repos/pandas-dev/pandas/pulls/15850 | 2017-03-30T20:50:23Z | 2017-03-31T06:40:59Z | 2017-03-31T06:40:59Z | 2017-10-16T09:46:05Z |
TST: incorrect localization in append testing | diff --git a/pandas/tests/test_multilevel.py b/pandas/tests/test_multilevel.py
index fd5421abc89ad..5584c1ac6a239 100755
--- a/pandas/tests/test_multilevel.py
+++ b/pandas/tests/test_multilevel.py
@@ -83,9 +83,9 @@ def test_append_index(self):
# GH 7112
import pytz
tz = pytz.timezone('Asia/To... | and when ``pytz`` version changes our tests break because of this incorrect (old) method, which works when you *dont'* have a tz change, but fails when the tz's actually change. | https://api.github.com/repos/pandas-dev/pandas/pulls/15849 | 2017-03-30T20:29:24Z | 2017-03-30T20:42:50Z | null | 2017-03-30T20:42:50Z |
COMPAT: add 0.19.2 msgpack/pickle files | diff --git a/pandas/tests/io/data/legacy_msgpack/0.19.2/0.19.2_x86_64_darwin_2.7.12.msgpack b/pandas/tests/io/data/legacy_msgpack/0.19.2/0.19.2_x86_64_darwin_2.7.12.msgpack
new file mode 100644
index 0000000000000..f2dc38766025e
Binary files /dev/null and b/pandas/tests/io/data/legacy_msgpack/0.19.2/0.19.2_x86_64_darwi... | https://api.github.com/repos/pandas-dev/pandas/pulls/15848 | 2017-03-30T14:55:43Z | 2017-03-30T21:02:15Z | 2017-03-30T21:02:15Z | 2017-03-30T21:02:15Z | |
CLN: Fix a typo in comment | diff --git a/pandas/_libs/src/ujson/lib/ultrajson.h b/pandas/_libs/src/ujson/lib/ultrajson.h
index d0588348baa44..4f51fa8b3eb38 100644
--- a/pandas/_libs/src/ujson/lib/ultrajson.h
+++ b/pandas/_libs/src/ujson/lib/ultrajson.h
@@ -233,7 +233,7 @@ typedef struct __JSONObjectEncoder {
int recursionMax;
/*
- Config... | https://api.github.com/repos/pandas-dev/pandas/pulls/15847 | 2017-03-30T13:18:03Z | 2017-03-30T13:20:52Z | 2017-03-30T13:20:52Z | 2017-03-30T13:39:26Z | |
DOC: prettify bug fixes section | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 1ecdd6dd8fbef..399f91fc60810 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -913,147 +913,141 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+Conversion
+^^^^^^^^^^
+
- Bug in ``Timestamp.re... | makes bug fixes *much* easier as its not organized. | https://api.github.com/repos/pandas-dev/pandas/pulls/15846 | 2017-03-30T12:46:21Z | 2017-03-30T12:46:30Z | 2017-03-30T12:46:30Z | 2017-03-30T12:46:30Z |
na_position doesn't work for sort_index() with MultiIndex | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 6b6f532ed2323..63693b4583ff4 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1564,6 +1564,7 @@ Indexing
- Bug in the HTML display with with a ``MultiIndex`` and truncation (:issue:`14882`)
- Bug... | - [X] closes #14784
- [X] tests added / passed
- [X] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15845 | 2017-03-30T06:57:03Z | 2017-04-19T22:29:29Z | null | 2017-04-20T08:41:36Z |
Fix a typo | diff --git a/pandas/sparse/sparse.pyx b/pandas/sparse/sparse.pyx
index 7ab29414499fc..00d317c42b18d 100644
--- a/pandas/sparse/sparse.pyx
+++ b/pandas/sparse/sparse.pyx
@@ -71,7 +71,7 @@ cdef class IntIndex(SparseIndex):
def check_integrity(self):
"""
Only need be strictly ascending and nothing l... | Fixes a small typo. | https://api.github.com/repos/pandas-dev/pandas/pulls/15844 | 2017-03-30T04:33:14Z | 2017-03-30T11:57:01Z | 2017-03-30T11:57:01Z | 2017-03-30T11:57:57Z |
DOC: Fix up _DeprecatedModule parameters doc | diff --git a/pandas/util/depr_module.py b/pandas/util/depr_module.py
index b181c4627b1e1..af7faf9dd96c8 100644
--- a/pandas/util/depr_module.py
+++ b/pandas/util/depr_module.py
@@ -13,8 +13,9 @@ class _DeprecatedModule(object):
Parameters
----------
deprmod : name of module to be deprecated.
- deprmod... | Patches a minor doc error from #15537.
| https://api.github.com/repos/pandas-dev/pandas/pulls/15843 | 2017-03-30T00:29:22Z | 2017-03-30T11:55:17Z | 2017-03-30T11:55:17Z | 2017-03-31T08:32:10Z |
CLN: Remove "flake8: noqa" from files | diff --git a/pandas/tests/computation/test_compat.py b/pandas/tests/computation/test_compat.py
index 59bdde83aedd8..56a7cab730f1f 100644
--- a/pandas/tests/computation/test_compat.py
+++ b/pandas/tests/computation/test_compat.py
@@ -1,8 +1,4 @@
-
-# flake8: noqa
-
import pytest
-from itertools import product
from dis... | Just some minor house-cleaning to cut down on the number of search results found <a href="https://github.com/pandas-dev/pandas/search?utf8=%E2%9C%93&q=flake8%3A+noqa&type=">here</a>. | https://api.github.com/repos/pandas-dev/pandas/pulls/15842 | 2017-03-30T00:26:02Z | 2017-03-30T11:53:47Z | null | 2017-03-31T08:31:58Z |
DOC: update io.rst | diff --git a/doc/source/io.rst b/doc/source/io.rst
index e72224c6fa1fe..90167e7c6183f 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -29,36 +29,26 @@ IO Tools (Text, CSV, HDF5, ...)
===============================
The pandas I/O API is a set of top level ``reader`` functions accessed like ``pd.read_csv()... | 
redo of the top of the io.rst page. was getting a bit long / disorganized. I added links for the various formats as well. *could* add another column about use (e.g. general, portable, flexible, etc), but may... | https://api.github.com/repos/pandas-dev/pandas/pulls/15840 | 2017-03-29T19:11:02Z | 2017-03-29T22:15:56Z | null | 2017-03-29T22:44:48Z |
DOC: expanded signatures for reindex, rename and reindex_axis | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 6b5e8e0799421..508893bdb70ab 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2819,9 +2819,11 @@ def align(self, other, join='outer', axis=None, level=None, copy=True,
broadcast_axis=broadcast_axi... | xref #15609
I have expanded the signatures for _reindex_, _rename_, _reindex_axis_ in `series.py`, `frame.py` and `panel.py`
| https://api.github.com/repos/pandas-dev/pandas/pulls/15839 | 2017-03-29T17:47:14Z | 2017-05-13T21:37:55Z | null | 2017-05-13T21:37:55Z |
ENH: add to/from_parquet with pyarrow & fastparquet | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index dcc1656ce3dd7..df6969c7cc659 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -153,6 +153,7 @@ fi
echo
echo "[removing installed pandas]"
conda remove pandas -y --force
+pip uninstall -y pandas
if [ "$BUILD_TEST" ]; then
diff --git a/... | xref https://github.com/dask/dask/issues/2127
TODO: these are fixed, waiting for release to update tests.
- [x] ``fastparquet``: [duplicate columns errors msg](https://github.com/dask/fastparquet/issues/118)
- [x] ``pyarrow 0.3``: [passing dataframe with non-string object columns](https://github.com/apache/arro... | https://api.github.com/repos/pandas-dev/pandas/pulls/15838 | 2017-03-29T17:39:58Z | 2017-08-02T09:47:58Z | 2017-08-02T09:47:58Z | 2017-09-06T15:05:57Z |
BUG: SparseDataFrame construction with lists not coercing to dtype (GH 15682) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 2e822729873ad..359a038d236b0 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -1045,7 +1045,7 @@ Bug Fixes
- Bug in ``pd.concat()`` in which concatting with an empty dataframe with ``join='inner'``... | - [x] closes #15682
- [x] tests added / passed
- [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15834 | 2017-03-29T08:38:32Z | 2017-03-30T12:19:35Z | null | 2017-03-30T12:19:35Z |
ENH: add origin to to_datetime | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 7136b15a7633a..44c200e13b877 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -252,7 +252,8 @@ Epoch Timestamps
It's also possible to convert integer or float epoch times. The default unit
for these is nanoseconds (sin... | closes #11276
closes #11745
superseded #11470 | https://api.github.com/repos/pandas-dev/pandas/pulls/15828 | 2017-03-28T20:45:10Z | 2017-04-02T22:55:24Z | null | 2017-04-03T10:11:01Z |
BUG: bug in .at/.loc indexing with a tz-aware columns | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index fdf34e0d11572..51c3d5578ae6c 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -881,6 +881,7 @@ Bug Fixes
- Compat for 32-bit platforms for ``.qcut/cut``; bins will now be ``int64`` dtype (:issue:... | closes #15822 | https://api.github.com/repos/pandas-dev/pandas/pulls/15827 | 2017-03-28T16:16:24Z | 2017-03-28T16:49:16Z | null | 2017-03-28T17:17:55Z |
Remove NotImplementedError for parse_dates keyword in read_excel | diff --git a/doc/source/io.rst b/doc/source/io.rst
index faeea9d448cf2..e72224c6fa1fe 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2767,6 +2767,20 @@ indices to be parsed.
read_excel('path_to_file.xls', 'Sheet1', parse_cols=[0, 2, 3])
+
+Parsing Dates
++++++++++++++
+
+Datetime-like values are nor... | rebase of #12051 and fixes on top
closes #11544 | https://api.github.com/repos/pandas-dev/pandas/pulls/15820 | 2017-03-27T18:43:06Z | 2017-03-28T12:49:58Z | null | 2017-03-28T12:51:07Z |
DOC: ecosystem.rst: QtPandas | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index 5a7d6a11d293d..93efcd2724ef7 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -93,8 +93,8 @@ targets the IPython Notebook environment.
`Plotly’s <https://plot.ly/>`__ `Python API <https://plot.ly/python/>`__ enables interac... |
- [x] closes draperjames/qtpandas#36
- [0] tests added / passed
- [-] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [-] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15813 | 2017-03-27T05:11:38Z | 2017-03-27T13:08:21Z | null | 2017-03-27T17:44:21Z |
BUG: replace of numeric by string / dtype coversion (GH15743) | diff --git a/RELEASE.md b/RELEASE.md
index a181412be2719..efd075dabcba9 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -1,6 +1,6 @@
Release Notes
=============
-The list of changes to pandas between each release can be found
+The list of changes to Pandas between each release can be found
[here](http://pandas.pydata.... | - [x] closes #15743
- [x] test added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15812 | 2017-03-27T02:34:46Z | 2017-03-28T18:27:00Z | null | 2017-03-28T18:49:12Z |
TST: suppress some numpy warnings | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 3b77bda6f69f0..a62d290277443 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -174,7 +174,7 @@ def isin(comps, values):
" to isin(), you passed a "
"[{0}]".format(type(valu... | https://api.github.com/repos/pandas-dev/pandas/pulls/15811 | 2017-03-26T17:50:45Z | 2017-03-26T18:26:50Z | 2017-03-26T18:26:50Z | 2017-03-26T18:27:37Z | |
DOC: remove older whatsnew | diff --git a/doc/source/whatsnew.rst b/doc/source/whatsnew.rst
index d6fb1c6a8f9cc..66af318f6924e 100644
--- a/doc/source/whatsnew.rst
+++ b/doc/source/whatsnew.rst
@@ -33,55 +33,3 @@ These are new features and improvements of note in each release.
.. include:: whatsnew/v0.17.1.txt
.. include:: whatsnew/v0.17.0.txt... | https://api.github.com/repos/pandas-dev/pandas/pulls/15809 | 2017-03-26T17:00:49Z | 2017-03-27T21:40:25Z | null | 2017-03-27T22:01:36Z | |
DOC: remove warnings for .sort / .order deprecation removals | diff --git a/doc/source/whatsnew/v0.13.1.txt b/doc/source/whatsnew/v0.13.1.txt
index d5d54ba43b622..5e5653945fefa 100644
--- a/doc/source/whatsnew/v0.13.1.txt
+++ b/doc/source/whatsnew/v0.13.1.txt
@@ -125,7 +125,7 @@ API changes
df = DataFrame({'col':['foo', 0, np.nan]})
df2 = DataFrame({'col':[np.nan, 0,... | https://api.github.com/repos/pandas-dev/pandas/pulls/15808 | 2017-03-26T15:00:45Z | 2017-03-26T15:12:19Z | 2017-03-26T15:12:19Z | 2017-03-26T15:12:19Z | |
CI: simplify ci setup a bit | diff --git a/.travis.yml b/.travis.yml
index bb3388734229e..d9dbdf96ff976 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,9 +1,9 @@
sudo: false
language: python
-# To turn off cached miniconda, cython files and compiler cache comment out the
-# USE_CACHE=true line for the build in the matrix below. To delete cache... | https://api.github.com/repos/pandas-dev/pandas/pulls/15807 | 2017-03-26T13:54:43Z | 2017-03-26T15:12:20Z | null | 2017-03-27T10:48:44Z | |
Drop support for NaN categories in Categorical | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index 2203737ecd7b5..411f973e9a71f 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -230,6 +230,15 @@ Categories must be unique or a `ValueError` is raised:
except ValueError as e:
print("ValueError: " + str(e)... | Deprecated in 0.17.0.
xref #10748
xref #13648 | https://api.github.com/repos/pandas-dev/pandas/pulls/15806 | 2017-03-26T01:48:11Z | 2017-03-27T14:47:02Z | null | 2017-03-27T19:16:59Z |
MAINT: Remove combineAdd and combineMult | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 0612e86134cf2..8482eef552c17 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -84,29 +84,28 @@ will be completed:
@verbatim
In [1]: df2.<TAB>
- df2.A df2.boxplot
- df2.abs df2.C
- df2.add ... | Deprecated in 0.17.0.
xref #10735 | https://api.github.com/repos/pandas-dev/pandas/pulls/15805 | 2017-03-26T01:36:12Z | 2017-03-26T16:58:59Z | 2017-03-26T16:58:59Z | 2017-03-26T20:02:49Z |
DOC: Explain differences further for sep parameter | diff --git a/doc/source/io.rst b/doc/source/io.rst
index a702efdc6aaf9..faeea9d448cf2 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -91,11 +91,12 @@ filepath_or_buffer : various
locations), or any object with a ``read()`` method (such as an open file or
:class:`~python:io.StringIO`).
sep : str, defau... | Per comment in <a href="https://github.com/pandas-dev/pandas/issues/12686#issuecomment-288843261">#12686</a>. This is the only documentation issue that I found amongst the differences that still exist between the C and Python engines in `parsers.py`
| https://api.github.com/repos/pandas-dev/pandas/pulls/15804 | 2017-03-26T01:25:12Z | 2017-03-26T17:02:46Z | 2017-03-26T17:02:46Z | 2017-03-26T20:02:53Z |
CI: cleanup / linting | diff --git a/.travis.yml b/.travis.yml
index ab83a37f25905..49e8684ff21ef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,63 +27,37 @@ matrix:
- language: objective-c
os: osx
compiler: clang
- osx_image: xcode6.4
cache:
ccache: true
directories:
- $HOME/.cac... | CI: typo in .travis.yml for print_skipped
CI: linted .travis.yml
CI: removed CLIPBOARD env variables as not used
| https://api.github.com/repos/pandas-dev/pandas/pulls/15803 | 2017-03-25T23:28:34Z | 2017-03-26T02:16:11Z | null | 2017-03-26T02:16:47Z |
Revert "MAINT: Remove Long and WidePanel (#15748)" | diff --git a/asv_bench/benchmarks/pandas_vb_common.py b/asv_bench/benchmarks/pandas_vb_common.py
index a7e530e7f5ef1..56ccc94c414fb 100644
--- a/asv_bench/benchmarks/pandas_vb_common.py
+++ b/asv_bench/benchmarks/pandas_vb_common.py
@@ -25,6 +25,11 @@
except:
pass
+try:
+ Panel = Panel
+except Except... | This reverts commit bff47f2302a0be4dcbf7e5055e525d5652e08fb5.
xref #15748
we will have to push this to a later pandas major version as statsmodels not fully compat: https://github.com/statsmodels/statsmodels/issues/3580 | https://api.github.com/repos/pandas-dev/pandas/pulls/15802 | 2017-03-25T23:11:14Z | 2017-03-26T02:16:32Z | 2017-03-26T02:16:32Z | 2017-03-26T02:17:11Z |
MAINT: Enforce string type for where parameter | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 37a70435ed6ff..dee1a5750eeeb 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -812,6 +812,7 @@ Removal of prior version deprecations/changes
- The ``Categorical`` constructor has dropped the ``name... | Deprecated in 0.11.0.
xref #12027.
| https://api.github.com/repos/pandas-dev/pandas/pulls/15798 | 2017-03-24T09:05:39Z | 2017-03-25T15:59:49Z | null | 2017-03-25T20:49:21Z |
Rolling window endpoints inclusion | diff --git a/doc/source/computation.rst b/doc/source/computation.rst
index a37cbc96b2d8c..cd90ba6e9ca1a 100644
--- a/doc/source/computation.rst
+++ b/doc/source/computation.rst
@@ -459,6 +459,48 @@ default of the index) in a DataFrame.
dft
dft.rolling('2s', on='foo').sum()
+.. _stats.rolling_window.endpoints:... | - [x] closes #13965
- [x] time-based window tests added / passed
- [x] fixed window tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15795 | 2017-03-23T22:29:19Z | 2017-04-13T11:39:15Z | null | 2017-04-13T11:39:51Z |
CI: fix coverage file location | diff --git a/.travis.yml b/.travis.yml
index eb2a58b0616ef..d78e4dab31fbe 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -39,7 +39,6 @@ matrix:
- TEST_ARGS="--skip-slow --skip-network"
- JOB_TAG=_OSX
- TRAVIS_PYTHON_VERSION=3.5
- - CACHE_NAME="35_osx"
- USE_CACHE=true
- py... | CI: clean up some unused env variables
| https://api.github.com/repos/pandas-dev/pandas/pulls/15792 | 2017-03-23T21:18:45Z | 2017-03-25T15:56:49Z | null | 2017-03-25T15:57:32Z |
COMPAT: 3.6.1 compat for change in PySlice_GetIndices_Ex | diff --git a/pandas/_libs/lib.pyx b/pandas/_libs/lib.pyx
index f78040e5a52f2..f902422b0916d 100644
--- a/pandas/_libs/lib.pyx
+++ b/pandas/_libs/lib.pyx
@@ -3,6 +3,7 @@ cimport numpy as np
cimport cython
import numpy as np
import sys
+
cdef bint PY3 = (sys.version_info[0] >= 3)
from numpy cimport *
@@ -26,7 +27,... | This doesn't actually matter to any tests except for some internal consistency ones.
Bonus is that it eliminates a warning :<
note that we aren't actually testing this (yet) on Travis as our 3.6 build uses conda-forge and 3.6.1 is not there as of yet. Its in defaults though (and shows up on appveyor build). | https://api.github.com/repos/pandas-dev/pandas/pulls/15790 | 2017-03-23T18:06:49Z | 2017-03-23T19:11:33Z | null | 2017-03-23T19:13:08Z |
DOC: .groupby() aligns Series, accepts ndarray | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 87052800b8fb5..f51e69737397c 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -4129,11 +4129,14 @@ def groupby(self, by=None, axis=0, level=None, as_index=True, sort=True,
Parameters
----------
- by : mappin... | - [x] closes https://github.com/pandas-dev/pandas/issues/15244
- [ ] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15789 | 2017-03-23T17:46:49Z | 2017-03-23T19:10:25Z | null | 2017-03-23T19:10:45Z |
Update testing.py | diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index cf76f4ead77e3..9a9f3c6c6b945 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -1151,7 +1151,7 @@ def assert_series_equal(left, right, check_dtype=True,
Whether to compare number exactly.
check_names : bool, default True
... | Tiny docs typo fix
| https://api.github.com/repos/pandas-dev/pandas/pulls/15784 | 2017-03-22T21:12:48Z | 2017-03-22T21:36:54Z | 2017-03-22T21:36:54Z | 2017-03-22T21:36:56Z |
CI: remove travis dedupe as enabled auto-cancellation | diff --git a/.travis.yml b/.travis.yml
index 270f8c2fc76c3..eb2a58b0616ef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -177,8 +177,6 @@ matrix:
- USE_CACHE=true
before_install:
- - echo "Checking to see if this build is outdated"
- - ci/travis_fast_finish.py || { echo "Failing outdated build to end it.";... | xref https://github.com/pandas-dev/pandas/commit/79581ffe6fb73089dfa8394c2f4e44677acfe1ce
of course Travis just announced auto-cancellation / it looks good when I enabled it. so removing this :< | https://api.github.com/repos/pandas-dev/pandas/pulls/15783 | 2017-03-22T19:43:40Z | 2017-03-23T19:07:23Z | null | 2017-03-23T19:07:23Z |
COMPAT: NaT accessors | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index a0b2b47c4bac3..3ab69e1ff409b 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -771,7 +771,8 @@ Other API Changes
since pandas version 0.13.0 and can be done with the ``Series.str.extract``
met... | closes #15781
PR
```
In [1]: idx = DatetimeIndex(['1/1/2000', None, None, '1/4/2000'])
In [2]: idx.is_month_start
Out[2]: array([ True, False, False, False], dtype=bool)
In [3]: idx.is_leap_year
Out[3]: array([ True, False, False, True], dtype=bool)
```
0.19.2
```
In [1]: idx = DatetimeIndex(['1/1/2... | https://api.github.com/repos/pandas-dev/pandas/pulls/15782 | 2017-03-22T14:47:23Z | 2017-03-27T19:22:23Z | 2017-03-27T19:22:23Z | 2017-03-27T19:23:35Z |
travis deduping on prs | diff --git a/.travis.yml b/.travis.yml
index 67b37f1d58931..270f8c2fc76c3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -177,15 +177,14 @@ matrix:
- USE_CACHE=true
before_install:
+ - echo "Checking to see if this build is outdated"
+ - ci/travis_fast_finish.py || { echo "Failing outdated build to end it.... | closes #12438 | https://api.github.com/repos/pandas-dev/pandas/pulls/15780 | 2017-03-22T12:52:37Z | 2017-03-22T13:58:05Z | null | 2017-03-22T15:38:39Z |
Fix scalar iloc | diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt
index 03579dab0d6a3..743307113fa27 100644
--- a/doc/source/whatsnew/v0.20.2.txt
+++ b/doc/source/whatsnew/v0.20.2.txt
@@ -46,7 +46,7 @@ Indexing
^^^^^^^^
- Bug in ``DataFrame.reset_index(level=)`` with single level index (:issue:`16263`)... | - [x] closes #15686
- [x] tests added / passed
- [x] passes ``git diff master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
Unless I'm missing anything, all code for indexers (inside ``pandas/core/indexing.py``) resorts to one of the following for setting values:
- if we can work directly on `... | https://api.github.com/repos/pandas-dev/pandas/pulls/15778 | 2017-03-22T10:22:51Z | 2017-08-01T22:56:27Z | null | 2017-08-07T22:26:15Z |
COMPAT: 32-bit skips | diff --git a/pandas/tests/indexes/common.py b/pandas/tests/indexes/common.py
index b1e6bd7520c69..e9122f7a17359 100644
--- a/pandas/tests/indexes/common.py
+++ b/pandas/tests/indexes/common.py
@@ -121,7 +121,6 @@ def test_reindex_base(self):
idx.get_indexer(idx, method='invalid')
def test_ndarray_co... | closes #14183
| https://api.github.com/repos/pandas-dev/pandas/pulls/15776 | 2017-03-22T00:33:54Z | 2017-03-22T11:53:46Z | 2017-03-22T11:53:46Z | 2017-03-22T11:54:43Z |
CLN: separate out groupby algos | diff --git a/pandas/_libs/algos.pxd b/pandas/_libs/algos.pxd
new file mode 100644
index 0000000000000..6d80e6f0073eb
--- /dev/null
+++ b/pandas/_libs/algos.pxd
@@ -0,0 +1,13 @@
+from util cimport numeric
+from numpy cimport float64_t, double_t
+
+cpdef numeric kth_smallest(numeric[:] a, Py_ssize_t k) nogil
+
+cdef inli... | - separate out groupby algorithms to separate lib
- release GIL on median
- release GIL on is_lexsorted / fix memory leak
- release GIL on nancorr | https://api.github.com/repos/pandas-dev/pandas/pulls/15775 | 2017-03-21T22:34:24Z | 2017-03-22T12:07:06Z | null | 2017-03-22T12:08:16Z |
BUG: Check that values for "nrows" and "chunksize" are valid | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index eeb568c2e2558..5ac7624856040 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -815,6 +815,7 @@ Bug Fixes
- Bug in ``pd.read_fwf`` where the skiprows parameter was not being respected during column ... | - [x] closes #15767
- [x] tests added / passed
- [x] passes ``git diff master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry | https://api.github.com/repos/pandas-dev/pandas/pulls/15774 | 2017-03-21T22:29:22Z | 2017-03-22T08:03:33Z | 2017-03-22T08:03:32Z | 2017-03-22T08:33:23Z |
CLN: relocate lib.ismember* to hashtable space | diff --git a/pandas/_libs/hashtable_func_helper.pxi.in b/pandas/_libs/hashtable_func_helper.pxi.in
index fa373905ef08a..0608af8f8504b 100644
--- a/pandas/_libs/hashtable_func_helper.pxi.in
+++ b/pandas/_libs/hashtable_func_helper.pxi.in
@@ -11,14 +11,14 @@ WARNING: DO NOT edit .pxi FILE directly, .pxi is generated from... | - fixes ``.isin`` on 32-bit (hopefully)
- perf about 30% better (but this is a small number anyhow) & releases GIL
- more generic framework | https://api.github.com/repos/pandas-dev/pandas/pulls/15773 | 2017-03-21T20:46:35Z | 2017-03-21T23:20:44Z | null | 2017-03-21T23:23:16Z |
skipna added to groupby numeric ops | diff --git a/pandas/_libs/algos_groupby_helper.pxi.in b/pandas/_libs/algos_groupby_helper.pxi.in
index e2c263f49b110..dd226a8c86e58 100644
--- a/pandas/_libs/algos_groupby_helper.pxi.in
+++ b/pandas/_libs/algos_groupby_helper.pxi.in
@@ -9,26 +9,27 @@ cdef extern from "numpy/npy_math.h":
_int64_max = np.iinfo(np.int64)... | - [x] closes #15675
- [x] tests added / passed
- [ ] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15772 | 2017-03-21T20:30:36Z | 2017-10-28T00:26:40Z | null | 2023-05-11T01:15:17Z |
CLN/INT: Rename _possibly to _maybe (GH15764) | diff --git a/pandas/computation/expr.py b/pandas/computation/expr.py
index a782287175327..e78806b38c667 100644
--- a/pandas/computation/expr.py
+++ b/pandas/computation/expr.py
@@ -348,7 +348,7 @@ def _rewrite_membership_op(self, node, left, right):
op = self.visit(op_instance)
return op, op_instance,... | Also rename "private" functions in pandas.type.cast
- [x] closes #15764
- [x] tests passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff`` | https://api.github.com/repos/pandas-dev/pandas/pulls/15771 | 2017-03-21T19:42:54Z | 2017-03-22T11:57:12Z | null | 2017-03-22T12:24:35Z |
DOC: Ensure basic flake8 diff checks only Python | diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 918d427ee4f4c..9281c51059087 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 | flake8 --... | Let's make sure all of the `flake8` commands in our documentation check only Python files (will be applicable to majority of contributions and PR's).
Follow-up to #15749 | https://api.github.com/repos/pandas-dev/pandas/pulls/15769 | 2017-03-21T17:56:49Z | 2017-03-21T18:00:11Z | 2017-03-21T18:00:11Z | 2017-03-21T18:00:58Z |
BUG: Enforce correct encoding in stata | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index e0d15c218ec85..b57b6a3898fd4 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -917,6 +917,8 @@ Bug Fixes
- Avoid use of ``np.finfo()`` during ``import pandas`` removed to mitigate deadlock on Pytho... | Ensure StataReader and StataWriter have the correct encoding.
Standardized default encoding to 'latin-1'
closes #15723
- [x] closes #15723
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15768 | 2017-03-21T17:14:27Z | 2017-03-21T21:54:22Z | null | 2018-04-22T21:12:04Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.