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 |
|---|---|---|---|---|---|---|---|
Reverse numpy compat changes to tslib.pyx | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 907ca6f185e0a..5b4a4981ab8ad 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -54,7 +54,6 @@ API changes
- Non-convertible dates in an excel date column will be returned without conversion and ... | Title is self-explanatory. xref #13148.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13246 | 2016-05-21T01:19:16Z | 2016-05-21T14:05:17Z | null | 2016-05-21T19:25:51Z |
Fix to_gbq method when verbose=False | diff --git a/pandas/io/gbq.py b/pandas/io/gbq.py
index e706434f29dc5..edd8f8c7b5033 100644
--- a/pandas/io/gbq.py
+++ b/pandas/io/gbq.py
@@ -426,9 +426,8 @@ def load_data(self, dataframe, dataset_id, table_id, chunksize):
rows = []
remaining_rows = len(dataframe)
- if self.verbose:
- ... | Currently the `to_gbq` method fails when `verbose=False`, as the printing of progress is done regardless of the value of the `verbose` flag, and therefore `total_rows` gets called without being set. This change suppresses printing of progress when `verbose=False`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13244 | 2016-05-20T22:13:53Z | 2016-08-15T20:19:33Z | 2016-08-15T20:19:33Z | 2016-08-15T20:19:42Z |
Fixes resampler for grouping kw bug #13235 | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 907ca6f185e0a..7f9b04af514c5 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -177,3 +177,4 @@ Bug Fixes
- Bug in ``Peirod`` and ``Series`` or ``Index`` comparison raises ``TypeError`` (:issue:`132... | - [x] closes #13235
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13241 | 2016-05-20T18:25:40Z | 2016-05-25T12:14:52Z | null | 2016-05-25T12:15:02Z |
Correct ValueError invalid type promotion exception | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index a77bdcec2ce7a..670c24555213d 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -58,6 +58,9 @@ API changes
- Calls to ``.sample()`` will respect the random seed set via ``numpy.random.seed(n)`` (:iss... | - [x] closes #12599
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13234 | 2016-05-19T23:21:12Z | 2016-05-23T13:05:43Z | null | 2016-05-23T13:05:48Z |
BUG: GH13219 Fixed. Allow unicode values in usecol | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 33a48671a9b65..a36e9d5989b6b 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -372,3 +372,4 @@ Bug Fixes
- Bug in ``Categorical.remove_unused_categories()`` changes ``.codes`` dtype to platform... | - [x] closes #13219
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
This is my first time contributing to this project. Let me know what needs to be improved, especially with regards to the test and the bugfix. It was simpler than I imagined which makes me wan... | https://api.github.com/repos/pandas-dev/pandas/pulls/13233 | 2016-05-19T21:27:26Z | 2016-06-01T11:13:41Z | null | 2016-06-01T23:39:15Z |
DOC/API: Styler documentation changes | diff --git a/doc/make.py b/doc/make.py
index c09514d758833..05bf618ee677e 100755
--- a/doc/make.py
+++ b/doc/make.py
@@ -18,13 +18,16 @@
"""
from __future__ import print_function
-import glob
+import io
+import glob # noqa
import os
import shutil
import sys
-import sphinx
+from contextlib import contextmanager
... | Closes https://github.com/pydata/pandas/issues/13222, #13225
- Update docstring and notebook on output shapes matching
- Change build process to use nbconvert to execute the notebook and then convert using NBConvert.
Second commit puts some more restrictions on the output of a user's function passed to `.apply`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13225 | 2016-05-19T01:48:21Z | 2016-06-18T21:26:02Z | null | 2017-04-05T02:06:51Z |
BUG: DataFrame.align bug with join keyword (GH13914) | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 459bdbf10a4f1..8e336a78cc801 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -149,3 +149,4 @@ Bug Fixes
- Bug in ``NaT`` - ``Period`` raises ``AttributeError`` (:issue:`13071`)
- Bug in ``Period`... | - [x] closes #13194
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13216 | 2016-05-18T13:40:42Z | 2017-02-01T20:48:01Z | null | 2017-02-01T20:48:01Z |
Bug Fix for #13207. Added empty attribute for Index | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 459bdbf10a4f1..1a645d5bdcc48 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -149,3 +149,5 @@ Bug Fixes
- Bug in ``NaT`` - ``Period`` raises ``AttributeError`` (:issue:`13071`)
- Bug in ``Period`... | - [x] closes #13207
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13215 | 2016-05-18T12:53:45Z | 2016-05-18T13:28:23Z | null | 2016-05-18T13:28:23Z |
BUG: Fix #13213 json_normalize() and non-ascii characters in keys | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 5b72afe53e30e..3180043b57244 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -113,6 +113,7 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+- Bug in ``io.json.json_normalize()``, where non-asci... | - [ ] closes #13213
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13214 | 2016-05-18T12:52:14Z | 2016-05-19T13:14:46Z | null | 2016-05-19T13:35:41Z |
BUG: Fix #13149 and ENH: 'copy' param in Index.astype() | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 1e2ea618a4a65..8880aee26d4d4 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -49,6 +49,10 @@ Other enhancements
- The ``pd.read_csv()`` with ``engine='python'`` has gained support for the ``deci... | - [x] closes #13149
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
**Update**
1. Float64Index.astype(int) raises ValueError if a NaN is present.
Previously, it converted NaN's to the smallest negative integer.
2. TimedeltaIndex.astype(int) and DatetimeIndex.... | https://api.github.com/repos/pandas-dev/pandas/pulls/13209 | 2016-05-17T21:36:03Z | 2016-05-23T20:45:45Z | null | 2016-05-24T02:16:42Z |
Numindexname | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 93aedce07da9d..eb0de57f6a9de 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -345,7 +345,8 @@ Bug Fixes
- Bug in ``pd.read_hdf()`` where attempting to load an HDF file with a single dataset, that ... | - [x] closes #12309
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entries: name passing, unsupported `dtype`s, `copy=true` for `DateTimeIndex`
This is a rebased & updated version of #12331
I would say the [last commit](https://github.com/pydata/pandas/pull/13205/com... | https://api.github.com/repos/pandas-dev/pandas/pulls/13205 | 2016-05-17T15:46:18Z | 2016-06-14T13:53:54Z | null | 2016-07-26T07:50:30Z |
BUG: Sparse creation with object dtype may raise TypeError | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 459bdbf10a4f1..84751fbe6bfe7 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -116,6 +116,7 @@ Bug Fixes
- Bug in ``SparseSeries`` with ``MultiIndex`` ``[]`` indexing may raise ``IndexError`` (:iss... | closes #11633
closes #11856
Added basic tests for `groupby` and `pivot_table`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13201 | 2016-05-17T12:48:40Z | 2016-05-18T13:22:36Z | null | 2017-01-08T06:31:12Z |
BUG: Period and Series/Index comparison raises TypeError | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 459bdbf10a4f1..e8c0d998985bf 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -148,4 +148,5 @@ Bug Fixes
- Bug in ``NaT`` - ``Period`` raises ``AttributeError`` (:issue:`13071`)
- Bug in ``Perio... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
`Period` and `Series/Index` comparison raises `TypeError` if `Period` is on left hand side.
```
# OK
pd.Series([pd.Period('2011-01-01', freq='D')]) > pd.Period('2011-01-01', freq='D')
#0 False
# dtype: bool
# ... | https://api.github.com/repos/pandas-dev/pandas/pulls/13200 | 2016-05-17T12:43:12Z | 2016-05-17T17:21:02Z | null | 2016-05-17T21:19:26Z |
BUG: align with broadcast_axis, #13194 | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 459bdbf10a4f1..7a04e72a631dc 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -149,3 +149,4 @@ Bug Fixes
- Bug in ``NaT`` - ``Period`` raises ``AttributeError`` (:issue:`13071`)
- Bug in ``Period`... | Closes #13194
- Implemented the _easy fix_
- Future work : To implement broadcast axis remaining functionality.
- All tests in test_generic.py passed.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13198 | 2016-05-17T09:46:32Z | 2016-11-22T11:46:35Z | null | 2016-11-22T11:46:35Z |
CLN: no return on init | diff --git a/pandas/core/window.py b/pandas/core/window.py
index 31874a96f8111..0e0dc4cff2e21 100644
--- a/pandas/core/window.py
+++ b/pandas/core/window.py
@@ -893,10 +893,8 @@ class Expanding(_Rolling_and_Expanding):
def __init__(self, obj, min_periods=1, freq=None, center=False, axis=0,
**kw... | `__init__` shouldn't return anything
| https://api.github.com/repos/pandas-dev/pandas/pulls/13197 | 2016-05-17T04:28:29Z | 2016-05-17T13:22:39Z | null | 2016-05-18T19:21:51Z |
PERF: DataFrame transform | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index 7279d73eb0d97..586bd00b091fe 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -773,6 +773,21 @@ def setup(self):
def time_groupby_transform_series2(self):
self.df.groupby('id')['val'].... | - [x] closes #12737,
closes #13191
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
```
before after ratio
[2de2884 ] [4b352d9 ]
- 164.84ms 1.73ms 0.01 groupby.groupby_transform_dataframe.time_groupby_transform_dataframe
4.44ms ... | https://api.github.com/repos/pandas-dev/pandas/pulls/13192 | 2016-05-15T23:23:09Z | 2016-05-18T13:19:39Z | null | 2016-05-18T22:47:07Z |
TST: Use compatible time zones (#13186) | diff --git a/pandas/tests/series/test_timeseries.py b/pandas/tests/series/test_timeseries.py
index ee06bc2c3dd4e..6082e62d7a424 100644
--- a/pandas/tests/series/test_timeseries.py
+++ b/pandas/tests/series/test_timeseries.py
@@ -347,7 +347,7 @@ def test_getitem_setitem_datetime_tz_dateutil(self):
N = 50
... | - resolves #13186, allowing `pandas.tests.series.test_timeseries.TestSeriesTimeSeries.test_getitem_setitem_datetime_tz_dateutil` to pass on platforms that do not supply zoneinfo for, e.g., "US/Central".
The test failures in Travis are all unrelated to the code affected by this change.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13190 | 2016-05-15T20:13:29Z | 2016-05-16T12:05:24Z | null | 2016-05-16T12:05:24Z |
ENH: support decimal option in PythonParser #12933 | diff --git a/asv_bench/benchmarks/parser_vb.py b/asv_bench/benchmarks/parser_vb.py
index 18cd4de6cc9c5..25fe1bf80a438 100644
--- a/asv_bench/benchmarks/parser_vb.py
+++ b/asv_bench/benchmarks/parser_vb.py
@@ -30,6 +30,18 @@ def time_read_csv_default_converter(self):
read_csv(StringIO(self.data), sep=',', heade... | - [x] closes #12933
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13189 | 2016-05-15T18:44:45Z | 2016-05-22T20:02:38Z | null | 2016-05-22T20:03:12Z |
CLN: Check Warnings in test_graphics_others | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index b09185c19bffb..bd19a83ce2b64 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -450,8 +450,9 @@ def _check_box_return_type(self, returned, return_type, expected_keys=None,
self.assertIsI... | - [x] closes #13185 maybe
- [x] passes `git diff upstream/master | flake8 --diff`
Also a MatplotlibDeprecationWarning for use of `.get_axes()` vs. `.axes` in some tests.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13188 | 2016-05-15T17:11:08Z | 2016-07-05T23:14:36Z | 2016-07-05T23:14:36Z | 2017-04-05T02:06:59Z |
ENH: Improved error message (issue 13084) | diff --git a/pandas/core/internals.py b/pandas/core/internals.py
index 97df81ad6be48..7e90067effbe3 100644
--- a/pandas/core/internals.py
+++ b/pandas/core/internals.py
@@ -4161,8 +4161,9 @@ def construction_error(tot_items, block_shape, axes, e=None):
raise e
if block_shape[0] == 0:
raise ValueE... | - [ ] closes #13084
- [ ] tests passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew:
As per issue 13084, made it clearer for the user to understand why a concat failed. No additional code was needed. This is because the _verify_integrity method inside the BlockManager class of pandas/core/in... | https://api.github.com/repos/pandas-dev/pandas/pulls/13187 | 2016-05-15T15:25:43Z | 2016-05-31T15:19:20Z | null | 2023-05-11T01:13:36Z |
BUG: Bug in .to_datetime() when passing integers or floats, no unit and errors=coerce | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 485591b9357ea..04aaa536b5ca7 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -76,13 +76,26 @@ New Behavior:
type(s.tolist()[0])
+.. _whatsnew_0182.api.to_datetime_coerce:
+``.to_datetime(... | closes #13180
| https://api.github.com/repos/pandas-dev/pandas/pulls/13183 | 2016-05-15T13:54:32Z | 2016-05-20T14:06:49Z | null | 2018-08-18T07:59:16Z |
BUG: fix to_records confict with unicode_literals #13172 | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 459bdbf10a4f1..fa7accb9785be 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -120,6 +120,7 @@ Bug Fixes
- Bug in ``.groupby(..).resample(..)`` when the same object is called multiple times (:i... | - [ ] closes #13172
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13178 | 2016-05-14T12:34:29Z | 2016-05-17T13:40:50Z | null | 2016-05-17T13:40:57Z |
DOC: Clarify Categorical Crosstab Behaviour | diff --git a/doc/source/reshaping.rst b/doc/source/reshaping.rst
index 21765b3f621ce..9ed2c42610b69 100644
--- a/doc/source/reshaping.rst
+++ b/doc/source/reshaping.rst
@@ -445,6 +445,16 @@ If ``crosstab`` receives only two Series, it will provide a frequency table.
pd.crosstab(df.A, df.B)
+Any input passed co... | Follow-on to #13073 by explaining the `Categorical` behaviour in the documentation.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13177 | 2016-05-14T02:19:48Z | 2016-05-14T12:02:02Z | null | 2016-05-14T12:05:16Z |
Correct bool to datetime conversion (behaviour based on int/float processing) | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 004e2dcc20084..c1d0adaafdf8e 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -245,6 +245,7 @@ Bug Fixes
- Bug in ``Series`` arithmetic raises ``TypeError`` if it contains datetime-like as ``object... | - [x] closes #11853
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13176 | 2016-05-14T01:55:57Z | 2016-05-26T12:43:40Z | null | 2016-05-26T12:44:28Z |
BUG: Bug in .groupby(..).resample(..) when the same object is called multiple times | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index b86a7a81625e2..e92cb8cef4432 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -118,7 +118,7 @@ Bug Fixes
- Bug when passing a not-default-indexed ``Series`` as ``xerr`` or ``yerr`` in ``.plot()`` (... | closes #13174
| https://api.github.com/repos/pandas-dev/pandas/pulls/13175 | 2016-05-14T01:47:09Z | 2016-05-14T12:01:13Z | null | 2016-05-14T12:01:13Z |
DOC: Fix additional join examples in "10 Minutes to pandas" #13029 | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index d51290b2a983b..54bcd76855f32 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -483,6 +483,17 @@ SQL style merges. See the :ref:`Database style joining <merging.join>`
right
pd.merge(left, right, on='key')
+Another example that can b... | - [x] closes #13029
| https://api.github.com/repos/pandas-dev/pandas/pulls/13171 | 2016-05-13T15:42:08Z | 2016-05-13T23:14:43Z | null | 2016-05-13T23:14:58Z |
BUG: preserve join keys dtype | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 9557867c252ed..9e7ae2357c541 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -1333,6 +1333,7 @@ Modifying and Computations
Index.max
Index.reindex
Index.repeat
+ Index.where
Index.take
Index.putmask
Index.set_names
diff --g... | - closes #8596, preserve join keys dtype
- adds `Index.where` method for all Index types (like `np.where/Series.where`), but preserves dtypes
| https://api.github.com/repos/pandas-dev/pandas/pulls/13170 | 2016-05-13T14:07:22Z | 2016-05-27T12:41:32Z | null | 2016-05-27T12:41:32Z |
CLN, DOC: Remove unused parameters | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 6c80ab9d87e33..5dd2f131df1d8 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -5339,7 +5339,7 @@ def _make_cum_function(cls, name, name1, name2, axis_descr, desc, accum_func,
axis_descr=axis_descr)
@Appender("R... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] remove unused parameters `out` and `dtype` from `cumulated` functions (`cummin`, `cumsum`, `cumprod`, `cummax`)
This also affects the documentation. Check for example: http://pandas.pydata.org/pandas-docs/stable... | https://api.github.com/repos/pandas-dev/pandas/pulls/13167 | 2016-05-13T08:48:15Z | 2016-06-30T12:21:18Z | null | 2023-05-11T01:13:35Z |
DOC: Fix delim_whitespace regex typo. | diff --git a/doc/source/io.rst b/doc/source/io.rst
index cc51fbd1e30ab..af8bca14e5d6f 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -99,7 +99,7 @@ delimiter : str, default ``None``
Alternative argument name for sep.
delim_whitespace : boolean, default False
Specifies whether or not whitespace (e.g. `... | Minor typo in the explanation of delim_whitespace which tripped up a user on SO (although the user should probably have been using `delim_whitespace=True` directly anyhow.)
| https://api.github.com/repos/pandas-dev/pandas/pulls/13165 | 2016-05-13T00:56:20Z | 2016-05-13T08:48:02Z | null | 2016-05-13T08:48:08Z |
TST: Test resampling with NaT | diff --git a/pandas/tseries/tests/test_resample.py b/pandas/tseries/tests/test_resample.py
index 5dd2368db2cb8..dd5ab36d10a45 100644
--- a/pandas/tseries/tests/test_resample.py
+++ b/pandas/tseries/tests/test_resample.py
@@ -1846,6 +1846,32 @@ def test_resmaple_dst_anchor(self):
... | - Closes #13020
- Adds `test_generic.py:TestDataFrame.test_resample_with_nat`
- Passes tests and flake8
- No documentation needed
| https://api.github.com/repos/pandas-dev/pandas/pulls/13164 | 2016-05-12T23:45:48Z | 2016-05-18T22:10:30Z | null | 2016-05-18T23:11:17Z |
BUG: Misc fixes for SparseSeries indexing with MI | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 85209c0dfa03d..bdaa654ba8520 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -107,6 +107,9 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+
+- Bug in ``SparseSeries`` with ``MultiIndex`` ``[]`... | - [x] closes #13144
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Fixed following bugs. These makes `MultiIndex` repr work.
```
orig = pd.Series([1, np.nan, np.nan, 3, np.nan], index=idx)
sparse = orig.to_sparse()
sparse['A']
# IndexError: Out of bounds ac... | https://api.github.com/repos/pandas-dev/pandas/pulls/13163 | 2016-05-12T23:08:36Z | 2016-05-13T13:21:47Z | null | 2016-05-13T16:59:12Z |
Use np.random's RandomState when seed is None | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 907ca6f185e0a..ddefb2849d1f2 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -56,6 +56,8 @@ API changes
- Non-convertible dates in an excel date column will be returned without conversion and the ... | - [x] closes #13143
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
The handle for numpy's current random state is
`np.random.mtrand._rand`.
Compare https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/utils/validation.py#L573
| https://api.github.com/repos/pandas-dev/pandas/pulls/13161 | 2016-05-12T19:05:29Z | 2016-05-21T14:37:56Z | null | 2017-02-18T16:53:26Z |
ENH/BUG: str.extractall doesn't support index | diff --git a/doc/source/text.rst b/doc/source/text.rst
index 16b16a320f75b..3822c713d7f85 100644
--- a/doc/source/text.rst
+++ b/doc/source/text.rst
@@ -281,7 +281,7 @@ Unlike ``extract`` (which returns only the first match),
.. ipython:: python
- s = pd.Series(["a1a2", "b1", "c1"], ["A", "B", "C"])
+ s = pd.S... | - [x] closes #10008
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
```
# same output as pd.Series(["a1a2", "b1", "c1"]).str.extractall("[ab](?P<digit>\d)")
idx = pd.Index(["a1a2", "b1", "c1"])
idx.str.extractall("[ab](?P<digit>\d)")
# digit
# match ... | https://api.github.com/repos/pandas-dev/pandas/pulls/13156 | 2016-05-12T13:44:25Z | 2016-05-13T13:24:58Z | null | 2016-05-13T16:57:28Z |
COMPAT: Further Expand Compatibility with fromnumeric.py | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 61461be87801e..abf6ee2953f8b 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -46,7 +46,8 @@ API changes
- Non-convertible dates in an excel date column will be returned without conversion and ... | Follow-on to #12810 by expanding compatibility with `fromnumeric.py` in the following modules:
1) `tslib.pyx`
2) `window.py`
3) `groupby.py` and `resample.py` (shared classes)
Closes #12811.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13148 | 2016-05-12T01:55:13Z | 2016-05-20T13:19:33Z | null | 2016-05-20T23:53:31Z |
CLN: reorg type inference & introspection | diff --git a/ci/lint.sh b/ci/lint.sh
index a4c960084040f..9f582f72fcdd7 100755
--- a/ci/lint.sh
+++ b/ci/lint.sh
@@ -8,7 +8,7 @@ RET=0
if [ "$LINT" ]; then
echo "Linting"
- for path in 'core' 'indexes' 'types' 'formats' 'io' 'stats' 'compat' 'sparse' 'tools' 'tseries' 'tests' 'computation' 'util'
+ for pa... | closes #12503
So this is the big boy. destroyed `core/common.py` and split up. Now have no more import issues and a nice private API. Nothing is exported by default. You have to explicity import things.
There is now a `pandas.api`, so:
```
In [1]: from pandas import api
In [2]: dir(api)
Out[2]:
['__builtins__',
... | https://api.github.com/repos/pandas-dev/pandas/pulls/13147 | 2016-05-11T21:56:46Z | 2016-07-13T11:52:44Z | null | 2016-07-13T11:52:44Z |
Fine-grained errstate handling | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index cc3cc631b9575..cf60a7fed3ac2 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -7,6 +7,10 @@ This is a major release from 0.18.1 and includes a small number of API changes,
enhancements, and perform... | - [x] closes #13109
- [x] closes #13135
- [x] tests passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
The precise strategy to be taken here is open for discussion. I tried to be reasonably fine-grained rather than slap a generic decorator over everything because it's easier to go tha... | https://api.github.com/repos/pandas-dev/pandas/pulls/13145 | 2016-05-11T20:55:37Z | 2016-08-21T13:37:54Z | null | 2016-08-21T13:54:47Z |
Implement is_array_like | diff --git a/pandas/api/tests/test_api.py b/pandas/api/tests/test_api.py
index d4d8b7e4e9747..a49710c58d344 100644
--- a/pandas/api/tests/test_api.py
+++ b/pandas/api/tests/test_api.py
@@ -158,7 +158,7 @@ class TestTypes(Base, tm.TestCase):
'is_dict_like', 'is_iterator',
'is_list_like', ... | - [ ] closes #12764
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Is it worth using this PR to consolidate how the common package is imported across modules? Some files use `from pandas.core.common import *` style whereas others use `import pandas.core.common ... | https://api.github.com/repos/pandas-dev/pandas/pulls/13142 | 2016-05-11T16:16:48Z | 2016-09-15T10:10:49Z | null | 2023-05-11T01:13:33Z |
COMPAT/REF: Use s3fs for s3 IO | diff --git a/ci/requirements-2.7-64.run b/ci/requirements-2.7-64.run
index 42b5a789ae31a..94472dafd565d 100644
--- a/ci/requirements-2.7-64.run
+++ b/ci/requirements-2.7-64.run
@@ -11,7 +11,7 @@ sqlalchemy
lxml=3.2.1
scipy
xlsxwriter
-boto
+s3fs
bottleneck
html5lib
beautiful-soup
diff --git a/ci/requirements-2.7.... | - [x] closes #11915
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13137 | 2016-05-11T12:30:13Z | 2016-12-19T12:55:55Z | null | 2017-04-05T02:07:19Z |
COMPAT: boto import issues | diff --git a/pandas/io/common.py b/pandas/io/common.py
index dc7c483c1fb68..cf4bba6e97afb 100644
--- a/pandas/io/common.py
+++ b/pandas/io/common.py
@@ -104,85 +104,6 @@ def __next__(self):
BaseIterator.next = lambda self: self.__next__()
-try:
- from boto.s3 import key
-
- class BotoFileLikeReader(key.K... | https://api.github.com/repos/pandas-dev/pandas/pulls/13136 | 2016-05-11T11:59:10Z | 2016-05-11T13:32:49Z | null | 2016-05-11T13:32:49Z | |
pd.DataFrame.describe percentile string precision | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 6c80ab9d87e33..ae1f413a9e2bf 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -4885,11 +4885,12 @@ def describe(self, percentiles=None, include=None, exclude=None):
percentiles = np.hstack([lh, 0.5, uh])
def pr... | - [ ] closes #13104
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew pretty format returns based on decimalization of input and not just fixed to a single decimal precision
| https://api.github.com/repos/pandas-dev/pandas/pulls/13132 | 2016-05-11T00:56:27Z | 2016-05-31T15:20:04Z | null | 2016-05-31T15:20:04Z |
FIX: revert part of #11770 | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 34bd2956319fc..a7efb3fb3070d 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -143,7 +143,4 @@ Bug Fixes
-
-
-
-
+- Bug in ``AutoDataFormatter``, restore second scaled formatting and readd mus... | Reverts part of:
https://github.com/pydata/pandas/pull/11770
Closes:
https://github.com/matplotlib/matplotlib/issues/6365
The mistake in #11770 was missing that pandas had a 1/us not 1/s
scaled bucket.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13131 | 2016-05-10T23:50:50Z | 2016-05-20T14:34:19Z | null | 2016-05-21T18:13:46Z |
Make os.linesep default line_terminator in to_clipboard | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 2f78c9acf7972..78fd446c4d5d6 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1211,7 +1211,7 @@ def to_pickle(self, path):
from pandas.io.pickle import to_pickle
return to_pickle(self, path)
- def to_clipboard(... | closes #11720
- Make os.linesep default line_terminator in to_clipboard
- Add line_terminator kw to Series.to_csv
- Refactor to_clipboard
Observed/fixed problems in to_clipboard:
- try..except: pass
- excel=None, though it defaults to True
- several code paths with return
- sep argument could be passed via kwargs
- "o... | https://api.github.com/repos/pandas-dev/pandas/pulls/13125 | 2016-05-10T08:22:54Z | 2016-12-26T21:46:14Z | null | 2016-12-26T21:46:14Z |
BUG: Added checks for NaN in __call__ of EngFormatter | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index fa426aa30bc65..9ffe068fac166 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -132,3 +132,4 @@ Bug Fixes
- Bug in ``NaT`` - ``Period`` raises ``AttributeError`` (:issue:`13071`)
- Bug in ``Perio... | - [x] closes #11981
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Closes #11981
Updated the v0.18.2 document
In the function `__call__` of EngFormatter check if decimal input is NaN.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13124 | 2016-05-10T04:37:39Z | 2016-05-11T22:18:27Z | null | 2016-05-11T23:24:40Z |
PERF: quantile now operates per block boosting perf / fix quantile with nan | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index 9367c42f8d39a..5c5a1df4ea1f8 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -423,7 +423,7 @@ class frame_get_dtype_counts(object):
goal_time = 0.2
def setup(sel... | closes #11623
closes #13098
There is a slight API change in that the returned Series are now named by the quantile.
this PR
```
In [1]: df = DataFrame(np.random.randn(1000, 3), columns=list('ABC'))
In [2]: %timeit df.quantile([0.1, 0.5], axis=1)
1000 loops, best of 3: 830 Β΅s per loop
```
0.18.1
```
In [3]: df.quan... | https://api.github.com/repos/pandas-dev/pandas/pulls/13122 | 2016-05-09T22:02:04Z | 2016-05-12T13:12:58Z | null | 2016-05-12T13:12:58Z |
BUG: GH12896 where extra elements are returned in MultiIndex slicing | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index b86a7a81625e2..d1eb17ea9860f 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -134,7 +134,7 @@ Bug Fixes
-
+- Bug in ``MultiIndex`` slicing where extra elements were returned when level is non... | - [x] closes #12896
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Is this the right way to do this?
cc @MaximilianR
| https://api.github.com/repos/pandas-dev/pandas/pulls/13117 | 2016-05-08T18:22:44Z | 2016-05-14T12:04:34Z | null | 2016-05-14T12:04:34Z |
Validate Timestamp with invalid offset raises ValueError | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index fa426aa30bc65..c86e7401c3e4f 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -32,7 +32,7 @@ Other enhancements
- The ``.tz_localize()`` method of ``DatetimeIndex`` and ``Timestamp`` has gained the... | - [x] closes #11630
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13116 | 2016-05-08T15:25:36Z | 2016-05-10T14:18:27Z | null | 2016-05-10T14:18:27Z |
[BUG] Reading multiindex, incorrectly names columns without name. | diff --git a/pandas/formats/format.py b/pandas/formats/format.py
index c3ffc018d1031..dd1ce1d446e88 100644
--- a/pandas/formats/format.py
+++ b/pandas/formats/format.py
@@ -1277,29 +1277,41 @@ def _write_hierarchical_rows(self, fmt_values, indent):
def _get_level_lengths(levels, sentinel=''):
- from itertools i... | - [x] closes #12453
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Fixed reading and writing of Multiindex.
In a situation where Multiindex looked like this:
| One | Two |
| --- | --- |
| X | |
it was changed to:
| One | Two |
| --- | --- |
| X | X |
| https://api.github.com/repos/pandas-dev/pandas/pulls/13115 | 2016-05-08T14:18:28Z | 2016-06-06T23:20:34Z | null | 2016-06-06T23:20:51Z |
Correct KeyError from matplotlib when processing Series yerr | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 5ffbce9867121..43fe9c32e4c64 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -30,7 +30,7 @@ Other enhancements
^^^^^^^^^^^^^^^^^^
- The ``.tz_localize()`` method of ``DatetimeIndex`` and ``Time... | - [x] closes #11858
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13114 | 2016-05-08T01:33:19Z | 2016-05-13T13:19:16Z | null | 2016-05-13T13:19:49Z |
DOC: Multiindex sort docs | diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst
index ef2df3f925e6b..7de5b5fd37a5c 100644
--- a/doc/source/advanced.rst
+++ b/doc/source/advanced.rst
@@ -477,31 +477,24 @@ allowing you to permute the hierarchical index levels in one step:
df[:5].reorder_levels([1,0], axis=0)
-The need for sortedn... | closes https://github.com/pydata/pandas/issues/13108
| https://api.github.com/repos/pandas-dev/pandas/pulls/13112 | 2016-05-07T21:14:27Z | 2016-05-08T15:17:15Z | null | 2016-12-22T05:57:45Z |
COMPAT: add 0.17.0 pickle/msgpacks | diff --git a/pandas/io/tests/data/legacy_msgpack/0.17.0/0.17.0_AMD64_windows_2.7.11.msgpack b/pandas/io/tests/data/legacy_msgpack/0.17.0/0.17.0_AMD64_windows_2.7.11.msgpack
new file mode 100644
index 0000000000000..590e11b14d88b
Binary files /dev/null and b/pandas/io/tests/data/legacy_msgpack/0.17.0/0.17.0_AMD64_window... | for completeness
| https://api.github.com/repos/pandas-dev/pandas/pulls/13099 | 2016-05-05T20:58:03Z | 2016-05-06T11:39:51Z | null | 2016-05-06T11:39:51Z |
add --force to pandas build error message | diff --git a/pandas/__init__.py b/pandas/__init__.py
index c26785d87bba0..53642fdcfeb31 100644
--- a/pandas/__init__.py
+++ b/pandas/__init__.py
@@ -27,8 +27,8 @@
module = str(e).lstrip('cannot import name ') # hack but overkill to use re
raise ImportError("C extension: {0} not built. If you want to import "... | - [x] closes #13095
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13096 | 2016-05-05T17:31:59Z | 2016-05-05T17:36:14Z | null | 2016-05-05T17:39:20Z |
Improve error message for category dtype in HDF5, format="fixed" store. | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index 854843ffdd152..dff2c6f0df7b1 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -2517,7 +2517,9 @@ def write_array(self, key, value, items=None):
transposed = False
if com.is_categorical_dtype(value):
- raise ... | A more explicit (and helpful) error message would have helped me discover sooner that format="table" supported categorical data.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13093 | 2016-05-05T15:58:48Z | 2016-05-05T17:20:38Z | null | 2016-05-05T20:01:23Z |
TST: Fix assertNotIsInstance msg | diff --git a/pandas/tests/test_testing.py b/pandas/tests/test_testing.py
index 19598a54c6585..caacfc4115b68 100644
--- a/pandas/tests/test_testing.py
+++ b/pandas/tests/test_testing.py
@@ -627,6 +627,21 @@ def test_frame_equal_message(self):
by_blocks=True)
+class TestIsInstance(tm.T... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
The current error message below is confusing.
```
tm.assertNotIsInstance(pd.Series([1]), pd.Series)
# AssertionError: Expected object to be of type <class 'pandas.core.series.Series'>, found <class 'pandas.core.series.Series'> instead
... | https://api.github.com/repos/pandas-dev/pandas/pulls/13091 | 2016-05-05T12:31:50Z | 2016-05-06T11:42:22Z | null | 2016-05-06T12:33:06Z |
sas7bdat date/datetime formats | diff --git a/pandas/io/sas/sas7bdat.py b/pandas/io/sas/sas7bdat.py
index b75f05cf9ed7e..f4474b7480236 100644
--- a/pandas/io/sas/sas7bdat.py
+++ b/pandas/io/sas/sas7bdat.py
@@ -629,9 +629,15 @@ def _chunk_to_dataframe(self):
rslt[name] = self._byte_chunk[jb, :].view(
dtype=self.byt... | Support more date and datetime formats
| https://api.github.com/repos/pandas-dev/pandas/pulls/13089 | 2016-05-05T06:47:00Z | 2016-08-09T23:25:11Z | null | 2016-08-10T16:29:17Z |
TST: Check ndarray dtype by default | diff --git a/pandas/computation/tests/test_eval.py b/pandas/computation/tests/test_eval.py
index 62e643b095c4d..143e6017b462a 100644
--- a/pandas/computation/tests/test_eval.py
+++ b/pandas/computation/tests/test_eval.py
@@ -607,7 +607,7 @@ def test_unary_in_array(self):
'-37, 37, ~37, +37]'),
... | - [x] split from #13080
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
Also did little cleanup of `testing.pyx` and `testing.py`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13088 | 2016-05-05T05:10:49Z | 2016-05-07T17:08:11Z | null | 2016-05-07T20:28:57Z |
modified schema field list | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 4eb42e1fb918d..92f8ee29d753b 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -4386,10 +4386,17 @@ a ``TableCreationError`` if the destination table already exists.
.. note::
- If the ``if_exists`` argument is set to ``'append'``, the destination ... | - [x] closes #13086
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13087 | 2016-05-05T01:37:38Z | 2017-01-21T23:14:36Z | null | 2017-01-21T23:14:36Z |
PERF: Sparse ops speedup | diff --git a/asv_bench/benchmarks/sparse.py b/asv_bench/benchmarks/sparse.py
index c9f979e323445..717fe7218ceda 100644
--- a/asv_bench/benchmarks/sparse.py
+++ b/asv_bench/benchmarks/sparse.py
@@ -55,7 +55,7 @@ def time_sparse_series_to_coo(self):
self.ss.to_coo(row_levels=[0, 1], column_levels=[2, 3], sort_la... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Follow-up for #13036. Perf improvements are not significant because the number of previous `list.append` call is not so large.
```
import numpy as np
import pandas as pd
np.random.seed(1)
N = 1000000
a = np.array(... | https://api.github.com/repos/pandas-dev/pandas/pulls/13082 | 2016-05-04T12:32:14Z | 2016-05-05T12:03:38Z | null | 2016-05-05T12:11:34Z |
TST/CLN: Cleanup test_pickle | diff --git a/pandas/io/tests/test_pickle.py b/pandas/io/tests/test_pickle.py
index 2d3adce236b40..4ff0363d07df6 100644
--- a/pandas/io/tests/test_pickle.py
+++ b/pandas/io/tests/test_pickle.py
@@ -68,15 +68,37 @@ def compare(self, vf, version):
try:
expected = self.data[typ][dt]
... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
Merging comparison dispatch logic.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13081 | 2016-05-04T12:25:01Z | 2016-05-04T13:57:14Z | null | 2016-05-04T14:02:15Z |
TST: fix assert_categorical_equal message | diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py
index 4f80c610c1126..44c91862227d8 100644
--- a/pandas/core/categorical.py
+++ b/pandas/core/categorical.py
@@ -985,7 +985,7 @@ def __setstate__(self, state):
# Provide compatibility with pre-0.15.0 Categoricals.
if '_codes' not in... | - [x] stage 1 of #13076
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] no whatsnew as it is internal test method
```
a = pd.Categorical([1, 2, 3, 4])
b = pd.Categorical([1, 2, 3, 5])
tm.assert_categorical_equal(a, b)
# Categorical.categories are different
# ...
a = pd.Categor... | https://api.github.com/repos/pandas-dev/pandas/pulls/13080 | 2016-05-04T04:40:04Z | 2016-05-11T22:41:36Z | null | 2016-05-11T22:43:18Z |
BUG: Empty PeriodIndex issues | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 907ca6f185e0a..b4656f23021dd 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -176,4 +176,10 @@ Bug Fixes
- Bug in ``Period`` addition raises ``TypeError`` if ``Period`` is on right hand side (:iss... | - [x] closes #13067 (existing PR)
- [x] tests added / passed
- [X] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
closes #13067
closes #13212
| https://api.github.com/repos/pandas-dev/pandas/pulls/13079 | 2016-05-04T02:52:47Z | 2016-05-21T14:12:53Z | null | 2016-05-21T15:17:08Z |
BUG: Respect Filtered Categorical in Crosstab | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 85209c0dfa03d..60db139d250b1 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -108,6 +108,7 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
- Bug in ``SparseDataFrame`` in which ``axis=None`` did... | Closes #12298 by stripping the `Categorical` elements of their original categories so that only their included values are considered during the counting / aggregation.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13073 | 2016-05-03T19:44:07Z | 2016-05-13T00:20:25Z | null | 2023-05-11T01:13:31Z |
BUG: Series ops with object dtype may incorrectly fail | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index fa426aa30bc65..63b18775afeed 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -132,3 +132,6 @@ Bug Fixes
- Bug in ``NaT`` - ``Period`` raises ``AttributeError`` (:issue:`13071`)
- Bug in ``Perio... | - [x] closes #13043
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
This must be after #13069.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13072 | 2016-05-03T18:08:54Z | 2016-05-11T22:51:03Z | null | 2016-05-11T23:05:19Z |
BUG: PeriodIndex and Period subtraction error | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 80ed23b04738a..1c4089e4c3fea 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -75,3 +75,6 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+
+- Bug in ``PeriodIndex`` and ``Period`` subtraction r... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Similar to #5202. `PeriodIndex` subtraction raises `AttributeError` either side is `Period` (scalar).
```
pd.PeriodIndex(['2011-01', '2011-02'], freq='M') - pd.Period('2011-01', freq='M')
# AttributeError: 'Period... | https://api.github.com/repos/pandas-dev/pandas/pulls/13071 | 2016-05-03T17:51:08Z | 2016-05-06T11:50:06Z | null | 2016-05-06T12:34:17Z |
DOC: add warning section in indexing docs | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 6227b08587790..930f7ddf3f6a1 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -191,6 +191,31 @@ raised. Multiple columns can also be set in this manner:
You may find this useful for applying a transform (in-place) to a subset of ... | Replace PR #13060 and close #12947.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13070 | 2016-05-03T17:48:35Z | 2016-05-07T14:51:35Z | null | 2016-05-07T14:51:43Z |
BUG: Addition raises TypeError if Period is on rhs | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index a5734dc1db200..26d77be98b303 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -86,7 +86,6 @@ Bug Fixes
-
- Bug in ``PeriodIndex`` and ``Period`` subtraction raises ``AttributeError`` (:issue:... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
`Period` addition raises `TypeError` if `Period` is on right hand side.
```
1 + pd.Period('2011-01', freq='M')
# TypeError: unsupported operand type(s) for +: 'int' and 'pandas._period.Period'
```
#### Expected
``... | https://api.github.com/repos/pandas-dev/pandas/pulls/13069 | 2016-05-03T17:17:24Z | 2016-05-07T18:53:51Z | null | 2016-05-07T20:31:20Z |
BUG: Period resample with length=0 doesn't set freq | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index fee98720990e0..cf37f634cda69 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -74,3 +74,5 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+
+- Bug in ``.resample`` empty data with ``PeriodIndex`... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
given freq is not applied if data is empty.
```
s = pd.Series(index=pd.PeriodIndex([], freq='D'))
s.resample('M').mean()
# Series([], Freq: D, dtype: float64)
```
#### Expected
```
s.resample('M').mean()
# Series(... | https://api.github.com/repos/pandas-dev/pandas/pulls/13067 | 2016-05-03T17:11:46Z | 2016-05-05T16:14:28Z | null | 2016-05-05T20:37:27Z |
BUG: Default to stat axis for SparseDataFrame when axis=None | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index a5734dc1db200..3c66f18dc05f0 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -76,6 +76,7 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+- Bug in ``SparseDataFrame`` in which ``axis=None`` did... | Title is self-explanatory. Closes #13048.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13066 | 2016-05-03T15:46:29Z | 2016-05-07T14:53:12Z | null | 2016-05-07T14:58:43Z |
add data_columns to doc string | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 5231fa82c1a73..056b1fe7cde4b 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1084,6 +1084,10 @@ def to_hdf(self, path_or_buf, key, **kwargs):
/ selecting subsets of the data
append : boolean, defau... | - [x] closes #13061
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
How about this for #13061 ?
I don't think pandas has tests for each documented field, correct?
Do you want a whatsnew entry for this? If yes, how does that work? The guidelines don't talk about ... | https://api.github.com/repos/pandas-dev/pandas/pulls/13065 | 2016-05-03T11:07:21Z | 2016-08-19T11:53:17Z | null | 2016-08-19T11:53:36Z |
DOC: add warning section in indexing docs. | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 6227b08587790..11a6fe1956f7c 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -191,6 +191,29 @@ raised. Multiple columns can also be set in this manner:
You may find this useful for applying a transform (in-place) to a subset of ... | Add warning section in indexing docs. Close #12947.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13060 | 2016-05-03T02:37:11Z | 2016-05-03T17:50:13Z | null | 2016-05-03T17:50:25Z |
BUG: More followups on to_datetime exceptions, xref #13033 | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 21d8746abdd0f..c75999a33f8c9 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -478,7 +478,7 @@ In addition to this error change, several others have been made as well:
``to_datetime`` error changes... | https://api.github.com/repos/pandas-dev/pandas/pulls/13059 | 2016-05-03T01:01:00Z | 2016-05-03T12:51:19Z | null | 2016-05-03T12:51:19Z | |
ENH: Add an errors flag to tz_localize | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index a5734dc1db200..55e2d426a2303 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -24,10 +24,15 @@ New features
+.. _whatsnew_0182.enhancements.other:
+Other enhancements
+^^^^^^^^^^^^^^^^^^
... | closes #13057
Author: dancsi szilagyi.d@gmail.com
| https://api.github.com/repos/pandas-dev/pandas/pulls/13058 | 2016-05-02T20:42:59Z | 2016-05-07T14:59:43Z | null | 2016-05-07T15:00:19Z |
CLN: move interpolation tests from test_generic to test_missing | diff --git a/pandas/tests/frame/test_missing.py b/pandas/tests/frame/test_missing.py
index 0411fb4d96e82..f7214751f29a2 100644
--- a/pandas/tests/frame/test_missing.py
+++ b/pandas/tests/frame/test_missing.py
@@ -2,6 +2,7 @@
from __future__ import print_function
+from distutils.version import LooseVersion
from nu... | https://api.github.com/repos/pandas-dev/pandas/pulls/13055 | 2016-05-02T13:20:12Z | 2016-05-02T14:07:32Z | null | 2016-05-02T14:07:32Z | |
BUG/COMPAT: to_datetime | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 3345cb3d29926..1a79601bee384 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -478,7 +478,7 @@ In addition to this error change, several others have been made as well:
``to_datetime`` error changes... | xref #11758, fix for bug in #13033
| https://api.github.com/repos/pandas-dev/pandas/pulls/13052 | 2016-05-01T21:44:32Z | 2016-05-01T22:59:20Z | 2016-05-01T22:59:20Z | 2016-05-03T00:38:26Z |
Convert to native datatypes for Series.tolist() | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index a5734dc1db200..30885d08e65a2 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -41,6 +41,33 @@ API changes
- Non-convertible dates in an excel date column will be returned without conversion and the... | - [x] closes #10904
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13050 | 2016-05-01T20:50:07Z | 2016-05-07T14:42:56Z | null | 2016-05-10T01:09:17Z |
COMPAT: ensure platform int on 32-bit | diff --git a/pandas/core/series.py b/pandas/core/series.py
index d8e99f2bddc81..f31903f92cd63 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1487,6 +1487,8 @@ def dot(self, other):
@Substitution(klass='Series', value='v')
@Appender(base._shared_docs['searchsorted'])
def searchsorted(s... | closes #12927
TST: use 32bit_repr when printing formatting of sparse
COMPAT: ensure consensus name when Indexes are union/intersected if possible
COMPAT: skip some coercion tests on 32-bit
| https://api.github.com/repos/pandas-dev/pandas/pulls/13047 | 2016-04-30T22:53:14Z | 2016-04-30T23:15:55Z | null | 2016-04-30T23:15:55Z |
DOC: Add tutorial link | diff --git a/doc/source/tutorials.rst b/doc/source/tutorials.rst
index 7c1d1e345d273..e92798ea17448 100644
--- a/doc/source/tutorials.rst
+++ b/doc/source/tutorials.rst
@@ -123,6 +123,17 @@ There are four sections covering selected topics as follows:
- `Time Series <http://wavedatalab.github.io/datawithpython/times... | https://api.github.com/repos/pandas-dev/pandas/pulls/13045 | 2016-04-30T19:43:36Z | 2016-05-01T13:49:58Z | null | 2016-05-02T21:17:33Z | |
BUG: Convert non-dates in xls date cells to number | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index fee98720990e0..5f9ebef4fd546 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -74,3 +74,4 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+- If there is a large numeric value in excel cell of ty... | - [x ] closes #10001
- [x ] tests added / passed
- [x ] passes `git diff upstream/master | flake8 --diff`
- [x ] whatsnew entry
closes GH10001
| https://api.github.com/repos/pandas-dev/pandas/pulls/13042 | 2016-04-30T13:22:19Z | 2016-05-06T12:10:40Z | null | 2016-06-21T19:34:17Z |
TST/BUG: DataFrame truncated repr with DatetimeTz and NaT column | diff --git a/pandas/tests/formats/test_format.py b/pandas/tests/formats/test_format.py
index 47e1147840fc3..3ac2acef17c8d 100644
--- a/pandas/tests/formats/test_format.py
+++ b/pandas/tests/formats/test_format.py
@@ -665,6 +665,48 @@ def test_east_asian_unicode_frame(self):
u"‘‘‘ γγγγγγ ... | - [x] closes #12211
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/13039 | 2016-04-30T05:53:30Z | 2016-04-30T14:32:55Z | null | 2016-04-30T19:46:10Z |
TST/BUG: Categorical dtypes cause error when attempting stacked bar plot | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 6af789e805a02..604cd89dac617 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -2100,6 +2100,32 @@ def test_bar_nan(self):
expected = [0.0, 0.0, 0.0, 10.0, 0.0, 20.0, 15.0, 10.0, 40.0]
self... | - [x] closes #13019
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/13038 | 2016-04-30T05:27:16Z | 2016-04-30T14:25:43Z | null | 2016-04-30T19:44:56Z |
BUG: subclassed .align returns normal DataFrame | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 68c1e98c9957d..4a87e348fa759 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -4144,9 +4144,9 @@ def align(self, other, join='outer', axis=None, level=None, copy=True,
if isinstance(self, Series):
# this ... | - [x] closes #12983
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Also fixed a bug which `Series.align(DataFrame)` raises `AttributeError`.
```
pd.Series([1, 2], index=['a', 'b']).align(pd.DataFrame([1, 2], index=['a', 'c']))
# AttributeError: 'Series' object ... | https://api.github.com/repos/pandas-dev/pandas/pulls/13037 | 2016-04-30T04:59:59Z | 2016-04-30T14:56:43Z | null | 2016-04-30T19:43:53Z |
PERF: Sparse IntIndex.make_union / Numeric ops | diff --git a/asv_bench/benchmarks/sparse.py b/asv_bench/benchmarks/sparse.py
index d7ee58fc978ea..c9f979e323445 100644
--- a/asv_bench/benchmarks/sparse.py
+++ b/asv_bench/benchmarks/sparse.py
@@ -52,4 +52,43 @@ def setup(self):
self.ss = self.s.to_sparse()
def time_sparse_series_to_coo(self):
- ... | - [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Replace repeated `list.append` with `np.union1d` in `IntIndex.make_union`. `make_union` is used in numeric ops.
**NOTE:** It is also possible to fix `IntIndex.intersect` to use `np.intersect1d`, but it doesn't inc... | https://api.github.com/repos/pandas-dev/pandas/pulls/13036 | 2016-04-30T01:21:19Z | 2016-04-30T23:22:19Z | null | 2016-04-30T23:23:12Z |
BUG: to_datetime when called with a unit and coerce is buggy | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 01ed9bea53c87..2474bf8377d6e 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -428,6 +428,30 @@ In addition to this error change, several others have been made as well:
- ``pd.read_csv()`` no longe... | closes #11758
| https://api.github.com/repos/pandas-dev/pandas/pulls/13033 | 2016-04-29T23:01:27Z | 2016-04-30T18:47:41Z | null | 2016-05-02T23:10:41Z |
BUG/TST: TimeGrouper has erroneous groups if key length is too short | diff --git a/pandas/tests/test_groupby.py b/pandas/tests/test_groupby.py
index 01fde18de9ca0..b2672ad5df3e4 100644
--- a/pandas/tests/test_groupby.py
+++ b/pandas/tests/test_groupby.py
@@ -4507,6 +4507,57 @@ def test_groupby_with_empty(self):
grouped = series.groupby(grouper)
assert next(iter(grouped)... | - [x] closes #8542
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- ~~whatsnew entry~~
No what's new as the fixed timing is unclear.
**NOTE** Different from `TimeGrouper` with single key, it doesn't interpolate missing datetimes between existing keys (same as current behavior of ke... | https://api.github.com/repos/pandas-dev/pandas/pulls/13028 | 2016-04-29T03:35:37Z | 2016-04-29T13:40:30Z | null | 2016-04-29T15:10:24Z |
BUG/TST: Calling shift on a DatetimeIndex of length 0 returns an Index in⦠| diff --git a/pandas/tseries/tests/test_base.py b/pandas/tseries/tests/test_base.py
index 1820e39fd69b5..b166dd71b67ae 100644
--- a/pandas/tseries/tests/test_base.py
+++ b/pandas/tseries/tests/test_base.py
@@ -617,6 +617,23 @@ def test_nat_new(self):
exp = np.array([tslib.iNaT] * 5, dtype=np.int64)
tm.... | - [x] closes #9903
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- ~~whatsnew entry~~
No what's new as the fixed timing is unclear.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13026 | 2016-04-29T02:48:16Z | 2016-04-29T15:59:08Z | null | 2016-04-29T16:14:55Z |
BUG:plot.bar misalignment when width=1 | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index dfe5eaa66df01..8c9c641a46a41 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -501,6 +501,7 @@ Bug Fixes
- Bug in ``concat`` raises ``AttributeError`` when input data contains tz-aware datetime and... | - [x] closes #12979
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Enabled true division. It also prevents differences between py2 / py3.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13025 | 2016-04-29T01:42:49Z | 2016-04-29T16:09:14Z | null | 2016-04-29T16:13:45Z |
Update truncate() documentation and testcases | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 5231fa82c1a73..6c80ab9d87e33 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -4633,14 +4633,15 @@ def tshift(self, periods=1, freq=None, axis=0):
def truncate(self, before=None, after=None, axis=None, copy=True):
"""T... | - [x] closes #11382
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13024 | 2016-04-29T00:25:06Z | 2016-05-07T16:53:42Z | null | 2016-05-10T01:09:26Z |
BUG: .isin(...) now coerces sets to lists | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 323cbe8e93b78..d40d6f2e4134d 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -113,6 +113,8 @@ def isin(comps, values):
raise TypeError("only list-like objects are allowed to be passed"
" ... | - [ ] closes #12988
- [ ] tests added, passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] `comp.isin(values)` now coerces `values` from a set into a list. This was failing when `comp` is a datetime dtype and `values` is a set, where `.isin` will try to run `to_datetime(values)` on the unordered set an... | https://api.github.com/repos/pandas-dev/pandas/pulls/13014 | 2016-04-28T05:54:12Z | 2016-05-01T15:29:52Z | null | 2016-05-01T22:25:47Z |
API, DEPR: Raise and Deprecate Reshape for Pandas Objects | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index bef02a06135de..688f3b7ff6ada 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -256,6 +256,7 @@ API changes
~~~~~~~~~~~
+- ``Index.reshape`` will raise a ``NotImplementedError`` exception when c... | `reshape` largely exists for compat reasons with `numpy` but in the interests of moving away from that, this PR will cause objects like `Series`, `Index`, and `Categorical` to deprecate OR raise when such a method is called.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13012 | 2016-04-27T15:38:35Z | 2016-07-14T10:21:25Z | null | 2016-07-14T14:52:43Z |
API, DOC: Clarify and Enforce Array to be 1-D during SparseArray Init Construction | diff --git a/pandas/sparse/array.py b/pandas/sparse/array.py
index b080f2eb45a90..dec8ad46679f2 100644
--- a/pandas/sparse/array.py
+++ b/pandas/sparse/array.py
@@ -87,11 +87,11 @@ def _wrap_result(name, data, sparse_index, fill_value):
class SparseArray(PandasObject, np.ndarray):
- """Data structure for labele... | Title is self-explanatory. Note that this behaviour was already implicitly enforced, but this makes the enforcement explicit. Closes #12794.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13011 | 2016-04-27T15:29:39Z | 2016-04-28T14:04:31Z | null | 2016-04-28T14:10:17Z |
COMPAT: some compatibility fixes with new numpies | diff --git a/pandas/compat/numpy_compat.py b/pandas/compat/numpy_compat.py
index d71420e979c82..8ecc5dc979792 100644
--- a/pandas/compat/numpy_compat.py
+++ b/pandas/compat/numpy_compat.py
@@ -1,5 +1,6 @@
""" support numpy compatiblitiy across versions """
+import re
import numpy as np
from distutils.version impor... | https://api.github.com/repos/pandas-dev/pandas/pulls/13010 | 2016-04-27T14:57:16Z | 2016-04-27T18:32:25Z | 2016-04-27T18:32:25Z | 2016-04-27T18:32:25Z | |
DOC: fix whatsnew | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index b733e5c19ee92..ccb4c0162d463 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -1,6 +1,6 @@
.. _whatsnew_0181:
-v0.18.1 (Mayl ??, 2016)
+v0.18.1 (May ??, 2016)
-----------------------
This is ... | Fixes few doc build warnings + small restructure of headings more consistent with previous releases)
| https://api.github.com/repos/pandas-dev/pandas/pulls/13009 | 2016-04-27T12:28:23Z | 2016-04-27T13:33:18Z | null | 2016-04-27T13:33:34Z |
PERF: Improved performance for .str.encode/decode | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 4ab82ed3fcdd5..d8f817a0bea68 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -412,6 +412,8 @@ Performance Improvements
- Improved performance of ``DataFrame.to_sql`` when checking case sensitivi... | I need such a patch to read huge `sas` tables encoded in `cp1251`. I'm not experienced enough to determine if such a patch is really needed here, but well.. it gives some speed in certain situations.
Optimize string encoding-decoding, leave default implementation for CPython optimized encodings,
(see https://docs.pyth... | https://api.github.com/repos/pandas-dev/pandas/pulls/13008 | 2016-04-27T11:53:48Z | 2016-04-28T13:39:57Z | null | 2016-05-01T18:17:14Z |
BUG: COMPAT:0.18 added scipy version check GH12887 | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 1a79601bee384..21d8746abdd0f 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -512,6 +512,7 @@ Other API changes
- Provide a proper ``__name__`` and ``__qualname__`` attributes for generic function... | - [x] closes #12887
- [X] tests passed (Tests specific to this issue now pass with scipy dev and numpy dev versions that I was using when I opened the issue)
- [X] passes `git diff upstream/master | flake8 --diff`
- [X] whatsnew entry
@jreback @TomAugspurger
| https://api.github.com/repos/pandas-dev/pandas/pulls/13007 | 2016-04-27T04:40:51Z | 2016-05-03T01:08:47Z | null | 2016-05-03T01:17:01Z |
PERF: don't create the skiprows set if using the c-parser | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index b733e5c19ee92..6b7ff25ab8def 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -408,7 +408,7 @@ Performance Improvements
- Improved speed of SAS reader (:issue:`12656`)
- Performance improvements... | ```
In [4]: DataFrame(np.random.randn(1000000,1)).to_csv('test.csv',index=False)
```
branch
```
In [1]: %memit pd.read_csv('test.csv',skiprows=999999)
peak memory: 65.74 MiB, increment: 1.59 MiB
In [2]: %memit pd.read_csv('test.csv',skiprows=999999)
peak memory: 65.89 MiB, increment: 0.22 MiB
In [3]: %memit pd.rea... | https://api.github.com/repos/pandas-dev/pandas/pulls/13005 | 2016-04-26T23:38:06Z | 2016-04-27T12:29:55Z | null | 2016-04-27T12:29:55Z |
DOC: more pd.to_datetime examples | diff --git a/doc/source/api.rst b/doc/source/api.rst
index b33d218bea149..9557867c252ed 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -1781,6 +1781,7 @@ Upsampling
Resampler.pad
Resampler.fillna
Resampler.asfreq
+ Resampler.interpolate
Computations / Descriptive Stats
~~~~~~~~~~~~~~~~~~~... | xref #12996
| https://api.github.com/repos/pandas-dev/pandas/pulls/13004 | 2016-04-26T23:08:58Z | 2016-04-27T13:31:17Z | null | 2016-04-27T21:36:53Z |
BUG/ERR: better validation for .rolling parameters | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index b733e5c19ee92..4ab82ed3fcdd5 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -484,6 +484,7 @@ Bug Fixes
- Bug in index coercion when falling back from ``RangeIndex`` construction (:issue:`1289... | closes #12669
| https://api.github.com/repos/pandas-dev/pandas/pulls/13002 | 2016-04-26T22:54:33Z | 2016-04-26T23:40:38Z | null | 2016-04-26T23:40:38Z |
BUG/DOC: restrict possibilities for assembly of dates using a DataFrame | diff --git a/pandas/tseries/tests/test_timeseries.py b/pandas/tseries/tests/test_timeseries.py
index 6fbe7ef488d6c..104324cea8aca 100644
--- a/pandas/tseries/tests/test_timeseries.py
+++ b/pandas/tseries/tests/test_timeseries.py
@@ -2318,24 +2318,18 @@ def test_dataframe(self):
assert_series_equal(result, expe... | xref #12967
| https://api.github.com/repos/pandas-dev/pandas/pulls/12996 | 2016-04-26T15:46:33Z | 2016-04-26T18:57:56Z | null | 2016-04-27T00:39:41Z |
PEP: use triple-double-quotes rather than triple-single-quotes in doc-strings | diff --git a/pandas/algos.pyx b/pandas/algos.pyx
index eddeb52ca1154..a31b35ba4afc6 100644
--- a/pandas/algos.pyx
+++ b/pandas/algos.pyx
@@ -838,9 +838,9 @@ cdef inline kth_smallest_c(float64_t* a, Py_ssize_t k, Py_ssize_t n):
cpdef numeric median(numeric[:] arr):
- '''
+ """
A faster median
- '''
+ ... | mostly in cython, but in tests as well. This is as per PEP. not to mention that it screws up syntax highliting.
| https://api.github.com/repos/pandas-dev/pandas/pulls/12994 | 2016-04-26T14:46:47Z | 2016-04-26T15:21:57Z | null | 2016-04-26T15:21:57Z |
BUG: agg() function on groupby dataframe changes dtype of datetime64[ns] column to float64 | diff --git a/.gitignore b/.gitignore
index d987bab6fd5d7..19f1cc804dca0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,6 +18,7 @@
.vagrant
.noseids
.ipynb_checkpoints
+.tags
# Compiled source #
###################
diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 581daab5cea58... | closes #12821
closes #12941
| https://api.github.com/repos/pandas-dev/pandas/pulls/12992 | 2016-04-26T12:35:02Z | 2016-08-06T22:57:12Z | null | 2016-08-13T09:10:15Z |
PERF: Improved performance for StringMethods.encode/decode | Reusing encoding/decoding function for a specified encoding doubles speed.
```
import pandas as pd
s1 = pd.Series(["DzieΕ Π΄ΠΎΠ±ΡΡΠΉ"]*100000)
s2 = s1.str.encode('cp1251', 'ignore')
%timeit s1.str.encode('cp1251', 'ignore')
%timeit s2.str.decode('cp1251')
```
10 loops, best of 3: 157 ms per loop --> 80.9 ms per loop
10 ... | https://api.github.com/repos/pandas-dev/pandas/pulls/12989 | 2016-04-26T07:03:38Z | 2016-04-27T11:09:58Z | null | 2016-04-27T11:09:58Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.