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 |
|---|---|---|---|---|---|---|---|
CLN: cleanup up platform / python version checks. fix GB10151 | diff --git a/bench/bench_sparse.py b/bench/bench_sparse.py
index 7dc2db05cfe20..0aa705118d970 100644
--- a/bench/bench_sparse.py
+++ b/bench/bench_sparse.py
@@ -1,4 +1,3 @@
-import sys
import numpy as np
from pandas import *
@@ -30,7 +29,7 @@
s1_dense = s1.to_dense()
s2_dense = s2.to_dense()
-if 'linux' in sys.... | Notes:
- I did not use `is_platform_xxx` on `pandas/util/clipboard.py` because this module is a fork. So I guess better not deviate from the original, right?
- I added the helper `_skip_if_windows` function in `pandas/util/testing.py`, I added an underscore before `skip` to maintain consistency with other `skip` functi... | https://api.github.com/repos/pandas-dev/pandas/pulls/10542 | 2015-07-10T20:04:16Z | 2015-07-11T16:47:31Z | 2015-07-11T16:47:31Z | 2015-07-11T20:07:32Z |
ENH: Update exception message to resolve #10515 | diff --git a/pandas/parser.pyx b/pandas/parser.pyx
index b28e0587264d4..5baef2e4f0225 100644
--- a/pandas/parser.pyx
+++ b/pandas/parser.pyx
@@ -1074,7 +1074,8 @@ cdef class TextReader:
na_filter, na_hashset)
if user_dtype and na_count is not None:
... | Made a quick change to the `Exception` raised in `_convert_with_dtype` per the issue raised in #10515.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10541 | 2015-07-10T02:57:13Z | 2015-07-10T12:57:06Z | 2015-07-10T12:57:06Z | 2015-07-10T12:57:14Z |
BUG: get_dummies not returning SparseDataFrame | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 206c5e2e22711..82fb2b4fe45e7 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -377,16 +377,12 @@ Bug Fixes
- Bug in ``Series.plot(kind='hist')`` Y Label not informative (:issue:`10485`)
-
-
-
-... | Fixes #10531 .
| https://api.github.com/repos/pandas-dev/pandas/pulls/10535 | 2015-07-09T18:14:28Z | 2015-07-21T10:34:24Z | null | 2015-07-21T10:34:24Z |
BUG : read_csv() twice decodes stream on URL file #10424 | diff --git a/pandas/io/common.py b/pandas/io/common.py
index 65cfdff1df14b..75f7a542525f5 100644
--- a/pandas/io/common.py
+++ b/pandas/io/common.py
@@ -94,7 +94,7 @@ def maybe_read_encoded_stream(reader, encoding=None):
else:
errors = 'replace'
encoding = 'utf-8'
- reader = St... | As described in #10424 , reading non-utf-8 csv files from URL leads to decoding problems, i.e. a decoding may first be made in io.common.get_filepath_or_buffer() when file is URL.
Modification done makes this function read stream from URL without decoding (this is done later, at the same place as for local files).
It'... | https://api.github.com/repos/pandas-dev/pandas/pulls/10529 | 2015-07-08T11:53:41Z | 2015-10-25T15:29:12Z | null | 2022-10-13T00:16:41Z |
BUG: GH9618 in read_msgpack where DataFrame has duplicate column names | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 5bd0f46dd0b18..ddd97c8d1b199 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -384,4 +384,6 @@ Bug Fixes
- Bug in operator equal on Index not being consistent with Series (:issue:`9947`)
-- Rea... | To close #9618
Note I modified `encode`, so it's not backward compatible.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10527 | 2015-07-08T04:04:17Z | 2015-07-18T13:30:43Z | 2015-07-18T13:30:43Z | 2015-07-18T13:30:47Z |
Fix a typo 'does' -> 'do' | diff --git a/pandas/core/index.py b/pandas/core/index.py
index 0f3a4adb0b33a..4c94ab66d3de2 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -1055,7 +1055,7 @@ def __hash__(self):
raise TypeError("unhashable type: %r" % type(self).__name__)
def __setitem__(self, key, value):
- rais... | This came up during the SciPy 2015 tutorial.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10525 | 2015-07-07T18:38:34Z | 2015-07-07T19:18:50Z | 2015-07-07T19:18:50Z | 2015-07-08T04:44:49Z |
Fix and tests for issue #10154 inconsistent behavior with invalid dates | diff --git a/pandas/tseries/tests/test_timeseries.py b/pandas/tseries/tests/test_timeseries.py
index a078aba2269bb..c95281d49586a 100644
--- a/pandas/tseries/tests/test_timeseries.py
+++ b/pandas/tseries/tests/test_timeseries.py
@@ -11,7 +11,7 @@
from pandas import (Index, Series, TimeSeries, DataFrame,
... | closes #10154
This addresses the original issue and another discovered with the test cases.
Please review the tests to be sure you agree with the assertions.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10520 | 2015-07-06T21:15:58Z | 2015-07-07T10:19:46Z | null | 2015-07-07T10:19:46Z |
DOC: Clarified PyTables "natural" names | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 7a4318fb02cfc..0c15c91b4690b 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -3179,9 +3179,10 @@ Notes & Caveats
.. warning::
``PyTables`` will show a ``NaturalNameWarning`` if a column name
- cannot be used as an attribute selector. Generally... | The HDF5 documentation "Notes & Caveats" defines a PyTables NaturalNameWarning vaguely, and incorrectly states that a natural name may not begin with an underscore. I clarified the definition of a natural identifier. The relevant regex is defined [here](https://github.com/PyTables/PyTables/blob/2fde39957c7b5263dd4d0b11... | https://api.github.com/repos/pandas-dev/pandas/pulls/10518 | 2015-07-06T18:27:37Z | 2015-07-07T15:53:55Z | 2015-07-07T15:53:55Z | 2015-07-07T15:53:59Z |
Read Stata version 118 files closes #9882 | diff --git a/pandas/io/stata.py b/pandas/io/stata.py
index db9362c5c821e..76cea11e4efd8 100644
--- a/pandas/io/stata.py
+++ b/pandas/io/stata.py
@@ -4,7 +4,7 @@
The StataReader below was originally written by Joe Presbrey as part of PyDTA.
It has been extended and improved by Skipper Seabold from the Statsmodels
pro... | closes #9882
This extends the Stata reader to handle version 118 (stata 14) format files.
It correctly handles the test file posted by @makmanalp. I don't have stata14 now to generate additional test files, but I'm not sure that it's necessary.
There is one point I'm not sure about, relating to the way that strls ... | https://api.github.com/repos/pandas-dev/pandas/pulls/10516 | 2015-07-06T11:37:01Z | 2015-07-23T11:37:59Z | 2015-07-23T11:37:58Z | 2015-11-12T23:43:50Z |
BUG: display.precision options seems off-by-one (GH10451) | diff --git a/doc/source/options.rst b/doc/source/options.rst
index 7e140b1b2deaf..26871a11473de 100644
--- a/doc/source/options.rst
+++ b/doc/source/options.rst
@@ -227,7 +227,7 @@ can specify the option ``df.info(null_counts=True)`` to override on showing a pa
df.info()
pd.reset_option('max_info_rows')
-``di... | Closes #10451
I made a call here in response to my questions on #10451 and hopefully people like it. I made it clear that "precision" refers to places after the decimal, not significant figures, and changed the default value to match so that for many pandas users no change would be detected. I updated the Options doc... | https://api.github.com/repos/pandas-dev/pandas/pulls/10513 | 2015-07-05T23:26:35Z | 2015-08-02T21:26:30Z | 2015-08-02T21:26:30Z | 2015-08-02T21:31:20Z |
TST: Deprecate assert_numpy_array_equivalent | diff --git a/pandas/computation/tests/test_eval.py b/pandas/computation/tests/test_eval.py
index d455d9d0d8679..4f998319d922d 100644
--- a/pandas/computation/tests/test_eval.py
+++ b/pandas/computation/tests/test_eval.py
@@ -220,7 +220,7 @@ def check_complex_cmp_op(self, lhs, cmp1, rhs, binop, cmp2):
e... | Closes #10427.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10512 | 2015-07-04T23:29:46Z | 2015-07-28T21:45:17Z | 2015-07-28T21:45:17Z | 2015-07-28T22:13:59Z |
TST: Simplify genelate_legacy_pickles.py usage | diff --git a/pandas/io/tests/generate_legacy_pickles.py b/pandas/io/tests/generate_legacy_pickles.py
index e1cf541fe6195..2d93ecf38a76d 100644
--- a/pandas/io/tests/generate_legacy_pickles.py
+++ b/pandas/io/tests/generate_legacy_pickles.py
@@ -143,16 +143,14 @@ def write_legacy_pickles():
except:
import ... | Should not input pandas version manually to avoid any mistake.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10509 | 2015-07-04T11:42:17Z | 2015-07-06T12:41:42Z | 2015-07-06T12:41:42Z | 2015-07-06T12:59:35Z |
BUG: Groupby(sort=False) with datetime-like Categorical raises ValueError | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 322f431a37a79..83e5ec5b1d107 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -303,7 +303,22 @@ Other API Changes
- Allow passing `kwargs` to the interpolation methods (:issue:`10378`).
- Serializ... | Closes #10505.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10508 | 2015-07-04T06:14:30Z | 2015-07-28T15:28:20Z | 2015-07-28T15:28:20Z | 2015-07-28T21:02:20Z |
TST: make assertion messages more understandable | diff --git a/pandas/io/tests/test_json/test_pandas.py b/pandas/io/tests/test_json/test_pandas.py
index c145c717df4c4..66c2bbde0b3f8 100644
--- a/pandas/io/tests/test_json/test_pandas.py
+++ b/pandas/io/tests/test_json/test_pandas.py
@@ -178,7 +178,10 @@ def _check_orient(df, orient, dtype=None, numpy=False,
... | Closes #10373. Also, this is based on #10500 and #10501.
The fix also did some refactoring related to `assert_index_equal`. Added `check_exact` and `check_less_precise`, and moved logics from `assert_series_equal` and `assert_frame_equal` for cleanups.
Followings are the list of tested and what the output looks like
... | https://api.github.com/repos/pandas-dev/pandas/pulls/10507 | 2015-07-04T01:05:22Z | 2015-08-10T16:27:46Z | 2015-08-10T16:27:46Z | 2015-08-11T11:08:53Z |
CLN: remove na_fvalues from TextFileReader (read_csv et al) signature (GH10481) | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index dd972150de0fe..8a118b1379a29 100755
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -355,7 +355,6 @@ def parser_f(filepath_or_buffer,
skipfooter=None,
skip_footer=0,
na_values=None,
- ... | Closes #10481
| https://api.github.com/repos/pandas-dev/pandas/pulls/10502 | 2015-07-03T15:41:16Z | 2015-07-13T13:14:25Z | 2015-07-13T13:14:25Z | 2015-07-13T13:14:25Z |
TST: Fix test for datetime categorical | diff --git a/pandas/tests/test_groupby.py b/pandas/tests/test_groupby.py
index a327233e09003..e2a447207db82 100644
--- a/pandas/tests/test_groupby.py
+++ b/pandas/tests/test_groupby.py
@@ -3505,11 +3505,13 @@ def test_groupby_datetime_categorical(self):
desc_result = grouped.describe()
idx = cats.co... | Related to #10465, but different part.
Current `test_groupby_datetime_categorical` in `test_groupby.py` is incorrect, the actual result returns `CategoricalIndex` as level 0, otherwise expected result uses `DatetimeIndex` as level 0. Changed to use the same dtype and added explicit comparison.
### Actual Result (curre... | https://api.github.com/repos/pandas-dev/pandas/pulls/10501 | 2015-07-03T15:15:40Z | 2015-07-06T12:54:05Z | 2015-07-06T12:54:05Z | 2015-07-06T12:59:19Z |
TST: DataFrame.quantile should have Float64Index | diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py
index 8c9233c1d687b..8c4efcc35d67f 100644
--- a/pandas/tests/test_frame.py
+++ b/pandas/tests/test_frame.py
@@ -12161,8 +12161,8 @@ def test_quantile(self):
result = df.quantile([.5, .75], axis=1)
expected = DataFrame({1: [1.5, 1.7... | The result of `DataFrame.quantile` should have `Float64Index` as below, but current test case doesn't check it.
```
import pandas as pd
pd.DataFrame([1, 2, 3, 4]).quantile([0.5, 0.75]).index
# Float64Index([0.5, 0.75], dtype='float64')
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/10500 | 2015-07-03T15:04:30Z | 2015-07-04T11:29:41Z | 2015-07-04T11:29:41Z | 2015-07-04T12:49:42Z |
Updated to_hdf doc string | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 3bf998c1fa5a7..aba38ed4f63af 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -879,7 +879,7 @@ def to_hdf(self, path_or_buf, key, **kwargs):
Parameters
----------
- path_or_buf : the path (string) or buffer ... | Updated the docstring to make clear that a HDFStore is required for a buffer, if a path is not directly passed. See issue #10491
| https://api.github.com/repos/pandas-dev/pandas/pulls/10499 | 2015-07-03T13:50:30Z | 2015-07-03T19:35:54Z | 2015-07-03T19:35:54Z | 2015-07-03T19:36:00Z |
Add test and fix for categorical series .shift #10495. | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 09a39a6d9b2f5..bfc76b37510b9 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -132,3 +132,4 @@ Bug Fixes
- Bug in `pandas.concat` with ``axis=0`` when column is of dtype ``category`` (:issue:`101... | #10495
Waiting for Travis and will review further.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10498 | 2015-07-03T13:42:13Z | 2015-07-06T12:45:10Z | null | 2015-07-06T12:45:10Z |
BUG: CategoricalBlock shift GH9416 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 08222ef06d21f..5dabe730c92b0 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -128,6 +128,7 @@ Bug Fixes
- Bug in ``test_categorical`` on big-endian builds (:issue:`10425`)
+- Bug in ``Series.s... | Should resolve #9416.
CategoricalBlocks always seem to have ndim=1, even if multiple
categoricals are in a frame with the same categories. This simplifies
the axis shift logic somewhat.
Note that dataframe shift with axis=1 still doesn't work with multiple
categorical columns, since they are each a different block.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10497 | 2015-07-03T13:42:01Z | 2015-07-18T00:03:27Z | 2015-07-18T00:03:27Z | 2015-07-18T00:03:30Z |
ENH: GH10485 'Frequency' label for Series.plot | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 08222ef06d21f..05b69bae42c28 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -143,3 +143,5 @@ Bug Fixes
- Bug in `Series.from_csv` with ``header`` kwarg not setting the ``Series.name`` or the ``Se... | More informative label for histogram.
Conversation in #10485
| https://api.github.com/repos/pandas-dev/pandas/pulls/10493 | 2015-07-02T17:36:05Z | 2015-07-11T06:45:10Z | 2015-07-11T06:45:10Z | 2015-07-11T06:45:10Z |
TST/ERR: GH10369 read_msgpack checks argument type | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 2f5388381a103..09a39a6d9b2f5 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -131,3 +131,4 @@ Bug Fixes
- Bug in ``DatetimeIndex`` and ``PeriodIndex.value_counts`` resets name from its result, but... | To close #10369
| https://api.github.com/repos/pandas-dev/pandas/pulls/10490 | 2015-07-02T12:44:12Z | 2015-07-03T11:58:52Z | 2015-07-03T11:58:52Z | 2015-07-03T11:58:57Z |
DOC: Better explain the behaviour of na_values | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 9852822c556dc..185deb4b9cae8 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -115,7 +115,7 @@ They can take a number of arguments:
as the index.
- ``names``: List of column names to use as column names. To replace header
existing in file, e... | According to the suggestion of @jorisvandenbossche from https://github.com/pydata/pandas/pull/10479, changing some wording in the docs.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10488 | 2015-07-02T04:17:02Z | 2015-07-02T07:42:55Z | 2015-07-02T07:42:55Z | 2015-07-02T07:42:55Z |
Small style consistency fix | diff --git a/pandas/io/gbq.py b/pandas/io/gbq.py
index f1fcc822adeaf..06ad8827a5642 100644
--- a/pandas/io/gbq.py
+++ b/pandas/io/gbq.py
@@ -294,7 +294,7 @@ def _parse_entry(field_value, field_type):
return field_value
-def read_gbq(query, project_id = None, index_col=None, col_order=None, reauth=False):
+def ... | Removed unneeded spaces in kwargs related to read_gbq()
| https://api.github.com/repos/pandas-dev/pandas/pulls/10487 | 2015-07-02T03:25:40Z | 2015-07-02T07:11:14Z | 2015-07-02T07:11:13Z | 2015-07-02T07:11:17Z |
Series.from_csv not loading header names | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 2f5388381a103..4e9858371cc86 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -131,3 +131,5 @@ Bug Fixes
- Bug in ``DatetimeIndex`` and ``PeriodIndex.value_counts`` resets name from its result, but... | Series.from_csv at the moment does not load the series.name and series.index.name when the header keyword argument is stated.
This was introduced in 6078fba9410918baa486ca008cc9e3ba066c03ec. The issue was that `Series.from_csv` uses `DataFrame.from_csv`, which automatically indexes columns (in practice, the index col... | https://api.github.com/repos/pandas-dev/pandas/pulls/10483 | 2015-07-01T19:47:21Z | 2015-07-07T15:52:31Z | null | 2015-07-07T15:52:31Z |
Fix docstring for na_values in parsers | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index d1e6e5677da0b..dd972150de0fe 100755
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -86,7 +86,7 @@ class ParserWarning(Warning):
should explicitly pass header=None
prefix : string, default None
Prefix to add to column numbers when no hea... | I discovered entirely by accident that the `na_values` in `pd.read_*` can be a string. According to the docstring, it can only be a sequence or a dict. This PR fixes that.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10479 | 2015-07-01T04:52:03Z | 2015-07-01T10:53:21Z | 2015-07-01T10:53:21Z | 2015-07-02T04:17:15Z |
API: add DatetimeBlockTZ #8260 | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index 239f9aa19f769..dcea59545aae3 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -18,7 +18,7 @@
// If missing or the empty string, the tool will be automatically
// determined by looking for tools on the PATH environment
... | closes #8260
closes #10763
ToDos:
- [x] doc updates
- [x] test with `Series.dt.*`
- [x] test with csv/HDF5
- [x] nat setting borked ATM
- [x] HDF5 example from 0.16.2
~~\- [ ] get_values/values - make consistent~~
~~\- [ ] maybe move `DatetimeTZBlock.shift` mostly to `DatetimeIndex.shift`~~
Also
- This cleans up t... | https://api.github.com/repos/pandas-dev/pandas/pulls/10477 | 2015-06-30T15:44:09Z | 2015-09-05T16:17:23Z | 2015-09-05T16:17:23Z | 2015-09-05T16:17:23Z |
BUG: Enable complex values to be written to HDF | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 28ec828b81c34..a3ec13439fe76 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -27,6 +27,7 @@ New features
~~~~~~~~~~~~
- SQL io functions now accept a SQLAlchemy connectable. (:issue:`7877`)
+- ... | Enable table format to be used to store complex values
in DataFrames, Panels and Panel4Ds.
Add tests for both fixed and panel.
Add exception when attempting to write Series with complex values.
closes #10447
| https://api.github.com/repos/pandas-dev/pandas/pulls/10473 | 2015-06-29T19:27:56Z | 2015-07-13T12:42:41Z | 2015-07-13T12:42:41Z | 2015-07-13T13:22:09Z |
ENH: Make group_var_ use Welford's algorithm. | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 2dbed08aa02f3..08222ef06d21f 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -135,8 +135,11 @@ Bug Fixes
- Bug in ``DatetimeIndex`` and ``PeriodIndex.value_counts`` resets name from its result, bu... | closes #10448
This PR reimplements the Cython functions `group_var_float64` and `group_var_float32` to use Welford's algorithm, rather than the sum-of-squares method, which is numerically unstable. This came up in #10448; see also #10242 for more discussion.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10472 | 2015-06-29T17:23:27Z | 2015-07-08T14:19:41Z | 2015-07-08T14:19:41Z | 2015-07-08T21:19:54Z |
BUG: Fix csv_read bugs when using empty input. GH10467 & GH10413 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index da16734dc873b..6b29854144456 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -134,3 +134,5 @@ Bug Fixes
- Bug in `pandas.concat` with ``axis=0`` when column is of dtype ``category`` (:issue:`101... | closes #10413
closes #10467
| https://api.github.com/repos/pandas-dev/pandas/pulls/10469 | 2015-06-29T13:45:00Z | 2015-07-07T09:30:45Z | 2015-07-07T09:30:45Z | 2015-07-07T09:30:45Z |
ENH: Add pipe method to GroupBy (fixes #10353) | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index b5a382ce24342..42f49b85bb481 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -1002,6 +1002,67 @@ See the :ref:`visualization documentation<visualization.box>` for more.
to ``df.boxplot(by="g")``. See :ref:`here<visualization.box.r... | closes #10353, extends the "pipe" method to a GroupBy object to allow one to chain it with NDFrame.pipe calls
- Moves the functionality of "pipe" from NDFrame into generics._pipe to avoid code duplication
- Leverages this in GroupBy object
- Adds unit test
| https://api.github.com/repos/pandas-dev/pandas/pulls/10466 | 2015-06-28T19:51:19Z | 2015-12-06T19:09:55Z | null | 2022-10-13T00:16:40Z |
BUG: MultiIndex.get_level_values created from Categorical raises AttributeError | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 14e185b5b2a26..389a81c22489e 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -94,7 +94,7 @@ Bug Fixes
- Bug in ``DataFrame.interpolate`` with ``axis=1`` and ``inplace=True`` (:issue:`10395`)
-... | Closes #10460.
xref: #10464.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10465 | 2015-06-28T11:22:03Z | 2015-06-28T13:18:30Z | null | 2015-06-28T13:22:06Z |
BUG: Series.map using categorical Series raises AttributeError | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 2e03cbbea2f70..ec575d06e82f2 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -124,8 +124,8 @@ Bug Fixes
- Bug in ``test_categorical`` on big-endian builds (:issue:`10425`)
-
-
+- Bug in ``Seri... | Closes #10324. Closes #10460.
Based on #9848, using `.get_values` should be avoided?
| https://api.github.com/repos/pandas-dev/pandas/pulls/10464 | 2015-06-28T11:03:24Z | 2015-07-01T13:46:10Z | 2015-07-01T13:46:10Z | 2015-07-01T13:47:52Z |
BUG: #10445 cannot add DataFrame to empty Panel | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index b2a1e10469a0f..7285e88b25ded 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -351,6 +351,7 @@ Bug Fixes
- Bug in ``DataFrame.interpolate`` with ``axis=1`` and ``inplace=True`` (:issue:`10395`)... | closes #10445
I based this bugfix off how DataFrame handles the analogous situation ‒ being intialized to empty and then having a series added (cf. [DataFrame._ensure_valid_index](https://github.com/pydata/pandas/blob/master/pandas/core/frame.py#L2167))
| https://api.github.com/repos/pandas-dev/pandas/pulls/10462 | 2015-06-28T06:11:29Z | 2015-10-11T16:00:58Z | null | 2022-10-13T00:16:40Z |
TST/CLN: remove assert_isinstance | diff --git a/pandas/io/tests/test_excel.py b/pandas/io/tests/test_excel.py
index e898d699ff2fd..26f4d65978fa0 100644
--- a/pandas/io/tests/test_excel.py
+++ b/pandas/io/tests/test_excel.py
@@ -424,27 +424,27 @@ def test_reader_converters(self):
for path in (xls_path, xlsx_path):
actual = read_exce... | `testing.py` has `assert_isinstance` and `assertIsInstance` duplicately, and each test case uses either of them by choice.
Changed to use `assertIsInstance` in all cases, and make `assert_isinstance` show warning.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10458 | 2015-06-28T00:04:07Z | 2015-06-30T10:46:13Z | 2015-06-30T10:46:13Z | 2015-06-30T13:03:04Z |
DOC: Add warning for newbs not to edit auto-generated file | diff --git a/pandas/src/generate_code.py b/pandas/src/generate_code.py
index 5d4b18b36050f..0a488a778cc6b 100644
--- a/pandas/src/generate_code.py
+++ b/pandas/src/generate_code.py
@@ -1,12 +1,23 @@
+"""This file generates `generated.pyx` which is then included in `../algos.pyx`
+during building. To regenerate `genera... | @jreback, here is the proposed changed we talked about in [this PR](https://github.com/pydata/pandas/pull/10337#issuecomment-111822584) for other fellow newbs that make the same mistake I did.
You said "and more importantly prob a note in `internals.rst` about how/what to change", but I didn't understand that. `inter... | https://api.github.com/repos/pandas-dev/pandas/pulls/10456 | 2015-06-27T22:17:06Z | 2015-07-07T16:36:14Z | null | 2015-07-07T17:40:57Z |
Add odo to ecosystem docs | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index c70b6deade36e..26ff9ec536c45 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -132,19 +132,19 @@ Pandas DataFrames with timeseries indexes.
`pydatastream <https://github.com/vfilimonov/pydatastream>`_
~~~~~~~~~~~~~~~~~~~~~... | closes ContinuumIO/odo#244
| https://api.github.com/repos/pandas-dev/pandas/pulls/10455 | 2015-06-27T15:53:09Z | 2015-06-27T19:04:42Z | 2015-06-27T19:04:41Z | 2015-06-27T19:04:43Z |
Attempt to fix issue #10366 encoding and categoricals hdf serialization. | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 6b4bde588469e..f128cec97c1fe 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -765,3 +765,4 @@ Bug Fixes
- Bug in ``read_msgpack`` where encoding is not respected (:issue:`10580`)
- Bug preventing... | closes #10366 .
Probably not quite the right approach but want to run travis. Tests are a bit weak at this point (just testing for non-exceptions). Encoding issues might be relevant to other types besides categoricals (but categoricals raise exceptions when strings to mangled to non-uniqueness).
| https://api.github.com/repos/pandas-dev/pandas/pulls/10454 | 2015-06-27T14:47:44Z | 2015-08-22T20:21:50Z | null | 2015-08-22T20:21:50Z |
DOC: fixed docstrings for StringMethods ljust and rjust | diff --git a/pandas/core/strings.py b/pandas/core/strings.py
index db14e2b487415..e73fa207152c1 100644
--- a/pandas/core/strings.py
+++ b/pandas/core/strings.py
@@ -1270,11 +1270,11 @@ def pad(self, width, side='left', fillchar=' '):
def center(self, width, fillchar=' '):
return self.pad(width, side='both... | Very minor fix but `str.ljust()` and `str.rjust()` have broken links in the docstrings.
You can see in http://pandas.pydata.org/pandas-docs/version/0.16.2/generated/pandas.Series.str.ljust.html#pandas.Series.str.ljust that it should be linking to `str.ljust()` instead of `str.right()` (which doesn't exist)
| https://api.github.com/repos/pandas-dev/pandas/pulls/10453 | 2015-06-27T14:36:26Z | 2015-06-27T14:39:07Z | 2015-06-27T14:39:07Z | 2015-06-27T14:40:08Z |
DOC: GH10414 Missing example in NA values in GroupBy | diff --git a/doc/source/missing_data.rst b/doc/source/missing_data.rst
index 8ea28c6b686f5..5a350b4d9a1e7 100644
--- a/doc/source/missing_data.rst
+++ b/doc/source/missing_data.rst
@@ -174,7 +174,12 @@ NA values in GroupBy
~~~~~~~~~~~~~~~~~~~~
NA groups in GroupBy are automatically excluded. This behavior is consis... | closes #10414
| https://api.github.com/repos/pandas-dev/pandas/pulls/10450 | 2015-06-26T20:04:35Z | 2015-07-01T10:58:05Z | 2015-07-01T10:58:05Z | 2015-07-01T10:58:05Z |
ENH: Simplify using read_hdf for HDF files with one dataset | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 939a5b9dd1d42..28ec828b81c34 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -32,6 +32,7 @@ New features
Other enhancements
^^^^^^^^^^^^^^^^^^
+- Enable `read_hdf` to be used without specifying... | Allow read_hdf to be used without a key when a single pandas object
is stored in a HDF file. Raises if multiple pandas objects found.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10443 | 2015-06-25T19:53:00Z | 2015-07-13T10:56:10Z | 2015-07-13T10:56:10Z | 2015-07-13T13:22:12Z |
BUG: Bug fix implement __reduce__/__setstate__ for Period pickle support | diff --git a/pandas/io/tests/generate_legacy_storage_files.py b/pandas/io/tests/generate_legacy_storage_files.py
index e7cc89fcc0b61..686efde8402d1 100644
--- a/pandas/io/tests/generate_legacy_storage_files.py
+++ b/pandas/io/tests/generate_legacy_storage_files.py
@@ -78,7 +78,8 @@ def create_data():
... | Fix Period pickle issue https://github.com/pydata/pandas/issues/10439
| https://api.github.com/repos/pandas-dev/pandas/pulls/10441 | 2015-06-25T17:56:15Z | 2015-08-20T16:24:10Z | null | 2015-08-20T16:27:25Z |
BUG GH10425 test_categorical big-endian fix | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 191e777903368..704e13ba56b8c 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -78,3 +78,4 @@ Bug Fixes
- Bug in ``ExcelReader`` when worksheet is empty (:issue:`6403`)
- Bug in ``Table.select_colu... | BUG: Changing test_categorical to compare with native byte ordering instead of comparing with little-endian one
closes #10425
| https://api.github.com/repos/pandas-dev/pandas/pulls/10438 | 2015-06-25T09:07:31Z | 2015-06-26T23:11:50Z | null | 2015-06-26T23:11:50Z |
BUG: GH10365 in interpolate_1d when method is piecewise_polynomial | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 191e777903368..e58a6363bf38d 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -78,3 +78,4 @@ Bug Fixes
- Bug in ``ExcelReader`` when worksheet is empty (:issue:`6403`)
- Bug in ``Table.select_colu... | Starting point for closing #10365.
I only have the trivial case. I think this method (and perhaps other methods as well) needs #10383 for it to be useful.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10435 | 2015-06-25T06:14:43Z | 2015-08-21T01:37:30Z | null | 2022-10-13T00:16:38Z |
BUG: closes bug in stack when index is not unique | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index de2261a79da47..13d61957eea00 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -561,6 +561,7 @@ Bug Fixes
- Bug in ``Table.select_column`` where name is not preserved (:issue:`10392`)
- Bug in ``of... | closes https://github.com/pydata/pandas/issues/10417
| https://api.github.com/repos/pandas-dev/pandas/pulls/10433 | 2015-06-25T02:08:32Z | 2015-08-08T12:18:12Z | 2015-08-08T12:18:12Z | 2015-08-30T02:30:09Z |
BUG: provide categorical concat always on axis 0, #10430 | diff --git a/.gitignore b/.gitignore
index e8b557d68ac39..c0f576178ecc0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,6 +41,8 @@ doc/_build
dist
# Egg metadata
*.egg-info
+.eggs
+
# tox testing tool
.tox
# rope
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py
index a9e5d1f3f0ebd..edd4a532cf8... | numpy 1.10 makes this an error for 1-d on axis != 0
closes #10430
| https://api.github.com/repos/pandas-dev/pandas/pulls/10431 | 2015-06-25T00:10:49Z | 2015-06-25T01:10:34Z | 2015-06-25T01:10:34Z | 2015-06-25T01:10:34Z |
BUG: Timedeltas with no specified units (and frac) should raise, #10426 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 168fd803c5f8a..6e5e9cbb34605 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -61,7 +61,7 @@ Performance Improvements
~~~~~~~~~~~~~~~~~~~~~~~~
- Added vbench benchmarks for alternative ExcelWriter... | closes #10426
| https://api.github.com/repos/pandas-dev/pandas/pulls/10429 | 2015-06-24T13:14:21Z | 2015-06-24T20:46:26Z | 2015-06-24T20:46:26Z | 2015-06-24T20:46:26Z |
BUG: using .loc[:,column] fails type coercion when the object is a multi-index | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 990eec08d0bd6..d85e3f079e09d 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -2605,9 +2605,14 @@ def is_list_like(arg):
not isinstance(arg, compat.string_and_binary_types))
def is_null_slice(obj):
+ """ we have a null ... | from [SO](http://stackoverflow.com/questions/31024821/pandas-dataframe-casting-to-timedelta-fails-with-loc)
| https://api.github.com/repos/pandas-dev/pandas/pulls/10428 | 2015-06-24T12:52:36Z | 2015-06-24T20:45:55Z | 2015-06-24T20:45:55Z | 2015-06-24T20:45:55Z |
Removed scikit-timeseries migration docs from FAQ | diff --git a/doc/source/faq.rst b/doc/source/faq.rst
index 0ac33db8495c8..7714d937e15d6 100644
--- a/doc/source/faq.rst
+++ b/doc/source/faq.rst
@@ -81,149 +81,6 @@ representation; i.e., 1KB = 1024 bytes).
See also :ref:`Categorical Memory Usage <categorical.memory>`.
-
-.. _ref-scikits-migration:
-
-Migrating fro... | Issue #10281
| https://api.github.com/repos/pandas-dev/pandas/pulls/10423 | 2015-06-24T06:35:24Z | 2015-06-24T10:53:33Z | 2015-06-24T10:53:33Z | 2015-06-24T10:54:52Z |
BUG: GH9907 generate_range when start/end has higher resolution than offset | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 690dd1ab196b0..f4dce6316ce5c 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -76,3 +76,4 @@ Bug Fixes
- Bug in ``ExcelReader`` when worksheet is empty (:issue:`6403`)
- Bug in ``Table.select_colu... | To close #9907
| https://api.github.com/repos/pandas-dev/pandas/pulls/10422 | 2015-06-24T05:25:20Z | 2015-06-30T10:53:45Z | null | 2015-06-30T10:53:45Z |
DOC: DataFrame Properties | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index a4e4cf612ca85..d9101c2fadafe 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -413,10 +413,17 @@ def _get_axes(N, K, index=index, columns=columns):
@property
def axes(self):
+ """
+ Return a list with the row axis la... | Added explanations for `axes` and `shape`
| https://api.github.com/repos/pandas-dev/pandas/pulls/10421 | 2015-06-23T23:15:39Z | 2015-08-20T15:26:07Z | null | 2015-08-20T15:26:07Z |
BUG: Fix value_counts name handling | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 742077d39fb18..02ef2bbed19b6 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -73,6 +73,7 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+
- Bug in ``DataFrame.apply`` when function returns ca... | Closes #10150. Also, made `test_base` have name attributes.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10419 | 2015-06-23T21:27:25Z | 2015-06-27T03:51:56Z | 2015-06-27T03:51:56Z | 2015-07-04T12:52:08Z |
improve documentation for pandas.Series.interpolate | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index b9e007a1e4d58..13c38789d03db 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2872,18 +2872,21 @@ def interpolate(self, method='linear', axis=0, limit=None, inplace=False,
'polynomial', 'spline' 'piecewise_polynomi... | Close #10362 . Specify information on the use of index in pandas.Series.interpolate documentation.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10418 | 2015-06-23T20:33:59Z | 2015-08-07T10:54:07Z | 2015-08-07T10:54:07Z | 2015-08-07T10:54:08Z |
ENH: tolerance argument for limiting pad, backfill and nearest neighbor reindexing | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 624e10b431de5..71d16a40f0215 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1100,6 +1100,30 @@ Note that the same result could have been achieved using
increasing or descreasing. :meth:`~Series.fillna` and :meth:`~Series.interpolate`
... | xref #9817
This does not entirely solve the floating point precision issues, but gets us part of the way there -- we can explicitly lookup data with a fixed tolerance for nearest neighbor matches.
It is also is useful in its own right, mostly as a simple sanity check to verify that labels are not entirely misaligned.... | https://api.github.com/repos/pandas-dev/pandas/pulls/10411 | 2015-06-23T08:21:54Z | 2015-08-18T23:05:06Z | 2015-08-18T23:05:06Z | 2015-08-20T00:47:38Z |
TST: Use unicode literals in string test | diff --git a/pandas/tests/test_strings.py b/pandas/tests/test_strings.py
index a66410320e816..90da68eed5cc4 100644
--- a/pandas/tests/test_strings.py
+++ b/pandas/tests/test_strings.py
@@ -747,20 +747,18 @@ def test_isnumeric(self):
# 0x2605: ★ not number
# 0x1378: ፸ ETHIOPIC NUMBER SEVENTY
#... | Follow-up of #10397. Fix some ugly unicode tests. Shall I fix followings also?
- Remove `compat.u()` completely, because the escaped literal is different from normal unicode literals internally.
- Remove `compat.callable` brought back in v3.2 ([some code](https://github.com/pydata/pandas/blob/master/pandas/core/frame.p... | https://api.github.com/repos/pandas-dev/pandas/pulls/10405 | 2015-06-22T13:21:28Z | 2015-06-23T14:12:07Z | 2015-06-23T14:12:07Z | 2015-06-23T14:12:14Z |
BUG: GH10392 bug where Table.select_column does not preserve column name | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 168fd803c5f8a..9293c6b36879b 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -74,3 +74,4 @@ Bug Fixes
- Bug in ``pd.Series`` when setting a value on an empty ``Series`` whose index has a frequency... | To close #10392
| https://api.github.com/repos/pandas-dev/pandas/pulls/10401 | 2015-06-21T15:43:36Z | 2015-06-23T11:00:14Z | 2015-06-23T11:00:14Z | 2015-06-23T11:00:19Z |
BUG: GH10395 bug in DataFrame.interpolate with axis=1 and inplace=True | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 9293c6b36879b..e021eb9d02abe 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -75,3 +75,4 @@ Bug Fixes
- Bug in ``DataFrame.reset_index`` when index contains `NaT`. (:issue:`10388`)
- Bug in ``Exc... | To close #10395.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10400 | 2015-06-21T06:24:00Z | 2015-06-23T14:00:40Z | 2015-06-23T14:00:39Z | 2015-06-23T14:00:48Z |
BLD: remove support for 3.2, #9118 | diff --git a/.travis.yml b/.travis.yml
index 246154310a50f..b867601ba0b96 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -86,13 +86,6 @@ matrix:
- CLIPBOARD=xsel
- BUILD_TYPE=conda
- JOB_NAME: "34_slow"
- - python: 3.2
- env:
- - NOSE_ARGS="not slow and not network and not disabled"
- ... | closes #9118
| https://api.github.com/repos/pandas-dev/pandas/pulls/10397 | 2015-06-20T14:58:44Z | 2015-06-22T08:46:38Z | 2015-06-22T08:46:37Z | 2015-06-22T09:03:08Z |
PERF: parse and timedelta ops improvements, #6755 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 6f7e9bce0a3a6..b09ca81d2572f 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -54,6 +54,9 @@ Removal of prior version deprecations/changes
Performance Improvements
~~~~~~~~~~~~~~~~~~~~~~~~
+- 4x... | closes #6755
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
dtype_infer_timedelta64_1 | 7.0527 | 119... | https://api.github.com/repos/pandas-dev/pandas/pulls/10396 | 2015-06-20T09:27:26Z | 2015-06-22T08:34:19Z | 2015-06-22T08:34:19Z | 2015-06-22T09:16:22Z |
Add nlargest/nsmallest for DataFrame | diff --git a/doc/source/api.rst b/doc/source/api.rst
index a1284a3ff7bc9..1cbe55ddbacb6 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -904,6 +904,8 @@ Reshaping, sorting, transposing
DataFrame.sort
DataFrame.sort_index
DataFrame.sortlevel
+ DataFrame.nlargest
+ DataFrame.nsmallest
Data... | Closes #7359
| https://api.github.com/repos/pandas-dev/pandas/pulls/10393 | 2015-06-19T19:11:50Z | 2015-08-04T22:30:32Z | 2015-08-04T22:30:32Z | 2015-08-04T22:30:40Z |
BUG: closes bug in reset_index when index contains NaT | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index d4becdf6b524b..6f7e9bce0a3a6 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -60,3 +60,4 @@ Bug Fixes
~~~~~~~~~
- Bug in ``DataFrame.apply`` when function returns categorical series. (:issue:`957... | closes https://github.com/pydata/pandas/issues/10388
| https://api.github.com/repos/pandas-dev/pandas/pulls/10389 | 2015-06-19T00:29:40Z | 2015-06-20T11:09:45Z | 2015-06-20T11:09:44Z | 2015-06-20T12:17:35Z |
BUG: DataFrame.plot raises ValueError when color name is specified by multiple characters | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 742077d39fb18..9e8ecb6c57de5 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -81,7 +81,7 @@ Bug Fixes
- Bug in ``pd.Series`` when setting a value on an empty ``Series`` whose index has a frequen... | Derived from #9894. Passing color name with multiple characters results in `ValueError`. Below is the bahavior of current master.
```
# OK
df = pd.DataFrame(np.random.randn(3, 3))
df[0].plot(color='green')
# single green line
# OK
df.plot(color=['green'])
# triple green lines
# NG
df.plot(color='green')
# ValueError... | https://api.github.com/repos/pandas-dev/pandas/pulls/10387 | 2015-06-18T13:42:29Z | 2015-07-01T13:21:04Z | 2015-07-01T13:21:04Z | 2015-07-01T13:47:12Z |
BUG: fix multiple columns as primary key in io.sql.get_schema (GH10385) | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 09a39a6d9b2f5..cd41c4fc82146 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -120,7 +120,8 @@ Bug Fixes
- Bug in ``DataFrame.interpolate`` with ``axis=1`` and ``inplace=True`` (:issue:`10395`)
... | Closes #10385
| https://api.github.com/repos/pandas-dev/pandas/pulls/10386 | 2015-06-18T12:00:03Z | 2015-07-03T13:33:49Z | 2015-07-03T13:33:49Z | 2015-07-03T13:33:49Z |
ENH: column label filtering via regexes to work for numeric names | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 4a513f3122390..5585dfde69ac5 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -26,7 +26,8 @@ New features
Other enhancements
^^^^^^^^^^^^^^^^^^
-
+- ``regex`` argument to ``DataFrame.filter`` no... | Simple fix to allow regex filtering to work for numeric column labels, e.g. df.filter(regex="[12][34]")
closes #10506
| https://api.github.com/repos/pandas-dev/pandas/pulls/10384 | 2015-06-18T06:59:19Z | 2015-07-06T12:01:38Z | null | 2015-07-07T04:17:04Z |
Allow passing other arguments to interpolation functions | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 690dd1ab196b0..9f9813cefd305 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -44,6 +44,7 @@ Other API Changes
^^^^^^^^^^^^^^^^^
- Enable writing Excel files in :ref:`memory <_io.excel_writing_buf... | Closes #10378
| https://api.github.com/repos/pandas-dev/pandas/pulls/10383 | 2015-06-18T05:45:53Z | 2015-06-26T18:08:21Z | 2015-06-26T18:08:21Z | 2015-06-26T18:08:31Z |
Check for size=0 before setting item | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 4a513f3122390..d4becdf6b524b 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -59,3 +59,4 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
- Bug in ``DataFrame.apply`` when function returns catego... | This is a second try at fixing #10193; the first try is in #10194. There is some useful discussion in that PR, so I didn't want to clobber that- not sure of the etiquette of multiple PRs for the same bug??
The discussion around setting values in views on #10194 is separate from the bug itself- I find that setting an i... | https://api.github.com/repos/pandas-dev/pandas/pulls/10379 | 2015-06-17T17:38:44Z | 2015-06-18T15:36:21Z | 2015-06-18T15:36:21Z | 2015-06-18T15:43:28Z |
ENH: Enable ExcelWriter to construct in-memory sheets | diff --git a/ci/requirements-3.4.txt b/ci/requirements-3.4.txt
index 24af93fb16194..fd0a5bc53dd7e 100644
--- a/ci/requirements-3.4.txt
+++ b/ci/requirements-3.4.txt
@@ -3,6 +3,7 @@ pytz
openpyxl
xlsxwriter
xlrd
+xlwt
html5lib
patsy
beautiful-soup
diff --git a/ci/requirements-3.4_SLOW.txt b/ci/requirements-3.4_SLO... | Add support for StringIO/BytesIO to ExcelWriter
Add vbench support for writing excel files
Add support for serializing lists/dicts to strings
Fix bug when reading blank excel sheets
closes #8188
closes #7074
closes #6403
closes #7171
| https://api.github.com/repos/pandas-dev/pandas/pulls/10376 | 2015-06-17T14:37:38Z | 2015-06-20T16:20:11Z | 2015-06-20T16:20:11Z | 2015-06-20T16:20:16Z |
ERR: GH9513 NaT methods now raise ValueError | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index e77532b2fe432..069425984b1b2 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -232,6 +232,16 @@ Other API Changes
- Serialize metadata properties of subclasses of pandas objects (:issue:`10553`).
... | This is to close #9513. `NaT` methods now raise `ValueError` or return `np.nan`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10372 | 2015-06-17T06:16:37Z | 2015-07-17T16:40:41Z | null | 2015-07-17T16:40:41Z |
CI: use versioneer to have PEP440 versions | diff --git a/.binstar.yml b/.binstar.yml
index 6f7c2c5ba4c7a..c70add11c55b0 100644
--- a/.binstar.yml
+++ b/.binstar.yml
@@ -1,22 +1,21 @@
package: pandas
user: jreback
-platform:
- #- osx-64
- #- linux-32
- - linux-64
- - win-64
- #- win-32
-
-engine:
- #- python=2.6
- - python=2.7
- #- python=3.3
- #- python=3.4
... | - use versioneer, for PEP440 version strings, closes #9518
- use binstar build
- OSX stack testing, closes #7127
This removes all of the original manual-ish logic to create/manage the versioning in `setup.py`, and replaces with `versioneer.py` (bundled inline) to handle correct versioning for release, development, an... | https://api.github.com/repos/pandas-dev/pandas/pulls/10370 | 2015-06-17T01:11:24Z | 2015-07-16T00:08:25Z | 2015-07-16T00:08:25Z | 2015-07-16T11:44:37Z |
BUG: drop_duplicates drops name(s). | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index fc2e6b1cb936f..d4c49b82ed2e4 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -63,7 +63,7 @@ Bug Fixes
~~~~~~~~~
- Bug in ``DataFrame.apply`` when function returns categorical series. (:issue:`957... | Closes #10115. Closes #10116.
Based on @seth-p and @jreback 's fix, added tets for datetime-likes.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10367 | 2015-06-16T21:58:38Z | 2015-06-23T14:11:23Z | 2015-06-23T14:11:22Z | 2015-06-23T14:12:49Z |
DOC: consistent imports (GH9886) part III | diff --git a/doc/source/dsintro.rst b/doc/source/dsintro.rst
index 9221f2685d79b..5a62e7dccea34 100644
--- a/doc/source/dsintro.rst
+++ b/doc/source/dsintro.rst
@@ -1,18 +1,23 @@
.. currentmodule:: pandas
-.. _dsintro:
-
.. ipython:: python
:suppress:
import numpy as np
- from pandas import *
- randn ... | Further work on #9886
| https://api.github.com/repos/pandas-dev/pandas/pulls/10359 | 2015-06-15T14:58:10Z | 2015-06-23T12:42:59Z | 2015-06-23T12:42:59Z | 2015-06-23T12:43:04Z |
Fixing the code sample in pandas/core/categorical.py | diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py
index a9e5d1f3f0ebd..05f2e6516292a 100644
--- a/pandas/core/categorical.py
+++ b/pandas/core/categorical.py
@@ -183,6 +183,7 @@ class Categorical(PandasObject):
Categories (3, object): [a < b < c]
>>> a = Categorical(['a','b','c','a','b','... | Fix for #10356
| https://api.github.com/repos/pandas-dev/pandas/pulls/10358 | 2015-06-15T12:19:49Z | 2015-08-19T21:40:10Z | null | 2015-08-19T21:40:11Z |
BUG: closes bug in apply when function returns categorical | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 164ab73def894..4a513f3122390 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -58,3 +58,4 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+- Bug in ``DataFrame.apply`` when function returns cate... | closes https://github.com/pydata/pandas/issues/9573
| https://api.github.com/repos/pandas-dev/pandas/pulls/10354 | 2015-06-15T02:53:41Z | 2015-06-15T10:44:29Z | 2015-06-15T10:44:29Z | 2015-08-22T11:33:42Z |
CI: run doc-tests always | diff --git a/ci/script.sh b/ci/script.sh
index d5082234024d5..1126e8249646c 100755
--- a/ci/script.sh
+++ b/ci/script.sh
@@ -15,8 +15,8 @@ fi
if [ "$BUILD_TEST" ]; then
echo "We are not running nosetests as this is simply a build test."
else
- echo nosetests --exe -A "$NOSE_ARGS" pandas --with-xunit --xunit-f... | https://api.github.com/repos/pandas-dev/pandas/pulls/10352 | 2015-06-14T14:35:23Z | 2015-06-14T14:36:19Z | 2015-06-14T14:36:19Z | 2015-06-14T15:57:40Z | |
BUG: frequencies.get_freq_code raises an error against offset with n != 1 | diff --git a/pandas/tseries/base.py b/pandas/tseries/base.py
index 71ff0f6c9c56c..15f69b38febce 100644
--- a/pandas/tseries/base.py
+++ b/pandas/tseries/base.py
@@ -318,8 +318,7 @@ def resolution(self):
"""
Returns day, hour, minute, second, millisecond or microsecond
"""
- from pandas... | Fixed a `frequencies.get_freq_code` raises `ValueError` against offset instance with n!=1. This is needed for #7832.
```
# OK
>>> import pandas.tseries.frequencies as f
>>> f.get_freq_code(('D', 3))
(6000, 3)
>>> import pandas.tseries.offsets as offsets
>>> f.get_freq_code(offsets.Day())
(6000, 1)
# NG!
>>> f.get_fre... | https://api.github.com/repos/pandas-dev/pandas/pulls/10350 | 2015-06-13T22:54:48Z | 2015-06-15T12:57:04Z | 2015-06-15T12:57:03Z | 2015-06-20T02:09:55Z |
DOC: fix docstrings | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 7e7479b2c464c..399286e6dc58b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -53,6 +53,11 @@ pandas 0.16.2
This is a minor release from 0.16.1 and includes a large number of bug fixes
along with several new features, enhancements, ... | Some errors in newly build docstrings + add highlights in release notes.
This is applied on the online docs, but can be merged normally now
| https://api.github.com/repos/pandas-dev/pandas/pulls/10348 | 2015-06-13T13:49:36Z | 2015-06-13T13:49:53Z | 2015-06-13T13:49:53Z | 2015-06-13T13:49:53Z |
BUG: df.to_html(index=False) renders index.name | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index ad3b966575427..00290bb9a1484 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -464,6 +464,8 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+
+- Bug in ``DataFrame.to_html(index=False)`` renders... | Closes #10344.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10346 | 2015-06-13T11:14:58Z | 2015-08-05T10:29:55Z | 2015-08-05T10:29:55Z | 2015-08-05T10:30:19Z |
DEPR: deprecating series asof GH10343 | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 1cbe55ddbacb6..620cef3f7fc74 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -449,7 +449,6 @@ Time series-related
:toctree: generated/
Series.asfreq
- Series.asof
Series.shift
Series.first_valid_index
Series.last_valid_index
... | closes #10343 and discussion on #10266 - deprecating `Series.asof(where)` in favour of `Series.reindex(where, method='ffill')`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10345 | 2015-06-13T03:10:35Z | 2015-08-13T10:20:30Z | null | 2015-08-13T21:55:58Z |
BUG: Check complib values | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index 8314c1cfff0dd..8d62fce0130b9 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -174,3 +174,5 @@ Bug Fixes
- Bug in ``read_hdf`` where ``auto_close`` could not be passed (:issue:`9327`).
- Bug in ... | Add check for complib when opening a HDFStore
closes #4582
closes #8874
| https://api.github.com/repos/pandas-dev/pandas/pulls/10341 | 2015-06-12T19:17:00Z | 2015-06-12T21:49:39Z | null | 2015-06-15T13:56:20Z |
DOC: add versionadded to docstrings for 0.16.0 / 0.16.1 | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index ed01323eb9a27..2411fde2d07af 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1168,6 +1168,9 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None,
Format string for datetime objects
decimal: strin... | part of #10215
| https://api.github.com/repos/pandas-dev/pandas/pulls/10339 | 2015-06-12T11:21:17Z | 2015-06-12T13:17:23Z | 2015-06-12T13:17:23Z | 2015-06-12T13:18:00Z |
DOC: small clean up whatsnew 0.16.2 | diff --git a/doc/source/options.rst b/doc/source/options.rst
index 4b69015353612..9ede87422b21c 100644
--- a/doc/source/options.rst
+++ b/doc/source/options.rst
@@ -142,6 +142,7 @@ More information can be found in the `ipython documentation
pd.set_option('display.max_rows', 999)
pd.set_option('precision', 5)
+.... | https://api.github.com/repos/pandas-dev/pandas/pulls/10338 | 2015-06-12T08:19:54Z | 2015-06-12T21:25:13Z | 2015-06-12T21:25:12Z | 2015-06-12T21:25:19Z | |
BUG #10228: segfault due to out-of-bounds in binning | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 4a513f3122390..cc1e4b09291cc 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -59,3 +59,5 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
- Bug in ``DataFrame.apply`` when function returns catego... | Closes #10228. I also deleted some duplicated code while I was at it.
So, I wasn't sure if I should be including a unit test for this. This issue was a segfault, which was happening when you do:
```
s = pd.Series([], index=pd.DatetimeIndex([]), dtype=np.object)
s.resample('d', how='count')
```
so I suppose I coul... | https://api.github.com/repos/pandas-dev/pandas/pulls/10337 | 2015-06-12T08:13:02Z | 2015-06-26T23:24:27Z | null | 2015-06-27T18:29:01Z |
BUG: GH10332 where Panel.apply does not handle result with ndim=0 | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index b4a1bc72ed386..8fea72089a97f 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -169,3 +169,5 @@ Bug Fixes
- Bug where MySQL interface could not handle numeric table/column names (:issue:`10255`)
... | This is to close #10332
| https://api.github.com/repos/pandas-dev/pandas/pulls/10335 | 2015-06-12T01:35:25Z | 2015-06-12T14:28:08Z | 2015-06-12T14:28:08Z | 2015-06-12T14:28:13Z |
DOC: Remove auto_close option form read_hdf | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index b4a1bc72ed386..15a1842c8c266 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -168,4 +168,8 @@ Bug Fixes
- Bug where MySQL interface could not handle numeric table/column names (:issue:`10255`)
... | Remove docstring indicating auto_close can be used in read_hdf.
This value is always ignored.
Also removes unreachable code.
xref #9327
| https://api.github.com/repos/pandas-dev/pandas/pulls/10330 | 2015-06-11T12:37:05Z | 2015-06-12T14:47:53Z | null | 2015-06-15T13:56:20Z |
BUG/ENH: GH10319 added higher_precision argument to rolling_mean/sum | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index ae6680852ebeb..68cf7ab397457 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -86,6 +86,8 @@ See the :ref:`documentation <basics.pipe>` for more. (:issue:`10129`)
Other enhancements
^^^^^^^^^^^^^^... | This is not specifically for #10319, but should close it for most cases, should users pass in `higher_precision=True`. #10319 is not really a bug in the Cython code, just precision loss when you do finite-precision arithmetic naively.
```
>>> sum([0.00012456, 0.0003, -0.00012456, -0.0003])
-5.421010862427522e-20
```
... | https://api.github.com/repos/pandas-dev/pandas/pulls/10328 | 2015-06-11T07:17:26Z | 2015-06-11T23:57:33Z | null | 2015-06-11T23:57:33Z |
Bug in to_json causing segfault with a CategoricalIndex (GH #10317) | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index feccc19d8f70b..407699f703861 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -120,6 +120,7 @@ Bug Fixes
- Bug where read_hdf store.select modifies the passed columns list when
multi-indexed (:i... | Fixed GH #10317
Stole tests from #10321
| https://api.github.com/repos/pandas-dev/pandas/pulls/10322 | 2015-06-10T01:04:09Z | 2015-06-10T10:28:59Z | 2015-06-10T10:28:59Z | 2015-09-19T00:38:31Z |
BUG: Bug in to_json with certain orients and a CategoricalIndex would segfault, closes #10317 | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index feccc19d8f70b..2c954f33e26b7 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -120,7 +120,7 @@ Bug Fixes
- Bug where read_hdf store.select modifies the passed columns list when
multi-indexed (:i... | xref #10317
```
In [17]: df = DataFrame({ 'A' : pd.Series([3,2,2],index=pd.Categorical([1,2,3],categories=[1,2,3])), 'B' : pd.Categorical(list('aab')) })
In [18]: df
Out[18]:
A B
1 3 a
2 2 a
3 2 b
In [19]: df.index
Out[19]: CategoricalIndex([1, 2, 3], categories=[1, 2, 3], ordered=False, dtype='category'... | https://api.github.com/repos/pandas-dev/pandas/pulls/10321 | 2015-06-10T00:42:11Z | 2015-06-10T01:07:41Z | null | 2015-06-10T01:07:41Z |
Update v0.16.2.txt | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index b5394ab817cdf..4041f9f059bca 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -45,7 +45,7 @@ This can be rewritten as
(df.pipe(h)
.pipe(g, arg1=1)
- .pipe(f, arg2=2)
+ ... | Add arg3=3 to pipe example
| https://api.github.com/repos/pandas-dev/pandas/pulls/10314 | 2015-06-08T17:01:00Z | 2015-06-08T18:11:10Z | 2015-06-08T18:11:10Z | 2015-06-08T18:13:00Z |
BUG: bug in setitem where type promotion is applied to entire block | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index eba8f8af7c00e..b5fb8218cb771 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -139,6 +139,7 @@ Bug Fixes
- Bug in getting timezone data with ``dateutil`` on various platforms ( :issue:`9059`, :is... | closes https://github.com/pydata/pandas/issues/10280
on master:
``` python
>>> df
foo bar baz
a 0 1 2
b 3 4 5
>>> df.dtypes
foo int64
bar int64
baz int64
dtype: object
>>> df.loc['a', 'bar'] = 3.14
>>> df.dtypes
foo float64
bar float64
baz float64
dtype: object
```
on branch:... | https://api.github.com/repos/pandas-dev/pandas/pulls/10308 | 2015-06-07T23:34:30Z | 2015-06-09T14:43:27Z | 2015-06-09T14:43:27Z | 2015-06-09T23:30:23Z |
BUG: bug in json serialization when frame has mixed types | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index 9421ab0f841ac..d991e639779f9 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -117,6 +117,7 @@ Bug Fixes
- Bug where some of the nan funcs do not have consistent return dtypes (:issue:`10251`)
- B... | closes https://github.com/pydata/pandas/issues/10289
on master:
``` python
>>> df
1st 2nd 3rd 4th 5th
a 10 1 foo 0.1 0.01
b 20 2 bar 0.2 0.02
c 30 3 baz 0.3 0.03
d 40 4 qux 0.4 0.04
>>> read_json(df.to_json(orient='index'), orient='index', convert_axes=False)
1st 2nd 3rd ... | https://api.github.com/repos/pandas-dev/pandas/pulls/10306 | 2015-06-07T01:41:01Z | 2015-06-07T23:05:24Z | 2015-06-07T23:05:24Z | 2015-08-22T11:36:04Z |
BUG: PeriodIndex.order doesnt preserve freq | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 13d61957eea00..770ad8a268f11 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -612,5 +612,8 @@ Bug Fixes
- Bug in ``io.common.get_filepath_or_buffer`` which caused reading of valid S3 files to fail... | Closes #10295 (This is based on #10292). Changed `lib.maybe_indices_to_slice` to detect slice with `step` and also check upper bound of index.
However, above change affects to the behavior of `Index.slice_locs`. Internally, the behavoir of `Index.get_slice_bound` seems to assume `lib.maybe_indices_to_slice` returns sl... | https://api.github.com/repos/pandas-dev/pandas/pulls/10305 | 2015-06-06T22:40:59Z | 2015-08-08T14:38:47Z | 2015-08-08T14:38:46Z | 2015-08-08T14:38:52Z |
BUG: Categorical.remove_categories(np.nan) fails when underlying dtype is float | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index c219818a62631..feccc19d8f70b 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -163,6 +163,8 @@ Bug Fixes
- Bug in GroupBy.get_group raises ValueError when group key contains NaT (:issue:`6992`)
- ... | Fixes GH #10156. This also makes different null values indistinguishable inside of remove_categories, but they're already indistinguishable in most other contexts:
``` .python
>>> pd.Categorical([], categories=[np.nan, None])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/core/... | https://api.github.com/repos/pandas-dev/pandas/pulls/10304 | 2015-06-06T18:53:16Z | 2015-06-09T23:45:58Z | 2015-06-09T23:45:58Z | 2015-06-10T13:40:04Z |
ENH: added rsplit to StringMethods | diff --git a/doc/source/api.rst b/doc/source/api.rst
index f5ba03afc9f19..5b6e536af0501 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -563,6 +563,7 @@ strings and apply several methods to it. These can be acccessed like
Series.str.slice
Series.str.slice_replace
Series.str.split
+ Series.str.... | as a part of https://github.com/pydata/pandas/issues/9111
cc @sinhrks
| https://api.github.com/repos/pandas-dev/pandas/pulls/10303 | 2015-06-06T18:26:34Z | 2015-06-09T00:38:32Z | 2015-06-09T00:38:32Z | 2015-06-09T00:42:41Z |
BUG: read_csv does not set index name on an empty DataFrame | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index 9421ab0f841ac..399402d243be7 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -142,6 +142,7 @@ Bug Fixes
- Bug in `plot` not defaulting to matplotlib `axes.grid` setting (:issue:`9792`)
- Bug in... | Fixes GH #10184.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10302 | 2015-06-06T16:57:35Z | 2015-06-07T23:06:15Z | 2015-06-07T23:06:15Z | 2015-09-19T00:38:30Z |
DOC: #7828 Add json_normalize to api docs. | diff --git a/doc/source/api.rst b/doc/source/api.rst
index f5ba03afc9f19..29231f32c649a 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -47,11 +47,15 @@ Excel
JSON
~~~~
+.. currentmodule:: pandas.io.json
.. autosummary::
:toctree: generated/
read_json
+ json_normalize
+
+.. currentmodule:... | closes #7828
Is this all we need?
| https://api.github.com/repos/pandas-dev/pandas/pulls/10301 | 2015-06-06T14:45:10Z | 2015-06-07T22:24:16Z | 2015-06-07T22:24:15Z | 2015-06-08T12:04:03Z |
ENH: #8750 add Series support for to_html and _repr_html_ | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 6bee0a1ceafb8..60e0e34c11db8 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -729,6 +729,7 @@ Serialization / IO / Conversion
Series.to_json
Series.to_sparse
Series.to_dense
+ Series.to_html
Series.to_string
Series.to_clipboard... | closes #5563
| https://api.github.com/repos/pandas-dev/pandas/pulls/10300 | 2015-06-06T09:07:44Z | 2016-07-21T16:16:11Z | null | 2023-05-11T01:13:01Z |
BUG: plotting grouped_hist with a single row frame #10214 | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index 9421ab0f841ac..c3782402e499c 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -111,6 +111,7 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+- Bug where ``hist`` raises an error when a one row S... | closes #10214
| https://api.github.com/repos/pandas-dev/pandas/pulls/10298 | 2015-06-06T05:29:13Z | 2015-06-09T11:54:08Z | null | 2015-06-09T11:54:08Z |
ENH: #3335 Pivot table support for setting name of margins column. | diff --git a/pandas/tools/pivot.py b/pandas/tools/pivot.py
index 89fe9463282b6..c5f090ea26271 100644
--- a/pandas/tools/pivot.py
+++ b/pandas/tools/pivot.py
@@ -1,6 +1,5 @@
# pylint: disable=E1103
-import warnings
from pandas import Series, DataFrame
from pandas.core.index import MultiIndex, Index
@@ -8,13 +7,16... | ref #3335.
Adds margin_column parameter to pivot_table so that user can set it to
something other than 'All'.
Raises ValueError exception if there is a conflict between the value of
margin_column and one of the other values appearing in the indices of
the pivot table.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10296 | 2015-06-06T04:41:00Z | 2015-11-10T01:26:51Z | null | 2015-11-12T07:52:30Z |
ENH: #2679 - DataFrame.to_html() urls_as_links parameter. | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 429051b5815fa..5d2009f79fe29 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -6,6 +6,7 @@
from pandas.core.base import PandasObject
from pandas.core.common import adjoin, notnull
+from pandas.io.common import _is_url
from pandas.cor... | New urls_as_links boolean paramater that will output urls as href html
links. ref #2679
Thanks for @tdas14 for initial code.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10294 | 2015-06-06T01:34:57Z | 2015-11-02T12:09:03Z | null | 2022-10-13T00:16:35Z |
BUG: TimedeltaIndex slicing may reset freq | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index 49f143e158abf..91acd3d670e9f 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -80,7 +80,7 @@ Bug Fixes
- Bug in ``Series.align`` resets ``name`` when ``fill_value`` is specified (:issue:`10067`)
... | `DatetimeIndex` preserve freq after slicing.
```
di = pd.date_range('2001', '2005', freq='D')
di[1:5:2]
# DatetimeIndex(['2001-01-02', '2001-01-04'], dtype='datetime64[ns]', freq='2D', tz=None)
```
But `TimedeltaIndex` doesn't.
```
tdi = pd.timedelta_range('1day', '5day', freq='D')
tdi[1:5:2]
# TimedeltaIndex(['2 da... | https://api.github.com/repos/pandas-dev/pandas/pulls/10292 | 2015-06-05T23:31:04Z | 2015-06-07T23:02:54Z | 2015-06-07T23:02:54Z | 2015-06-08T13:20:31Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.