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 |
|---|---|---|---|---|---|---|---|
DEPR: Patch to_dense behaviour for sparse. | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 581106924c77e..03e0cae6cc83f 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -64,6 +64,8 @@ Removal of prior version deprecations/changes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ``pd.to... | Patches the following for `to_dense`:
1) Fix `SparseArray.to_dense` documentation to refer to `SparseArray` and not `SparseSeries`.
2) Deprecate the fill parameter in `SparseArray.to_dense`, as that parameter was not being respected.
3) Deprecate the sparse_only parameter in `SparseSeries.to_dense`, as that pa... | https://api.github.com/repos/pandas-dev/pandas/pulls/14686 | 2016-11-18T05:29:16Z | 2016-11-23T20:40:41Z | null | 2016-11-23T20:44:41Z |
BUG: fix pickling of Custom offsets in 3.6 | diff --git a/pandas/tseries/offsets.py b/pandas/tseries/offsets.py
index 2e3852a7edddd..efcde100d1ce7 100644
--- a/pandas/tseries/offsets.py
+++ b/pandas/tseries/offsets.py
@@ -553,6 +553,32 @@ def _repr_attrs(self):
out += ': ' + ', '.join(attrs)
return out
+ def __getstate__(self):
+ ... | xref #14679 | https://api.github.com/repos/pandas-dev/pandas/pulls/14685 | 2016-11-18T02:04:51Z | 2016-11-18T11:08:03Z | null | 2016-11-18T11:08:03Z |
TST: more 3.6 test fixing | diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py
index 1b8930dcae0f1..532f960468204 100644
--- a/pandas/compat/__init__.py
+++ b/pandas/compat/__init__.py
@@ -41,6 +41,7 @@
PY2 = sys.version_info[0] == 2
PY3 = (sys.version_info[0] >= 3)
PY35 = (sys.version_info >= (3, 5))
+PY36 = (sys.version_info ... | xref #14679 | https://api.github.com/repos/pandas-dev/pandas/pulls/14684 | 2016-11-18T01:47:23Z | 2016-11-18T11:14:34Z | null | 2016-11-18T11:14:34Z |
BUG: Avoid AmbiguousTimeError on groupby | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index f4a45a6938a95..7b21ad0186d4e 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -43,3 +43,4 @@ Bug Fixes
- Explicit check in ``to_stata`` and ``StataWriter`` for out-of-range values when writing ... | closes #14682
| https://api.github.com/repos/pandas-dev/pandas/pulls/14683 | 2016-11-17T22:48:08Z | 2016-11-22T11:29:39Z | null | 2016-11-22T11:30:09Z |
COMPAT: remove some deprecation warnings in 3.6 | diff --git a/pandas/io/tests/json/test_pandas.py b/pandas/io/tests/json/test_pandas.py
index 117ac2324d0e0..ba02e9186f1df 100644
--- a/pandas/io/tests/json/test_pandas.py
+++ b/pandas/io/tests/json/test_pandas.py
@@ -971,7 +971,7 @@ def test_to_jsonl(self):
def test_latin_encoding(self):
if compat.PY2:
... | partial on #14679 | https://api.github.com/repos/pandas-dev/pandas/pulls/14681 | 2016-11-17T20:51:25Z | 2016-11-18T01:04:14Z | null | 2016-11-18T01:04:14Z |
ERR: fix exception propogation for datetime parsing functions, noted in python 3.6 | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index f193de7fbdbd0..f4a45a6938a95 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -38,7 +38,7 @@ Bug Fixes
-
+- Bug in not propogating exceptions in parsing invalid datetimes, noted in python 3.6 ... | closes #14561 | https://api.github.com/repos/pandas-dev/pandas/pulls/14678 | 2016-11-17T15:58:46Z | 2016-11-17T17:41:06Z | null | 2016-11-17T23:56:04Z |
TST: Test aggregation over arrays (#3788) | diff --git a/pandas/tests/test_groupby.py b/pandas/tests/test_groupby.py
index dc326aeaa88ac..52d1c5c3681e0 100644
--- a/pandas/tests/test_groupby.py
+++ b/pandas/tests/test_groupby.py
@@ -6813,6 +6813,23 @@ def test_group_shift_with_null_key(self):
assert_frame_equal(result, expected)
+ def test_agg_ov... | - [x] closes #3788
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
| https://api.github.com/repos/pandas-dev/pandas/pulls/14675 | 2016-11-17T06:11:27Z | 2016-11-22T11:39:12Z | null | 2017-12-20T01:57:10Z |
raise ValueError if usecols has same size as but doesn't exist in headers (#14671) | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index 4e2c6e2faeaa5..54d0a212f6924 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -32,6 +32,7 @@ Bug Fixes
+- Bug in pd.read_csv - catch missing columns if usecols and header lengths match (:issue... | fixes #14671 | https://api.github.com/repos/pandas-dev/pandas/pulls/14674 | 2016-11-17T01:44:37Z | 2017-03-20T13:41:25Z | null | 2017-03-20T13:41:26Z |
ENH: add Series & DataFrame .agg/.aggregate | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 6ba8c2b8ead67..6d1765ce65714 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -314,6 +314,8 @@ Function application, GroupBy & Window
:toctree: generated/
Series.apply
+ Series.aggregate
+ Series.transform
Series.map
Series.grou... | - to provide convienent function application that mimics the groupby(..).agg/.aggregate
interface
- ``.apply`` is now a synonym for ``.agg/.aggregate``, and will accept dict/list-likes
for aggregations
- Automatic handling of both reductive and transformation functions, e.g.``Series.agg(['min', 'sqrt'])``
- interp... | https://api.github.com/repos/pandas-dev/pandas/pulls/14668 | 2016-11-16T02:03:39Z | 2017-04-14T15:37:04Z | 2017-04-14T15:37:04Z | 2023-02-08T23:02:52Z |
BUG: Columns and Index share the same numpy object underneath when pd.DataFrame.cov is used | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 05148c1f7e80a..1ba5e55ceb2a4 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -4731,6 +4731,7 @@ def corr(self, method='pearson', min_periods=1):
"""
numeric_df = self._get_numeric_data()
cols = numeric_df.columns
+... | - [ ] closes #14617
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] Index now copies the columns array instead of using the same object in
covariance and correlations stats methods of dataframe
| https://api.github.com/repos/pandas-dev/pandas/pulls/14667 | 2016-11-16T01:49:24Z | 2017-02-27T16:01:26Z | null | 2023-05-11T01:14:38Z |
fix ##14664 | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 8e18b65e80385..fbc6333dd6fdd 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1066,7 +1066,7 @@ def to_json(self, path_or_buf=None, orient=None, date_format='epoch',
Handler to call if object cannot otherwise be converte... | - [X] closes #14664
- [X] tests added / passed
- [X] passes ``git diff upstream/master | flake8 --diff``
- [X] whatsnew entry
This is just a bug fix. Please let me know if you want me to add more. Very simple spelling change.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14665 | 2016-11-15T23:18:00Z | 2016-11-16T02:09:19Z | 2016-11-16T02:09:19Z | 2016-11-16T09:08:29Z |
BUG: pandas.cut and negative values #14652 | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index dc11dd17bfdd7..92fd8fbdc3b4d 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -25,3 +25,4 @@ Bug Fixes
- compat with ``dateutil==2.6.0`` for testing (:issue:`14621`)
- allow ``nanoseconds`` in `... | - [OK ] closes #14652
- [OK] tests passed
- [OK ] passes ``git diff upstream/master | flake8 --diff``
| https://api.github.com/repos/pandas-dev/pandas/pulls/14663 | 2016-11-15T20:17:39Z | 2016-11-17T12:49:43Z | null | 2017-02-17T14:30:08Z |
COMPAT: Cast to string before raise in read_stata | diff --git a/pandas/io/stata.py b/pandas/io/stata.py
index 985ea9c051505..14bd670862b41 100644
--- a/pandas/io/stata.py
+++ b/pandas/io/stata.py
@@ -1210,18 +1210,18 @@ def _read_old_header(self, first_char):
if tp in self.OLD_TYPE_MAPPING:
typlist.append(self.OLD_TYPE_MAPPING[tp])... | In `pandas.io.stata::StataReader::_read_old_header` we
try to raise a ValueError.
I'm working on making a test, but this is buried pretty deep.
For now, `typlist` has type `List[int]`. We call
```python
','.join(typlist)
```
which errors on py3 (and python 2 I guess?). This came up in #13856, see https://t... | https://api.github.com/repos/pandas-dev/pandas/pulls/14657 | 2016-11-14T18:21:52Z | 2016-11-14T20:29:25Z | 2016-11-14T20:29:25Z | 2017-04-05T02:07:48Z |
[WIP] set_axis now has inplace=False | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 8e18b65e80385..e7bc9e11ba94c 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -440,9 +440,14 @@ def _expand_axes(self, key):
return new_axes
- def set_axis(self, axis, labels):
+ def set_axis(self, axis, labels, inp... | - [ ] closes #14636
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14656 | 2016-11-14T17:27:26Z | 2017-02-01T20:53:03Z | null | 2017-02-01T20:53:03Z |
0.19.x | diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py
index 6eac7b4831f0f..9807639143ddb 100644
--- a/asv_bench/benchmarks/algorithms.py
+++ b/asv_bench/benchmarks/algorithms.py
@@ -15,6 +15,14 @@ def setup(self):
self.int = pd.Int64Index(np.arange(N).repeat(5))
self.flo... | BUG: pandas/pandas/io/sas/sasreader.py assumes filename_or_buffer input is a string if format=None, which errors if one provides an open File/ SFTPFile object.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14654 | 2016-11-14T14:58:05Z | 2016-11-14T14:58:44Z | null | 2023-05-11T01:14:37Z |
DOC: Update Series.mode docstring | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 188204d83d985..2310e75f3d3fa 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1216,16 +1216,10 @@ def count(self, level=None):
dtype='int64').__finalize__(self)
def mode(self):
- """Returns... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
Series mode method does not support sort parameter, even though the documentation says so. Neither does the underlying function from pandas.core.algorithms. | https://api.github.com/repos/pandas-dev/pandas/pulls/14653 | 2016-11-14T12:42:29Z | 2016-11-15T08:28:25Z | 2016-11-15T08:28:25Z | 2016-11-15T08:45:08Z |
DOC: Explain pivot vs. pivot_table (#6950) | diff --git a/doc/source/reshaping.rst b/doc/source/reshaping.rst
index 9ed2c42610b69..3a2c48834991f 100644
--- a/doc/source/reshaping.rst
+++ b/doc/source/reshaping.rst
@@ -323,6 +323,10 @@ Pivot tables
.. _reshaping.pivot:
+While ``pivot`` provides general purpose pivoting of DataFrames with various
+data types (... | - [x] closes #6950
| https://api.github.com/repos/pandas-dev/pandas/pulls/14650 | 2016-11-14T05:19:33Z | 2016-11-16T09:06:06Z | 2016-11-16T09:06:06Z | 2016-12-21T03:45:32Z |
BUG: resampling with NaT in TimedeltaIndex (#13223) | diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 7898822e0e11d..95729f845ff5c 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -1,515 +1,24 @@
Contributing to pandas
======================
-Where to start?
----------------
-
-All contributions, bug reports, bug fixes, docume... | - [ ] closes #13223
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14649 | 2016-11-14T01:46:12Z | 2017-05-07T14:12:40Z | null | 2017-05-07T14:12:40Z |
Standardize function signatures | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 65b62601c7022..985076880c87f 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -54,6 +54,10 @@ Other API Changes
Deprecations
^^^^^^^^^^^^
+- ``Series.repeat()`` has deprecated the ``reps`` param... | Standardize the following function signatures:
1) `repeat(reps, *args, **kwargs)`
2) `searchsorted(value, side='left', sorter=None)`
Closes #12662. | https://api.github.com/repos/pandas-dev/pandas/pulls/14645 | 2016-11-13T06:19:13Z | 2016-11-26T09:18:22Z | 2016-11-26T09:18:22Z | 2016-11-26T09:31:26Z |
BUG: iloc misbehavior with pd.Series: sometimes returns pd.Categorical, fixes #14580 | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index 4cd58f0148ae8..0249e831bad42 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -94,3 +94,5 @@ Bug Fixes
- Bug in ``.plot(kind='kde')`` which did not drop missing values to generate the KDE Plot, ins... | - [x] closes #xxxx
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
closes https://github.com/pandas-dev/pandas/issues/14580
| https://api.github.com/repos/pandas-dev/pandas/pulls/14642 | 2016-11-12T17:16:24Z | 2016-12-30T21:35:23Z | null | 2016-12-30T21:35:27Z |
changed return type to unicode to test in travis | diff --git a/pandas/io/clipboard.py b/pandas/io/clipboard.py
index 2109e1c5d6d4c..73883deeb37c8 100644
--- a/pandas/io/clipboard.py
+++ b/pandas/io/clipboard.py
@@ -1,6 +1,6 @@
""" io on the clipboard """
from pandas import compat, get_option, option_context, DataFrame
-from pandas.compat import StringIO
+from pandas... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14640 | 2016-11-11T21:38:50Z | 2016-11-11T23:10:07Z | null | 2016-11-11T23:10:07Z |
Fix trailing current date zeros flaky test_format problem | diff --git a/pandas/tests/indexes/test_base.py b/pandas/tests/indexes/test_base.py
index b839ed6331457..27413edcb3701 100644
--- a/pandas/tests/indexes/test_base.py
+++ b/pandas/tests/indexes/test_base.py
@@ -913,7 +913,16 @@ def test_summary(self):
def test_format(self):
self._check_method_works(Index.fo... | - [x] closes #14626
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14638 | 2016-11-11T14:38:19Z | 2016-11-12T16:08:53Z | null | 2016-11-12T16:08:59Z |
ENH: Explicit range checking when writing Stata | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index dc11dd17bfdd7..030315d5fbbba 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -25,3 +25,4 @@ Bug Fixes
- compat with ``dateutil==2.6.0`` for testing (:issue:`14621`)
- allow ``nanoseconds`` in `... | - [X] closes #14618
- [X] tests added / passed
- [X] passes ``git diff upstream/master | flake8 --diff``
- [X] whatsnew entry
Add explicit error checking for out-of-range doubles when writing Stata files
closes #14618 | https://api.github.com/repos/pandas-dev/pandas/pulls/14637 | 2016-11-10T22:51:34Z | 2016-11-17T12:54:05Z | null | 2017-01-24T21:30:44Z |
BUG: Unable to pass additional arguments to resample().apply() | diff --git a/pandas/tseries/resample.py b/pandas/tseries/resample.py
index d02c403cb3c66..c2cb637708287 100644
--- a/pandas/tseries/resample.py
+++ b/pandas/tseries/resample.py
@@ -319,9 +319,19 @@ def aggregate(self, arg, *args, **kwargs):
self._set_binner()
result, how = self._aggregate(arg, *args, ... | - closes #14615 | https://api.github.com/repos/pandas-dev/pandas/pulls/14635 | 2016-11-10T16:20:16Z | 2017-02-27T16:00:41Z | null | 2023-05-11T01:14:36Z |
BUG/WIP: segfault manifesting with dateutil=2.6 w.r.t. replace when timezones are present | diff --git a/ci/requirements-3.5_OSX.pip b/ci/requirements-3.5_OSX.pip
index 8a7f51f1bea9c..d1fc1fe24a079 100644
--- a/ci/requirements-3.5_OSX.pip
+++ b/ci/requirements-3.5_OSX.pip
@@ -1 +1 @@
-python-dateutil>=2.5.0
+python-dateutil==2.5.3
diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
... | closes #14621
This is very close, but a stubborn fall transition issue. any ideas? (note that this does not solve #7825 but should be a simple change after I think)
cc @ischwabacher
cc @rockg
cc @sinhrks
cc @adamgreenhall
cc @pganssle
```
(pandas) [Thu Nov 10 09:14:13 ~/pandas]$ nosetests pandas/tseries... | https://api.github.com/repos/pandas-dev/pandas/pulls/14631 | 2016-11-10T13:18:42Z | 2016-11-12T15:59:51Z | null | 2016-11-12T15:59:51Z |
DOC: Ordering during set operation on index (#3123) | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 0a6691936d97d..1ea6662a4edb0 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -1467,6 +1467,10 @@ with duplicates dropped.
idx1.symmetric_difference(idx2)
idx1 ^ idx2
+.. note::
+
+ The resulting index from a set opera... | - [x] closes #3123
| https://api.github.com/repos/pandas-dev/pandas/pulls/14629 | 2016-11-10T06:40:35Z | 2016-11-10T08:07:18Z | 2016-11-10T08:07:18Z | 2016-12-21T03:43:38Z |
COMPAT: Fix indent level bug preventing wrapper function rename | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 15566d207e31f..519d1e9f58cc8 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -883,6 +883,7 @@ Bug Fixes
- Compat for 32-bit platforms for ``.qcut/cut``; bins will now be ``int64`` dtype (:issue:... | Original code intends to rename the wrapper function f using the provided name, but this isn't happening because code is incorrectly indented an extra level.
```python
Example:
>>> from pandas.core.groupby import GroupBy
>>> GroupBy.sum.__name__
'f'
```
Should be 'sum'. | https://api.github.com/repos/pandas-dev/pandas/pulls/14620 | 2016-11-09T01:17:30Z | 2017-03-28T22:44:42Z | null | 2017-03-28T22:44:43Z |
removed disabled tag to run clipboard tests on traviss | diff --git a/pandas/io/tests/test_clipboard.py b/pandas/io/tests/test_clipboard.py
index a7da27a2f75dd..23a5db9c29ce8 100644
--- a/pandas/io/tests/test_clipboard.py
+++ b/pandas/io/tests/test_clipboard.py
@@ -18,7 +18,7 @@
raise nose.SkipTest("no clipboard found")
-@disabled
+
class TestClipboard(tm.TestCase)... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
@jreback this is pull request without the unicode fix and test_clipboard enabled | https://api.github.com/repos/pandas-dev/pandas/pulls/14619 | 2016-11-08T22:01:50Z | 2016-11-08T23:36:21Z | null | 2016-11-08T23:36:34Z |
BLD: Add missing inline declarations | diff --git a/pandas/__init__.py b/pandas/__init__.py
index 2d91c97144e3c..59259802276de 100644
--- a/pandas/__init__.py
+++ b/pandas/__init__.py
@@ -24,7 +24,7 @@
try:
from pandas import hashtable, tslib, lib
except ImportError as e: # pragma: no cover
- module = str(e).lstrip('cannot import name ') # hack ... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/14611 | 2016-11-08T03:52:38Z | 2016-12-31T05:35:18Z | null | 2023-05-11T01:14:34Z |
BUG in clipboard (linux, python2) with unicode and separator (GH13747) | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index f4a45a6938a95..5236ebb38ae63 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -43,3 +43,7 @@ Bug Fixes
- Explicit check in ``to_stata`` and ``StataWriter`` for out-of-range values when writing ... | - [x] closes #13747, closes #14362, closes #12807, closes #12529
- [x] tests added / passed pandas/io/tests/test_clipboard.py for OSX
- [x] passes ``git diff upstream/master | flake8 --diff``
| https://api.github.com/repos/pandas-dev/pandas/pulls/14599 | 2016-11-07T05:45:03Z | 2016-11-18T22:42:37Z | null | 2016-11-18T22:54:12Z |
DOC: Tweak error message to make it slightly more readable / easier to parse | diff --git a/pandas/tools/merge.py b/pandas/tools/merge.py
index 86e2e8aabbee1..d2060185c3246 100644
--- a/pandas/tools/merge.py
+++ b/pandas/tools/merge.py
@@ -816,8 +816,8 @@ def _validate_specification(self):
self.left_on = self.right_on = common_cols
elif self.on is not None:
... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14597 | 2016-11-06T18:01:40Z | 2016-11-11T09:03:19Z | 2016-11-11T09:03:19Z | 2016-11-11T09:03:25Z |
Fix parse empty df | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index ecbd6e9b3b288..a58e3499ac38f 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -29,7 +29,7 @@ Bug Fixes
- Compat with ``dateutil==2.6.0``; segfault reported in the testing suite (:issue:`14621`)
... | - [x] closes #14515
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
This commit fixes a bug where `read_csv` failed when given a file with a multiindex header and empty content. Because pandas reads index names as a separate line following the header ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14596 | 2016-11-06T02:13:00Z | 2016-11-22T11:24:11Z | null | 2016-11-22T11:24:11Z |
ENH: add fill_value to resample | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 4ce7e6d2cd3b8..f123cb9071b4a 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -133,9 +133,8 @@ Other enhancements
- ``pd.DataFrame.plot`` now prints a title above each subplot if ``suplots=True`` a... | - [x] closes #3715
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14591 | 2016-11-05T03:38:35Z | 2017-01-21T22:51:23Z | null | 2017-01-21T22:51:23Z |
TST: Create compressed salary testing data | diff --git a/pandas/io/tests/parser/common.py b/pandas/io/tests/parser/common.py
index 3be02c55ea10a..f0fdc9398084f 100644
--- a/pandas/io/tests/parser/common.py
+++ b/pandas/io/tests/parser/common.py
@@ -630,10 +630,10 @@ def test_read_csv_parse_simple_list(self):
def test_url(self):
# HTTP(S)
u... | Create compressed versions of the salary dataset for testing #14576.
Rename `salary.table.csv` to `salaries.tsv` because the dataset is tab rather than comma delimited. Remove the word table because it's implied by the extension. Rename `salary.table.gz` to `salaries.tsv.gz`, since compressed files should append to ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14587 | 2016-11-04T15:43:04Z | 2016-11-11T08:53:49Z | 2016-11-11T08:53:49Z | 2016-12-04T18:33:13Z |
Added errors{'raise','ignore'} for keys not found in meta for json_normalize | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 8d88a7b4fb215..7efaaaa39871c 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -9,7 +9,6 @@ users upgrade to this version.
Highlights include:
-- Building pandas for development now requires ``c... | Continuation of https://github.com/pandas-dev/pandas/pull/14505
Added errors{'raise','ignore'} for keys not found in meta for json_normalize | https://api.github.com/repos/pandas-dev/pandas/pulls/14583 | 2016-11-04T01:56:51Z | 2016-12-13T23:21:47Z | null | 2016-12-13T23:21:52Z |
BUG: Improve Error Message for Multi-Char Sep + Quotes in Python Engine | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index 49c8330490ed1..d9aa92270669d 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -30,6 +30,7 @@ Bug Fixes
- Compat with ``dateutil==2.6.0``; segfault reported in the testing suite (:issue:`14621`)
- ... | If there is a field counts mismatch, check whether a multi-char separator was used in conjunction with quotes. Currently, that setup is not respected for the Python engine and can result in improper line breaks. This PR appends that to the error message if that is a possible explanation.
Closes #13374. | https://api.github.com/repos/pandas-dev/pandas/pulls/14582 | 2016-11-04T00:53:47Z | 2016-11-25T21:21:03Z | 2016-11-25T21:21:03Z | 2016-12-14T16:53:59Z |
nunique aggerigation failes on empty frames | diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index 6f91eba1ad239..c7d731249f9cf 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE.md
@@ -10,6 +10,6 @@
#### Output of ``pd.show_versions()``
<details>
-# Paste the output here
+# Paste the output here pd.show_versions() here
... | The following code fails
> df = pd.DataFrame(columns=['a','b','c'])
> df.groupby('a',as_index=False).agg({'b':'nunique'})
with an exception
> Traceback (most recent call last):
> File "/Users/ilangadassi/Documents/workspace/python/MyTests/test1.py", line 75, in <module>
> testDfGroup()
... | https://api.github.com/repos/pandas-dev/pandas/pulls/14577 | 2016-11-03T15:43:17Z | 2016-11-03T15:53:28Z | null | 2023-05-11T01:14:32Z |
Refactor compression code to expand URL support | diff --git a/pandas/formats/format.py b/pandas/formats/format.py
index 7706666142a64..0cf6050e515e0 100644
--- a/pandas/formats/format.py
+++ b/pandas/formats/format.py
@@ -1455,9 +1455,9 @@ def save(self):
f = self.path_or_buf
close = False
else:
- f = _get_handle(self.pat... | Work in progress. Picks up where #13340 left off.
closes #12688
closes #13340
closes #14570
| https://api.github.com/repos/pandas-dev/pandas/pulls/14576 | 2016-11-03T15:38:34Z | 2016-12-13T23:11:38Z | null | 2016-12-14T10:58:02Z |
Update GitHub org from pydata to pandas-dev | diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index cf604822d6eea..7898822e0e11d 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -6,7 +6,7 @@ Where to start?
All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome.
-If you are... | It looks like the repo moved owners from `pydata` to `pandas-dev`. This pull request updates the repository to refer to `pandas-dev/pandas` rather than `pydata/pandas`.
- [x] passes ``git diff upstream/master | flake8 --diff``
- [ ] tests added / passed
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14575 | 2016-11-03T14:22:42Z | 2016-11-04T11:33:12Z | 2016-11-04T11:33:12Z | 2016-11-04T11:33:26Z |
DOC: update whatsnew/release notes for 0.19.1 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index d210065f04459..622e9a53ff8f0 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -37,6 +37,50 @@ analysis / manipulation tool available in any language.
* Binary installers on PyPI: http://pypi.python.org/pypi/pandas
* Documentation: h... | https://api.github.com/repos/pandas-dev/pandas/pulls/14573 | 2016-11-03T11:46:48Z | 2016-11-03T14:17:42Z | 2016-11-03T14:17:42Z | 2016-11-03T14:17:42Z | |
ENH: return an OrderedDict from read_excel with sheetname=None | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 7fa9991138fba..660300e1814e8 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -30,7 +30,7 @@ New features
Other enhancements
^^^^^^^^^^^^^^^^^^
-
+- ``pd.read_excel`` now preserves sheet order w... | - [x] closes #9930
- [x] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14571 | 2016-11-03T09:47:21Z | 2016-11-11T10:00:32Z | 2016-11-11T10:00:32Z | 2016-11-11T10:00:51Z |
BUG: Fix justification for DataFrame.to_string(index=False) | diff --git a/pandas/formats/format.py b/pandas/formats/format.py
index 7706666142a64..20065c6d9c4b6 100644
--- a/pandas/formats/format.py
+++ b/pandas/formats/format.py
@@ -604,8 +604,15 @@ def to_string(self):
self._chk_truncate()
strcols = self._to_str_columns()
text... | I believe this fixes #13032. I'm a new contributor, so please let me know if I've missed any steps. | https://api.github.com/repos/pandas-dev/pandas/pulls/14569 | 2016-11-02T18:09:23Z | 2017-02-01T20:52:54Z | null | 2017-02-01T20:52:54Z |
DEPR: add deprecation warning for com.array_equivalent | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 80a3e38fd5edd..cbdacb95a3d4a 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -34,7 +34,7 @@ Bug Fixes
~~~~~~~~~
- Compat with Cython 0.25 for building (:issue:`14496`)
-
+- Added back ``pandas.... | xref https://github.com/pandas-dev/pandas/issues/14555
pandas.core.common.array_equivalent was removed without deprecation warning.
This commits adds it back to the core.common namespace with deprecation warning
We should still decide on the usefulness to add to the public API (in this commit I didn't add any po... | https://api.github.com/repos/pandas-dev/pandas/pulls/14567 | 2016-11-02T15:49:51Z | 2016-11-03T09:36:10Z | 2016-11-03T09:36:10Z | 2016-11-03T09:37:54Z |
PERF: casting loc to labels dtype before searchsorted | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index a81ab6ed0311c..eda67bc7088f2 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -24,7 +24,7 @@ Performance Improvements
- Improved performance in ``.to_json()`` when ``lines=True`` (:issue:`14408`)
... | Intrigued by the profiling results of the below example (Multi-index `loc` indexing, based on the example in https://github.com/pandas-dev/pandas/issues/14549), where `searchsorted` seemed to take the majority of the computation time.
And it seems that `searchsorted` casts both inputs (in this case `labels` and `loc`... | https://api.github.com/repos/pandas-dev/pandas/pulls/14551 | 2016-11-01T15:08:03Z | 2016-11-02T15:16:15Z | 2016-11-02T15:16:15Z | 2016-11-02T15:16:15Z |
BUG/API: Index.append with mixed object/Categorical indices | diff --git a/pandas/indexes/base.py b/pandas/indexes/base.py
index 4d2dcd259e623..54eaf86315a88 100644
--- a/pandas/indexes/base.py
+++ b/pandas/indexes/base.py
@@ -1464,13 +1464,13 @@ def append(self, other):
names = set([obj.name for obj in to_concat])
name = None if len(names) > 1 else self.name
... | Closes #14298, related to #13660 and #13767
This closes the `info()` issue with CategoricalIndex, but the underlying issue is actually related to Index.append, when appending mixed dtype index objects:
```
In [11]: pd.Index(['a']).append(pd.CategoricalIndex(['a', 'b']))
...
AttributeError: 'Index' object has ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14545 | 2016-10-31T15:43:07Z | 2016-11-03T11:12:19Z | 2016-11-03T11:12:19Z | 2016-11-03T11:12:19Z |
BUG: fix categorical searchsorted bug (#14522) | diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py
index fd1a23a5bab7f..63e9a74d757ee 100644
--- a/pandas/core/categorical.py
+++ b/pandas/core/categorical.py
@@ -1085,8 +1085,11 @@ def searchsorted(self, v, side='left', sorter=None):
"ordered one")
from pandas... | - [ ] closes #14522
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
the bug is cause by `x.categories.values.searchsorted`, where the search should not be performed. | https://api.github.com/repos/pandas-dev/pandas/pulls/14544 | 2016-10-31T14:15:30Z | 2016-11-02T10:08:31Z | null | 2023-05-11T01:14:28Z |
BUG: tseries ceil doc fix | diff --git a/pandas/tseries/base.py b/pandas/tseries/base.py
index 96213a4aec34d..4645ae24684ff 100644
--- a/pandas/tseries/base.py
+++ b/pandas/tseries/base.py
@@ -100,7 +100,7 @@ def round(self, freq, *args, **kwargs):
def floor(self, freq):
return self._round(freq, np.floor)
- @Appender(_round_doc... | just fixes copy-paste doc bug from 4437e9c9e161b884450e8027daa3622f74c4b9e7
| https://api.github.com/repos/pandas-dev/pandas/pulls/14543 | 2016-10-31T11:53:48Z | 2016-10-31T12:24:05Z | 2016-10-31T12:24:05Z | 2016-12-28T11:11:12Z |
DOC: Simplify the gbq integration testing procedure for contributors | diff --git a/ci/travis_encrypt_gbq.sh b/ci/travis_encrypt_gbq.sh
index 719db67f384e0..e404ca73a405e 100755
--- a/ci/travis_encrypt_gbq.sh
+++ b/ci/travis_encrypt_gbq.sh
@@ -1,11 +1,10 @@
#!/bin/bash
GBQ_JSON_FILE=$1
-GBQ_PROJECT_ID=$2
-if [[ $# -ne 2 ]]; then
+if [[ $# -ne 1 ]]; then
echo -e "Too few argumen... | I've updated the contributing documentation to simplify the steps required to run Google BigQuery integration tests on a forked repository of pandas.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14541 | 2016-10-31T01:53:27Z | 2016-10-31T12:23:39Z | 2016-10-31T12:23:39Z | 2016-10-31T12:24:29Z |
BUG: fixes #12405 by eliding values index by NaT in MPLPlot._get_xticks | diff --git a/doc/source/whatsnew/v0.20.2.txt b/doc/source/whatsnew/v0.20.2.txt
index be4cf85606935..4ec9daff4c0fc 100644
--- a/doc/source/whatsnew/v0.20.2.txt
+++ b/doc/source/whatsnew/v0.20.2.txt
@@ -60,6 +60,7 @@ Plotting
^^^^^^^^
- Bug in ``DataFrame.plot`` with a single column and a list-like ``color`` (:issue:... | - [ ] closes #12405
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Proposed solution: elide rows where x value would be `NaT` in [MPLPlot._get_xticks](https://github.com/pandas-dev/pandas/blob/7f5a45c1b388b3f7f309f82bfa0733b7b9980c3a/pandas/tools/plotting.p... | https://api.github.com/repos/pandas-dev/pandas/pulls/14540 | 2016-10-30T14:16:28Z | 2017-05-20T21:59:19Z | 2017-05-20T21:59:19Z | 2017-05-20T21:59:27Z |
COMPAT: Updated method call for _Openpyxl22Write.write_cells() for Openpyxl =>2.4.0 #14519 | diff --git a/pandas/io/excel.py b/pandas/io/excel.py
index 6662d106ad85d..c95ff897956ac 100644
--- a/pandas/io/excel.py
+++ b/pandas/io/excel.py
@@ -902,7 +902,7 @@ def write_cells(self, cells, sheet_name=None, startrow=0, startcol=0):
for cell in cells:
colletter = get_column_letter(startcol + ... | - [X] closes #14519
- [X] tests added / passed
- [X] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Updated _Openpyxl22Writer.write_cells() to use new coordinate call method wks['coordinate']
instead of wks.cell() in accordance with https://openpyxl.readthedocs.io/en/default/tutorial.html#acces... | https://api.github.com/repos/pandas-dev/pandas/pulls/14539 | 2016-10-30T06:51:58Z | 2017-01-14T18:23:49Z | null | 2017-01-14T18:23:56Z |
DOC: add sep argument to read_clipboard signature | diff --git a/pandas/io/clipboard.py b/pandas/io/clipboard.py
index 2109e1c5d6d4c..6f6f1366a6732 100644
--- a/pandas/io/clipboard.py
+++ b/pandas/io/clipboard.py
@@ -3,12 +3,16 @@
from pandas.compat import StringIO
-def read_clipboard(**kwargs): # pragma: no cover
- """
+def read_clipboard(sep='\s+', **kwargs):... | - [x] closes #13726
| https://api.github.com/repos/pandas-dev/pandas/pulls/14537 | 2016-10-29T17:56:08Z | 2016-11-07T20:52:08Z | 2016-11-07T20:52:08Z | 2016-11-07T20:53:03Z |
BUG: DataFrame.quantile with NaNs (GH14357) | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index a81ab6ed0311c..7132a25f72870 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -63,7 +63,7 @@ Bug Fixes
- Bug in ``Timestamp`` where dates very near the minimum (1677-09) could underflow on crea... | Closes #14357
I first used `nanpercentile` when available (np >= 1.9), but this only can handle numeric data, not datetimes. So therefore included a custom `_nanpercentile`
I also added some tests regarding empty dataframes/series in comments, as these are still failing (but are also failing on 0.19.0)
| https://api.github.com/repos/pandas-dev/pandas/pulls/14536 | 2016-10-29T14:22:57Z | 2016-11-02T13:01:04Z | 2016-11-02T13:01:04Z | 2021-11-15T07:32:29Z |
BUG: Index.insert may not coerced to correct dtype | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index ecbd6e9b3b288..c45aed9af8555 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -52,6 +52,8 @@ Bug Fixes
+- Bug in ``Index.insert`` may have incorrect ``dtype`` or raises ``TypeError`` (:issue:`... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
### on current master
```
# NG, must be float dtype
pd.Index([1]).insert(1, 1.0)
# Int64Index([1, 1], dtype='int64')
# NG, must be object dtype
pd.DatetimeIndex(['2011-01-01']).insert(1, 1)
# TypeError: cannot inse... | https://api.github.com/repos/pandas-dev/pandas/pulls/14535 | 2016-10-29T14:09:42Z | 2017-05-07T14:03:13Z | null | 2017-05-08T09:30:00Z |
BUG: pivot_table sometimes returns Series (#4386) | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index db5bd22393e64..545b4380d9b75 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -58,4 +58,4 @@ Bug Fixes
- Bug in ``df.groupby`` causing an ``AttributeError`` when grouping a single index frame by a ... | - [x] closes #4386
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
The [`pivot_table` docs](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.pivot_table.html) mentions that a `DataFrame` should be returned. In some cases, a `Series` is returned. I had... | https://api.github.com/repos/pandas-dev/pandas/pulls/14534 | 2016-10-29T07:24:28Z | 2016-12-30T02:11:46Z | null | 2017-12-20T01:56:42Z |
BUG: CategoricalDtype could not be sorted | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index a81ab6ed0311c..910102db62fe1 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -71,7 +71,7 @@ Bug Fixes
- Bug in ``DataFrame.to_json`` where ``lines=True`` and a value contained a ``}`` character (:... | - [x] closes #14368
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14533 | 2016-10-28T21:26:00Z | 2016-11-02T20:16:49Z | null | 2016-11-02T22:11:53Z |
ENH: merge_asof() has left_index/right_index and left_by/right_by (#14253) | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index db5bd22393e64..545b4380d9b75 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -58,4 +58,4 @@ Bug Fixes
- Bug in ``df.groupby`` causing an ``AttributeError`` when grouping a single index frame by a ... | - [x] closes #14253
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14531 | 2016-10-28T17:43:02Z | 2016-12-14T16:10:42Z | 2016-12-14T16:10:42Z | 2016-12-14T16:48:58Z |
GH #14499 Panel.ffill ignores axis parameter and fill along axis=1 | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index e7b2fc5a6505d..dd44b97c9cddf 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -300,3 +300,4 @@ Bug Fixes
- Bug in ``Series.unique()`` in which unsigned 64-bit integers were causing overflow (:issue... | - [x] closes #14499, closes #8251
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14528 | 2016-10-28T16:06:47Z | 2017-03-20T13:41:41Z | null | 2017-03-20T13:41:41Z |
BUG/ERR: raise correct error when sql driver is not installed | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 47642c2e2bc28..c9f8d32e1b504 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -507,10 +507,11 @@ def _engine_builder(con):
if isinstance(con, string_types):
try:
import sqlalchemy
- con = sqlalchemy.create_engine(con)
- ... | Closes #14513
When the driver was not installed, but sqlalchemy itself was, when passing a URI string, you got an error indicating that SQLAlchemy was not installed, instead of the driver not being installed. This was because the import error for the driver was captured as import error for sqlalchemy.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14527 | 2016-10-28T09:59:03Z | 2016-10-29T13:24:19Z | 2016-10-29T13:24:19Z | 2016-10-29T13:24:19Z |
ENH: Added optional pickle protocol version argument to pandas.to_pickle() | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 037ab900e6150..c7548ab0ffd4f 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1200,7 +1200,7 @@ def to_sql(self, name, con, flavor=None, schema=None, if_exists='fail',
if_exists=if_exists, index=index, index_label... | - [ ] closes #14488
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
… :issue:'14488'
| https://api.github.com/repos/pandas-dev/pandas/pulls/14526 | 2016-10-28T01:28:01Z | 2016-12-30T21:22:51Z | null | 2017-05-05T10:47:19Z |
BUG: don't close user-provided file handles in C parser (GH14418) | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 7594478ada41a..76f5a532f283a 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -37,6 +37,7 @@ Bug Fixes
- Bug in ``pd.read_csv`` for Python 2.x in which Unicode quote characters were no longer b... | Closes #14418
| https://api.github.com/repos/pandas-dev/pandas/pulls/14520 | 2016-10-27T15:21:19Z | 2016-11-02T11:27:41Z | 2016-11-02T11:27:40Z | 2016-11-02T11:27:41Z |
MAINT: Expand lint for *.py | diff --git a/ci/lint.sh b/ci/lint.sh
index a866b04445f96..115a2cdaf7899 100755
--- a/ci/lint.sh
+++ b/ci/lint.sh
@@ -7,16 +7,10 @@ source activate pandas
RET=0
if [ "$LINT" ]; then
- echo "Linting"
- for path in 'api' 'core' 'indexes' 'types' 'formats' 'io' 'stats' 'compat' 'sparse' 'tools' 'tseries' 'tests' ... | Expand lint to include all Python files, excluding the directories `pandas/rpy` (deprecated and soon to be removed) and `pandas/src` (C code).
| https://api.github.com/repos/pandas-dev/pandas/pulls/14516 | 2016-10-27T06:41:56Z | 2016-10-28T08:37:55Z | 2016-10-28T08:37:55Z | 2016-10-28T17:20:44Z |
BUG: Don't parse inline quotes in skipped lines | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index a81ab6ed0311c..ab999643d575b 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -36,6 +36,7 @@ Bug Fixes
- Compat with Cython 0.25 for building (:issue:`14496`)
+- Bug in ``pd.read_csv`` for the ... | Title is self-explanatory. Closes #14459.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14514 | 2016-10-27T03:46:08Z | 2016-10-31T20:39:59Z | 2016-10-31T20:39:59Z | 2016-10-31T20:45:58Z |
ENH : First attempt to add sparse_pivot | diff --git a/pandas/core/reshape.py b/pandas/core/reshape.py
index fa5d16bd85e98..21f639e7f0431 100644
--- a/pandas/core/reshape.py
+++ b/pandas/core/reshape.py
@@ -336,6 +336,19 @@ def pivot(self, index=None, columns=None, values=None):
return indexed.unstack(columns)
+def pivot_sparse(index, columns, val... | - [ ] Resolves #14493
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
``` python
sparse_series = pivot_sparse(index=df['a'], columns=df['b'], values=df['c'])
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/14510 | 2016-10-27T01:07:26Z | 2016-12-16T23:52:31Z | null | 2016-12-17T01:17:03Z |
CI: add conda-forge as lowest priority channel | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index 98ce36acc096e..4494a4ca2ca26 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -77,6 +77,7 @@ else
# add the pandas channel *before* defaults to have defaults take priority
echo "add channels"
conda config --add channels pandas ... | xref #14495
| https://api.github.com/repos/pandas-dev/pandas/pulls/14509 | 2016-10-26T22:41:50Z | 2016-11-18T11:37:18Z | null | 2016-11-18T11:37:18Z |
[BUG] Handle trailing escaped backslash in line delimited json | diff --git a/pandas/lib.pyx b/pandas/lib.pyx
index b09a1c2755a06..5489338c5d174 100644
--- a/pandas/lib.pyx
+++ b/pandas/lib.pyx
@@ -1111,7 +1111,7 @@ def convert_json_to_lines(object arr):
length = narr.shape[0]
for i in range(length):
v = narr[i]
- if v == quote and i > 0 and narr[i - 1] != ... | - [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry (This is a bugfix for https://github.com/pandas-dev/pandas/pull/14429 and https://github.com/pandas-dev/pandas/pull/14391)
| https://api.github.com/repos/pandas-dev/pandas/pulls/14507 | 2016-10-26T21:46:25Z | 2016-10-26T21:50:06Z | null | 2023-05-11T01:14:25Z |
API: map() on Index returns an Index, not array | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 2855cde95ac2a..e264fb15f3e67 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -91,8 +91,77 @@ Other enhancements
Backwards incompatible API changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.. _whatsn... | - [x] closes #12766
- [x] closes #12798
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
This is a follow on to #12798.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14506 | 2016-10-26T21:18:10Z | 2016-12-16T23:26:00Z | null | 2016-12-18T00:09:10Z |
Avoids exception when pandas.io.json.json_normalize contains items in… | diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index 6f91eba1ad239..c7d731249f9cf 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE.md
@@ -10,6 +10,6 @@
#### Output of ``pd.show_versions()``
<details>
-# Paste the output here
+# Paste the output here pd.show_versions() here
... | Continued in https://github.com/pandas-dev/pandas/pull/14583
---
When using pandas.io.json.json_normalize to parse a nested json and convert it to a dataframe, the meta parameter can be used to use fields as metadata for each record in resulting table. In some cases, not all items may contain all of the specified... | https://api.github.com/repos/pandas-dev/pandas/pulls/14505 | 2016-10-26T20:29:50Z | 2016-11-04T11:20:14Z | null | 2023-05-11T01:14:25Z |
BUG: to_numeric downcast = 'unsigned' would not un-sign a 0 value. | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index dc11dd17bfdd7..19974f2973b03 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -25,3 +25,4 @@ Bug Fixes
- compat with ``dateutil==2.6.0`` for testing (:issue:`14621`)
- allow ``nanoseconds`` in `... | - [ ] closes #14401
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Have to figure out whats going wrong with the build still. Will let you know as soon as I do.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14504 | 2016-10-26T17:42:43Z | 2016-11-17T13:10:59Z | null | 2017-02-24T01:36:34Z |
TST: simplify tests for GH14346 | diff --git a/pandas/tests/indexes/test_datetimelike.py b/pandas/tests/indexes/test_datetimelike.py
index b04e840ffc849..68db163be6fde 100644
--- a/pandas/tests/indexes/test_datetimelike.py
+++ b/pandas/tests/indexes/test_datetimelike.py
@@ -732,30 +732,21 @@ def test_fillna_datetime64(self):
... | Addresses my remaining comment from https://github.com/pandas-dev/pandas/pull/14346#issuecomment-255520873
| https://api.github.com/repos/pandas-dev/pandas/pulls/14502 | 2016-10-26T13:17:49Z | 2016-10-27T07:11:41Z | 2016-10-27T07:11:41Z | 2016-10-27T07:11:44Z |
BUG: fix DatetimeIndex._maybe_cast_slice_bound for empty index (GH14354) | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 7594478ada41a..a81ab6ed0311c 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -48,6 +48,7 @@ Bug Fixes
- Bug in ``RangeIndex.intersection`` when result is a empty set (:issue:`14364`).
- Bug in ... | Closes #14354
| https://api.github.com/repos/pandas-dev/pandas/pulls/14501 | 2016-10-26T12:27:56Z | 2016-10-27T13:53:09Z | 2016-10-27T13:53:09Z | 2016-10-27T13:53:09Z |
COMPAT/TST: fix test for range testing of negative integers to neg powers | diff --git a/pandas/tests/indexes/test_range.py b/pandas/tests/indexes/test_range.py
index 26d50aa55431f..38e715fce2720 100644
--- a/pandas/tests/indexes/test_range.py
+++ b/pandas/tests/indexes/test_range.py
@@ -29,12 +29,7 @@ def setUp(self):
def create_index(self):
return RangeIndex(5)
- def test_... | xref https://github.com/numpy/numpy/pull/8127
closes #14489
| https://api.github.com/repos/pandas-dev/pandas/pulls/14498 | 2016-10-26T10:32:03Z | 2016-10-26T22:19:16Z | null | 2017-01-09T15:52:12Z |
TST: do not use int to negative int power in tests (GH14489) | diff --git a/pandas/tests/indexes/test_range.py b/pandas/tests/indexes/test_range.py
index b0b8864521666..d7d1df7ec594c 100644
--- a/pandas/tests/indexes/test_range.py
+++ b/pandas/tests/indexes/test_range.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from datetime import datetime
-from itertools import combinations
+... | Closes #14489
Numpy starts to error on those cases from 1.12 https://github.com/numpy/numpy/pull/8127
This just fixes the test for now, but other option is to coerce to floats (but that is certainly not for 0.19.1)
| https://api.github.com/repos/pandas-dev/pandas/pulls/14497 | 2016-10-26T10:31:00Z | 2016-10-26T10:39:19Z | null | 2016-10-26T10:39:19Z |
Use old Cython build_ext until includes are fixed. | diff --git a/setup.py b/setup.py
index 3f8667cd6fe42..a17dd502d7706 100755
--- a/setup.py
+++ b/setup.py
@@ -85,7 +85,11 @@ def is_platform_mac():
try:
if not _CYTHON_INSTALLED:
raise ImportError('No supported version of Cython installed.')
- from Cython.Distutils import build_ext as _build_ext
+ t... | This change in Cython 0.25
The distutils extension Cython.Distutils.build_ext has now been updated to use cythonize which properly handles dependencies. The old extension can still be found in Cython.Distutils.old_build_ext and is now deprecated.
seems to have broken the include of auto-generated algos_common_helper.... | https://api.github.com/repos/pandas-dev/pandas/pulls/14496 | 2016-10-26T05:19:08Z | 2016-10-26T22:29:04Z | null | 2016-10-26T22:34:45Z |
BUG: don't allow users to move from an interned string | diff --git a/pandas/tests/test_util.py b/pandas/tests/test_util.py
index 9193880df7feb..f5828dab21e37 100644
--- a/pandas/tests/test_util.py
+++ b/pandas/tests/test_util.py
@@ -2,6 +2,9 @@
import nose
from collections import OrderedDict
+import sys
+import unittest
+from uuid import uuid4
from pandas.util._move im... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
I was thinking about code paths that give away borrowed references to strings and realized that interned strings can be accessed even when their refcount is 1. This is because the intern table hol... | https://api.github.com/repos/pandas-dev/pandas/pulls/14494 | 2016-10-25T20:53:43Z | 2016-11-16T20:57:42Z | 2016-11-16T20:57:42Z | 2016-11-16T21:02:11Z |
BUG: Accept unicode quotechars again in pd.read_csv | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 8f5f78a5e93f7..0fdace12e6474 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -35,6 +35,7 @@ Bug Fixes
+- Bug in ``pd.read_csv`` for Python 2.x in which Unicode quote characters were no longer... | Title is self-explanatory. Affects Python 2.x only. Closes #14477.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14492 | 2016-10-25T18:54:17Z | 2016-10-26T22:31:40Z | null | 2016-10-27T07:05:58Z |
BUG: fix empty intersection of RangeIndex (GH14364) | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 5180b9a092f6c..b545519996c80 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -38,7 +38,7 @@ Bug Fixes
-
+- Bug in ``RangeIndex.intersection`` when result is a empty set (:issue:`14364`).
... | closes #14364
| https://api.github.com/repos/pandas-dev/pandas/pulls/14481 | 2016-10-24T10:54:53Z | 2016-10-24T22:20:45Z | null | 2016-10-24T22:21:12Z |
API: Rename CParserError to ParserError | diff --git a/doc/source/io.rst b/doc/source/io.rst
index ba1bd328d2991..ee319092c6dd5 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1165,8 +1165,8 @@ too many will cause an error by default:
In [28]: pd.read_csv(StringIO(data))
-------------------------------------------------------------------... | Title is self-explanatory. Partially resolves #12665.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14479 | 2016-10-23T20:07:05Z | 2016-11-18T13:38:11Z | 2016-11-18T13:38:10Z | 2016-11-18T14:33:56Z |
PERF: performance regression in Series.asof | diff --git a/asv_bench/benchmarks/timeseries.py b/asv_bench/benchmarks/timeseries.py
index fda6ebb4b437e..8c00924cb07ef 100644
--- a/asv_bench/benchmarks/timeseries.py
+++ b/asv_bench/benchmarks/timeseries.py
@@ -284,56 +284,77 @@ class timeseries_asof(object):
goal_time = 0.2
def setup(self):
- self... | Fix performance regression in Series.asof by avoiding pre-computing nulls and returning value by indexing the underlying ndarray.
- [x] closes #14461
- [x] add asv benchmark
| https://api.github.com/repos/pandas-dev/pandas/pulls/14476 | 2016-10-22T16:21:02Z | 2016-10-26T08:16:57Z | 2016-10-26T08:16:57Z | 2016-10-26T08:17:08Z |
BLD: don't require cython on sdist install | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 147ff8795eb00..835b10525b044 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -44,6 +44,7 @@ Bug Fixes
+- Source installs from PyPI will now work without ``cython`` installed, as in previous v... | - [x] closes #14204
- [x] tests not needed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
We could just make a cython a build-time requirement, but given we already create a sdists with `.c` files, probably makes sense to continue to support it.
I tested this locally, applying this patch... | https://api.github.com/repos/pandas-dev/pandas/pulls/14475 | 2016-10-22T11:49:26Z | 2016-10-24T22:24:18Z | null | 2016-10-24T22:24:19Z |
ERR: Fix GH13139: better error message on invalid pd.eval and df.query input | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index b2facd4e2d0ec..70cd8fb18cf5f 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -57,3 +57,4 @@ Bug Fixes
- Bug in ``pd.pivot_table`` may raise ``TypeError`` or ``ValueError`` when ``index`` or ``co... | - [x] closes #13139
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Added test case to check for invalid input(empy string) on pd.eval('') and df.query('').
Used existing helper function(_check_expression)
| https://api.github.com/repos/pandas-dev/pandas/pulls/14473 | 2016-10-22T01:35:07Z | 2016-10-24T22:13:24Z | null | 2016-10-24T22:13:28Z |
BUG: downcast = 'unsigend' on 0 would would not downcast to unsigned. | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 8bebe5e782e3c..353e7a75dea7b 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -63,12 +63,8 @@ Bug Fixes
- Bug in ``MultiIndex.set_levels`` where illegal level values were still set after raising an... | Continuation of #14412
- [ ] closes #14401
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Once again I had some very bizarre issues with git. Hope this does it this time.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14472 | 2016-10-22T00:47:20Z | 2016-10-25T10:47:51Z | null | 2023-05-11T01:14:23Z |
DOC: update readme for repo move | diff --git a/README.md b/README.md
index 6ebc287fa2cf6..4293d7294d5e0 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
<div align="center">
- <img src="https://github.com/pydata/pandas/blob/master/doc/logo/pandas_logo.png"><br>
+ <img src="https://github.com/pandas-dev/pandas/blob/master/doc/logo/pandas_logo.p... | https://api.github.com/repos/pandas-dev/pandas/pulls/14470 | 2016-10-22T00:00:25Z | 2016-10-22T00:37:02Z | 2016-10-22T00:37:02Z | 2016-10-22T09:07:31Z | |
BUG: incorrect broadcasting that could casuse dtype coercion in a groupby-transform | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 8bebe5e782e3c..96ea1c4f1ea20 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -43,9 +43,13 @@ Bug Fixes
- Bug in string indexing against data with ``object`` ``Index`` may raise ``AttributeError`` ... | closes #14457
| https://api.github.com/repos/pandas-dev/pandas/pulls/14466 | 2016-10-21T10:53:50Z | 2016-10-25T10:55:04Z | null | 2016-10-25T10:55:04Z |
MAINT: Use check_output when merging. | diff --git a/scripts/merge-py.py b/scripts/merge-py.py
index 5d90a006c09c9..b9350f8feceb8 100755
--- a/scripts/merge-py.py
+++ b/scripts/merge-py.py
@@ -25,12 +25,12 @@
from __future__ import print_function
+from subprocess import check_output
from requests.auth import HTTPBasicAuth
import requests
import os
... | Since we don't support Python 2.6 anymore, the `check_output` method from `subprocess` is
at our disposal.
Follow-up to #14447.
xref <a href="https://github.com/pandas-dev/pandas/issues/14439#issuecomment-254522055"> #14439 (comment)</a>
| https://api.github.com/repos/pandas-dev/pandas/pulls/14465 | 2016-10-21T06:18:41Z | 2016-10-24T22:10:14Z | null | 2016-10-24T22:15:00Z |
BUG: Set frequency for empty Series | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index dca4f890e496b..90125714fba76 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -598,6 +598,10 @@ Bug Fixes
- Bug in the display of ``.info()`` where a qualifier (+) would always be displayed wit... | - [x] closes #14320
- [x] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Alternative to #14340
| https://api.github.com/repos/pandas-dev/pandas/pulls/14458 | 2016-10-19T23:36:04Z | 2017-03-03T13:16:14Z | null | 2017-03-03T13:17:14Z |
DOC: fix pd.to_datetime documentation (issue #14448) | diff --git a/pandas/tseries/tools.py b/pandas/tseries/tools.py
index 637e70b76de98..fa9fa581dca5a 100644
--- a/pandas/tseries/tools.py
+++ b/pandas/tseries/tools.py
@@ -267,7 +267,7 @@ def to_datetime(arg, errors='raise', dayfirst=False, yearfirst=False,
If a date that does not meet timestamp limitations, passing ... | Dupe of #14452
- [x] closes #14448
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14456 | 2016-10-19T19:56:33Z | 2016-10-20T01:12:15Z | null | 2023-05-11T01:14:22Z |
ERR: qcut uniquess checking | diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index cf604822d6eea..7898822e0e11d 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -6,7 +6,7 @@ Where to start?
All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome.
-If you are... | - [x] closes #7751
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Add option to drop non-unique bins.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14455 | 2016-10-19T18:02:55Z | 2016-12-27T22:24:56Z | null | 2023-05-11T01:14:22Z |
BUG: Catch overflow in both directions for checked add | diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py
index 6eac7b4831f0f..9807639143ddb 100644
--- a/asv_bench/benchmarks/algorithms.py
+++ b/asv_bench/benchmarks/algorithms.py
@@ -15,6 +15,14 @@ def setup(self):
self.int = pd.Int64Index(np.arange(N).repeat(5))
self.flo... | Port of #14324 after project name change.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14453 | 2016-10-19T16:13:28Z | 2016-10-22T09:49:40Z | 2016-10-22T09:49:40Z | 2016-10-24T23:51:04Z |
DOC:updated docstring in .to_datetime() | diff --git a/pandas/tseries/tools.py b/pandas/tseries/tools.py
index 93d35ff964e69..68182b6f7267e 100644
--- a/pandas/tseries/tools.py
+++ b/pandas/tseries/tools.py
@@ -43,6 +43,7 @@ def _infer(a, b):
raise AssertionError('Inputs must both have the same timezone,'
... | - [x] closes #14448
- [ ] tests added / passed
- [ ] passes git diff upstream/master | flake8 --diff
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14452 | 2016-10-19T15:13:56Z | 2016-10-24T22:28:17Z | null | 2016-10-29T17:11:45Z |
Type levels as list in _make_concat_multiindex (fixes #14438) | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 5180b9a092f6c..f9f7f0847c650 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -45,6 +45,7 @@ Bug Fixes
- Bug in ``pd.concat`` where names of the ``keys`` were not propagated to the resulting ``Mu... | - [x] closes #14438
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14449 | 2016-10-19T06:20:15Z | 2016-10-20T10:25:35Z | 2016-10-20T10:25:35Z | 2016-10-20T12:50:57Z |
BUG: Rename pydata to pandas-dev in merge-pr.py | diff --git a/scripts/merge-py.py b/scripts/merge-py.py
index 65cc9d5a2bffe..5d90a006c09c9 100755
--- a/scripts/merge-py.py
+++ b/scripts/merge-py.py
@@ -46,8 +46,8 @@
# Remote name where results pushed
PUSH_REMOTE_NAME = os.environ.get("PUSH_REMOTE_NAME", "upstream")
-GITHUB_BASE = "https://github.com/pydata/" + PR... | Title is self-explanatory. Closes #14439.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14447 | 2016-10-18T14:17:52Z | 2016-10-19T11:58:54Z | 2016-10-19T11:58:54Z | 2016-10-20T14:27:52Z |
Fix index for datetime64 conversion. Fixes #13937 | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 54df7514a882d..a82a4fd2a6b96 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -590,99 +590,57 @@ Bug Fixes
- Bug in ``DataFrame.loc`` with indexing a ``MultiIndex`` with a ``Series`` indexer (:issu... | - [x] closes #13937
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] 0.20.0
Fix index for datetime64 conversion
This PR fixes index for datetime64 conversion. Also,
update tests - pandas/pandas/tests/tests_convert_to.py
Fixes https://github.com/pydata/pandas/issues/1... | https://api.github.com/repos/pandas-dev/pandas/pulls/14446 | 2016-10-18T12:38:41Z | 2017-03-02T13:44:58Z | null | 2017-03-03T10:07:39Z |
ENH: support kind and na_position kwargs in Series.sort_index | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 7fa9991138fba..99d0e063a28df 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -29,6 +29,7 @@ New features
Other enhancements
^^^^^^^^^^^^^^^^^^
+- ``Series.sort_index`` accepts parameters ``kind... | closes #13589
closes #13729
I'm waiting on adding the whatsnew entry. I'm not sure if this is a BUG (the [documentation](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.sort_index.html) says these parameters exist) or an ENH (we're adding support for these parameters). It depends on how you look ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14445 | 2016-10-17T23:22:47Z | 2016-12-04T20:32:42Z | 2016-12-04T20:32:42Z | 2016-12-04T20:33:03Z |
DOC: Expand on reference docs for read_json | diff --git a/pandas/io/json.py b/pandas/io/json.py
index 1e258101a5d86..878506a6ddc05 100644
--- a/pandas/io/json.py
+++ b/pandas/io/json.py
@@ -123,32 +123,38 @@ def read_json(path_or_buf=None, orient=None, typ='frame', dtype=True,
file. For file URLs, a host is expected. For instance, a local file
c... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [] whatsnew entry
Continuation of closed PR #14284
Documentation update for `read_json()`.
expanded reference document for pandas.read_json(), especially concentrating on the orient parameter. Also added some exampl... | https://api.github.com/repos/pandas-dev/pandas/pulls/14442 | 2016-10-17T17:15:12Z | 2016-10-27T13:51:10Z | 2016-10-27T13:51:10Z | 2016-10-27T13:51:10Z |
Update unpack_template.h | diff --git a/pandas/src/msgpack/unpack_template.h b/pandas/src/msgpack/unpack_template.h
index 95af6735520fc..fba372ddcb3e4 100644
--- a/pandas/src/msgpack/unpack_template.h
+++ b/pandas/src/msgpack/unpack_template.h
@@ -17,7 +17,7 @@
*/
#ifndef USE_CASE_RANGE
-#if !defined(_MSC_VER)
+#ifdef __GNUC__
#define USE_... | - [x ] closes #14373
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
USE_CASE_RANGE is a GNU C feature. This change will activate
USE_CASE_RANGE on any platform when using GNU C and not on any platform
when a different compiler is being used.
closes #14373
| https://api.github.com/repos/pandas-dev/pandas/pulls/14441 | 2016-10-17T15:12:36Z | 2016-10-20T22:44:39Z | 2016-10-20T22:44:39Z | 2016-10-21T10:00:53Z |
WIP: Rework IndexEngine to better support hashtable-free algorithms. | diff --git a/pandas/index.pyx b/pandas/index.pyx
index a6eb74727a999..3b1421564de87 100644
--- a/pandas/index.pyx
+++ b/pandas/index.pyx
@@ -27,6 +27,7 @@ from cpython cimport PyTuple_Check, PyList_Check
cdef extern from "datetime.h":
bint PyDateTime_Check(object o)
+ bint PyTime_Check(object o)
void Py... | Initial work toward #14273. This makes `__contains__` behave uniformly across all index types by making it simply defer to `get_loc` (we can and probably should go back and put in a fast path for the case that a hash table has already been populated). Assuming this general path seems reasonable, the next step would b... | https://api.github.com/repos/pandas-dev/pandas/pulls/14436 | 2016-10-17T01:33:58Z | 2017-02-27T16:00:28Z | null | 2023-05-11T01:14:21Z |
Checks for left_index and right_index merge parameters | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 5180b9a092f6c..70ee62726f34d 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -25,6 +25,13 @@ Performance Improvements
+.. _whatsnew_0191.new_features:
+
+New features
+~~~~~~~~~~~~
+- Add che... | Hi,
I just committed an error when I was doing an analysis using pandas and this motivated me to implement two checks which in my opinion are necessary.
I was trying to perform a merge and I confused the parameters "left_on" and "right_on" for "left_index" and "right_index". I ran the code and it did not raised me a... | https://api.github.com/repos/pandas-dev/pandas/pulls/14434 | 2016-10-16T17:46:40Z | 2016-10-20T10:32:06Z | null | 2016-10-20T10:42:51Z |
BUG: underflow on Timestamp creation | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 30593c1b204e7..b2facd4e2d0ec 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -46,6 +46,7 @@ Bug Fixes
- ``pd.merge()`` will raise ``ValueError`` with non-boolean parameters in passed boolean type ... | - [x] closes #14415
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14433 | 2016-10-16T12:03:44Z | 2016-10-20T13:46:01Z | 2016-10-20T13:46:01Z | 2016-10-20T13:46:01Z |
ENH: Allow the groupby by param to handle columns and index levels (GH5677) | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index c5a77770085d6..8d635d73933f1 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -94,11 +94,21 @@ The mapping can be specified many different ways:
- For DataFrame objects, a string indicating a column to be used to group. Of
cou... | - [x] closes #5677
- [x] tests added
- [x] rebase after #14342 is merged to fix #14334
- [x] tests pass (requires rebase above)
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
- [x] updates existing documentation
- [x] add example to whatsnew 0.20 and groupby.rst
Change to allow s... | https://api.github.com/repos/pandas-dev/pandas/pulls/14432 | 2016-10-15T23:13:33Z | 2016-12-14T20:39:39Z | 2016-12-14T20:39:39Z | 2017-06-05T11:28:15Z |
BUG: Fix issue with inserting duplicate columns in a dataframe (#14291) | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 147ff8795eb00..f7bbe6e92ad3f 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -59,3 +59,4 @@ Bug Fixes
- Bug in ``pd.pivot_table`` may raise ``TypeError`` or ``ValueError`` when ``index`` or ``co... | - [x] closes #14291
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Resubmitting PR (@jorisvandenbossche)
| https://api.github.com/repos/pandas-dev/pandas/pulls/14431 | 2016-10-15T22:24:41Z | 2016-10-24T22:51:29Z | null | 2016-10-24T22:52:00Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.