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 |
|---|---|---|---|---|---|---|---|
DOC: correct DataFrame.pivot docstring | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 1798a35168265..dfe7e90c134fc 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -3868,9 +3868,8 @@ def last_valid_index(self):
def pivot(self, index=None, columns=None, values=None):
"""
Reshape data (produce a "pivot" ta... | The mention of panels that are created is not correct. You get a multi-index, I noticed
| https://api.github.com/repos/pandas-dev/pandas/pulls/14430 | 2016-10-15T20:29:41Z | 2016-10-22T09:50:20Z | 2016-10-22T09:50:20Z | 2016-10-22T09:50:20Z |
PERF: improved perf in .to_json when lines=True | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 5c03408cbf20f..fe57ed4a54975 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -21,7 +21,7 @@ Performance Improvements
~~~~~~~~~~~~~~~~~~~~~~~~
-
+- Improved Performance in ``.to_json()`` when `... | closes #14408
master
```
In [1]: np.random.seed(1234)
In [2]: N = 100000
...: C = 5
...: df = DataFrame(dict([('float{0}'.format(i), np.random.randn(N)) for i in range(C)]))
In [3]: %timeit df.to_json('foo.json',orient='records',lines=True)
1 loop, best of 3: 3.67 s per loop
```
PR (with proper encoding/deco... | https://api.github.com/repos/pandas-dev/pandas/pulls/14429 | 2016-10-14T23:53:09Z | 2016-10-15T20:03:48Z | null | 2016-10-15T20:03:48Z |
Bug: Grouping by index and column fails on DataFrame with single index (GH14327) | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 5c03408cbf20f..0046e2553ad6b 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -46,3 +46,4 @@ Bug Fixes
- Bug in ``pd.concat`` where names of the ``keys`` were not propagated to the resulting ``Mult... | - [x] closes #14327
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
This PR is a continuation of #14333. See discussion there for explanation of why this new PR was needed.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14428 | 2016-10-14T23:39:26Z | 2016-10-15T19:25:41Z | 2016-10-15T19:25:41Z | 2016-10-15T19:25:48Z |
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 3edb8c1fa9071..c968ed56c585f 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -15,6 +15,17 @@ Highlights include:
:backlinks: none
+
+.. _whatsnew_0191.api.other:
+
+Other API Changes
+^^^^... | - [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/14426 | 2016-10-14T15:08:45Z | 2016-10-28T17:42:29Z | null | 2016-10-28T17:44:18Z |
BUG: String indexing against object dtype may raise AttributeError | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 2a421e5d2eacd..6dada92099a7f 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 localizing an ambiguous timezone when a boolean is passed (:issue:`14402`)
+- Bug... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
String indexing may raise `AttributeError`, rather than `KeyError`.
```
df = pd.DataFrame([1], pd.Index([pd.Timestamp('2011-01-01')], dtype=object))
df.index.is_all_dates
# True
df['2011']
# AttributeError: 'Index'... | https://api.github.com/repos/pandas-dev/pandas/pulls/14424 | 2016-10-14T11:21:48Z | 2016-10-22T09:54:33Z | 2016-10-22T09:54:33Z | 2016-10-23T04:50:43Z |
Period factorization | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index e12b00dd06b39..5f3671012e6d5 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -548,6 +548,32 @@ def time_groupby_sum(self):
self.df.groupby(['a'])['b'].sum()
+class groupby_period(objec... | - [x] closes #14338
- [x] tests not needed / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
asv
```
before after ratio
[c41c6511] [96b364a4]
- 2.44s 46.28ms 0.02 groupby.groupby_period.time_groupby_sum
```
Continuation of #14348
| https://api.github.com/repos/pandas-dev/pandas/pulls/14419 | 2016-10-13T20:17:07Z | 2016-10-15T19:27:11Z | 2016-10-15T19:27:11Z | 2016-11-30T01:02:08Z |
Concat with axis rows | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 3edb8c1fa9071..01e9d2ff4ce7f 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -44,4 +44,5 @@ Bug Fixes
- Bug in ``pd.concat`` where names of the ``keys`` were not propagated to the resulting ``... | - [x] closes #14369
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
I closed #14389 and opened with one in hopes of the new commits showing up.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14416 | 2016-10-13T14:37:04Z | 2016-10-15T19:59:53Z | null | 2016-10-19T13:50:07Z |
Bug: Made it so that 0 was included in uint8 | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 5180b9a092f6c..1a86ecae2faf3 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -48,3 +48,6 @@ Bug Fixes
- Bug in ``MultiIndex.set_levels`` where illegal level values were still set after raising an ... | - [ ] closes #14401
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Decided to restart. Sorry for the inconvenience. -> #14472
| https://api.github.com/repos/pandas-dev/pandas/pulls/14412 | 2016-10-13T04:25:29Z | 2016-10-21T23:55:53Z | null | 2016-10-22T08:49:42Z |
DOC: pydata/pandas -> pandas-dev/pandas | diff --git a/asv_bench/benchmarks/attrs_caching.py b/asv_bench/benchmarks/attrs_caching.py
index 2b10cb88a3134..de9aa18937985 100644
--- a/asv_bench/benchmarks/attrs_caching.py
+++ b/asv_bench/benchmarks/attrs_caching.py
@@ -20,4 +20,4 @@ def setup(self):
self.cur_index = self.df.index
def time_setattr_... | as main repo was updated
| https://api.github.com/repos/pandas-dev/pandas/pulls/14409 | 2016-10-12T23:46:34Z | 2016-10-13T19:59:21Z | 2016-10-13T19:59:21Z | 2016-10-13T19:59:31Z |
Convert readthedocs links for their .org -> .io migration for hosted projects | diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 352acee23df2d..cf604822d6eea 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -278,7 +278,7 @@ Please try to maintain backward compatibility. *pandas* has lots of users with l
Adding tests is one of the most common requests aft... | As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14406 | 2016-10-12T21:40:28Z | 2016-10-12T22:10:31Z | 2016-10-12T22:10:31Z | 2016-10-12T22:10:37Z |
BUG: Bug in localizing an ambiguous timezone when a boolean is passed | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 3edb8c1fa9071..0f7edc7a99abc 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -35,7 +35,7 @@ Bug Fixes
-
+- Bug in localizing an ambiguous timezone when a boolean is passed (:issue:`14402`)
... | closes #14402
```
In [1]: s = pd.Series([Timestamp('2015-11-01 01:00:03')])
In [2]: s
Out[2]:
0 2015-11-01 01:00:03
dtype: datetime64[ns]
In [3]: s.dt.tz_localize('US/Central', ambiguous=False)
Out[3]:
0 2015-11-01 01:00:03-06:00
dtype: datetime64[ns, US/Central]
In [4]: s.dt.tz_localize('US/Central', ambiguo... | https://api.github.com/repos/pandas-dev/pandas/pulls/14405 | 2016-10-12T21:37:07Z | 2016-10-13T10:14:19Z | null | 2016-10-13T10:14:19Z |
Bug: Made it so that 0 was included in uint8 | diff --git a/pandas/tools/util.py b/pandas/tools/util.py
index fec56328c1721..b50bf9dc448bc 100644
--- a/pandas/tools/util.py
+++ b/pandas/tools/util.py
@@ -205,7 +205,7 @@ def to_numeric(arg, errors='raise', downcast=None):
if downcast in ('integer', 'signed'):
typecodes = np.typecodes['Integer... | - [ ] closes #14401
- [ ] tests added / passed
- [ ] passes git diff upstream/master | flake8 --diff
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14404 | 2016-10-12T21:17:48Z | 2016-10-13T04:23:00Z | null | 2016-10-13T04:23:00Z |
BUG: Dataframe constructor when given dict with None value | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 3edb8c1fa9071..6dddebecd06e8 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -32,6 +32,7 @@ Bug Fixes
~~~~~~~~~
+- Bug in ``pd.DataFrame`` where constructor fails when given dict with ``None``... | - [x] closes #14381
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14392 | 2016-10-11T01:38:12Z | 2016-10-31T20:53:51Z | 2016-10-31T20:53:51Z | 2016-10-31T20:54:03Z |
[BUG] handle } in line delimited json | diff --git a/asv_bench/benchmarks/packers.py b/asv_bench/benchmarks/packers.py
index 3f80c4c0c6338..5419571c75b43 100644
--- a/asv_bench/benchmarks/packers.py
+++ b/asv_bench/benchmarks/packers.py
@@ -547,6 +547,31 @@ def remove(self, f):
pass
+class packers_write_json_lines(object):
+ goal_time = 0... | - [x] closes #14390
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14391 | 2016-10-10T23:08:01Z | 2016-10-15T13:38:33Z | null | 2016-10-15T19:18:43Z |
BUG: Allow concat to take string axis names | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 3edb8c1fa9071..01e9d2ff4ce7f 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -44,4 +44,5 @@ Bug Fixes
- Bug in ``pd.concat`` where names of the ``keys`` were not propagated to the resulting ``... | Continued in #14416
---
- [x] closes #14369
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
This uses [`_get_axis_number`](https://github.com/pydata/pandas/blob/master/pandas/core/generic.py#L327-L338) to convert a string `axis` parameter to an integer. This ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14389 | 2016-10-10T21:58:56Z | 2016-10-13T14:35:45Z | null | 2023-05-11T01:14:18Z |
DOC: Add details to DataFrame groupby transform | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index 8484ccd69a983..cbe3588104439 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -580,9 +580,21 @@ Transformation
--------------
The ``transform`` method returns an object that is indexed the same (same size)
-as the one being groupe... | - [X] closes #13543
- [X] tests added / passed
- [X] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Add requirements for user function in groupby transform
closes #13543
[skip ci]
| https://api.github.com/repos/pandas-dev/pandas/pulls/14388 | 2016-10-10T17:21:22Z | 2017-03-25T18:40:39Z | null | 2018-04-22T21:12:07Z |
BUG: Fix issue with inserting duplicate columns in a dataframe (GH14291) | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 3edb8c1fa9071..16a933b6ce8ee 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -45,3 +45,4 @@ Bug Fixes
- Bug in ``pd.concat`` where names of the ``keys`` were not propagated to the resulting ``Mu... | - [x] closes #14291
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
I've been sitting on this simple fix because it seems a little kludgy. SparseDataFrame doesn't do anything parallel to broadcasting in its _sanitize_column method... should it?
| https://api.github.com/repos/pandas-dev/pandas/pulls/14384 | 2016-10-10T01:02:27Z | 2016-10-15T22:18:27Z | null | 2016-10-15T22:18:27Z |
ENH: feather support in the pandas IO api | diff --git a/appveyor.yml b/appveyor.yml
index 84c34b34626b9..a8e5218ab2c9f 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -80,6 +80,7 @@ install:
- cmd: conda config --set ssl_verify false
# add the pandas channel *before* defaults to have defaults take priority
+ - cmd: conda config --add channels conda-for... | closes #13092
| https://api.github.com/repos/pandas-dev/pandas/pulls/14383 | 2016-10-10T00:34:48Z | 2016-12-26T22:49:17Z | null | 2016-12-29T12:06:01Z |
BUG: pivot_table may raise TypeError without values | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 5180b9a092f6c..00171ca9794f0 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -48,3 +48,6 @@ Bug Fixes
- Bug in ``MultiIndex.set_levels`` where illegal level values were still set after raising an ... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
`pivot_table` raises `TypeError` when `index` or `columns` is array-like and `values` is not specified.
```
df = pd.DataFrame({'A': [1, 2, 3, 4, 5]},
index=pd.DatetimeIndex(['2011-01-01', '2011-02... | https://api.github.com/repos/pandas-dev/pandas/pulls/14380 | 2016-10-08T22:40:07Z | 2016-10-20T10:59:43Z | null | 2016-10-20T11:46:29Z |
BUG: Convert float freqstrs to ints at finer resolution | 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 #8419
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Passing `'0.5min'` as a frequency string should generate 30 second
intervals, rather than five minute intervals. By recursively increasing
resolution until one is found for which the frequency is... | https://api.github.com/repos/pandas-dev/pandas/pulls/14378 | 2016-10-08T16:32:21Z | 2016-12-14T16:08:04Z | 2016-12-14T16:08:04Z | 2019-01-18T18:25:57Z |
API: add DataFrame.nunique() and DataFrameGroupBy.nunique() | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index adbe73aa5c5ef..9f491302a4d6f 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -433,6 +433,20 @@ def time_frame_from_records_generator_nrows(self):
+#-------------------... | - [x] closes #14336
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14376 | 2016-10-07T19:09:05Z | 2017-01-23T13:41:26Z | null | 2017-01-23T20:45:41Z |
BUG: Fix linux Qt clipboard QApplication() creation | diff --git a/pandas/util/clipboard.py b/pandas/util/clipboard.py
index 02da0d5b8159f..deac1ebdfb62d 100644
--- a/pandas/util/clipboard.py
+++ b/pandas/util/clipboard.py
@@ -244,7 +244,7 @@ def _pasteKlipper():
copy = _copyGtk
elif qtBindingInstalled:
_functions = 'PyQt4 module' # for debugging
-... | Fixes #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:
```
from PyQt4.QtGui import QApplication
myapp = QApplication([])
from pandas.util.clipboard import clipboard_get # <--- ERROR... | https://api.github.com/repos/pandas-dev/pandas/pulls/14371 | 2016-10-07T06:59:09Z | 2016-12-06T21:28:58Z | null | 2023-05-11T01:14:16Z |
DOC: add 0.19.1 whatsnew file | diff --git a/doc/source/whatsnew.rst b/doc/source/whatsnew.rst
index 77dc249aeb788..2a1f2cc47d48e 100644
--- a/doc/source/whatsnew.rst
+++ b/doc/source/whatsnew.rst
@@ -18,6 +18,8 @@ What's New
These are new features and improvements of note in each release.
+.. include:: whatsnew/v0.19.1.txt
+
.. include:: whats... | https://api.github.com/repos/pandas-dev/pandas/pulls/14366 | 2016-10-06T09:16:03Z | 2016-10-07T19:25:31Z | 2016-10-07T19:25:31Z | 2016-10-07T19:25:31Z | |
DOC: Remove old warning from dsintro.rst | diff --git a/doc/source/dsintro.rst b/doc/source/dsintro.rst
index 6063e3e8bce45..cc69367017aed 100644
--- a/doc/source/dsintro.rst
+++ b/doc/source/dsintro.rst
@@ -41,12 +41,6 @@ categories of functionality and methods in separate sections.
Series
------
-.. warning::
-
- In 0.13.0 ``Series`` has internally been... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
The warning is about something that have been fixed for almost 3 years. Every time a new user excited about pandas start reading the docs, they have to waste brain-cycles ignoring that big red war... | https://api.github.com/repos/pandas-dev/pandas/pulls/14365 | 2016-10-06T09:00:24Z | 2016-10-06T09:25:23Z | 2016-10-06T09:25:23Z | 2016-10-06T15:46:36Z |
BLD/CI: cython cache pxd files | diff --git a/ci/prep_cython_cache.sh b/ci/prep_cython_cache.sh
index 6f16dce2fb431..cadc356b641f9 100755
--- a/ci/prep_cython_cache.sh
+++ b/ci/prep_cython_cache.sh
@@ -3,8 +3,8 @@
ls "$HOME/.cache/"
PYX_CACHE_DIR="$HOME/.cache/pyxfiles"
-pyx_file_list=`find ${TRAVIS_BUILD_DIR} -name "*.pyx"`
-pyx_cache_file_list=`... | Currently the cython cache on travis doesn't pick up change in `.pxd` files Most of this commit history is trial and error - but 479c311 shows this working
https://travis-ci.org/pydata/pandas/jobs/166041112
```
$ ci/prep_cython_cache.sh
cython_files.tar motd.legal-displayed pip pyxfiles
Cache available - checking... | https://api.github.com/repos/pandas-dev/pandas/pulls/14363 | 2016-10-06T01:22:24Z | 2016-10-12T09:15:49Z | 2016-10-12T09:15:49Z | 2016-11-30T01:01:34Z |
block mutation of read-only array in series | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 147ff8795eb00..150925cfa53eb 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -55,7 +55,9 @@ Bug Fixes
- Bug in ``pd.concat`` with dataframes heterogeneous in length and tuple ``keys`` (:issue:`144... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
reproduction case:
``` python
In [1]: array = np.array([1, 2, 3])
In [2]: array.flags.writeable = False
In [3]: series = pd.Series(array)
In [4]: series[0] = -1
In [5]: series
Out[5]:
0 -1
1 2
2 3
dtyp... | https://api.github.com/repos/pandas-dev/pandas/pulls/14359 | 2016-10-05T19:26:55Z | 2016-10-24T22:43:56Z | null | 2016-10-24T22:46:44Z |
PERF: period factorization | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index e12b00dd06b39..5f3671012e6d5 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -548,6 +548,32 @@ def time_groupby_sum(self):
self.df.groupby(['a'])['b'].sum()
+class groupby_period(objec... | Merged in #14419
---
- [x] closes #14338
- [x] tests not needed / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
asv
```
before after ratio
[c41c6511] [96b364a4]
- 2.44s 46.28ms 0.02 groupby.groupby_period.time_groupby_sum
```
cc @sinhrks , @bmoscon
| https://api.github.com/repos/pandas-dev/pandas/pulls/14348 | 2016-10-05T02:15:35Z | 2016-10-13T20:13:34Z | null | 2023-05-11T01:14:14Z |
TST: #14345 fixes TestDatetimeIndexOps test_nat AssertionErrors on 32-bit | diff --git a/pandas/tseries/tests/test_base.py b/pandas/tseries/tests/test_base.py
index 8a86fcba32ecb..a6d58fa3e7ef3 100644
--- a/pandas/tseries/tests/test_base.py
+++ b/pandas/tseries/tests/test_base.py
@@ -867,7 +867,7 @@ def test_nat(self):
tm.assert_numpy_array_equal(idx._isnan, np.array([False, False... | - [ ] closes #14345
Changed tm.assert_numpy_array_equal(idx._nan_idxs, np.array([], dtype=np.int64)
np.int64 to npintp
All tests now pass on 32bit linux install.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14347 | 2016-10-05T00:01:22Z | 2016-10-06T10:23:46Z | null | 2016-10-06T10:23:46Z |
BUG: GH14323 Union of differences from DatetimeIndex incorrect | diff --git a/pandas/indexes/base.py b/pandas/indexes/base.py
index 5082fc84982c6..c9b7be5ead649 100644
--- a/pandas/indexes/base.py
+++ b/pandas/indexes/base.py
@@ -1973,7 +1973,7 @@ def difference(self, other):
except TypeError:
pass
- return this._shallow_copy(the_diff, name=result_name... | - [ ] closes #14323
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Sets freq to None when doing a difference operation on a DatetimeIndex
or TimedeltaIndex, rather than retaining the frequency (which can cause
problems with downstream operations). Frequency of ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14346 | 2016-10-04T23:40:04Z | 2016-10-24T22:34:21Z | null | 2016-10-24T22:34:25Z |
DOC: Correct uniqueness of index for Series | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 1c6b13885dd01..8a98f5cdf7e21 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -102,11 +102,11 @@ class Series(base.IndexOpsMixin, strings.StringAccessorMixin,
"""
One-dimensional ndarray with axis labels (including time series).... | closes #7808
Just wanted to fix the docstring to reflect the fact that the index labels neither need to be unique ~~nor hashable~~.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14344 | 2016-10-04T05:54:18Z | 2016-11-25T10:05:30Z | 2016-11-25T10:05:30Z | 2016-11-30T02:38:51Z |
BUG: astype falsely converts inf to integer, patch for Numpy (GH14265) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index f534c67273560..8fdef39a3ae98 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -118,3 +118,5 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+
+- Bug in ``astype()`` where ``inf`` values were inc... | - [x] closes #14265
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Bug in Numpy causes inf values to be falsely converted to integers. I added a ValueError exception similar to the exception for trying to convert NaN to an integer.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14343 | 2016-10-04T05:09:10Z | 2016-12-11T22:23:50Z | 2016-12-11T22:23:49Z | 2016-12-14T05:10:09Z |
Bug: Error when key-only Grouper is passed to groupby in a list (GH14334) | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index b2facd4e2d0ec..61d5a199acc3c 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -54,6 +54,7 @@ Bug Fixes
- Bug in ``MultiIndex.set_levels`` where illegal level values were still set after raising an ... | - [x] closes #14334
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14342 | 2016-10-04T00:22:28Z | 2016-10-25T10:51:36Z | null | 2016-10-26T12:12:19Z |
BUG: Frequency not set on empty series | diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 352acee23df2d..cf604822d6eea 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -278,7 +278,7 @@ Please try to maintain backward compatibility. *pandas* has lots of users with l
Adding tests is one of the most common requests aft... | - [x] closes #14320
- [x] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14340 | 2016-10-03T22:57:17Z | 2016-10-19T23:26:55Z | null | 2023-05-11T01:14:14Z |
Bug: Grouping by index and column fails on DataFrame with single index (GH14327) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 0354a8046e873..a556d8707a21d 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -79,3 +79,4 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+- Bug in ``df.groupby`` causing an ``AttributeError`` w... | - [x] closes #14327
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Don't know if this is too late for 0.19.0 but I went ahead and added the whatsnew entry there for now.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14333 | 2016-10-02T01:31:15Z | 2016-10-14T23:35:59Z | null | 2016-10-14T23:41:45Z |
DOC: fix some sphinx build issues | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index b1795cb37200c..f52f72b49dd31 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -757,12 +757,18 @@ Use ``.astype`` or ``union_categoricals`` to get ``category`` result.
Following table summarizes the results of ``Cate... | The table here: http://pandas-docs.github.io/pandas-docs-travis/categorical.html#concatenation is apparently not building well. Rst ...
| https://api.github.com/repos/pandas-dev/pandas/pulls/14332 | 2016-10-01T21:33:08Z | 2016-10-02T08:58:10Z | 2016-10-02T08:58:10Z | 2016-10-02T08:58:11Z |
TST: fix period tests for numpy 1.9.3 (GH14183) | diff --git a/pandas/tseries/tests/test_period.py b/pandas/tseries/tests/test_period.py
index 62cfcf7f1360e..e314081eac373 100644
--- a/pandas/tseries/tests/test_period.py
+++ b/pandas/tseries/tests/test_period.py
@@ -23,7 +23,8 @@
from pandas.compat.numpy import np_datetime64_compat
from pandas import (Series, Data... | Partly addresses #14183
| https://api.github.com/repos/pandas-dev/pandas/pulls/14331 | 2016-10-01T20:27:12Z | 2016-10-02T08:45:53Z | 2016-10-02T08:45:53Z | 2016-10-02T08:45:54Z |
BUG: mixed freq timeseries plotting with shared axes (GH13341) | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index 49c8330490ed1..52bcc7d054629 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -38,7 +38,8 @@ Bug Fixes
- Bug in ``pd.cut`` with negative values and a single bin (:issue:`14652`)
- Bug in ``pd.to... | Closes #13341, partly closes #14322 (that example still does not work when first plotting the irregular series)
cc @sinhrks @TomAugspurger
| https://api.github.com/repos/pandas-dev/pandas/pulls/14330 | 2016-10-01T20:05:31Z | 2016-11-26T09:13:05Z | 2016-11-26T09:13:05Z | 2016-11-26T09:13:05Z |
to_latex encoding issue | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 1cc689528caaa..6fb0090dea114 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1635,7 +1635,8 @@ def to_latex(self, buf=None, columns=None, col_space=None, header=True,
When set to False prevents from escaping latex special
... | - [x] closes #14275
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14329 | 2016-10-01T17:34:21Z | 2016-10-02T11:56:59Z | 2016-10-02T11:56:58Z | 2016-10-02T11:57:09Z |
Remove NotImplementedError for parse_dates keyword in read_excel | diff --git a/doc/source/io.rst b/doc/source/io.rst
index d436fa52918d3..11a699b6a183d 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2503,6 +2503,20 @@ indices to be parsed.
read_excel('path_to_file.xls', 'Sheet1', parse_cols=[0, 2, 3])
+
+Parsing Dates
++++++++++++++
+
+Datetime-like values are nor... | Rebase and update of PR https://github.com/pydata/pandas/pull/12051
| https://api.github.com/repos/pandas-dev/pandas/pulls/14326 | 2016-09-30T09:18:07Z | 2017-03-27T18:42:00Z | null | 2022-06-15T22:23:44Z |
BUG: Patch Checked Add Method | diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 352acee23df2d..cf604822d6eea 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -278,7 +278,7 @@ Please try to maintain backward compatibility. *pandas* has lots of users with l
Adding tests is one of the most common requests aft... | Title is self-explanatory. Follow-up to #14237.
Merged in PR #14453
| https://api.github.com/repos/pandas-dev/pandas/pulls/14324 | 2016-09-29T18:08:07Z | 2016-10-19T16:11:15Z | null | 2016-10-19T23:25:58Z |
Enforce boolean types | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 23f2589adde89..0148a47068beb 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -247,6 +247,7 @@ Other API Changes
- ``pd.read_csv()`` will now issue a ``ParserWarning`` whenever there are conflict... | - [ x ] closes #14189
- [ x ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
This PR only addresses the `inplace` argument, though there was a comment on #14189 that identifies the issue as being with the `copy` argument as well. I can build this out further to a... | https://api.github.com/repos/pandas-dev/pandas/pulls/14318 | 2016-09-29T06:10:37Z | 2017-01-06T12:33:21Z | 2017-01-06T12:33:21Z | 2017-01-06T12:33:35Z |
BUG: date slicing with reverse sorted index | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 454ffc5e5c685..d7f481d2a268b 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1521,7 +1521,7 @@ Bug Fixes
- Bug in ``.shift`` raises ``AmbiguousTimeError`` if data contains datetime near DST bound... | - [x] closes #14316
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
cc @shoyer - good diagnosis!
| https://api.github.com/repos/pandas-dev/pandas/pulls/14317 | 2016-09-29T01:08:48Z | 2016-09-30T10:08:02Z | null | 2016-09-30T10:36:11Z |
DOC: expand doc for numeric_only | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 2f78c9acf7972..a3cac2d6f9f2f 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -5510,8 +5510,8 @@ def _doc_parms(cls):
If the axis is a MultiIndex (hierarchical), count along a
particular level, collapsing into a %(name1)s
n... | - [x] closes #10480
- [x] tests not needed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry not needed
Just making the description (hopefully) a little clearer.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14309 | 2016-09-28T00:16:01Z | 2016-09-28T10:08:52Z | null | 2016-09-28T10:08:52Z |
PERF: unnecessary materialization of a MultiIndex.values when introspecting memory_usage | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 2f8baae416dea..f4110cba68c31 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1409,7 +1409,7 @@ Performance Improvements
- Improved performance of ``factorize`` of datetime with timezone (:issue:`... | ```
In [2]: import string
...: import pandas as pd
...: import numpy as np
...:
...: def memory_usage(f):
...: return f.memory_usage(deep=True).sum()
...:
...: N = 100
...: M = len(string.uppercase)
...: df = pd.DataFrame({'value' : np.random.randn(N*M)},
...: index... | https://api.github.com/repos/pandas-dev/pandas/pulls/14308 | 2016-09-27T22:37:23Z | 2016-09-28T18:01:18Z | 2016-09-28T18:01:18Z | 2016-09-28T18:01:19Z |
BUG: Index.copy() honors 'name' parameter (#14302) | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 454ffc5e5c685..50b4b1176c6cb 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1578,3 +1578,4 @@ Bug Fixes
- Bugs in ``stack``, ``get_dummies``, ``make_axis_dummies`` which don't preserve categoric... | - [x] closes #14302
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14303 | 2016-09-26T18:11:42Z | 2016-09-27T23:44:16Z | null | 2016-09-27T23:44:23Z |
API: add dtype= option to python parser | diff --git a/doc/source/io.rst b/doc/source/io.rst
index ee319092c6dd5..b1c151def26af 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -157,6 +157,9 @@ dtype : Type name or dict of column -> type, default ``None``
Data type for data or columns. E.g. ``{'a': np.float64, 'b': np.int32}``
(unsupported with ... | - [x] part of #12686
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Ultimately I'm working towards #8212 (types in excel parser), which should be pretty straightforward after this.
Right now the tests are moved from `c_parser_only.py`, may need to add so... | https://api.github.com/repos/pandas-dev/pandas/pulls/14295 | 2016-09-24T18:12:19Z | 2016-11-26T09:12:22Z | 2016-11-26T09:12:22Z | 2016-11-30T01:00:57Z |
PERF: faster grouping | diff --git a/asv_bench/benchmarks/gil.py b/asv_bench/benchmarks/gil.py
index 2eb6786356511..1c82560c7e630 100644
--- a/asv_bench/benchmarks/gil.py
+++ b/asv_bench/benchmarks/gil.py
@@ -22,7 +22,7 @@ def wrapper(fname):
return wrapper
-class nogil_groupby_count_2(object):
+class nogil_groupby_base(object):
... | closes #14293
| https://api.github.com/repos/pandas-dev/pandas/pulls/14294 | 2016-09-24T13:53:05Z | 2016-09-27T22:10:32Z | null | 2016-09-27T22:10:32Z |
BUG: Fix concat key name | diff --git a/doc/source/whatsnew/v0.19.1.txt b/doc/source/whatsnew/v0.19.1.txt
index 1c5f4915bb3a4..b237d095fab34 100644
--- a/doc/source/whatsnew/v0.19.1.txt
+++ b/doc/source/whatsnew/v0.19.1.txt
@@ -30,3 +30,4 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+- Bug in ``concat`` where names of keys were not propag... | - [x] closes #14252
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Fixes a bug where `pd.concat` didn't propagate the names of keys used to create
a hierarchical index.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14292 | 2016-09-23T19:44:46Z | 2016-10-09T17:38:05Z | null | 2016-10-09T17:38:30Z |
BUG: set_levels set illegal levels. | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 454ffc5e5c685..1e6d8543dc55a 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1576,5 +1576,6 @@ Bug Fixes
- Bug in ``eval()`` where the ``resolvers`` argument would not accept a list (:issue:`14... | - [x] closes #xxxx
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
`MultiIndex.set_levels`, when passed in illegal level values, raises an error.
When `inplace=True`, though, the illegal level values are still accepted. This
commit fixes that behavior by checking... | https://api.github.com/repos/pandas-dev/pandas/pulls/14290 | 2016-09-23T13:20:23Z | 2016-09-23T13:37:31Z | null | 2016-09-23T13:37:48Z |
DOC: Expand reference doc for read_json | diff --git a/pandas/io/json.py b/pandas/io/json.py
index e697351484f68..a34824dcfc190 100644
--- a/pandas/io/json.py
+++ b/pandas/io/json.py
@@ -122,33 +122,42 @@ def read_json(path_or_buf=None, orient=None, typ='frame', dtype=True,
The string could be a URL. Valid URL schemes include http, ftp, s3, and
... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] expanded reference document for `pandas.read_json()`, especially concentrating on the `orient` parameter. Also added some example usage code and explicitly mention `to_json()` as a source of valid JSON strings.
... | https://api.github.com/repos/pandas-dev/pandas/pulls/14284 | 2016-09-23T01:41:01Z | 2016-10-17T17:08:39Z | null | 2016-10-17T17:08:39Z |
TST: remove usages of np.full_like for numpy<1.8.0 compat | diff --git a/pandas/tests/indexes/test_numeric.py b/pandas/tests/indexes/test_numeric.py
index 51d8c95f9d783..b04d7f128e133 100644
--- a/pandas/tests/indexes/test_numeric.py
+++ b/pandas/tests/indexes/test_numeric.py
@@ -19,6 +19,14 @@
from .common import Base
+def full_like(array, value):
+ """Compatibility fo... | - [x] closes ##14276
- [x] passes `git diff upstream/master | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/14277 | 2016-09-22T01:20:03Z | 2016-09-22T10:02:13Z | null | 2016-09-22T10:02:14Z |
DOC: Typo fix in ordered_merge warning | diff --git a/pandas/tools/merge.py b/pandas/tools/merge.py
index 6521acbd0b733..8cdde8d92b28f 100644
--- a/pandas/tools/merge.py
+++ b/pandas/tools/merge.py
@@ -146,7 +146,7 @@ def ordered_merge(left, right, on=None,
left_by=None, right_by=None,
fill_method=None, suffixes=('_x', '_... | https://api.github.com/repos/pandas-dev/pandas/pulls/14271 | 2016-09-21T13:52:06Z | 2016-09-22T16:39:03Z | 2016-09-22T16:39:03Z | 2016-09-24T11:41:21Z | |
PERF: use uniqueness_check from monotonic check when possible | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index ffc6757b674ea..29071c99c6df6 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1404,6 +1404,7 @@ Performance Improvements
- Improved performance of datetime string parsing in ``DatetimeIndex`` (:is... | closes #14266
| https://api.github.com/repos/pandas-dev/pandas/pulls/14270 | 2016-09-21T13:06:43Z | 2016-09-22T10:03:25Z | null | 2016-09-22T10:03:25Z |
Update Github issue template | diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index 8a9f717e1c428..6f91eba1ad239 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE.md
@@ -1,6 +1,15 @@
-#### Code Sample, a copy-pastable example if possible
+#### A small, complete example of the issue
+
+```python
+# Your code here... | Mostly just using the `details` tag to reduce some clutter in all the issues, e.g.
---
#### A small, complete example of the issue
``` python
# Your code here
def fib(n):
return fib(n-1) + fib(n-2)
```
#### Expected Output
Nothing
#### Output of `pd.show_versions()`
<details>
## INSTALLED VERSIONS
commit: None... | https://api.github.com/repos/pandas-dev/pandas/pulls/14268 | 2016-09-21T12:22:46Z | 2016-09-23T21:38:17Z | 2016-09-23T21:38:17Z | 2017-04-05T02:08:33Z |
BUG: fix for GH14252 | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index ffc6757b674ea..6dd2242372a04 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1576,3 +1576,4 @@ Bug Fixes
- Bugs in ``stack``, ``get_dummies``, ``make_axis_dummies`` which don't preserve categoric... | - [x] closes #14252
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
This should fix #14252 . It's possible that not every one of these changes is needed, or there is a better way to fix it, but I think this should do it.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14261 | 2016-09-20T17:54:33Z | 2016-09-20T18:39:53Z | null | 2016-09-20T18:39:53Z |
BUG: float truncation in eval with py 2 | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index ffc6757b674ea..6bf1080f7c906 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1567,7 +1567,7 @@ Bug Fixes
- Bug in ``DataFrame.to_csv()`` with ``MultiIndex`` columns in which a stray empty line wa... | - [x] closes #14241
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Python 2 only - apparently `str()` rounds shorter than `repr()`
```
In [1]: f = 1000000000.006
In [2]: str(f)
Out[2]: '1000000000.01'
In [3]: repr(f)
Out[3]: '1000000000.006'
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/14255 | 2016-09-20T00:43:22Z | 2016-09-22T10:20:26Z | null | 2016-09-24T14:38:16Z |
Pivot table drops column/index names=nan when dropna=false | diff --git a/pandas/tools/pivot.py b/pandas/tools/pivot.py
index 0f56b0b076897..4995e4569ed28 100644
--- a/pandas/tools/pivot.py
+++ b/pandas/tools/pivot.py
@@ -9,6 +9,7 @@
from pandas.tools.util import cartesian_product
from pandas.compat import range, lrange, zip
from pandas import compat
+from pandas import isnul... | - [x] closes #14072
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14246 | 2016-09-18T17:53:08Z | 2017-04-26T05:53:04Z | null | 2017-04-26T05:57:13Z |
TST: Fix generator tests to run | diff --git a/pandas/computation/tests/test_eval.py b/pandas/computation/tests/test_eval.py
index c50944f0a4d3b..02ed11c65706c 100644
--- a/pandas/computation/tests/test_eval.py
+++ b/pandas/computation/tests/test_eval.py
@@ -758,21 +758,21 @@ def check_chained_cmp_op(self, lhs, cmp1, mid, cmp2, rhs):
# typecasting rul... | Closes #14244
This class inheriting from TestCase caused
the tests the yield fixture tests to not actually
run. The new output is
```
nosetests pandas/computation/tests/test_eval.py:TestTypeCasting
........................................
----------------------------------------------------------------------
Ran 40 t... | https://api.github.com/repos/pandas-dev/pandas/pulls/14245 | 2016-09-18T14:38:51Z | 2016-09-19T20:11:32Z | 2016-09-19T20:11:32Z | 2017-04-05T02:08:32Z |
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/14243 | 2016-09-18T09:39:40Z | 2016-11-25T16:19:02Z | null | 2023-05-11T01:14:09Z |
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 42b5a789ae31a..ce085a6ebf91c 100644
--- a/ci/requirements-2.7-64.run
+++ b/ci/requirements-2.7-64.run
@@ -16,3 +16,4 @@ 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
... | To fix breaking tests (latest travis build on master broken, and also all recent PR builds), see https://github.com/matplotlib/matplotlib/issues/7124
| https://api.github.com/repos/pandas-dev/pandas/pulls/14240 | 2016-09-17T10:05:09Z | 2016-09-18T09:39:00Z | 2016-09-18T09:39:00Z | 2016-09-18T09:39:00Z |
BUG: Check for overflow in TimedeltaIndex addition. | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 454ffc5e5c685..7e62384f4b789 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1425,6 +1425,8 @@ Bug Fixes
- Bug in selection from a ``HDFStore`` with a fixed format and ``start`` and/or ``stop`` s... | Title is self-explanatory. Closes #14068.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14237 | 2016-09-16T19:05:55Z | 2016-09-27T10:43:45Z | null | 2016-09-28T22:17:31Z |
BUG: set_levels set illegal levels. | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 60847469aa02c..8e7e95c071ea4 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1560,6 +1560,6 @@ Bug Fixes
- Bug in ``.to_string()`` when called with an integer ``line_width`` and ``index=False`` r... | - [x] closes #13754
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
`MultiIndex.set_levels`, when given illegal level values, raises an error.
When `inplace=True`, though, the illegal level values are still accepted. This
commit fixes that behavior by checking th... | https://api.github.com/repos/pandas-dev/pandas/pulls/14236 | 2016-09-16T18:53:30Z | 2016-10-10T12:30:22Z | 2016-10-10T12:30:22Z | 2016-10-10T12:30:37Z |
ENH: Allow usecols to accept callable (GH14154) | diff --git a/doc/source/io.rst b/doc/source/io.rst
index f22374553e9c3..75f36c5274cd2 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -126,13 +126,23 @@ index_col : int or sequence or ``False``, default ``None``
MultiIndex is used. If you have a malformed file with delimiters at the end of
each line, y... | - [ X] closes #14154
- [ X] tests added / passed
- [ X] passes `git diff upstream/master | flake8 --diff`
- [X ] whatsnew entry
<img width="1515" alt="asv_bench" src="https://cloud.githubusercontent.com/assets/609873/18575075/942a9240-7ba1-11e6-9dca-bab8b9987f31.png">
| https://api.github.com/repos/pandas-dev/pandas/pulls/14234 | 2016-09-16T04:08:04Z | 2016-12-06T11:38:06Z | 2016-12-06T11:38:06Z | 2017-12-12T15:39:47Z |
DOC: added example to Series.map showing use of na_action parameter (GH14231) | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 8379c8bcdcae8..1c6b13885dd01 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -2099,10 +2099,19 @@ def map(self, arg, na_action=None):
----------
arg : function, dict, or Series
na_action : {None, 'ignore'}
- ... | - [x] closes #14231
- [x] tests passed
- [x] passes `git diff upstream/master | flake8 --diff`
Added example to Series.map showing use of na_action parameter.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14232 | 2016-09-15T23:16:35Z | 2016-09-16T23:20:39Z | 2016-09-16T23:20:39Z | 2016-12-14T05:11:15Z |
BUG: fix alignment in series ops (GH14227) | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index a3cac2d6f9f2f..4aa1ac4a47090 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -20,6 +20,7 @@
is_numeric_dtype,
is_datetime64_dtype,
... | - [x] closes #14227
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14230 | 2016-09-15T17:55:24Z | 2016-09-30T21:23:35Z | 2016-09-30T21:23:35Z | 2016-09-30T21:23:56Z |
DOC: #14195. to_csv warns regarding quoting behaviour for floats | diff --git a/doc/source/io.rst b/doc/source/io.rst
index d436fa52918d3..3661d4b4cdff7 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1481,7 +1481,7 @@ function takes a number of arguments. Only the first is required.
- ``encoding``: a string representing the encoding to use if the contents are
non-A... | - [x] closes #14195
- [ ] passes `git diff upstream/master | flake8 --diff`
Added a small warning that if `float_format` is set then floats will be quoted even if csv.QUOTE_NONNUMERIC is set
| https://api.github.com/repos/pandas-dev/pandas/pulls/14228 | 2016-09-15T16:45:57Z | 2016-10-06T16:04:57Z | 2016-10-06T16:04:57Z | 2016-10-06T16:04:58Z |
BUG: GH13629 Binned groupby median function calculates median on empt… | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index d3239c4562765..6933cbedb5d67 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1572,3 +1572,4 @@ Bug Fixes
- Bug in ``eval()`` where the ``resolvers`` argument would not accept a list (:issue:`1409... | - [ x] closes #13629
- [ x] tests added / passed
- [ x] passes `git diff upstream/master | flake8 --diff`
- [x ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14225 | 2016-09-15T01:57:41Z | 2016-09-18T15:57:27Z | 2016-09-18T15:57:27Z | 2016-09-18T22:36:27Z |
add check for infinity in __call__ of EngFormatter | diff --git a/pandas/formats/format.py b/pandas/formats/format.py
index 4740dd25c419d..e5089983ac8f7 100644
--- a/pandas/formats/format.py
+++ b/pandas/formats/format.py
@@ -2586,6 +2586,9 @@ def __call__(self, num):
if decimal.Decimal.is_nan(dnum):
return 'NaN'
+ if decimal.Decimal.is_inf... | EngFormatter throws an exception if passed 'inf' as below.
This patch checks for infinity and just returns 'inf' in that case. The fix is analagous to the recent fix for NaN:
https://github.com/pydata/pandas/commit/d0734ba4d0f4c228110dc3974943ce4ec2adeea4
``` python
import pandas
import pandas.core.format as fmt
... | https://api.github.com/repos/pandas-dev/pandas/pulls/14214 | 2016-09-13T19:09:55Z | 2016-09-13T22:00:08Z | null | 2016-09-13T23:18:07Z |
BUG: loffset not applied when using resample with agg() (GH13218) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 0873e4b34b0b1..41d5090ef6c32 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -321,3 +321,4 @@ Bug Fixes
- Require at least 0.23 version of cython to avoid problems with character encodings (:issue... | - [x] closes #13218 and #15002 (continuation of closed PR https://github.com/pydata/pandas/pull/13861)
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
_apply_loffset is called in resampler's downsample and groupby_and_agg methods, defined [here](https://git... | https://api.github.com/repos/pandas-dev/pandas/pulls/14213 | 2016-09-13T16:32:56Z | 2016-12-31T16:56:53Z | null | 2016-12-31T16:58:13Z |
DOC: fix incorrect example in unstack docstring (GH14206) | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index de74b70cdfaac..e46d4c6b928a9 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -3805,28 +3805,29 @@ def unstack(self, level=-1):
... ('two', 'a'), ('two', 'b')])
>>> s = pd.Series(np.arange(... | - [x] closes #14206
The following PR closes #14206 and corrects the Docs as suggested in the issue thread.
@jorisvandenbossche Kindly review.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14211 | 2016-09-13T08:13:44Z | 2016-09-13T23:00:15Z | 2016-09-13T23:00:15Z | 2016-09-14T04:39:58Z |
WIP/API: add magic 'X' for selection | diff --git a/LICENSES/PANDAS_PLY_LICENSE b/LICENSES/PANDAS_PLY_LICENSE
new file mode 100644
index 0000000000000..eac7ca890d560
--- /dev/null
+++ b/LICENSES/PANDAS_PLY_LICENSE
@@ -0,0 +1,13 @@
+Copyright 2015 Coursera Inc.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file exce... | - [ ] could close #13133
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
This is very WIP, but wanted to put it up and show the general direction. This adds essentially a modified version of `pandas_ply` that produces plain callables that can be passed to the ex... | https://api.github.com/repos/pandas-dev/pandas/pulls/14209 | 2016-09-13T01:51:32Z | 2016-10-30T14:59:50Z | null | 2016-10-30T14:59:50Z |
ENH: Add divmod to series. | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 1f670fb7fb593..19318aad3d53d 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -188,6 +188,32 @@ And similarly for ``axis="items"`` and ``axis="minor"``.
match the broadcasting behavior of Panel. Though it would require a
transitio... | - [x] closes #8174
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
edit: in the issue it said this is uncommon; however, I recently ran into an issue where I was doing arithmetic with fiscal quarters and using divmod seemed more natural.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14208 | 2016-09-12T18:58:01Z | 2016-09-19T21:07:02Z | 2016-09-19T21:07:02Z | 2016-09-19T21:09:29Z |
In gbq.to_gbq allow the DataFrame column order to differ from schema | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 96ec624f4fd3c..d436fa52918d3 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -4579,8 +4579,7 @@ a ``TableCreationError`` if the destination table already exists.
If the ``if_exists`` argument is set to ``'append'``, the destination dataframe will
... | - [x] closes #11359
- [x] tests added / passed. [Link to Travis-CI build with my gbq credentials](https://travis-ci.org/parthea/pandas/builds/159134242)
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14202 | 2016-09-11T16:31:45Z | 2016-09-13T10:24:03Z | null | 2016-09-13T10:24:04Z |
DOC: add source links to api docs | diff --git a/doc/source/conf.py b/doc/source/conf.py
index a1b71f0279c7a..fd3a2493a53e8 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -13,6 +13,7 @@
import sys
import os
import re
+import inspect
from pandas.compat import u, PY3
# If extensions (or modules to document with autodoc) are in another d... | - [x] closes #14178
- [x] tests not needed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew not needed
cc @jorisvandenbossche - like you mentioned, this doesn't work for everything (properties, accessors, some generated methods)
| https://api.github.com/repos/pandas-dev/pandas/pulls/14200 | 2016-09-10T14:42:28Z | 2016-09-12T07:57:26Z | 2016-09-12T07:57:26Z | 2016-09-12T11:32:40Z |
BUG: union_categorical with Series and cat idx | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index 59ddfe602c033..b1795cb37200c 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -695,6 +695,40 @@ The below raises ``TypeError`` because the categories are ordered and not identi
Out[3]:
TypeError: to union order... | - [x] closes #14173
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry (not needed)
| https://api.github.com/repos/pandas-dev/pandas/pulls/14199 | 2016-09-10T13:31:36Z | 2016-09-10T14:30:49Z | null | 2016-09-28T10:52:57Z |
Fix: F999 dictionary key '2000q4' repeated with different values | diff --git a/pandas/tseries/tests/test_tslib.py b/pandas/tseries/tests/test_tslib.py
index 6cee45df2a63c..21cfe84f153fa 100644
--- a/pandas/tseries/tests/test_tslib.py
+++ b/pandas/tseries/tests/test_tslib.py
@@ -687,7 +687,6 @@ def test_parsers(self):
'00-Q4': datetime.datetime(2000, 10, 1),
... | Removal of duplicate line to fix lint error
```
pandas/tseries/tests/test_tslib.py:685:18: F999 dictionary key '2000q4' repeated with different values
pandas/tseries/tests/test_tslib.py:690:18: F999 dictionary key '2000q4' repeated with different values
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/14198 | 2016-09-10T13:15:18Z | 2016-09-10T19:00:13Z | 2016-09-10T19:00:13Z | 2016-09-10T19:00:13Z |
Fix minor spacing issue | diff --git a/pandas/formats/format.py b/pandas/formats/format.py
index 4740dd25c419d..baa24f95a768c 100644
--- a/pandas/formats/format.py
+++ b/pandas/formats/format.py
@@ -604,8 +604,6 @@ def to_string(self):
self._chk_truncate()
strcols = self._to_str_columns()
text ... | Continuation of #13350
- [x] closes #13032
- [ ] tests added / passed
- [x] passes `pep8radius master --diff`
- [x] whatsnew entry - not necessary
See https://github.com/pydata/pandas/pull/13350 for more details, mucked up my pull request. Tests will need a lot of work.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14196 | 2016-09-10T02:34:40Z | 2016-10-27T14:54:00Z | null | 2016-10-27T14:54:07Z |
BUG: Categorical constructor not idempotent with ext dtype | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index d672b9b897fda..7e40d04c6b889 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1427,7 +1427,7 @@ Bug Fixes
- Bug in ``SeriesGroupBy.transform`` with datetime values and missing groups (:issue:`13... | - [x] closes #14190
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14191 | 2016-09-09T00:07:11Z | 2016-09-09T19:33:37Z | null | 2016-09-10T12:37:58Z |
DOC: minor typo in 0.19.0 whatsnew file | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 3f3ebcb6e5830..7e8e1b15654a0 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -296,8 +296,7 @@ Categorical Concatenation
b = pd.Categorical(["a", "b"])
union_categoricals([a, b])
-- ``co... | https://api.github.com/repos/pandas-dev/pandas/pulls/14185 | 2016-09-08T14:36:38Z | 2016-09-08T15:02:13Z | 2016-09-08T15:02:13Z | 2016-09-08T15:02:19Z | |
ENH: Added multicolumn/multirow support for latex | diff --git a/doc/source/options.rst b/doc/source/options.rst
index 77cac6d495d13..10a13ed36df8d 100644
--- a/doc/source/options.rst
+++ b/doc/source/options.rst
@@ -273,151 +273,156 @@ Options are 'right', and 'left'.
Available Options
-----------------
-========================== ============ =====================... | - [x] closes #13508
- [X] tests added / passed
- [X] passes `git diff upstream/master | flake8 --diff`
- [X] whatsnew entry
Print names of MultiIndex columns.
Added "multicol" and "multirow" flags to to_latex
which trigger the corresponding feature.
Multirow adds clines to visually separate sections.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14184 | 2016-09-08T12:14:10Z | 2017-03-03T09:16:46Z | 2017-03-03T09:16:46Z | 2017-03-03T09:17:22Z |
BUG: fix str.contains for series containing only nan values | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index a007500322ed4..e077b126ae975 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1567,3 +1567,4 @@ Bug Fixes
- Bug in ``eval()`` where the ``resolvers`` argument would not accept a list (:issue:`1409... | - [x] closes #14171
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14182 | 2016-09-08T09:54:44Z | 2016-09-09T22:29:16Z | null | 2016-09-09T22:29:29Z |
MAINT: Use __module__ in _DeprecatedModule. | diff --git a/pandas/core/api.py b/pandas/core/api.py
index c0f39e2ac4717..b5e1de2063c7e 100644
--- a/pandas/core/api.py
+++ b/pandas/core/api.py
@@ -31,14 +31,12 @@
# see gh-14094.
from pandas.util.depr_module import _DeprecatedModule
-_alts = ['pandas.tseries.tools', 'pandas.tseries.offsets',
- 'pandas.tse... | Follow-up to #14105. Uses the `__module__` method to correctly determine the location of the alternative
module to use.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14181 | 2016-09-08T03:44:04Z | 2016-09-14T08:31:04Z | 2016-09-14T08:31:04Z | 2016-09-14T14:52:06Z |
DOC: clean-up 0.19.0 whatsnew file | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 9f468ae6785cb..a007500322ed4 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1,25 +1,28 @@
.. _whatsnew_0190:
-v0.19.0 (August ??, 2016)
--------------------------
+v0.19.0 (September ??, 2016)... | WIP (it's actually not critical for rc, as we do link to the dev docs (which are updated after rc release) anyway)
| https://api.github.com/repos/pandas-dev/pandas/pulls/14176 | 2016-09-07T10:50:38Z | 2016-09-07T19:15:38Z | 2016-09-07T19:15:38Z | 2016-09-07T19:15:38Z |
Fix trivial typo in comment | diff --git a/pandas/tseries/offsets.py b/pandas/tseries/offsets.py
index f12ba8083f545..051cc8aa4d018 100644
--- a/pandas/tseries/offsets.py
+++ b/pandas/tseries/offsets.py
@@ -814,7 +814,7 @@ def apply(self, other):
if bd != 0:
skip_bd = BusinessDay(n=bd)
- # midnight bus... | https://api.github.com/repos/pandas-dev/pandas/pulls/14174 | 2016-09-07T10:28:45Z | 2016-09-07T10:49:24Z | 2016-09-07T10:49:24Z | 2016-09-07T10:49:41Z | |
DOC: cleanup build warnings | diff --git a/doc/source/dsintro.rst b/doc/source/dsintro.rst
index b5ad681426b15..6063e3e8bce45 100644
--- a/doc/source/dsintro.rst
+++ b/doc/source/dsintro.rst
@@ -935,134 +935,20 @@ method:
minor_axis=['a', 'b', 'c', 'd'])
panel.to_frame()
-
-.. _dsintro.panel4d:
-
-Panel4D (Experimental)
-... | https://api.github.com/repos/pandas-dev/pandas/pulls/14172 | 2016-09-07T09:50:46Z | 2016-09-07T13:57:22Z | 2016-09-07T13:57:22Z | 2016-09-07T13:57:22Z | |
API/DEPR: Remove +/- as setops for DatetimeIndex/PeriodIndex (GH9630) | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 2d93652ca91db..9345f11aca341 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -932,14 +932,16 @@ New Behavior:
Index ``+`` / ``-`` no longer used for set operations
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... | xref #13777, deprecations put in place in #9630
| https://api.github.com/repos/pandas-dev/pandas/pulls/14164 | 2016-09-06T15:53:21Z | 2016-09-07T13:11:04Z | 2016-09-07T13:11:04Z | 2016-09-07T13:24:30Z |
ERR: improves message raised for bad names in usecols (GH14154) | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 1c12a145caf72..dd8565670a6bf 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -471,6 +471,7 @@ Other enhancements
- :meth:`~DataFrame.to_html` now has a ``border`` argument to control the value in ... | - [X] partial fix for #14154
- [X] tests added / passed
- [X] passes `git diff upstream/master | flake8 --diff`
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14163 | 2016-09-06T13:59:11Z | 2017-02-27T16:04:20Z | null | 2023-05-11T01:14:05Z |
TST: Make encoded sep check more locale sensitive | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index 3bd8579d456d3..93c431531355a 100755
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -800,17 +800,22 @@ def _clean_options(self, options, engine):
" different from '\s+' are"\
" i... | Follow-up to #14120 to make the `sep` check more locale sensitive. Closes #14140.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14161 | 2016-09-06T02:08:59Z | 2016-09-08T22:12:53Z | 2016-09-08T22:12:53Z | 2016-09-09T02:03:05Z |
BUG : assignment of non-ns timedelta64 value (GH14155) | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 7f471904acf30..a391691a7550a 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1478,3 +1478,4 @@ Bug Fixes
- Bug in ``eval()`` where the ``resolvers`` argument would not accept a list (:issue:`14... | - [x] closes #14155
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14160 | 2016-09-06T01:51:49Z | 2016-09-08T10:22:35Z | null | 2016-09-08T10:22:40Z |
WIP/ENH: reading older Stata versions, #11526 | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 4aee6f72b1d53..e2e8ddcc47271 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -33,8 +33,6 @@ Other enhancements
-
-
.. _whatsnew_0200.api_breaking:
Backwards incompatible API changes
@@ -8... | A simple file seems to read OK if we just treat it like other "old format" (version 104-115) files. However I do not currently have any documentation for this format. The only relevant resource I can find is the file `foreign/src/stataread.c` in the R `foreign` package sources:
https://cran.r-project.org/src/contrib... | https://api.github.com/repos/pandas-dev/pandas/pulls/14159 | 2016-09-05T19:43:57Z | 2016-09-11T13:55:39Z | null | 2016-09-11T13:55:44Z |
Fix typo (change 'n' to 'k' in get_dummies documentation) | diff --git a/pandas/core/reshape.py b/pandas/core/reshape.py
index 4dec8b4106126..fa5d16bd85e98 100644
--- a/pandas/core/reshape.py
+++ b/pandas/core/reshape.py
@@ -984,7 +984,7 @@ def get_dummies(data, prefix=None, prefix_sep='_', dummy_na=False,
.. versionadded:: 0.16.1
drop_first : bool, default Fals... | Just changing an `n` to a `k`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14153 | 2016-09-05T12:19:02Z | 2016-09-05T14:16:31Z | 2016-09-05T14:16:31Z | 2016-09-05T14:16:35Z |
BUG/TST: Empty input arrays in cartesian_product and MultiIndex (#12258) | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 454ffc5e5c685..67beb468dce8a 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1471,6 +1471,7 @@ Bug Fixes
- Bug in ``MultiIndex`` slicing where extra elements were returned when level is non-uniqu... | - [x] closes #12258
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
This commit:
1. fixes logic (and division by 0) in `cartesian_product` when some input arrays are empty
2. adds tests for MultiIndex empty level construction with `.from_arrays` and `.from_produ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14151 | 2016-09-05T04:46:36Z | 2016-09-27T10:36:44Z | null | 2016-10-08T02:53:24Z |
MAINT: flake8 *.pyx files | diff --git a/ci/lint.sh b/ci/lint.sh
index 61d74ae28377e..a866b04445f96 100755
--- a/ci/lint.sh
+++ b/ci/lint.sh
@@ -20,15 +20,7 @@ if [ "$LINT" ]; then
echo "Linting *.py DONE"
echo "Linting *.pyx"
- for path in 'window.pyx' "src/join.pyx"
- do
- echo "linting -> pandas/$path"
- flake8 ... | closes #12995
flake8-ed *.pyx files and fixed errors.
Removed the E226 check because that inhibits pointers (e.g. char*). In addition, the check is not even universally accepted in Python.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14147 | 2016-09-04T06:43:56Z | 2016-09-06T10:18:08Z | null | 2016-09-06T20:10:28Z |
BUG: DatetimeTZBlock can't assign values near dst boundary | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index a3e8f0c314352..1fd135f1436da 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1559,7 +1559,7 @@ Bug Fixes
- Bug in ``Series`` flexible arithmetic methods (like ``.add()``) raises ``ValueError`` wh... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Value assignment doesn't work if data contains DST boundary because of internal `.localize(None)`.
```
s = pd.Series(pd.date_range('2016-11-06', freq='H', periods=3, tz='US/Eastern'))
s[1] = pd.Timestamp('2011-01-... | https://api.github.com/repos/pandas-dev/pandas/pulls/14146 | 2016-09-04T01:14:48Z | 2016-09-10T14:34:57Z | null | 2016-09-10T21:12:49Z |
CLN/BUG: fix ndarray assignment may cause unexpected cast | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index d76a78c68fb73..5f62ec8330165 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -446,6 +446,8 @@ Bug Fixes
- Bug in ``GroupBy.get_group()`` failing with a categorical grouper (:issue:`15155`)
- Bug ... | - [x] closes #14001
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Fixed a bug with assignment against block may be coerced incorrectly.
```
s = pd.Series([pd.Timestamp('2011-01-01'), pd.Timestamp('2012-01-01')])
s[1] = 1
s
#0 2011-01-01 00:00:00.000000000
#1... | https://api.github.com/repos/pandas-dev/pandas/pulls/14145 | 2016-09-04T01:10:37Z | 2017-05-21T19:49:10Z | null | 2017-05-21T19:49:10Z |
Add the steps to setup gbq integration testing to the contributing docs | diff --git a/.travis.yml b/.travis.yml
index 4d3908bc35de4..c6f6d8b81ae59 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -229,14 +229,8 @@ matrix:
- USE_CACHE=true
before_install:
- # gbq secure key
- - if [ -n "$encrypted_1d9d7b1f171b_iv" ]; then
- openssl aes-256-cbc -K $encrypted_1d9d7b1f171b_key... | Pull requests from forked repositories cannot access the existing secure Google BigQuery credentials which are on Travis at pydata/pandas. In order for contributors to run Google BigQuery integration tests on Travis, they need to create a pull request on their forked repository of pandas with their own secure Google Bi... | https://api.github.com/repos/pandas-dev/pandas/pulls/14144 | 2016-09-03T13:43:30Z | 2016-09-07T13:22:53Z | 2016-09-07T13:22:53Z | 2016-09-07T13:23:04Z |
TST: fix blosc version | diff --git a/ci/requirements-2.7.pip b/ci/requirements-2.7.pip
index d16b932c8be4f..44e1695bf1a7f 100644
--- a/ci/requirements-2.7.pip
+++ b/ci/requirements-2.7.pip
@@ -1,4 +1,4 @@
-blosc
+blosc==1.4.1
httplib2
google-api-python-client==1.2
python-gflags==2.0
| something wrong with update for blosc=1.4.3 (latest via pip).
| https://api.github.com/repos/pandas-dev/pandas/pulls/14142 | 2016-09-02T23:48:14Z | 2016-09-02T23:52:39Z | 2016-09-02T23:52:39Z | 2016-09-02T23:52:39Z |
TST: sparse / dummy array comparisons on windows, xref #14140 | diff --git a/pandas/sparse/tests/test_list.py b/pandas/sparse/tests/test_list.py
index 0b933b4f9c6f2..b117685b6e968 100644
--- a/pandas/sparse/tests/test_list.py
+++ b/pandas/sparse/tests/test_list.py
@@ -60,8 +60,11 @@ def test_append_zero(self):
splist.append(arr[5])
splist.append(arr[6:])
... | partial on #14140
| https://api.github.com/repos/pandas-dev/pandas/pulls/14141 | 2016-09-02T23:35:24Z | 2016-09-03T00:00:37Z | 2016-09-03T00:00:37Z | 2016-09-03T00:00:37Z |
BUG: Don't print stray newline with MultiIndex | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 4365c66237752..a02e6ac200e42 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1355,6 +1355,7 @@ Bug Fixes
- Bug in using NumPy ufunc with ``PeriodIndex`` to add or subtract integer raise ``Incompa... | Title is self-explanatory.
Closes #6618.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14132 | 2016-09-01T05:15:08Z | 2016-09-02T11:19:42Z | null | 2016-09-02T22:50:48Z |
API/DEPR: Remove +/- as setops for Index (GH8227) | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index a422e667e32a7..fd9446cc45c08 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -919,6 +919,43 @@ of ``int64`` (:issue:`13988`)
pi = pd.PeriodIndex(['2011-01', '2011-02'], freq='M')
pi.values
... | xref #13777, deprecations put in place in #8227
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14127 | 2016-08-31T10:38:15Z | 2016-09-06T14:30:58Z | 2016-09-06T14:30:58Z | 2016-09-07T13:24:30Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.