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 |
|---|---|---|---|---|---|---|---|
Clean up construction of Series with dictionary and datetime index | diff --git a/asv_bench/benchmarks/series_methods.py b/asv_bench/benchmarks/series_methods.py
index 4e368c6d7cde2..c164f3ddb2d6f 100644
--- a/asv_bench/benchmarks/series_methods.py
+++ b/asv_bench/benchmarks/series_methods.py
@@ -15,6 +15,21 @@ def time_series_constructor_no_data_datetime_index(self):
Series(da... | - [X] closes #14894
- [X] tests added / passed
- [X] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
Fix usage of fast_multiget with index which was always throwing an exception that was then caught; add ASV that show slight improvement | https://api.github.com/repos/pandas-dev/pandas/pulls/14895 | 2016-12-16T06:31:57Z | 2016-12-17T23:32:00Z | null | 2016-12-17T23:32:06Z |
TST: to_json keeps column info with empty dataframe (#7445) | diff --git a/pandas/io/tests/json/test_pandas.py b/pandas/io/tests/json/test_pandas.py
index e6e6f33669e17..d7f903153fdae 100644
--- a/pandas/io/tests/json/test_pandas.py
+++ b/pandas/io/tests/json/test_pandas.py
@@ -388,6 +388,10 @@ def test_frame_empty(self):
self.assertFalse(df._is_mixed_type)
asse... | - [x] closes #7445
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
Closed by #9805
| https://api.github.com/repos/pandas-dev/pandas/pulls/14893 | 2016-12-16T05:21:07Z | 2016-12-16T23:21:07Z | null | 2017-12-20T01:58:29Z |
DOC: fixed typo | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 17c7653072526..945b738e52480 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -4004,7 +4004,7 @@ and data values from the values and assembles them into a ``data.frame``:
name_paths = paste(listing$group[name_nodes], listing$name[name_nodes], sep = "... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14892 | 2016-12-16T02:17:03Z | 2016-12-16T09:18:26Z | 2016-12-16T09:18:26Z | 2016-12-16T16:17:02Z |
Add new optional "separator" argument to json_normalize | diff --git a/.travis.yml b/.travis.yml
index be167451f3460..3e24f3798ca04 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -66,19 +66,6 @@ matrix:
apt:
packages:
- python-gtk2
- - python: 3.4
- env:
- - PYTHON_VERSION=3.4
- - JOB_NAME: "34_nslow"
- - NOSE_ARGS="n... | - [x] closes #14883
- [x] tests added / passed (added test `test_shallow_nested_with_separator`)
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry (v0.20.0)
| https://api.github.com/repos/pandas-dev/pandas/pulls/14891 | 2016-12-16T00:23:59Z | 2016-12-22T00:06:35Z | null | 2016-12-22T00:06:35Z |
DOC: Add documentation about cpplint | diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst
index 38718bc5ca19a..ecc2a5e723c45 100644
--- a/doc/source/contributing.rst
+++ b/doc/source/contributing.rst
@@ -113,11 +113,12 @@ want to clone your fork to your machine::
This creates the directory `pandas-yourname` and connects your repository ... | 1) Minor spelling and command errors.
2) Add that we also use AppVeyor for testing.
3) With the introduction of `cpplint`, document it and how to use.
Follow-up to #14814.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14890 | 2016-12-15T21:40:07Z | 2016-12-16T11:11:01Z | 2016-12-16T11:11:01Z | 2016-12-16T15:35:09Z |
BUG: regression in DataFrame.combine_first with integer columns (GH14687) | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index dabc6036fc9ba..291b0ffde145e 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -78,7 +78,7 @@ Bug Fixes
- Bug in clipboard functions on linux with python2 with unicode and separators (:issue:`13747`... | closes #14687
| https://api.github.com/repos/pandas-dev/pandas/pulls/14886 | 2016-12-15T10:53:24Z | 2016-12-16T09:43:42Z | 2016-12-16T09:43:42Z | 2016-12-16T09:43:42Z |
TST: Test datetime array assignment with different units (#7492) | diff --git a/pandas/tests/frame/test_timeseries.py b/pandas/tests/frame/test_timeseries.py
index 9758c2b9c805e..c6c3b4f43b55a 100644
--- a/pandas/tests/frame/test_timeseries.py
+++ b/pandas/tests/frame/test_timeseries.py
@@ -366,6 +366,21 @@ def test_operation_on_NaT(self):
exp = pd.Series([pd.NaT], index=["fo... | - [x] closes #7492
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
The example in this issue currently works in master. Added a test to confirm. Based on a quick skim of the recent PRs, doesn't look like it was fixed recently.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14884 | 2016-12-15T06:06:56Z | 2016-12-17T23:13:43Z | 2016-12-17T23:13:43Z | 2016-12-21T04:20:11Z |
DOC for refactored compression (GH14576) + BUG: bz2-compressed URL with C engine (GH14874) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 508093380ac81..55e5241587298 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -64,6 +64,27 @@ Strings passed to ``DataFrame.groupby()`` as the ``by`` parameter may now refere
df.groupby(['seco... | Follow up on https://github.com/pandas-dev/pandas/pull/14576, which refactored compression code to expand URL support.
Fixes up some small remaining issues and adds a what's new entry.
- [x] Closes #14874
| https://api.github.com/repos/pandas-dev/pandas/pulls/14880 | 2016-12-14T16:45:26Z | 2016-12-17T23:09:20Z | null | 2016-12-17T23:09:29Z |
BUG: Respect value of raise_on_error | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 64e3d60e1fe14..40f2761b44dea 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3093,10 +3093,11 @@ def astype(self, dtype, copy=True, raise_on_error=True, **kwargs):
'invoked on Series and DataFrames. A single dty... | #### Code Sample, a copy-pastable example if possible
Pasteable snippet.
```python
import numpy as np
import pandas as pd
x = pd.DataFrame(data=[[1,2],[3,4]], columns=['A','B'])
x.astype({'C': np.int32}, raise_on_error=False)
```
Output
```
Traceback (most recent call last):
File "<stdin>", line 1, in ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14877 | 2016-12-14T08:41:37Z | 2017-01-02T10:20:10Z | null | 2023-05-11T01:14:46Z |
BUG: addresses #14855 by fixing color kwarg conflict | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 37a70435ed6ff..5d957221fe399 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -975,3 +975,4 @@ Bug Fixes
- Bug in ``pd.melt()`` where passing a tuple value for ``value_vars`` caused a ``TypeError``... | - [x] closes #14855
- [x] tests passed
- [x] passes ``git diff upstream/master | flake8 --diff``
| https://api.github.com/repos/pandas-dev/pandas/pulls/14871 | 2016-12-13T00:34:57Z | 2017-04-05T21:47:34Z | null | 2017-04-05T21:57:36Z |
DOC: Update to docstring of pd.DataFrame(dtype) | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 0d4bcd781cf74..d310e64c8c4b7 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -231,6 +231,21 @@ class DataFrame(NDFrame):
>>> df3 = DataFrame(np.random.randn(10, 5),
... columns=['a', 'b', 'c', 'd', 'e'])
+ Leav... | - [ ] closes #14764
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
All suggestions to improve this are welcome. | https://api.github.com/repos/pandas-dev/pandas/pulls/14868 | 2016-12-12T20:45:59Z | 2017-02-27T17:15:05Z | null | 2023-05-11T01:14:45Z |
DOC: add floats and ints missing as acceptable arguments for pandas.t… | diff --git a/pandas/tseries/tools.py b/pandas/tseries/tools.py
index 326bc5be3fd8f..21e1c9744aa88 100644
--- a/pandas/tseries/tools.py
+++ b/pandas/tseries/tools.py
@@ -183,7 +183,7 @@ def to_datetime(arg, errors='raise', dayfirst=False, yearfirst=False,
Parameters
----------
- arg : string, datetime, li... | - [ ] closes #14556
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
…o_datetime | https://api.github.com/repos/pandas-dev/pandas/pulls/14864 | 2016-12-12T10:21:00Z | 2016-12-12T11:10:35Z | 2016-12-12T11:10:35Z | 2017-03-24T20:14:03Z |
DOC: fix groupby.rst building errors #14861 | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index ff97775afc2e2..bb03c7def694e 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -631,11 +631,11 @@ the column B based on the groups of column A.
.. ipython:: python
- df = pd.DataFrame({'A': [1] * 10 + [5] * 10,
+ df_re = pd.Da... | Rename _resample()_ `df` to `df_re` under **New syntax to window and resample operations** section.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14863 | 2016-12-12T08:44:23Z | 2016-12-12T11:16:15Z | null | 2016-12-14T10:42:37Z |
TST: Parse dates with empty space (#6428) | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 75f36c5274cd2..17c7653072526 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -867,6 +867,12 @@ data columns:
index_col=0) #index is the nominal column
df
+.. note::
+ If a column or index contains an unparseable date, the en... | - [x] closes #6428
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
Parsing a date with an empty space no longer returns today's date on master 0.19.1. Not sure when this was fixed, but it doesn't seem like it occurred recently.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14862 | 2016-12-12T05:07:13Z | 2016-12-14T11:07:26Z | 2016-12-14T11:07:26Z | 2016-12-21T04:19:30Z |
PERF: use StringHasTable for strings | diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py
index c4a6117c0704a..20d149493951f 100644
--- a/asv_bench/benchmarks/algorithms.py
+++ b/asv_bench/benchmarks/algorithms.py
@@ -8,6 +8,7 @@ class Algorithms(object):
def setup(self):
N = 100000
+ np.random.seed(1... | xref #13745
provides a modest speedup for all string hashing. The key thing is, it will release the GIL on more operations where this is possible (mainly ``factorize``).
can be easily extended to ``.value_counts()`` and ``.duplicated()`` (for strings), new issue for that one
```
In [9]: np.random.seed(1234)
... | https://api.github.com/repos/pandas-dev/pandas/pulls/14859 | 2016-12-12T00:31:17Z | 2016-12-15T23:09:37Z | null | 2016-12-15T23:09:37Z |
Fix inconsistency in Partial String Index with 'second' resolution | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 9253124f7e8b2..6d56a28170645 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -457,22 +457,6 @@ We are stopping on the included end-point as it is part of the index
dft['2013-1-15':'2013-1-15 12:30:00']
-.. warning... | - Closes #14826
- Tests added: test_partial_string_indexes. Comprehensive testing of partial string indexes.
## Whatsnew entry
Fix inconsistency in Partial String Index with 'second' resolution. See #14826. Now if the timestamp and the index both have resolution `second`, timestamp is considered as an exact match ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14856 | 2016-12-11T07:27:14Z | 2016-12-20T17:44:52Z | null | 2016-12-22T22:10:08Z |
TST: Test DatetimeIndex weekend offset | diff --git a/pandas/tests/indexes/test_datetimelike.py b/pandas/tests/indexes/test_datetimelike.py
index 68db163be6fde..0017271fe6c97 100644
--- a/pandas/tests/indexes/test_datetimelike.py
+++ b/pandas/tests/indexes/test_datetimelike.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from datetime import datetime, timedelt... | closes #5348
closes #5115
closes #5152
The original issues pass on master as of 0.19.1. These related issues might have been fixed part of #5004, but it doesn't look like that any PRs fixed this recently.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14853 | 2016-12-10T21:23:26Z | 2016-12-11T14:06:54Z | 2016-12-11T14:06:54Z | 2016-12-21T04:17:50Z |
TST: skip testing on windows for specific formatting which sometimes hang | diff --git a/pandas/tests/indexes/test_base.py b/pandas/tests/indexes/test_base.py
index 628095a2fcbd3..2dfeb7da07a3d 100644
--- a/pandas/tests/indexes/test_base.py
+++ b/pandas/tests/indexes/test_base.py
@@ -915,23 +915,12 @@ def test_format(self):
self._check_method_works(Index.format)
# GH 14626
... | xref #14626 | https://api.github.com/repos/pandas-dev/pandas/pulls/14851 | 2016-12-10T14:52:35Z | 2016-12-10T15:31:53Z | 2016-12-10T15:31:53Z | 2016-12-10T15:31:53Z |
BUG: Spurious IncompatibleFrequency error prevented plotting of non-standard intervals (Fixes #14763) | diff --git a/pandas/src/period.pyx b/pandas/src/period.pyx
index 5565f25937394..956f066187ce8 100644
--- a/pandas/src/period.pyx
+++ b/pandas/src/period.pyx
@@ -469,6 +469,7 @@ def extract_ordinals(ndarray[object] values, freq):
object p
freqstr = Period._maybe_convert_freq(freq).freqstr
+ base_freq ... | - [x] closes #14763
- [x] tests added: tests/plotting/test_series.py: test_non_standard_intervals
- [x] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry - Confirm version and I'll add
Fix Summary: A check on frequency compatibility was unnecessarily strict. Now IncompatibleFrequency e... | https://api.github.com/repos/pandas-dev/pandas/pulls/14850 | 2016-12-10T09:04:31Z | 2016-12-18T20:21:01Z | null | 2016-12-18T20:21:01Z |
BUG: Allow TZ-aware DatetimeIndex in merge_asof() (#14844) | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index 0567a3c3fa2bb..cdbfc3001d9a4 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -74,5 +74,6 @@ Bug Fixes
- Bug in ``pd.read_csv()`` in which the ``nrows`` parameter was not being respected for large ... | - [x] closes #14844
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14845 | 2016-12-09T20:15:26Z | 2016-12-10T15:41:42Z | null | 2016-12-10T16:42:07Z |
Fix to numeric on decimal fields | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 83a70aa34fccf..e34330f18a52d 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -245,6 +245,7 @@ Bug Fixes
- Bug in ``TimedeltaIndex`` addition where overflow was being allowed without error (:issue:... | - [X] closes #14827
- [X] tests added / passed
- [X] passes ``git diff upstream/master | flake8 --diff``
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14842 | 2016-12-09T15:35:21Z | 2016-12-20T13:29:23Z | null | 2016-12-20T13:32:02Z |
Fix To Numeric on Decimal Fields | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index aeafc76876bbd..4d12d32084bf4 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -109,3 +109,5 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+
+- Bug in ``DataFrame(..).apply(to_numeric)`` when v... | - [x] closes #14827
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14839 | 2016-12-09T14:43:49Z | 2016-12-09T14:53:47Z | null | 2023-05-11T01:14:44Z |
DOC: astype now takes dict mapping col names to datatypes (#14761) | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index e7db814483905..2e8abe0a5c329 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1757,6 +1757,7 @@ then the more *general* one will be used as the result of the operation.
# conversion of dtypes
df3.astype('float32').dtypes
+
Con... | - [x] closes https://github.com/pandas-dev/pandas/issues/14761
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
Updating documentation to reflect change | https://api.github.com/repos/pandas-dev/pandas/pulls/14837 | 2016-12-09T12:06:00Z | 2016-12-22T13:37:19Z | 2016-12-22T13:37:19Z | 2016-12-22T15:18:51Z |
BF(TST): use = (native) instead of < (little endian) for target data types | diff --git a/pandas/io/tests/parser/common.py b/pandas/io/tests/parser/common.py
index 6eb73876c11dd..b6d1d4bb09f56 100644
--- a/pandas/io/tests/parser/common.py
+++ b/pandas/io/tests/parser/common.py
@@ -1453,7 +1453,7 @@ def test_as_recarray(self):
FutureWarning, check_stacklevel=False):
... | - [ ] closes #14830
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
It is still WiP -- just thought to submit a PR to see how travis etc reacts on typical platforms | https://api.github.com/repos/pandas-dev/pandas/pulls/14832 | 2016-12-08T17:59:51Z | 2016-12-09T19:34:32Z | 2016-12-09T19:34:32Z | 2017-01-12T14:44:57Z |
BF: boost min cython to 0.23 | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index bdd2c01f611b2..b9b1115090031 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -107,7 +107,7 @@ if [ "$BUILD_TEST" ]; then
# build testing
pip uninstall --yes cython
- pip install cython==0.19.1
+ pip install cython==0.23
... | closes #14699
closes #14508
| https://api.github.com/repos/pandas-dev/pandas/pulls/14831 | 2016-12-08T17:56:35Z | 2016-12-12T11:48:25Z | null | 2016-12-12T11:48:25Z |
frame_methods benchmarking sum instead of mean | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index 3daffb9d3a1cc..8cbf5b8d97b70 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -299,7 +299,7 @@ def time_apply_axis_1(self):
self.df.apply((lambda x: (x + 1)), axis=1... | Not sure if the function name or the method call is incorrect, but it looks like this should be benchmarking `mean` instead of `sum`
| https://api.github.com/repos/pandas-dev/pandas/pulls/14824 | 2016-12-08T05:49:12Z | 2016-12-10T21:31:12Z | 2016-12-10T21:31:12Z | 2016-12-21T04:16:25Z |
BUG: MutliIndex variable length tuples | diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py
index ed7ca079a07b5..601a046498e5d 100644
--- a/pandas/core/indexes/multi.py
+++ b/pandas/core/indexes/multi.py
@@ -5,6 +5,7 @@
from functools import partial
from sys import getsizeof
+
import numpy as np
from pandas._libs import index as li... | - [ ] closes #14794
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14823 | 2016-12-08T05:15:34Z | 2017-09-07T00:42:45Z | null | 2017-09-07T00:42:45Z |
Fixed KDE Plot to drop the missing values | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index 231297df3fb8f..caf195afc4966 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -79,4 +79,6 @@ Bug Fixes
- Explicit check in ``to_stata`` and ``StataWriter`` for out-of-range values when writing do... | - [x] closes https://github.com/pandas-dev/pandas/issues/14821
- [x] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14820 | 2016-12-08T01:38:48Z | 2016-12-15T15:40:38Z | 2016-12-15T15:40:38Z | 2016-12-24T02:07:26Z |
Changed pandas-qt python2/3 friendly qtpandas. | diff --git a/doc/source/faq.rst b/doc/source/faq.rst
index d23e0ca59254d..b96660be97d71 100644
--- a/doc/source/faq.rst
+++ b/doc/source/faq.rst
@@ -111,5 +111,5 @@ Visualizing Data in Qt applications
-----------------------------------
There is no support for such visualization in pandas. However, the external
-pa... | Just changed the link to the abandoned repository python 2 only pandas-qt to the new functional Python 2/3 friendly qtpandas. | https://api.github.com/repos/pandas-dev/pandas/pulls/14818 | 2016-12-07T20:38:44Z | 2016-12-29T14:56:29Z | 2016-12-29T14:56:29Z | 2016-12-29T22:27:38Z |
Groupby tests restructure | diff --git a/pandas/tests/groupby/test_aggregate.py b/pandas/tests/groupby/test_aggregate.py
new file mode 100644
index 0000000000000..6b162b71f79de
--- /dev/null
+++ b/pandas/tests/groupby/test_aggregate.py
@@ -0,0 +1,494 @@
+# -*- coding: utf-8 -*-
+from __future__ import print_function
+import nose
+from datetime im... | closes #14813
| https://api.github.com/repos/pandas-dev/pandas/pulls/14817 | 2016-12-07T18:40:10Z | 2016-12-17T15:43:50Z | null | 2016-12-17T15:47:12Z |
BUG: Prevent addition overflow with TimedeltaIndex | diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py
index 20d149493951f..fe657936c403e 100644
--- a/asv_bench/benchmarks/algorithms.py
+++ b/asv_bench/benchmarks/algorithms.py
@@ -18,7 +18,7 @@ def setup(self):
self.float = pd.Float64Index(np.random.randn(N).repeat(5))
... | Expands checked-add array addition introduced in #14237 to include all other addition cases (i.e.
`TimedeltaIndex` and `Timedelta`). Follow-up to #14453. | https://api.github.com/repos/pandas-dev/pandas/pulls/14816 | 2016-12-07T15:50:04Z | 2016-12-17T23:25:08Z | 2016-12-17T23:25:08Z | 2016-12-24T02:15:57Z |
BUG: Fix linux clipboard QApplication() creation | diff --git a/pandas/util/clipboard/clipboards.py b/pandas/util/clipboard/clipboards.py
index 182a685f956e6..01f9ead65294f 100644
--- a/pandas/util/clipboard/clipboards.py
+++ b/pandas/util/clipboard/clipboards.py
@@ -50,7 +50,7 @@ def init_qt_clipboard():
# $DISPLAY should exist
from PyQt4.QtGui import QAppli... | - [x] closes #14372
A Qt application cannot instantiate multiple `QApplication` instances,
so we create a new `QApplication` only when the global
`QApplication.instance()` is None.
Failing sample (gtk should not be installed for pandas to use qt clipboard):
```
from PyQt4.QtGui import QApplication
myapp =... | https://api.github.com/repos/pandas-dev/pandas/pulls/14815 | 2016-12-07T06:24:15Z | 2017-03-20T13:47:14Z | null | 2017-03-20T13:47:15Z |
MAINT: Style check *.c and *.h files | diff --git a/ci/lint.sh b/ci/lint.sh
index 7ab97bfc6d328..d7df6215450b4 100755
--- a/ci/lint.sh
+++ b/ci/lint.sh
@@ -38,13 +38,22 @@ if [ "$LINT" ]; then
# readability/casting: Warnings about C casting instead of C++ casting
# runtime/int: Warnings about using C number types instead of C++ ones
# build/i... | `cpplint` was introduced #14740, and this commit extends to check other `*.c` and `*.h` files.
Currently, they all reside in `pandas/src`, and this commit expands the lint to check all of the following:
1) `datetime` (dir)
2) `ujson` (dir)
3) `period_helper.c`
4) `All header files`
The parser directory was ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14814 | 2016-12-07T05:33:24Z | 2016-12-15T11:23:52Z | null | 2016-12-19T16:12:25Z |
Apply min_itemsize to index even when not appending | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index a9897f389fe12..231297df3fb8f 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -60,6 +60,7 @@ Bug Fixes
- Bug in ``HDFStore`` when writing a ``MultiIndex`` when using ``data_columns=True`` (:issue... | - [x] closes #10381
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry | https://api.github.com/repos/pandas-dev/pandas/pulls/14812 | 2016-12-06T22:07:52Z | 2016-12-11T21:54:59Z | null | 2016-12-12T00:12:47Z |
COMPAT: numpy compat with 1-ndim object array compat and broadcasting | diff --git a/pandas/core/ops.py b/pandas/core/ops.py
index 96b447cda4bc4..7c5ad04cc90b0 100644
--- a/pandas/core/ops.py
+++ b/pandas/core/ops.py
@@ -1176,6 +1176,13 @@ def na_op(x, y):
yrav = y.ravel()
mask = notnull(xrav) & notnull(yrav)
xrav = xrav[mask]
+
+ ... | xref #14808 | https://api.github.com/repos/pandas-dev/pandas/pulls/14809 | 2016-12-06T11:58:47Z | 2016-12-06T13:00:30Z | 2016-12-06T13:00:30Z | 2016-12-06T13:00:30Z |
TST: Test pivot with categorical data | diff --git a/pandas/tools/tests/test_pivot.py b/pandas/tools/tests/test_pivot.py
index 5944fa1b34611..26f80f463d609 100644
--- a/pandas/tools/tests/test_pivot.py
+++ b/pandas/tools/tests/test_pivot.py
@@ -854,6 +854,53 @@ def test_categorical_margins(self):
table = data.pivot_table('x', 'y', 'z', margins=True)... | closes #8860
closes #8731
closes #9534
Looks like the examples in these issues pass in the master branch. Added test to confirm.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14807 | 2016-12-06T08:14:35Z | 2016-12-06T19:10:40Z | null | 2017-12-20T01:59:00Z |
BUG: MultiIndex truncated for some non-list arguments | diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py
index 532f960468204..1d1358b846125 100644
--- a/pandas/compat/__init__.py
+++ b/pandas/compat/__init__.py
@@ -259,6 +259,8 @@ def set_function_name(f, name, cls):
return f
ResourceWarning = ResourceWarning
+
+ zip_longest = iterto... | closes #14794.
WIP. Discussion/suggestions welcome.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14806 | 2016-12-06T07:46:37Z | 2016-12-08T04:37:38Z | null | 2023-05-11T01:14:43Z |
BUG: fix hash collisions for from int overflow | diff --git a/pandas/src/hash.pyx b/pandas/src/hash.pyx
index a393e0df96954..06ed947808e39 100644
--- a/pandas/src/hash.pyx
+++ b/pandas/src/hash.pyx
@@ -40,7 +40,8 @@ def hash_object_array(ndarray[object] arr, object key, object encoding='utf8'):
Py_ssize_t i, l, n
ndarray[uint64_t] result
by... | hash collisions brought up: https://github.com/pandas-dev/pandas/issues/14711#issuecomment-264885726
closes #14804
| https://api.github.com/repos/pandas-dev/pandas/pulls/14805 | 2016-12-06T01:18:20Z | 2016-12-06T13:15:08Z | 2016-12-06T13:15:08Z | 2016-12-06T13:15:08Z |
BUG: This should be a 64-bit int, not an 8-bit int | diff --git a/pandas/src/hash.pyx b/pandas/src/hash.pyx
index a393e0df96954..06ed947808e39 100644
--- a/pandas/src/hash.pyx
+++ b/pandas/src/hash.pyx
@@ -40,7 +40,8 @@ def hash_object_array(ndarray[object] arr, object key, object encoding='utf8'):
Py_ssize_t i, l, n
ndarray[uint64_t] result
by... | See #14711 | https://api.github.com/repos/pandas-dev/pandas/pulls/14804 | 2016-12-06T00:02:47Z | 2016-12-06T13:15:08Z | null | 2016-12-06T13:15:08Z |
DOC: Fix grammar and formatting typos | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 0053135e1fd85..0d4bcd781cf74 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2483,7 +2483,7 @@ def assign(self, **kwargs):
Notes
-----
Since ``kwargs`` is a dictionary, the order of your
- arguments may not... | One grammatical typo, and the rest address small formatting typos when rendering online. | https://api.github.com/repos/pandas-dev/pandas/pulls/14803 | 2016-12-05T07:00:13Z | 2016-12-08T16:41:52Z | 2016-12-08T16:41:52Z | 2016-12-21T04:15:21Z |
DOC: minor format fix | diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst
index 3e84d15caf50b..a9d0ab5476b66 100644
--- a/doc/source/cookbook.rst
+++ b/doc/source/cookbook.rst
@@ -107,10 +107,8 @@ Splitting
df = pd.DataFrame(
{'AAA' : [4,5,6,7], 'BBB' : [10,20,30,40],'CCC' : [100,50,-30,-50]}); df
- dflow = df[df... | in the original version.
dflow is not displayed.
see: http://pandas.pydata.org/pandas-docs/stable/cookbook.html#splitting
| https://api.github.com/repos/pandas-dev/pandas/pulls/14802 | 2016-12-05T04:28:29Z | 2016-12-05T08:57:01Z | 2016-12-05T08:57:01Z | 2016-12-05T08:57:14Z |
DOC: add section on groupby().rolling/expanding/resample | diff --git a/doc/source/computation.rst b/doc/source/computation.rst
index 1414d2dd3c8dc..d727424750be5 100644
--- a/doc/source/computation.rst
+++ b/doc/source/computation.rst
@@ -214,6 +214,11 @@ computing common *window* or *rolling* statistics. Among these are count, sum,
mean, median, correlation, variance, covar... | - [x] closes #14759
This is my first PR here. Not sure about the missing entries in API reference. Need some guidance on that. The same doubt about the best place to put the xref in computation.rst and timeseries.rst
Thanks.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14801 | 2016-12-05T02:52:52Z | 2016-12-10T11:12:01Z | 2016-12-10T11:12:01Z | 2016-12-10T11:21:49Z |
ENH: add timedelta as valid type for interpolate with method='time' | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index d89103309e990..f534c67273560 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -59,6 +59,7 @@ Other enhancements
- ``Series`` provides a ``to_excel`` method to output Excel files (:issue:`8825`)
- ... | - [x] closes #6424
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14799 | 2016-12-05T00:24:22Z | 2016-12-10T11:19:49Z | 2016-12-10T11:19:49Z | 2016-12-10T11:20:03Z |
allowing datetime and timedelta datatype in pd cut bins | diff --git a/pandas/tools/tests/test_tile.py b/pandas/tools/tests/test_tile.py
index 33d2a01b1256e..c9a96d80f35ba 100644
--- a/pandas/tools/tests/test_tile.py
+++ b/pandas/tools/tests/test_tile.py
@@ -12,7 +12,7 @@
from pandas.core.algorithms import quantile
from pandas.tools.tile import cut, qcut
import pandas.tool... | xref #14714, follow-on to #14737 | https://api.github.com/repos/pandas-dev/pandas/pulls/14798 | 2016-12-04T22:52:49Z | 2016-12-22T11:37:01Z | null | 2016-12-22T11:37:03Z |
BUG: multi-index HDFStore data_columns=True | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index cafbdb731f494..130653441fc0d 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -58,7 +58,7 @@ Bug Fixes
-
+- Bug ``HDFStore`` writing a ``MultiIndex`` when using ``data_columns=True`` (:issue:`... | - [x] closes #14435
- [ ] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14791 | 2016-12-03T14:31:51Z | 2016-12-04T17:22:51Z | null | 2016-12-04T17:22:52Z |
Small typos | diff --git a/pandas/tseries/offsets.py b/pandas/tseries/offsets.py
index efcde100d1ce7..abb7018b2e25b 100644
--- a/pandas/tseries/offsets.py
+++ b/pandas/tseries/offsets.py
@@ -155,14 +155,14 @@ class DateOffset(object):
DateOffsets can be created to move dates forward a given number of
valid dates. For exam... | https://api.github.com/repos/pandas-dev/pandas/pulls/14789 | 2016-12-02T19:18:56Z | 2016-12-02T22:27:27Z | 2016-12-02T22:27:27Z | 2016-12-02T22:27:35Z | |
DOC: warning section on memory overflow when joining/merging dataframes on index with duplicate keys | diff --git a/doc/source/merging.rst b/doc/source/merging.rst
index c6541a26c72b4..f95987afd4c77 100644
--- a/doc/source/merging.rst
+++ b/doc/source/merging.rst
@@ -692,6 +692,29 @@ either the left or right tables, the values in the joined table will be
p.plot([left, right], result,
labels=['left', 'righ... | - [ ] closes #14736
| https://api.github.com/repos/pandas-dev/pandas/pulls/14788 | 2016-12-02T09:41:58Z | 2016-12-11T20:26:35Z | 2016-12-11T20:26:35Z | 2016-12-11T20:26:55Z |
Fix typo at pandas/core/generic.py | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 27ca817c19a63..7868969f477b0 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1095,7 +1095,7 @@ def to_hdf(self, path_or_buf, key, **kwargs):
----------
path_or_buf : the path (string) or HDFStore object
ke... | `indentifier` -> `identifier`
| https://api.github.com/repos/pandas-dev/pandas/pulls/14787 | 2016-12-02T04:11:03Z | 2016-12-02T12:51:50Z | 2016-12-02T12:51:50Z | 2016-12-15T09:37:59Z |
API: add dtype param to read_excel | diff --git a/doc/source/io.rst b/doc/source/io.rst
index f524d37d0de60..f22374553e9c3 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2538,6 +2538,20 @@ missing data to recover integer dtype:
cfun = lambda x: int(x) if x else -1
read_excel('path_to_file.xls', 'Sheet1', converters={'MyInts': cfun})
... | - [x] closes #8212
- [ ] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14786 | 2016-12-02T02:02:22Z | 2016-12-03T12:37:32Z | 2016-12-03T12:37:32Z | 2016-12-03T12:37:32Z |
Fix a simple typo | diff --git a/pandas/core/ops.py b/pandas/core/ops.py
index 7cff1104c50be..96b447cda4bc4 100644
--- a/pandas/core/ops.py
+++ b/pandas/core/ops.py
@@ -421,7 +421,7 @@ def _validate(self, lvalues, rvalues, name):
# if tz's must be equal (same or None)
if getattr(lvalues, 'tz', None) != getattr(... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
Insignificant PR, it's just fixing a single typo on an exception. | https://api.github.com/repos/pandas-dev/pandas/pulls/14785 | 2016-12-02T01:21:12Z | 2016-12-02T12:52:55Z | 2016-12-02T12:52:55Z | 2016-12-15T09:38:06Z |
ENH: merge_asof() has type specializations and can take multiple 'by' parameters (#13936) | diff --git a/asv_bench/benchmarks/join_merge.py b/asv_bench/benchmarks/join_merge.py
index 9eefe80c8e5e4..d9c631fa92efd 100644
--- a/asv_bench/benchmarks/join_merge.py
+++ b/asv_bench/benchmarks/join_merge.py
@@ -302,12 +302,19 @@ def setup(self):
self.df1 = self.df1.sort_values('time')
self.df2 = sel... | - [x] closes #13936
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry | https://api.github.com/repos/pandas-dev/pandas/pulls/14783 | 2016-12-01T19:18:27Z | 2016-12-16T23:10:34Z | null | 2016-12-17T17:32:48Z |
ENH: Pandas Series provide to_excel method | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 638abd5421862..929664840f583 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -692,6 +692,7 @@ Serialization / IO / Conversion
Series.to_pickle
Series.to_csv
Series.to_dict
+ Series.to_excel
Series.to_frame
Series.to_xarray
... | - [x] closes #8825
- [x] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14780 | 2016-12-01T07:51:08Z | 2016-12-05T14:39:14Z | 2016-12-05T14:39:14Z | 2016-12-05T14:39:26Z |
ENH/DOC: wide_to_long performance and docstring clarification | diff --git a/asv_bench/benchmarks/reshape.py b/asv_bench/benchmarks/reshape.py
index ab235e085986c..a3ecfff52c794 100644
--- a/asv_bench/benchmarks/reshape.py
+++ b/asv_bench/benchmarks/reshape.py
@@ -1,5 +1,5 @@
from .pandas_vb_common import *
-from pandas.core.reshape import melt
+from pandas.core.reshape import mel... | - [x] closes #14778
- [x] tests passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
Please see #14778 for details.
I make `wide_to_long` a bit faster (avoid slow regex search on long columns by first converting to Categorical, avoid melting all dataframes with all the id... | https://api.github.com/repos/pandas-dev/pandas/pulls/14779 | 2016-12-01T00:43:09Z | 2016-12-13T23:30:36Z | null | 2016-12-13T23:32:07Z |
BUG: Bug in a groupby of a non-lexsorted MultiIndex | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index cafbdb731f494..acc01b275c97f 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -36,7 +36,7 @@ Bug Fixes
- Bug in ``pd.read_csv`` for the Python engine in which an unhelpful error message was being r... | closes #14776 | https://api.github.com/repos/pandas-dev/pandas/pulls/14777 | 2016-11-30T22:37:38Z | 2016-12-04T17:34:59Z | null | 2016-12-04T17:34:59Z |
API: Return sparse objects always for cumsum | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index f534c67273560..556a22ddf46ad 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -70,6 +70,7 @@ Backwards incompatible API changes
- ``CParserError`` has been renamed to ``ParserError`` in ``pd.re... | Always return `SparseArray` and `SparseSeries` for `SparseArray.cumsum()` and `SparseSeries.cumsum()` respectively, regardless of `fill_value`.
Close #12855. | https://api.github.com/repos/pandas-dev/pandas/pulls/14771 | 2016-11-30T10:47:11Z | 2016-12-15T11:28:26Z | null | 2016-12-15T16:06:42Z |
BUG: Error upon Series.Groupby.nunique with empty Series (#12553) | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index cafbdb731f494..f6e75a148447e 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -57,7 +57,7 @@ Bug Fixes
- Bug in resampling a ``DatetimeIndex`` in local TZ, covering a DST change, which would raise ... | - [x] closes #12553
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
Similar to #12560, but it has appeared to stall. Wanted to push it along. | https://api.github.com/repos/pandas-dev/pandas/pulls/14770 | 2016-11-30T06:45:08Z | 2016-12-04T17:42:07Z | null | 2017-12-20T01:58:14Z |
DOC: Remove SparseSeries from SparseArray doc | diff --git a/pandas/sparse/array.py b/pandas/sparse/array.py
index a15def65cad7e..4bb36446c9ff7 100644
--- a/pandas/sparse/array.py
+++ b/pandas/sparse/array.py
@@ -547,8 +547,8 @@ def astype(self, dtype=None, copy=True):
def copy(self, deep=True):
"""
- Make a copy of the SparseSeries. Only the ... | Title is self-explanatory. Looks like a failed copy-paste.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14769 | 2016-11-30T06:43:32Z | 2016-11-30T11:03:10Z | 2016-11-30T11:03:10Z | 2016-11-30T16:52:51Z |
DOC/TST: dtype param in read_fwf | diff --git a/doc/source/io.rst b/doc/source/io.rst
index b1c151def26af..f524d37d0de60 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1268,11 +1268,22 @@ is whitespace).
df = pd.read_fwf('bar.csv', header=None, index_col=0)
df
+.. versionadded:: 0.20.0
+
+``read_fwf`` supports the ``dtype`` paramet... | - [x] closes #7141
- [ ] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
#14295 actually implemented the behavior, this is just adding docs and tests. | https://api.github.com/repos/pandas-dev/pandas/pulls/14768 | 2016-11-30T01:29:13Z | 2016-11-30T15:11:05Z | 2016-11-30T15:11:05Z | 2016-11-30T15:11:14Z |
ERR: raise on python in object hashing, only supporting strings, nulls | diff --git a/pandas/src/hash.pyx b/pandas/src/hash.pyx
index b8c309f1f7a13..6c0c7804edd05 100644
--- a/pandas/src/hash.pyx
+++ b/pandas/src/hash.pyx
@@ -7,6 +7,7 @@ cimport numpy as cnp
import numpy as np
from numpy cimport ndarray, uint8_t, uint32_t, uint64_t
+from util cimport _checknull
from cpython cimport (Py... | xref #14729 | https://api.github.com/repos/pandas-dev/pandas/pulls/14767 | 2016-11-29T23:53:45Z | 2016-11-30T11:02:04Z | null | 2016-11-30T11:02:04Z |
BLD: clean .pxi when cleaning | diff --git a/setup.py b/setup.py
index 8d2e2669852ea..2bef65c9719dc 100755
--- a/setup.py
+++ b/setup.py
@@ -293,6 +293,11 @@ def initialize_options(self):
if d == '__pycache__':
self._clean_trees.append(pjoin(root, d))
+ # clean the generated pxi files
+ for pxifil... | https://api.github.com/repos/pandas-dev/pandas/pulls/14766 | 2016-11-29T23:37:09Z | 2016-11-29T23:37:29Z | 2016-11-29T23:37:29Z | 2016-11-29T23:37:29Z | |
added read_msgpack() to index | diff --git a/doc/source/api.rst b/doc/source/api.rst
index a510f663d19ee..638abd5421862 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -27,6 +27,7 @@ Flat File
read_table
read_csv
read_fwf
+ read_msgpack
Clipboard
~~~~~~~~~
| - [x] closes #14702
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
First time contributing to pandas, let me know if there's something I should do differently. | https://api.github.com/repos/pandas-dev/pandas/pulls/14765 | 2016-11-29T21:50:28Z | 2016-11-29T23:33:47Z | 2016-11-29T23:33:47Z | 2016-12-05T19:11:39Z |
ENH: Introduce UnsortedIndexError GH11897 | diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst
index 0c843dd39b56f..7b6b2a09f6037 100644
--- a/doc/source/advanced.rst
+++ b/doc/source/advanced.rst
@@ -528,12 +528,14 @@ return a copy of the data rather than a view:
jim joe
1 z 0.64094
+.. _advanced.unsorted:
+
Furthermore if you try to... | closes #11897
closes #14491
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14762 | 2016-11-29T15:18:34Z | 2016-12-09T16:36:30Z | 2016-12-09T16:36:29Z | 2016-12-09T16:40:25Z |
ENH: Added more options for formats.style.bar | diff --git a/doc/source/style.ipynb b/doc/source/style.ipynb
index 2cacbb19d81bb..427b18b988aef 100644
--- a/doc/source/style.ipynb
+++ b/doc/source/style.ipynb
@@ -2,7 +2,9 @@
"cells": [
{
"cell_type": "markdown",
- "metadata": {},
+ "metadata": {
+ "collapsed": true
+ },
"source": [
"# Styl... | - [x] 4 tests added and passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] Update documentation
You can now have the df.style.bar be centered on zero or midpoint value (in
addition to the already existing way of having the min value at the left side of the cell)
----
## Documentatio... | https://api.github.com/repos/pandas-dev/pandas/pulls/14757 | 2016-11-28T16:02:35Z | 2017-05-02T01:46:44Z | 2017-05-02T01:46:44Z | 2017-07-04T10:20:42Z |
BF: (re)raise the exception always unless returning | diff --git a/pandas/io/tests/json/test_pandas.py b/pandas/io/tests/json/test_pandas.py
index ba02e9186f1df..e6e6f33669e17 100644
--- a/pandas/io/tests/json/test_pandas.py
+++ b/pandas/io/tests/json/test_pandas.py
@@ -167,7 +167,7 @@ def _check_orient(df, orient, dtype=None, numpy=False,
if raise_ok is ... | coding logic flaw is obvious (leaves unser used later undefined), so no dedicated test was found
otherwise leads atm to masking of this error while testing on i386 and then failling with
UnboundLocalError: local variable unser referenced before assignment
More detail: https://buildd.debian.org/status/fetch.php... | https://api.github.com/repos/pandas-dev/pandas/pulls/14756 | 2016-11-28T02:48:34Z | 2016-11-28T17:30:16Z | 2016-11-28T17:30:16Z | 2016-11-28T17:30:19Z |
TST: Correct results with np.size and crosstab (#4003) | diff --git a/pandas/tools/tests/test_pivot.py b/pandas/tools/tests/test_pivot.py
index 26f80f463d609..5e800c02c9509 100644
--- a/pandas/tools/tests/test_pivot.py
+++ b/pandas/tools/tests/test_pivot.py
@@ -1281,6 +1281,41 @@ def test_crosstab_with_categorial_columns(self):
columns=expect... | - [x] closes #4003
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
| https://api.github.com/repos/pandas-dev/pandas/pulls/14755 | 2016-11-27T01:45:54Z | 2016-12-10T21:35:41Z | 2016-12-10T21:35:41Z | 2016-12-21T04:13:37Z |
TST: Same return values in drop_duplicates for Series and DataFrames(#… | diff --git a/pandas/tests/test_base.py b/pandas/tests/test_base.py
index da8cf120b8ed4..a5cd0bbc28369 100644
--- a/pandas/tests/test_base.py
+++ b/pandas/tests/test_base.py
@@ -949,6 +949,21 @@ def test_duplicated_drop_duplicates_index(self):
s.drop_duplicates(inplace=True)
tm.assert_s... | - [x] closes #14192
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
…14192) | https://api.github.com/repos/pandas-dev/pandas/pulls/14754 | 2016-11-27T00:49:49Z | 2016-12-15T09:02:51Z | 2016-12-15T09:02:51Z | 2016-12-21T04:12:19Z |
ENH: Add the ability to have a separate title for each subplot when plotting | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 0bfd755aae40c..aeafc76876bbd 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -53,6 +53,7 @@ Other enhancements
- ``pd.cut`` and ``pd.qcut`` now support datetime64 and timedelta64 dtypes (issue:`14... | - [] tests added / passed
- [] passes ``git diff upstream/master | flake8 --diff``
- [] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14753 | 2016-11-26T20:18:16Z | 2016-12-09T08:32:33Z | 2016-12-09T08:32:33Z | 2016-12-09T08:32:47Z |
TST: add test to confirm GH14606 (specify category dtype for empty) | diff --git a/pandas/io/tests/parser/dtypes.py b/pandas/io/tests/parser/dtypes.py
index 18c37b31f6480..b9ab79c3b9d54 100644
--- a/pandas/io/tests/parser/dtypes.py
+++ b/pandas/io/tests/parser/dtypes.py
@@ -241,6 +241,9 @@ def test_empty_dtype(self):
result = self.read_csv(StringIO(data), header=0,
... | Closes #14606
Issue #14606 was fixed by PR #14717, adding one more specific test to confirm this | https://api.github.com/repos/pandas-dev/pandas/pulls/14752 | 2016-11-26T11:41:54Z | 2016-12-10T11:02:54Z | 2016-12-10T11:02:54Z | 2016-12-10T11:02:54Z |
BUG: Patch read_csv NA values behaviour | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index 82d43db667550..a41be65cc3b79 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -39,6 +39,8 @@ Bug Fixes
- Compat with ``dateutil==2.6.0``; segfault reported in the testing suite (:issue:`14621`)
... | Patches the following behaviour when `na_values` is passed in as a dictionary:
1. Prevent aliasing in case `na_values` was defined in a broader scope.
2. Respect column indices as keys when doing NA conversions.
Closes #14203. | https://api.github.com/repos/pandas-dev/pandas/pulls/14751 | 2016-11-26T06:03:07Z | 2016-12-16T23:32:49Z | null | 2016-12-17T01:08:24Z |
BUG: Improve error message for skipfooter malformed rows in Python engine | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index d2394ff25ddd4..6ee6271929008 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`` where reading files fails, if the number of headers is equal to the n... | Python's native CSV library does not respect the `skipfooter` parameter, so if one of those skipped
rows is malformed, it will still raise an error. Append some useful information to the error message regarding that if that situation is potentially applicable.
Closes #13879. | https://api.github.com/repos/pandas-dev/pandas/pulls/14749 | 2016-11-26T00:53:25Z | 2016-11-29T21:18:28Z | 2016-11-29T21:18:28Z | 2016-11-29T21:24:00Z |
BUG: Corrects stopping logic when nrows argument is supplied (#7626) | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index cafbdb731f494..d061f10eacc60 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -67,6 +67,7 @@ Bug Fixes
- Bug in ``pd.read_csv()`` in which the ``dtype`` parameter was not being respected for em... | - closes #7626 - Subsets of tabular files with different "shapes" will now load when a valid skiprows/nrows is given as an argument
- [x] tests added / passed - Test case added to io/tests/parser/common.py. nosetests suite passed successfully.
- [x] passes ``git diff upstream/master | flake8 --diff``
Conditions... | https://api.github.com/repos/pandas-dev/pandas/pulls/14747 | 2016-11-25T19:44:27Z | 2016-12-06T01:48:05Z | null | 2016-12-08T02:14:33Z |
DOC: missing ref in timeseries.rst | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 4132d25e9be48..854de443ac5ee 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -1286,12 +1286,11 @@ secondly data into 5-minutely data). This is extremely common in, but not
limited to, financial applications.
``.resamp... | https://api.github.com/repos/pandas-dev/pandas/pulls/14745 | 2016-11-25T17:00:46Z | 2016-11-25T17:00:50Z | 2016-11-25T17:00:50Z | 2016-11-25T20:39:47Z | |
Revert "TST/TEMP: fix pyqt to 4.x for plotting tests" | diff --git a/ci/requirements-2.7-64.run b/ci/requirements-2.7-64.run
index ce085a6ebf91c..42b5a789ae31a 100644
--- a/ci/requirements-2.7-64.run
+++ b/ci/requirements-2.7-64.run
@@ -16,4 +16,3 @@ bottleneck
html5lib
beautiful-soup
jinja2=2.8
-pyqt=4.11.4
diff --git a/ci/requirements-2.7.run b/ci/requirements-2.7.run
... | Reverts pydata/pandas#14240
For when https://github.com/ContinuumIO/anaconda-issues/issues/1068 is solved
| https://api.github.com/repos/pandas-dev/pandas/pulls/14744 | 2016-11-25T16:20:12Z | 2016-11-26T17:18:54Z | 2016-11-26T17:18:54Z | 2022-06-08T17:03:42Z |
SAS chunksize / iteration issues | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index d9aa92270669d..a5fca8f268d9c 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -31,6 +31,7 @@ Bug Fixes
- Allow ``nanoseconds`` in ``Timestamp.replace`` as a kwarg (:issue:`14621`)
- Bug in ``pd.re... | closes #14734
closes #13654
- [X] tests added / passed
- [X] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14743 | 2016-11-25T15:10:12Z | 2016-11-28T09:48:59Z | 2016-11-28T09:48:59Z | 2016-11-28T09:49:08Z |
Added query_config parameter to read_gbq | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 9dfe241062952..fad20e0a18659 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -4649,6 +4649,22 @@ destination DataFrame as well as a preferred column order as follows:
index_col='index_column_name',
... | Now more complicated queries could be processed. | https://api.github.com/repos/pandas-dev/pandas/pulls/14742 | 2016-11-25T13:05:31Z | 2017-01-03T11:20:54Z | null | 2017-01-03T11:28:59Z |
MAINT: Cleanup pandas/src/parser | diff --git a/ci/lint.sh b/ci/lint.sh
index d6390a16b763e..7ab97bfc6d328 100755
--- a/ci/lint.sh
+++ b/ci/lint.sh
@@ -35,6 +35,18 @@ if [ "$LINT" ]; then
done
echo "Linting *.pxi.in DONE"
+ # readability/casting: Warnings about C casting instead of C++ casting
+ # runtime/int: Warnings about using C nu... | Remove dead code and reformat for style using Google's C++ style guide (found <a href="https://google.github.io/styleguide/cppguide.html">here</a>).
Also adds line of code to install fork of Google's C++ style checker (source code <a href="https://github.com/cpplint/cpplint">here</a>) when doing style checks in Trav... | https://api.github.com/repos/pandas-dev/pandas/pulls/14740 | 2016-11-25T10:02:26Z | 2016-12-06T18:43:13Z | 2016-12-06T18:43:13Z | 2016-12-06T22:31:59Z |
DOC: Update outdated caveats for Anaconda and HTML parsing (#9032) | diff --git a/doc/source/gotchas.rst b/doc/source/gotchas.rst
index cfac5c257184d..8a1e06fa6d86c 100644
--- a/doc/source/gotchas.rst
+++ b/doc/source/gotchas.rst
@@ -514,40 +514,6 @@ parse HTML tables in the top-level pandas io function ``read_html``.
text from the URL over the web, i.e., IO (input-output). For ... | - [x] closes #9032
| https://api.github.com/repos/pandas-dev/pandas/pulls/14739 | 2016-11-25T07:59:20Z | 2016-11-25T22:47:50Z | 2016-11-25T22:47:50Z | 2016-12-21T04:11:35Z |
DOC: Correct uniqueness of index for Series (#7808) | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 105e39562f561..deab1d2b9c851 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -118,11 +118,11 @@ class Series(base.IndexOpsMixin, strings.StringAccessorMixin,
data : array-like, dict, or scalar value
Contains data stored in ... | - [X] closes #7808
| https://api.github.com/repos/pandas-dev/pandas/pulls/14738 | 2016-11-25T07:31:56Z | 2016-11-25T10:07:26Z | null | 2023-05-11T01:14:42Z |
ENH: support cut/qcut for datetime/timedelta (GH14714) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 6fe0ad8092a03..5e94a95e38cbb 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -50,6 +50,7 @@ Other enhancements
- ``pd.read_excel`` now preserves sheet order when using ``sheetname=None`` (:issue... | - [x] closes #14714
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14737 | 2016-11-25T06:43:10Z | 2016-12-03T10:11:59Z | 2016-12-03T10:11:59Z | 2016-12-04T22:35:52Z |
Cut enhance for issue #14714 | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index 49c8330490ed1..b6662952171cc 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -66,3 +66,7 @@ Bug Fixes
- Explicit check in ``to_stata`` and ``StataWriter`` for out-of-range values when writing ... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
Initial iteration, primarily for code review | https://api.github.com/repos/pandas-dev/pandas/pulls/14735 | 2016-11-25T05:30:07Z | 2016-11-25T05:37:18Z | null | 2023-05-11T01:14:41Z |
CLN: move assignment from header into cython | diff --git a/pandas/src/datetime.pxd b/pandas/src/datetime.pxd
index 5f7de8244d17e..3f0e6a563d66b 100644
--- a/pandas/src/datetime.pxd
+++ b/pandas/src/datetime.pxd
@@ -42,9 +42,6 @@ cdef extern from "datetime.h":
object PyDateTime_FromDateAndTime(int year, int month, int day, int hour,
... | an insignificant refactoring that allows PyPy2.7 to build and import Pandas. The original code uses functions that are macros in CPython but actual c-functions in PyPy and one cannot assign to a function result
Note that while PyPy imports Pandas, it very quickly segfaults, Apparently PyPy does not yet play well wi... | https://api.github.com/repos/pandas-dev/pandas/pulls/14731 | 2016-11-24T18:18:28Z | 2016-11-25T12:52:11Z | 2016-11-25T12:52:11Z | 2016-11-25T12:52:16Z |
ENH: add data hashing routines | diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py
index 9807639143ddb..53b7d55368f6a 100644
--- a/asv_bench/benchmarks/algorithms.py
+++ b/asv_bench/benchmarks/algorithms.py
@@ -1,5 +1,6 @@
import numpy as np
import pandas as pd
+from pandas.util import testing as tm
class algo... | xref https://github.com/dask/dask/pull/1807 | https://api.github.com/repos/pandas-dev/pandas/pulls/14729 | 2016-11-24T15:21:19Z | 2016-11-28T16:19:06Z | 2016-11-28T16:19:06Z | 2016-11-28T16:31:04Z |
BUG: Ensure min_itemsize is always a list (#11412) | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index fe900d0480d01..9f0034bb0497f 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -59,6 +59,7 @@ Bug Fixes
- Bug ``HDFStore`` writing a ``MultiIndex`` when using ``data_columns=True`` (:issue:`1443... | - [x] closes #11412
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] tests added / passed
- [x] whatsnew entry
(I plan to fix #10381 and #12154 next, but first we need coherence on ``type(data_columns)`` - and ``Index`` seems to me the best option.) | https://api.github.com/repos/pandas-dev/pandas/pulls/14728 | 2016-11-24T11:39:41Z | 2016-12-05T23:44:36Z | null | 2016-12-06T07:14:05Z |
Minor typo in frame.py | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index f704a61042b4f..bf1ff28cd63b1 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -3233,7 +3233,7 @@ def trans(v):
# try to be helpful
if isinstance(self.columns, MultiIndex):
raise ValueErro... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
typo "explicitly" | https://api.github.com/repos/pandas-dev/pandas/pulls/14724 | 2016-11-23T21:15:38Z | 2016-11-23T21:23:32Z | 2016-11-23T21:23:32Z | 2016-11-24T09:22:27Z |
MAINT: Ignore .pxi files | diff --git a/.gitignore b/.gitignore
index 19f1cc804dca0..a77e780f3332d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,6 +27,7 @@
*.class
*.dll
*.exe
+*.pxi
*.o
*.py[ocd]
*.so
diff --git a/pandas/src/algos_common_helper.pxi b/pandas/src/algos_common_helper.pxi
deleted file mode 100644
index 9dede87e0c15b..000000... | All `.pxi` files have the warning to not edit directly, so why not have Git ignore any changes made there?
In addition, this PR deletes all of the `.pxi` files from the codebase because they are automatically generated by the `.pxi.in` files
| https://api.github.com/repos/pandas-dev/pandas/pulls/14723 | 2016-11-23T19:44:39Z | 2016-11-25T13:19:12Z | null | 2016-12-15T09:15:05Z |
doc: comverted --> converted | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 05148c1f7e80a..f704a61042b4f 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1346,7 +1346,7 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None,
file
quoting : optional constant from csv module
... | Just fixing a spelling error =)
| https://api.github.com/repos/pandas-dev/pandas/pulls/14722 | 2016-11-23T18:49:28Z | 2016-11-23T20:35:31Z | 2016-11-23T20:35:31Z | 2016-11-24T09:22:31Z |
DOC: fix typo in merge_asof docstring examples | diff --git a/pandas/tools/merge.py b/pandas/tools/merge.py
index d2060185c3246..8d2f92ad58a88 100644
--- a/pandas/tools/merge.py
+++ b/pandas/tools/merge.py
@@ -371,7 +371,7 @@ def merge_asof(left, right, on=None,
By default we are taking the asof of the quotes
- >>> pd.asof_merge(trades, quotes,
+ >>> p... | Just a trivial fix to docs - incorrect function name in doctests.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14718 | 2016-11-23T00:20:44Z | 2016-11-23T08:35:09Z | 2016-11-23T08:35:09Z | 2016-11-23T08:35:09Z |
BUG: Respect the dtype parameter for empty CSV | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index 5a255d1e62043..49c8330490ed1 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -61,6 +61,7 @@ Bug Fixes
- Bug in ``.to_clipboard()`` and Excel compat (:issue:`12529`)
+- Bug in ``pd.read_csv()``... | Title is self-explanatory. Closes #14712.
Should be merged in before #14295 because the bug could also exist for the Python parser. | https://api.github.com/repos/pandas-dev/pandas/pulls/14717 | 2016-11-22T21:01:49Z | 2016-11-24T21:18:20Z | 2016-11-24T21:18:20Z | 2016-11-24T21:21:43Z |
Fix num_days in PandasAutoDateLocator | diff --git a/pandas/tseries/converter.py b/pandas/tseries/converter.py
index 8f8519a498a31..ca208d1adc963 100644
--- a/pandas/tseries/converter.py
+++ b/pandas/tseries/converter.py
@@ -261,7 +261,7 @@ def get_locator(self, dmin, dmax):
'Pick the best locator based on a distance.'
delta = relativedelta... | Prior to this commit, one year is worth 12 days, not 12 * 31 days. | https://api.github.com/repos/pandas-dev/pandas/pulls/14716 | 2016-11-22T19:52:37Z | 2017-03-21T08:52:38Z | 2017-03-21T08:52:38Z | 2017-03-21T08:53:14Z |
DOC: update FAQ to note pandas-qt only works for python 2.x | diff --git a/doc/source/faq.rst b/doc/source/faq.rst
index d23e0ca59254d..3828ee1f9d091 100644
--- a/doc/source/faq.rst
+++ b/doc/source/faq.rst
@@ -111,5 +111,4 @@ Visualizing Data in Qt applications
-----------------------------------
There is no support for such visualization in pandas. However, the external
-pa... | - [ ] closes #14703
Here is the the pull request for the issue I raised [here](https://github.com/pandas-dev/pandas/issues/14703). | https://api.github.com/repos/pandas-dev/pandas/pulls/14713 | 2016-11-22T16:34:29Z | 2016-11-22T16:39:16Z | 2016-11-22T16:39:15Z | 2016-11-22T16:44:06Z |
DOC: Disambiguate 'where' in boolean indexing-10min.rst (#12661) | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 54bcd76855f32..0612e86134cf2 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -282,7 +282,7 @@ Using a single column's values to select data.
df[df.A > 0]
-A ``where`` operation for getting.
+Selecting values from a DataFrame where a ... | - [x] closes #12661
Per @jorisvandenbossche comment in this thread (https://github.com/pandas-dev/pandas/pull/12671), remove code markdown from 'where' to not confuse the example with the `where()` method.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14708 | 2016-11-22T05:53:32Z | 2016-11-23T08:31:50Z | 2016-11-23T08:31:49Z | 2016-12-21T03:55:39Z |
BUG: _nsorted incorrect with duplicated values in index (#13412) | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index a21dee2e612d2..df73a474b2683 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -1012,3 +1012,14 @@ def setup(self):
def time_frame_quantile_axis1(self):
self.d... | - [X] closes #13412
- [X] tests added / passed
- [X] passes ``git diff upstream/master | flake8 --diff``
- [X] whatsnew entry
`DataFrame.nlargest` and `DataFrame.nsmallest` does not behave correctly when there's duplicate values in the index.
Any feedback is appreciated! | https://api.github.com/repos/pandas-dev/pandas/pulls/14707 | 2016-11-22T04:26:16Z | 2016-12-06T11:35:03Z | null | 2017-12-20T01:57:28Z |
CLN: remove bare excepts | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index ecbd6e9b3b288..ae6ded165761b 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -64,3 +64,4 @@ Bug Fixes
- Explicit check in ``to_stata`` and ``StataWriter`` for out-of-range values when writing ... | - [x] closes #14554
- [ ] tests added / passed: updated test_indexing.py
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
Errors in indexing no longer forced into KeyError | https://api.github.com/repos/pandas-dev/pandas/pulls/14700 | 2016-11-20T13:50:40Z | 2016-12-19T11:49:11Z | null | 2016-12-19T11:49:11Z |
[WIP]API: CategoricalType for specifying categoricals | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index 090998570a358..572c2b1dcd8fd 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -96,12 +96,14 @@ By passing a :class:`pandas.Categorical` object to a `Series` or assigning it to
df["B"] = raw_cat
df
-You can ... | closes #14676
This adds a new top-level class `pd.CategoricalType` for representing the *type* information on a `Categorical`, *without the values*. Users can pass this anywhere they would previously pass `'category'` if they need to specify non-default values for `categories` or `ordered` (you can still use `'cate... | https://api.github.com/repos/pandas-dev/pandas/pulls/14698 | 2016-11-20T02:47:15Z | 2016-11-22T14:10:04Z | null | 2016-11-22T14:10:04Z |
BUG: Categorical.searchsorted(): use provided categorical order | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index ea59f3fbf493a..6fe1d5b8fc8af 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -96,3 +96,5 @@ Bug Fixes
- Bug in ``.plot(kind='kde')`` which did not drop missing values to generate the KDE Plot, ins... | - [x] closes #14522
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
Previously, it used lexical order instead of the provided categorical
order.
Tests updated accordingly.
Closes https://github.com/pandas-dev/pandas/issues/14522
Documentation... | https://api.github.com/repos/pandas-dev/pandas/pulls/14697 | 2016-11-20T00:47:52Z | 2016-12-30T21:43:21Z | null | 2017-01-03T17:18:11Z |
Fix segfault on trying to free an invalid pointer in tokenizer.c | diff --git a/pandas/parser.pyx b/pandas/parser.pyx
index 9fb99637731be..99d2fb4de7b5a 100644
--- a/pandas/parser.pyx
+++ b/pandas/parser.pyx
@@ -184,6 +184,7 @@ cdef extern from "parser/tokenizer.h":
# error handling
char *warn_msg
+ int error;
char *error_msg
int skip_em... | This fixes a segmentation fault on an out of memory error in `tokenizer.c` (encountered when loading large JSON files).
The gist of the error is that we're trying to `free()` a pointer that points to a read-only area of memory holding the error message string literal, as illustrated by the example below:
```c
#i... | https://api.github.com/repos/pandas-dev/pandas/pulls/14696 | 2016-11-19T05:47:34Z | 2017-02-16T17:54:53Z | null | 2017-07-20T23:14:13Z |
BUG: Fix move_into_mutable_buffer for python 3.6. | diff --git a/pandas/tests/test_util.py b/pandas/tests/test_util.py
index ee33e24c7f6c4..cb12048676d26 100644
--- a/pandas/tests/test_util.py
+++ b/pandas/tests/test_util.py
@@ -5,7 +5,7 @@
import sys
import unittest
from uuid import uuid4
-from pandas.util._move import move_into_mutable_buffer, BadMove
+from pandas.... | In python 3.6, the CALL_FUNCTION handling was updated. One change is
that when calling a C function from a python function python now counts
the reference owned by the argument tuple. This means that move was
always seeing objects with two references instead of the expected
one.
Python 3.6 also removed a copy in... | https://api.github.com/repos/pandas-dev/pandas/pulls/14695 | 2016-11-19T02:00:45Z | 2016-11-22T11:13:59Z | null | 2016-11-22T11:13:59Z |
ENH: Allow updating GBQ table schemas | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index ecbd6e9b3b288..14acf78484c51 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -64,3 +64,6 @@ Bug Fixes
- Explicit check in ``to_stata`` and ``StataWriter`` for out-of-range values when writing ... | - [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14694 | 2016-11-19T00:09:09Z | 2017-03-14T13:49:34Z | null | 2017-03-14T13:49:34Z |
BUG: Fix for json lines issue with backslashed quotes | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index ecbd6e9b3b288..257cfd41f88dc 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -59,7 +59,7 @@ Bug Fixes
- Bug in clipboard functions on Windows 10 and python 3 (:issue:`14362`, :issue:`12807`)
- Bu... | - [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
This is an additional fix to:
https://github.com/pandas-dev/pandas/pull/14429
https://github.com/pandas-dev/pandas/pull/14391 | https://api.github.com/repos/pandas-dev/pandas/pulls/14693 | 2016-11-19T00:08:29Z | 2016-11-21T16:56:27Z | null | 2016-11-22T11:43:16Z |
COMPAT: pickle compat for Timestamp in py3.6 | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index 499a7e734f616..8ec4a35b0da17 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -42,8 +42,9 @@ Bug Fixes
- Compat with python 3.6 for pickling of some offsets (:issue:`14685`)
-- Compat with pyth... | BUG: fix unorderable exception types in py3.6
xref #14679
xref http://bugs.python.org/issue28730 | https://api.github.com/repos/pandas-dev/pandas/pulls/14689 | 2016-11-18T11:27:43Z | 2016-11-18T12:23:19Z | null | 2016-11-18T12:23:19Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.