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 |
|---|---|---|---|---|---|---|---|
BUG/TST: transform and filter on non-unique index, closes #4620 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 8a9163075fb9c..cd9f688de152d 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -762,6 +762,9 @@ Bug Fixes
- Make sure that ``head/tail`` are ``iloc`` based, (:issue:`5370`)
- Fixed bug for ``PeriodIndex`` string representation if... | closes #4620
This is a relatively minor change. Previously, `filter` on
`SeriesGroupBy` and `DataFrameGroupby` and `transform` on only
`SeriesGroupBy` referred to the index of each group's object.
This cannot work with repeated indexes, because some repeated
indexes occur between more than one group. Instead, use
`{S... | https://api.github.com/repos/pandas-dev/pandas/pulls/5375 | 2013-10-29T19:08:50Z | 2013-11-01T18:34:36Z | 2013-11-01T18:34:35Z | 2014-06-18T17:10:16Z |
Escape special characters in to_latex() output | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a3792ae74b023..f58620020d254 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -87,6 +87,7 @@ Improvements to existing features
- perf improvments in ``dtypes/ftypes`` methods (:issue:`5968`)
- perf improvments in indexing with o... | Some characters have special meaning in latex: & % $ # _ { } ~ ^ . When a dataframe contains a special character (as part of an index label, for example), to_latex() spits out invalid latex.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5374 | 2013-10-29T14:12:05Z | 2014-01-21T21:06:58Z | 2014-01-21T21:06:58Z | 2014-06-18T14:06:06Z |
BUG: Make sure that head/tail are iloc based, (GH5370) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 77d86b8a7a9f1..0a901d1ff044c 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -756,6 +756,7 @@ Bug Fixes
- Test suite no longer leaves around temporary files when testing graphics. (:issue:`5347`)
(thanks for catching this @ya... | closes #5370
| https://api.github.com/repos/pandas-dev/pandas/pulls/5373 | 2013-10-29T12:43:57Z | 2013-10-29T18:33:10Z | 2013-10-29T18:33:10Z | 2014-07-01T05:46:01Z |
TST: Better handle np.array_equal() edge cases | diff --git a/pandas/src/testing.pyx b/pandas/src/testing.pyx
index b324c6652d58f..404b97879e2be 100644
--- a/pandas/src/testing.pyx
+++ b/pandas/src/testing.pyx
@@ -82,10 +82,12 @@ cpdef assert_almost_equal(a, b, bint check_less_precise=False):
assert na == nb, (
"Length of two iterators not the s... | https://api.github.com/repos/pandas-dev/pandas/pulls/5371 | 2013-10-29T03:45:56Z | 2013-10-29T22:51:12Z | 2013-10-29T22:51:12Z | 2014-07-16T08:37:47Z | |
ENH: HDFStore.flush() to optionally perform fsync (GH5364) | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 90bb762f1a1ba..9fd2ea1eb83ec 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2745,6 +2745,9 @@ Notes & Caveats
need to serialize these operations in a single thread in a single
process. You will corrupt your data otherwise. See the issue
... | Pull request for #5364.
The `fsync=False` parameter was added to `flush` given this offers utility for non-distribution use cases, such as a user just wanting to ensure their data is regularly flushed to disk.
I could not see any mocking library in use in the Pandas tests, so I skipped adding one just to verify `os.f... | https://api.github.com/repos/pandas-dev/pandas/pulls/5369 | 2013-10-28T23:59:11Z | 2013-10-29T20:28:40Z | 2013-10-29T20:28:40Z | 2014-06-16T19:17:25Z |
BUG: downcasting is now more robust (related GH5174) | diff --git a/pandas/core/common.py b/pandas/core/common.py
index d9e8f4164adb4..d05c3dbafdee6 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1022,6 +1022,7 @@ def _possibly_downcast_to_dtype(result, dtype):
if np.isscalar(result) or not len(result):
return result
+ trans = lambda ... | related #5174
| https://api.github.com/repos/pandas-dev/pandas/pulls/5368 | 2013-10-28T22:58:08Z | 2013-10-28T23:55:55Z | 2013-10-28T23:55:55Z | 2014-07-16T08:37:41Z |
fix: to_datetime returns KeyError: 'p' when %p specified in format string (GH5361) | diff --git a/pandas/tseries/tests/test_timeseries.py b/pandas/tseries/tests/test_timeseries.py
index b8144c2b5eab9..7fbb908265476 100644
--- a/pandas/tseries/tests/test_timeseries.py
+++ b/pandas/tseries/tests/test_timeseries.py
@@ -816,62 +816,6 @@ def test_dayfirst(self):
#### to_datetime('01-13-2012', dayfi... | closes https://github.com/pydata/pandas/issues/5361
| https://api.github.com/repos/pandas-dev/pandas/pulls/5366 | 2013-10-28T21:04:33Z | 2014-01-24T22:16:24Z | null | 2014-06-20T18:09:45Z |
TST: interpolate precision inference | diff --git a/pandas/tests/test_generic.py b/pandas/tests/test_generic.py
index b3e216526d0f6..a6e0dea2c4e22 100644
--- a/pandas/tests/test_generic.py
+++ b/pandas/tests/test_generic.py
@@ -478,9 +478,9 @@ def test_nan_str_index(self):
def test_interp_quad(self):
_skip_if_no_scipy()
sq = Series([1... | closes #5174
| https://api.github.com/repos/pandas-dev/pandas/pulls/5362 | 2013-10-28T18:26:15Z | 2013-10-28T19:52:51Z | 2013-10-28T19:52:51Z | 2016-11-03T12:37:33Z |
TST/CLN: Only print on test failures. | diff --git a/pandas/stats/tests/test_moments.py b/pandas/stats/tests/test_moments.py
index 1f7df9894a97d..46f4355a5a1f3 100644
--- a/pandas/stats/tests/test_moments.py
+++ b/pandas/stats/tests/test_moments.py
@@ -635,8 +635,11 @@ def test_corr_sanity(self):
for i in range(10):
df = DataFrame(np.ra... | Don't pollute output.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5360 | 2013-10-28T03:46:45Z | 2013-10-28T04:00:35Z | 2013-10-28T04:00:35Z | 2014-07-16T08:37:37Z |
TST: Make sure files are removed in test_graphics | diff --git a/doc/source/release.rst b/doc/source/release.rst
index f23852885668a..49de8dddd7210 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -753,6 +753,8 @@ Bug Fixes
- Fix return value/type signature of ``initObjToJSON()`` to be compatible
with numpy's ``import_array()`` (:issue:`5334`,... | plt.savefig() appends an extension by default, which messes up ensure_clean().
Added option to ensure_clean() to just return file-like.
Closes #5347.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5359 | 2013-10-28T03:10:35Z | 2013-10-28T03:26:02Z | 2013-10-28T03:26:02Z | 2014-07-16T08:37:36Z |
BUG/ENH: Allow drop to accept axis name | diff --git a/doc/source/release.rst b/doc/source/release.rst
index c544396e4c73b..5ca602cc1cc0f 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -189,6 +189,8 @@ Improvements to existing features
right-open fashion using the ``closed`` parameter (:issue:`4579`)
- Python csv parser now support... | Still need to add tests for DataFrame and Series, but should work. Very
simple fix to boot :).
Finally closes #5044
| https://api.github.com/repos/pandas-dev/pandas/pulls/5354 | 2013-10-28T00:09:50Z | 2013-10-28T01:14:38Z | 2013-10-28T01:14:38Z | 2014-06-14T15:19:38Z |
CLN: Add axis kwarg to Series wrapper for compat | diff --git a/pandas/core/ops.py b/pandas/core/ops.py
index 7fad806e43af3..0c647bb6ee7eb 100644
--- a/pandas/core/ops.py
+++ b/pandas/core/ops.py
@@ -663,7 +663,9 @@ def _flex_method_SERIES(op, name, str_rep=None, default_axis=None,
""" % name
@Appender(doc)
- def f(self, other, level=None, fill_value=Non... | Now flex methods can take axis=0/axis='rows'/axis='index'. Also updated
tests to cover full range of Series flex ops and check that they all
accept an axis argument.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5352 | 2013-10-27T22:27:17Z | 2013-10-28T00:48:46Z | 2013-10-28T00:48:46Z | 2014-07-16T08:37:31Z |
DOC: Panel *xs() docstring indicates wrong default for copy | diff --git a/pandas/core/panel.py b/pandas/core/panel.py
index f35070c634aa1..9235b119d0d17 100644
--- a/pandas/core/panel.py
+++ b/pandas/core/panel.py
@@ -702,7 +702,7 @@ def major_xs(self, key, copy=True):
----------
key : object
Major axis label
- copy : boolean, default False
... | Also the copy param in Panel.xs was undocumented. Intentional?
Worth a line in release.rst?
| https://api.github.com/repos/pandas-dev/pandas/pulls/5350 | 2013-10-27T20:17:41Z | 2013-11-21T14:06:31Z | 2013-11-21T14:06:31Z | 2016-11-03T12:37:32Z |
BUG: Bug when renaming then set_index on a DataFrame (GH5344) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index b74b23029a2ac..d4764dbe81a9a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -642,6 +642,7 @@ Bug Fixes
related (:issue:`5312`)
- Fix return value/type signature of ``initObjToJSON()`` to be compatible
with numpy's ``imp... | closes #5344
| https://api.github.com/repos/pandas-dev/pandas/pulls/5345 | 2013-10-27T00:36:05Z | 2013-10-27T00:45:07Z | 2013-10-27T00:45:07Z | 2014-06-17T11:24:24Z |
ENH: allow in-line expression assignment with df.eval | diff --git a/doc/source/enhancingperf.rst b/doc/source/enhancingperf.rst
index e59cb6ac30964..4e9e62a2f0e3e 100644
--- a/doc/source/enhancingperf.rst
+++ b/doc/source/enhancingperf.rst
@@ -441,18 +441,27 @@ The ``DataFrame.eval`` method (Experimental)
In addition to the top level :func:`~pandas.eval` function you can ... | This was a relatively easy extension of eval to allow in-line creation/assignment.
Allows one to basically use formulas to do things (pandas conquers excel!!!!)
- [x] docs
- [x] tests non-frame
```
In [11]: df = DataFrame(dict(a = range(5), b = range(5,10)))
In [12]: df
Out[12]:
a b
0 0 5
1 1 6
2 2 7
3 3... | https://api.github.com/repos/pandas-dev/pandas/pulls/5343 | 2013-10-26T22:34:45Z | 2013-10-27T22:12:25Z | 2013-10-27T22:12:25Z | 2014-06-17T03:29:49Z |
API: provide compat for Timestamp now/today/utcnow class methods (GH5339) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index b74b23029a2ac..6c8ae847254f2 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -321,6 +321,7 @@ API Changes
(:issue:`4501`)
- Support non-unique axes in a Panel via indexing operations (:issue:`4960`)
- ``.truncate`` will ra... | closes #5339
| https://api.github.com/repos/pandas-dev/pandas/pulls/5342 | 2013-10-26T19:39:45Z | 2013-10-27T21:59:55Z | 2013-10-27T21:59:55Z | 2014-07-16T08:37:21Z |
BUG/CLN: Cleanup sanitize column and abstract broadcasting | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index b485d51514162..f55c9ec08d084 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1915,71 +1915,51 @@ def _sanitize_column(self, key, value):
# Need to make sure new columns (which go into the BlockManager as new
# blocks) are ... | Also fixes small bug from #5321
| https://api.github.com/repos/pandas-dev/pandas/pulls/5341 | 2013-10-26T18:09:21Z | 2013-10-26T23:40:01Z | 2013-10-26T23:40:01Z | 2014-07-16T08:37:19Z |
More informative exception when trying to use ``MS`` as period frequency | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a2015a3b361ac..f1f685850284c 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -633,6 +633,7 @@ Bug Fixes
- Fixed issue with ``drop`` and a non-unique index on Series (:issue:`5248`)
- Fixed seg fault in C parser caused by passin... | Closes #5332
| https://api.github.com/repos/pandas-dev/pandas/pulls/5340 | 2013-10-26T17:45:23Z | 2014-04-09T03:01:05Z | null | 2014-07-16T08:37:16Z |
Docs for error_bad_lines, and warn_bad_lines options to pd.read_* | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index c10cb84de34fd..84cb8567fbbcb 100644
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -133,6 +133,14 @@
tupleize_cols: boolean, default False
Leave a list of tuples on columns as is (default is to convert to
a Multi Index on the columns)
+... | Hi,
Added some docs for error_bad_lines & warn_bad_lines, as currently there aren't any found here: http://pandas.pydata.org/pandas-docs/dev/generated/pandas.io.parsers.read_csv.html
| https://api.github.com/repos/pandas-dev/pandas/pulls/5337 | 2013-10-26T02:55:02Z | 2014-01-01T03:14:28Z | 2014-01-01T03:14:28Z | 2014-07-16T08:37:14Z |
DOC: Added/fixed some docstrings, esp Panel flex | diff --git a/doc/source/_templates/autosummary/class.rst b/doc/source/_templates/autosummary/class.rst
index e9af7e8df8bab..a9c9bd2b6507f 100644
--- a/doc/source/_templates/autosummary/class.rst
+++ b/doc/source/_templates/autosummary/class.rst
@@ -3,7 +3,7 @@
{% block methods %}
{% if methods %}
-..
+..
HACK ... | 1. Panel flex docstrings had str representation of functions like
`<builtin-func add..>` (not pretty). Fixed to be name
2. Added some docstrings to miscellaneous properties and clarified
meaning of info_axis/keys.
3. Wrap 0.13's release.rst at 80 characters per line.
I'm happy to revert (3) above...just was both... | https://api.github.com/repos/pandas-dev/pandas/pulls/5336 | 2013-10-26T02:27:57Z | 2013-10-28T01:18:49Z | 2013-10-28T01:18:49Z | 2014-06-13T13:53:33Z |
BUG: empty series not printing name in repr (#4651) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index d6a98157c76d3..6e10bd651d90a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -768,7 +768,7 @@ Bug Fixes
elements. (:issue:`5372`)
- The GroupBy methods ``transform`` and ``filter`` can be used on Series
and DataFrames th... | Implemented as suggested in #4651
| https://api.github.com/repos/pandas-dev/pandas/pulls/5335 | 2013-10-26T00:42:38Z | 2013-11-02T20:58:19Z | 2013-11-02T20:58:19Z | 2014-06-23T09:41:29Z |
CLN: Fix return type for initObjToJSON() | diff --git a/doc/source/release.rst b/doc/source/release.rst
index b35f8298c815a..b74b23029a2ac 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -640,6 +640,8 @@ Bug Fixes
- Bug when trying to display an embedded PandasObject (:issue:`5324`)
- Allows operating of Timestamps to return a datetime... | Make it so that it always returns the same thing as numpy, so that it
matches the right signature whether in or not in the error condition.
Closes #5326.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5334 | 2013-10-26T00:17:03Z | 2013-10-26T14:13:31Z | 2013-10-26T14:13:31Z | 2014-06-25T20:51:28Z |
ENH: Add option to highlight NaN cells | diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py
index 13f7a3dbe7d4a..e5e1dac73f070 100644
--- a/pandas/core/config_init.py
+++ b/pandas/core/config_init.py
@@ -181,6 +181,15 @@
Setting this to None/False restores the values to their initial value.
"""
+
+pc_highlight_nan_doc = """
+: bool
+... | Useful for quickly inspecting data in an ipynb
- Add display.highlight_nan option (default True)
- Add argument to DataFrame.to_html
and HTMLFormatter.__init__
- Add test
| https://api.github.com/repos/pandas-dev/pandas/pulls/5330 | 2013-10-25T19:53:01Z | 2013-11-21T13:59:41Z | null | 2014-06-14T01:25:10Z |
BUG: repr/str of storers in HDFStore was calling an incorrect method | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index 999f0751abe99..05528d5c0d407 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -1914,9 +1914,6 @@ def __unicode__(self):
return "%-12.12s (shape->%s)" % (self.pandas_type, s)
return self.pandas_type
- def __str__... | https://api.github.com/repos/pandas-dev/pandas/pulls/5328 | 2013-10-25T19:11:25Z | 2013-10-25T19:23:46Z | 2013-10-25T19:23:46Z | 2014-07-16T08:37:00Z | |
TST/BUG: allow invalid Timestamps to pass thru as datetimes when operating with offsets | diff --git a/doc/source/release.rst b/doc/source/release.rst
index af59137a194b0..b35f8298c815a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -638,6 +638,8 @@ Bug Fixes
which doesn't have a row for index names (:issue:`4702`)
- Bug when trying to use an out-of-bounds date as an object dtyp... | closes #5312
| https://api.github.com/repos/pandas-dev/pandas/pulls/5327 | 2013-10-25T17:44:31Z | 2013-10-26T00:31:29Z | 2013-10-26T00:31:29Z | 2014-06-27T23:14:58Z |
BUG: bug when trying to display an embedded PandasObject (GH5324) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index e92d18827ae2a..af59137a194b0 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -637,6 +637,7 @@ Bug Fixes
- C and Python Parser can now handle the more common multi-index column format
which doesn't have a row for index names (... | closes #5324
There was a bug where this wasn't display at all, so this PR fixes
Do we care about formatting _embedded_ pandas objects? (as we don't recommend this anyhow)
```
In [15]: df1 = DataFrame({'a':[1, 2, 3], 'b':[3, 4, 5]})
In [19]: df2.dtypes
Out[19]:
0 object
dtype: object
In [16]: df1
Out[16]:
a... | https://api.github.com/repos/pandas-dev/pandas/pulls/5325 | 2013-10-25T16:02:46Z | 2013-10-25T19:24:09Z | 2013-10-25T19:24:09Z | 2014-06-20T16:31:35Z |
ENH: add more postgres support - started adding some oracle code | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index ceea902649690..ada036c040a01 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -237,7 +237,7 @@ def _alchemy_connect_sqlite(path):
return create_engine('sqlite:///%s' % path).connect()
-# I don't think this is used...
+# used in _cur_write_oracle... | https://api.github.com/repos/pandas-dev/pandas/pulls/5323 | 2013-10-25T15:05:39Z | 2014-02-16T22:49:57Z | null | 2014-06-24T15:17:24Z | |
BUG: when trying to use an out-of-bounds date as an object dtype (GH5312) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index b3fa90ed6f624..e92d18827ae2a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -636,6 +636,7 @@ Bug Fixes
- Fix ``Series.isin`` with date/time-like dtypes (:issue:`5021`)
- C and Python Parser can now handle the more common multi... | closes 1st issue in #5312
| https://api.github.com/repos/pandas-dev/pandas/pulls/5322 | 2013-10-25T14:24:13Z | 2013-10-25T14:44:17Z | 2013-10-25T14:44:17Z | 2014-07-16T08:36:48Z |
PERF: vbench for time-series index assignment in frame (GH5320) | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 5e33532587506..eb98bcfa00ecb 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1914,7 +1914,11 @@ def insert(self, loc, column, value, allow_duplicates=False):
def _sanitize_column(self, key, value):
# Need to make sure new colu... | PERF: direct index assignment in a frame was doing lots of work
closes #5320
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-----------------------------------------------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/5321 | 2013-10-25T13:30:56Z | 2013-10-25T13:44:35Z | 2013-10-25T13:44:35Z | 2014-07-16T08:36:46Z |
TST: Fixed int32/int64 problem in csv parser tests | diff --git a/pandas/io/tests/test_parsers.py b/pandas/io/tests/test_parsers.py
index 66730f255eb1d..84736f16e7cba 100644
--- a/pandas/io/tests/test_parsers.py
+++ b/pandas/io/tests/test_parsers.py
@@ -1274,8 +1274,8 @@ def test_header_multiindex_common_format(self):
tm.assert_frame_equal(df.reset_index(drop=Tr... | Fixes #5316
I think this was just an issue with 32 bit OSes.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5318 | 2013-10-25T03:30:59Z | 2013-10-25T13:45:12Z | 2013-10-25T13:45:12Z | 2014-07-16T08:36:42Z |
ENH: add basic postgresql support to io.sql | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index e269d14f72712..e39c3a9582964 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -207,7 +207,7 @@ def write_frame(frame, name, con, flavor='sqlite', if_exists='fail', **kwargs):
#create or drop-recreate if necessary
create = None
if exists and if... | I added in basic postresql support
| https://api.github.com/repos/pandas-dev/pandas/pulls/5315 | 2013-10-24T20:40:40Z | 2014-01-26T12:21:13Z | null | 2014-07-07T14:18:40Z |
TST: changes AssertionErrors in core/generic/_construct_axes_from_arguments to Type/Value Errors | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 9666fe42cc822..3259522e20926 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -233,7 +233,7 @@ def _construct_axes_from_arguments(self, args, kwargs, require_all=False):
if alias is not None:
if a in kwar... | closes #5051
| https://api.github.com/repos/pandas-dev/pandas/pulls/5311 | 2013-10-24T12:32:48Z | 2013-10-24T18:18:37Z | 2013-10-24T18:18:36Z | 2014-07-16T08:36:40Z |
ENH: Make 'rows' an axis alias for 'index' | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 5e33532587506..b611f87b0a557 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -4358,8 +4358,8 @@ def combineMult(self, other):
return self.mul(other, fill_value=1.)
-DataFrame._setup_axes(
- ['index', 'columns'], info_axis=1, ... | Think this covers it - think I have an appropriate number of cases too.
I don't actually want to put this in the docs, as it's just for
convenience. Thoughts on that?
| https://api.github.com/repos/pandas-dev/pandas/pulls/5309 | 2013-10-24T02:03:08Z | 2013-10-25T09:59:02Z | 2013-10-25T09:59:02Z | 2014-07-16T08:36:38Z |
Revert print_skipped.py changes for now | diff --git a/.travis.yml b/.travis.yml
index 818278eebf5b5..477e81a956553 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -48,3 +48,4 @@ script:
after_script:
- ci/print_versions.py
+ - ci/print_skipped.py /tmp/nosetests.xml
diff --git a/ci/install.sh b/ci/install.sh
index 528d669ae693c..edd6d0690d3c8 100755
--- a... | goes back to @cpcloud's original plugin that echo'd separately. Just
until @cpcloud has time to implement this for nose-skipped.
Just makes it much easier to read through Travis builds (especially for
new users) if the print_skipped stuff is hidden at first glance.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5308 | 2013-10-24T01:42:57Z | 2013-10-24T11:32:14Z | 2013-10-24T11:32:14Z | 2014-07-16T08:36:37Z |
ENH: allow astype conversions for timedeltas to other timedelta freqs (still returns a float series), related to GH4521 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 7dc6876d35124..5db612059685b 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -118,7 +118,7 @@ Improvements to existing features
by an integer series (:issue`4521`)
- A Series of dtype ``timedelta64[ns]`` can now be divided by... | related #4521
```
In [4]: td = pd.to_timedelta([0,1,2],unit='D')
In [5]: td
Out[5]:
0 00:00:00
1 1 days, 00:00:00
2 2 days, 00:00:00
dtype: timedelta64[ns]
In [6]: td / np.timedelta64(1,'s')
Out[6]:
0 0
1 86400
2 172800
dtype: float64
```
This is new (used to raise)
```
In [7]: td.as... | https://api.github.com/repos/pandas-dev/pandas/pulls/5305 | 2013-10-23T23:55:58Z | 2013-10-24T00:13:07Z | 2013-10-24T00:13:07Z | 2014-07-16T08:36:35Z |
BUG: Fix Series.isin with date/time-like dtypes (GH5021) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 5db612059685b..f161ead7f7ecc 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -633,6 +633,7 @@ Bug Fixes
- Fixed issue with ``drop`` and a non-unique index on Series (:issue:`5248`)
- Fixed seg fault in C parser caused by passin... | closes #5021
```
In [6]: s = Series(date_range('jan-01-2013','jan-05-2013'))
In [7]: s
Out[7]:
0 2013-01-01 00:00:00
1 2013-01-02 00:00:00
2 2013-01-03 00:00:00
3 2013-01-04 00:00:00
4 2013-01-05 00:00:00
dtype: datetime64[ns]
In [8]: s.isin(s[0:2])
Out[8]:
0 True
1 True
2 False
3 False
4 ... | https://api.github.com/repos/pandas-dev/pandas/pulls/5303 | 2013-10-23T21:03:57Z | 2013-10-24T10:21:38Z | 2013-10-24T10:21:38Z | 2014-06-25T23:10:50Z |
BUG: setting on a frame without an index silently was failing, related (GH5226) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index a2015a3b361ac..7dc6876d35124 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -210,8 +210,8 @@ API Changes
an alias of iteritems used to get around ``2to3``'s changes).
(:issue:`4384`, :issue:`4375`, :issue:`4372`)
- ``Se... | related to #5226
the following would previously silently fail:
```
In [3]: df = DataFrame(columns=['A','B'])
In [4]: df[0] = Series(1,index=range(4))
In [5]: df
Out[5]:
A B 0
0 NaN NaN 1
1 NaN NaN 1
2 NaN NaN 1
3 NaN NaN 1
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/5301 | 2013-10-23T14:51:25Z | 2013-10-23T15:30:29Z | 2013-10-23T15:30:29Z | 2014-06-23T20:59:54Z |
BUG: parser can handle a common_format multi-column index (no row index cols), (GH4702) | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 6840717854dea..90bb762f1a1ba 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -890,6 +890,22 @@ of tupleizing columns, specify ``tupleize_cols=True``.
print(open('mi.csv').read())
pd.read_csv('mi.csv',header=[0,1,2,3],index_col=[0,1])
+Starting... | closes #4702, should help with #5254
Will handle the format generated by `to_csv` (which has a an 'extra' line for the index names)
and the more 'common' format
```
In [4]: data = """,a,a,a,b,c,c
...: ,q,r,s,t,u,v
...: one,1,2,3,4,5,6
...: two,7,8,9,10,11,12"""
In [6]: read_csv(StringIO(data),header... | https://api.github.com/repos/pandas-dev/pandas/pulls/5298 | 2013-10-22T23:40:12Z | 2013-10-24T13:39:19Z | 2013-10-24T13:39:19Z | 2014-06-22T16:42:49Z |
DOC: Remove iloc example. | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 143f2bd9d8252..9236ef94f85fd 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -590,14 +590,6 @@ a list of items you want to check for.
df.isin(values)
-You can also describe columns using integer location:
-
-.. ipython:: ... | Forgot to remove the `isin(iloc=True)` example from indexing.rst.
https://github.com/pydata/pandas/pull/5199#issuecomment-26786681
| https://api.github.com/repos/pandas-dev/pandas/pulls/5296 | 2013-10-22T13:40:07Z | 2013-10-22T13:53:21Z | 2013-10-22T13:53:21Z | 2016-11-03T12:37:31Z |
BLD: 0 13 pickles | diff --git a/pandas/io/tests/data/legacy_pickle/0.13.0/0.13.0_AMD64_windows_2.7.3.pickle b/pandas/io/tests/data/legacy_pickle/0.13.0/0.13.0_AMD64_windows_2.7.3.pickle
new file mode 100644
index 0000000000000..f03ec67f4d7c4
Binary files /dev/null and b/pandas/io/tests/data/legacy_pickle/0.13.0/0.13.0_AMD64_windows_2.7.3... | closes #4796
| https://api.github.com/repos/pandas-dev/pandas/pulls/5295 | 2013-10-21T23:03:54Z | 2013-10-23T12:32:55Z | 2013-10-23T12:32:55Z | 2014-06-27T17:57:16Z |
DOC add get_dummies to reshaping.rst | diff --git a/doc/source/reshaping.rst b/doc/source/reshaping.rst
index 5dedfa1ad144d..c82a5115bc634 100644
--- a/doc/source/reshaping.rst
+++ b/doc/source/reshaping.rst
@@ -361,3 +361,44 @@ Alternatively we can specify custom bin-edges:
.. ipython:: python
cut(ages, bins=[0, 18, 35, 70])
+
+
+.. _reshaping.dummi... | examples shamelessly from Wes' book
closes #4444
| https://api.github.com/repos/pandas-dev/pandas/pulls/5293 | 2013-10-21T21:05:33Z | 2013-10-21T22:23:25Z | 2013-10-21T22:23:25Z | 2014-07-16T08:36:23Z |
BUG: DateOffset weekday around DST produces unexpected results. fixes #5175 | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 1db189fcc74e3..006b44fe02379 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -596,12 +596,13 @@ Bug Fixes
- Bug in area plot draws legend with incorrect ``alpha`` when ``stacked=True`` (:issue:`8027`)
-- ``Period`` and ``PeriodI... | closes #5175
Wound up working on this in preparation for the DST change next week. Here's a first pass at a solution and a test.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5292 | 2013-10-21T21:04:06Z | 2014-09-04T22:18:50Z | 2014-09-04T22:18:50Z | 2014-09-10T17:46:09Z |
DOC: expand JSON docs | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 37227edc83fe2..6840717854dea 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1018,7 +1018,7 @@ which, if set to ``True``, will additionally output the length of the Series.
JSON
----
-Read and write ``JSON`` format files.
+Read and write ``JSON`` f... | closes #4703
Expanded JSON docs to add more detail about the different orient options and the use of the numpy param when decoding.
Feedback welcome.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5287 | 2013-10-21T00:33:13Z | 2013-10-21T00:41:26Z | 2013-10-21T00:41:26Z | 2014-07-16T08:36:20Z |
API: Add equals method to NDFrames. | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index bd2980c2f1c9f..e9cc03c098d03 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -215,6 +215,14 @@ These operations produce a pandas object the same type as the left-hand-side inp
that if of dtype ``bool``. These ``boolean`` objects can be ... | Also adds `array_equivalent`, which
is similar to `np.array_equal` except that it handles object arrays and
treats NaNs in corresponding locations as equal.
closes https://github.com/pydata/pandas/issues/5183
| https://api.github.com/repos/pandas-dev/pandas/pulls/5283 | 2013-10-20T17:49:45Z | 2014-01-24T21:43:37Z | 2014-01-24T21:43:37Z | 2014-10-01T22:01:28Z |
DOC: add some missing entries to api docs | diff --git a/doc/source/api.rst b/doc/source/api.rst
index d73a8d3ad7489..20bfe037f7373 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -132,7 +132,11 @@ Data manipulations
.. autosummary::
:toctree: generated/
+ melt
pivot_table
+ crosstab
+ cut
+ qcut
merge
concat
get_dummie... | Thanks to @JanSchulz for his notebook.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5282 | 2013-10-20T16:59:55Z | 2013-10-20T21:36:23Z | 2013-10-20T21:36:23Z | 2014-07-16T08:36:12Z |
DOC: Added versionadded for "Setting index metadata" | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index a7e907fdd19cc..143f2bd9d8252 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -1879,6 +1879,8 @@ if you compute the levels and labels yourself, please be careful.
Setting index metadata (``name(s)``, ``levels``, ``labels``)
----... | Closes #5279
| https://api.github.com/repos/pandas-dev/pandas/pulls/5281 | 2013-10-20T16:17:39Z | 2013-10-20T16:19:02Z | 2013-10-20T16:19:02Z | 2014-07-12T14:44:36Z |
DOC: changed the term "Vern" to "Version" to be clearer | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 33d1219b3b11f..d211b5b59cddd 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -103,8 +103,8 @@ a set of specialized cython routines that are especially fast when dealing with
Here is a sample (using 100 column x 100,000 row ``DataFrames`... | Second attempt to change a single word
| https://api.github.com/repos/pandas-dev/pandas/pulls/5277 | 2013-10-20T12:33:05Z | 2014-01-01T03:20:48Z | 2014-01-01T03:20:48Z | 2014-07-10T12:11:16Z |
CLN: Remove unused ValuesProperty class. | diff --git a/pandas/src/properties.pyx b/pandas/src/properties.pyx
index 28e1ecfefc6a8..a8b39d13db2f6 100644
--- a/pandas/src/properties.pyx
+++ b/pandas/src/properties.pyx
@@ -57,17 +57,3 @@ cdef class AxisProperty(object):
def __set__(self, obj, value):
obj._set_axis(self.axis, value)
-
-cdef class Va... | https://api.github.com/repos/pandas-dev/pandas/pulls/5276 | 2013-10-20T05:18:48Z | 2013-10-20T22:46:04Z | 2013-10-20T22:46:04Z | 2014-07-16T08:36:09Z | |
Added handling for v3 advanced segment ids which aren't just ints as of July 15th | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 7171b48f4097a..ed1834f14fc2e 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -186,6 +186,7 @@ Improvements to existing features
- DatetimeIndex (and date_range) can now be constructed in a left- or
right-open fashion using th... | The old int based advanced segment ids are deprecated. The new segment ids are alphanumeric. I know from experimentation that their form includes alphanumeric and alphanumeric+hyphen. Updated code for both
cases. Reference: https://developers.google.com/analytics/devguides/reporting/core/v3/changelog
| https://api.github.com/repos/pandas-dev/pandas/pulls/5271 | 2013-10-19T23:02:49Z | 2013-10-22T04:06:16Z | 2013-10-22T04:06:16Z | 2014-06-14T07:09:34Z |
CLN: Fix unhelpful "length mismatch" error message on set_axis | diff --git a/pandas/core/internals.py b/pandas/core/internals.py
index b4d5c1814a6bc..3ce9789447c81 100644
--- a/pandas/core/internals.py
+++ b/pandas/core/internals.py
@@ -1881,8 +1881,8 @@ def set_axis(self, axis, value, maybe_rename=True, check_axis=True):
value = _ensure_index(value)
if check_ax... | closes #5269
| https://api.github.com/repos/pandas-dev/pandas/pulls/5270 | 2013-10-19T21:11:25Z | 2013-10-23T12:35:47Z | 2013-10-23T12:35:47Z | 2014-07-24T02:22:25Z |
BUG: Fixed issue #5156: segfault on read_csv | diff --git a/doc/source/release.rst b/doc/source/release.rst
index de9743bdc705a..c147a83032761 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -183,6 +183,7 @@ Improvements to existing features
- ``Series`` now supports a ``to_frame`` method to convert it to a single-column DataFrame (:issue:`51... | closes #5156
Our c parser was not checking array bounds.
Example:
```
In [1]: from StringIO import StringIO; import pandas as pd
In [2]: data = """\
1,2,3
4,,6
7,8,9
10,11,12\n"""
In [3]: df = pd.read_csv(StringIO(data), header=0, names=['a', 'b', 'c', 'd'], engin... | https://api.github.com/repos/pandas-dev/pandas/pulls/5268 | 2013-10-19T20:05:43Z | 2013-10-19T21:13:49Z | 2013-10-19T21:13:49Z | 2014-07-06T15:02:43Z |
BUG: union should not try to sort inplace because platform impls differ as to when sorting occurs for objects that cannot be compared | diff --git a/pandas/computation/tests/test_eval.py b/pandas/computation/tests/test_eval.py
index 0275193031a07..e22b6218a2227 100644
--- a/pandas/computation/tests/test_eval.py
+++ b/pandas/computation/tests/test_eval.py
@@ -1,5 +1,7 @@
#!/usr/bin/env python
+import warnings
+import operator
from itertools import p... | closes #5039
| https://api.github.com/repos/pandas-dev/pandas/pulls/5266 | 2013-10-19T16:49:01Z | 2014-06-03T13:36:59Z | 2014-06-03T13:36:59Z | 2014-06-15T16:56:32Z |
TST: test_fast.sh and test_multi.sh should skip network tests | diff --git a/test_fast.sh b/test_fast.sh
index 2ae736e952839..b390705f901ad 100755
--- a/test_fast.sh
+++ b/test_fast.sh
@@ -1 +1 @@
-nosetests -A "not slow" pandas --with-id $*
+nosetests -A "not slow and not network" pandas --with-id $*
diff --git a/test_multi.sh b/test_multi.sh
index 550f86bdb7b7b..5d77945c66a26 100... | https://api.github.com/repos/pandas-dev/pandas/pulls/5265 | 2013-10-19T16:44:20Z | 2013-10-19T19:38:22Z | 2013-10-19T19:38:22Z | 2014-07-16T08:35:57Z | |
BUG: Pagination in pandas.io.gbq | diff --git a/ci/requirements-2.6.txt b/ci/requirements-2.6.txt
index 60a8b57e72907..751d034ef97f5 100644
--- a/ci/requirements-2.6.txt
+++ b/ci/requirements-2.6.txt
@@ -4,4 +4,4 @@ python-dateutil==1.5
pytz==2013b
http://www.crummy.com/software/BeautifulSoup/bs4/download/4.2/beautifulsoup4-4.2.0.tar.gz
html5lib==1.0... | In light of some last minute API changes in Google BigQuery, I have updated our code to function properly. In particular, this fixes a known bug that limited result sets to 10,000. Hopefully we'll have an entirely new version soon that will make better use of Google's reference code and thus be more future proof. Note ... | https://api.github.com/repos/pandas-dev/pandas/pulls/5262 | 2013-10-19T01:16:06Z | 2013-10-21T18:00:12Z | 2013-10-21T18:00:12Z | 2014-07-16T08:35:55Z |
DOC: changed the term `Vern` to `Versions` to be clearer | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 33d1219b3b11f..390fab887ed8d 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -103,8 +103,8 @@ a set of specialized cython routines that are especially fast when dealing with
Here is a sample (using 100 column x 100,000 row ``DataFrames`... | based on this SO question: http://stackoverflow.com/q/19438309/1301710
| https://api.github.com/repos/pandas-dev/pandas/pulls/5258 | 2013-10-18T05:51:55Z | 2013-10-20T12:12:22Z | null | 2014-07-02T17:29:56Z |
DOC/TST: core/generic/drop doc-string and tests | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index e0559a27463d4..fc220c7cbefa6 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1092,7 +1092,7 @@ def drop(self, labels, axis=0, level=None):
Parameters
----------
- labels : list-like
+ labels : list-... | https://api.github.com/repos/pandas-dev/pandas/pulls/5253 | 2013-10-17T14:18:36Z | 2013-10-17T14:31:21Z | 2013-10-17T14:31:21Z | 2014-07-16T08:35:50Z | |
DOC: core/generic/drop docs from array-like to list-like | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index fcbceecf9a19b..e0559a27463d4 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1092,7 +1092,7 @@ def drop(self, labels, axis=0, level=None):
Parameters
----------
- labels : array-like
+ labels : list... | related #5248
| https://api.github.com/repos/pandas-dev/pandas/pulls/5252 | 2013-10-17T13:08:01Z | 2013-10-17T13:53:10Z | 2013-10-17T13:53:10Z | 2014-06-25T08:44:44Z |
API: allow Series/Panel dropna to accept other args for compat with DataFrame (GH5233/GH5250) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index e3eec9690e487..de9743bdc705a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -409,6 +409,8 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
(:issue:`5189`, related :issue:`5004`)
- ``MultiIndex`` constructor now va... | closes #5233
closes #5234
closes #5250
| https://api.github.com/repos/pandas-dev/pandas/pulls/5251 | 2013-10-17T12:42:10Z | 2013-10-17T13:07:34Z | 2013-10-17T13:07:34Z | 2014-07-16T08:35:47Z |
BUG: fixed issue with drop on a non-unique index with Series (GH5248) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index cc9aa4bbc64ff..886a0a62b4068 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -621,6 +621,7 @@ Bug Fixes
non-business date. (:issue:`5203`)
- Fixed bug in Excel writers where frames with duplicate column names weren't
wri... | closes #5248
| https://api.github.com/repos/pandas-dev/pandas/pulls/5249 | 2013-10-17T11:30:50Z | 2013-10-17T11:59:24Z | 2013-10-17T11:59:24Z | 2014-06-25T10:44:46Z |
ENH: Add inplace option to drop and dropna | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 6227fedda11d4..f23852885668a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -200,6 +200,11 @@ Improvements to existing features
argument. (:issue:`5354`)
- Added short docstrings to a few methods that were missing them + fix... | And appropriately invalidates caches as necessary BUT _still_ makes a copy. @jreback and I decided that it shouldn't call `__finalize__` a second time in `_update_inplace` (so if metadata is supposed to change, it's not going to be updated, but subclass can always override it). Closes #1960, related #2325 (doesn't act... | https://api.github.com/repos/pandas-dev/pandas/pulls/5247 | 2013-10-17T01:37:45Z | 2013-10-28T02:06:38Z | 2013-10-28T02:06:38Z | 2014-06-25T15:32:58Z |
Make doc compiling under windows workable | diff --git a/doc/make.py b/doc/make.py
index 532395b41ce95..5eb9da8e0c289 100755
--- a/doc/make.py
+++ b/doc/make.py
@@ -99,11 +99,35 @@ def clean():
def html():
+ # Sphinx fails on embedded unicode on Windows, so replace the offending
+ # strings before the build and restore them afterwards
+ import os,... | The doc generation failed under windows due to problems with sphinx
and encoded umlauts in code (see links in
https://github.com/pydata/pandas/issues/5142).
The workaround is to replace the offending text with one which does not fail
(but which makes the example a bit pointless), build the docs and restore the
old tex... | https://api.github.com/repos/pandas-dev/pandas/pulls/5245 | 2013-10-16T22:47:17Z | 2013-10-21T21:53:30Z | null | 2014-06-18T13:37:40Z |
API/CLN: consolidate truncate into NDFrame (panel had a separate method) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index af9611bb98fae..d331dc7e164fc 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -311,6 +311,7 @@ API Changes
- Provide __dir__ method (and local context) for tab completion / remove ipython completers code
(:issue:`4501`)
- S... | API: truncate error if before > after is now a ValueError (rather than AssertionError)
(related #5242)
| https://api.github.com/repos/pandas-dev/pandas/pulls/5244 | 2013-10-16T21:36:53Z | 2013-10-17T11:29:15Z | 2013-10-17T11:29:15Z | 2014-07-16T08:35:37Z |
API: add excel kw to to_clipboard to preserve compat behavior (related GH5070) | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 8a2ed9926d630..16f4118d5d1df 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -868,14 +868,19 @@ def load(self, path): # TODO remove in 0.14
warnings.warn("load is deprecated, use pd.read_pickle", FutureWarning)
ret... | related #5070
| https://api.github.com/repos/pandas-dev/pandas/pulls/5243 | 2013-10-16T18:29:04Z | 2013-10-16T19:54:25Z | 2013-10-16T19:54:25Z | 2014-07-16T08:35:35Z |
Fixed assertion error message | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 4dfe0a55fce28..bc5d84b9ff0f5 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2828,7 +2828,7 @@ def truncate(self, before=None, after=None, copy=True):
if before is not None and after is not None:
if before > af... | This is a pretty straightforward fix, message was simply inverted.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5242 | 2013-10-16T12:03:03Z | 2013-10-16T12:20:16Z | 2013-10-16T12:20:16Z | 2014-06-21T09:23:33Z |
DOC: fix building of gbq docs | diff --git a/doc/source/v0.13.0.txt b/doc/source/v0.13.0.txt
index 14e120fdff672..b2c78f38140b4 100644
--- a/doc/source/v0.13.0.txt
+++ b/doc/source/v0.13.0.txt
@@ -651,7 +651,7 @@ Experimental
- ``pandas.io.gbq`` provides a simple way to extract from, and load data into,
Google's BigQuery Data Sets by way of panda... | This fixes some build warnings in de gbq docs after merging #5179 (``` is markdown syntax + wrong internal reference).
And in the same time I corrected some minor numpydoc docstring things.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5241 | 2013-10-16T07:08:09Z | 2013-10-16T12:30:54Z | 2013-10-16T12:30:54Z | 2014-07-16T08:35:32Z |
CLN/ENH: Make names getattr'able in core/ops +PEP8. | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 6ea4e5a3046b2..7a64b1becae51 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -304,6 +304,7 @@ API Changes
``SparsePanel``, etc.), now support the entire set of arithmetic operators
and arithmetic flex methods (add, sub, mul... | Now the name passed to a method can be used to get that method from the
NDFrame (previously you had things like `or_ [|]`. better to just have them
all be named exactly what they are s.t. subclasses can do
`getattr(super(self, MyClass), name)(*args, **kwargs)`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5240 | 2013-10-16T02:41:28Z | 2013-10-16T22:31:48Z | 2013-10-16T22:31:48Z | 2014-06-14T14:18:48Z |
CLN: Add _reset_cache method to PandasObject | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 6ea4e5a3046b2..1194e92bb25f8 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -257,6 +257,8 @@ API Changes
('mostly immutable')
- ``levels``, ``labels`` and ``names`` are validated upon setting and are
either copied... | I think this is the right way to do it. MI needs this for _engine and
friends. I think there are other objects that use `cache_readonly` that
might want to reset too.
I also moved the local dir methods off of StringMixin to PandasObject
(where they ought to have been).
Fixes #5236 and fixes #5225.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5238 | 2013-10-16T01:06:04Z | 2013-10-16T22:32:15Z | 2013-10-16T22:32:15Z | 2014-06-13T16:31:31Z |
BUG/TST: Fix Excel writers with duplicated column names. | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 805b8d24d70d9..3ab1f9e05a5e5 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -611,6 +611,8 @@ Bug Fixes
the original ordering (:issue:`4621`).
- Fixed ``Period`` with a business date freq to always roll-forward if on a
n... | Test and fix for issue #5235
| https://api.github.com/repos/pandas-dev/pandas/pulls/5237 | 2013-10-15T23:27:24Z | 2013-10-16T18:50:14Z | 2013-10-16T18:50:14Z | 2014-06-18T11:05:10Z |
FIX: OLS.predict() - cast input to DataFrame from Series before performing operations | diff --git a/pandas/stats/ols.py b/pandas/stats/ols.py
index 9d22068c1612f..83fb387254eda 100644
--- a/pandas/stats/ols.py
+++ b/pandas/stats/ols.py
@@ -445,12 +445,12 @@ def predict(self, beta=None, x=None, fill_value=None,
orig_x = x
else:
orig_x = x
+ if isinstance(x, Se... | Closes #5233. Simply cast to a Series to a DataFrame before dropping NAs or filling.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5234 | 2013-10-15T20:14:08Z | 2013-10-17T13:07:34Z | null | 2014-06-16T18:51:25Z |
EHN/FIX: Add na_last parameter to DataFrame.sort. Fixes GH3917 | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index fe3fc42992468..3e11552be3612 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1286,14 +1286,14 @@ The ``by`` argument can take a list of column names, e.g.:
Series has the method ``order`` (analogous to `R's order function
<http://st... | closes #3917
This is an attempt to fix the Nested Sort with NaN bug (https://github.com/pydata/pandas/issues/3917).
I've added tests to `test_frame.py` and `test_hashtable.py` to demonstrate the problem.
`hashtable.Factorizer.factorize` has been modified to map `nan` to `na_sentinel`. Before it was mapping `nan` to... | https://api.github.com/repos/pandas-dev/pandas/pulls/5231 | 2013-10-15T17:15:17Z | 2014-03-27T22:23:50Z | 2014-03-27T22:23:50Z | 2014-09-10T00:22:49Z |
BUG: allow enlargement to work with empty objects (GH5226) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 36afea7648ab2..ab4bc1a1f0bf9 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -206,7 +206,7 @@ API Changes
(:issue:`4384`, :issue:`4375`, :issue:`4372`)
- ``Series.get`` with negative indexers now returns the same as ``[]`` (:... | closes #5226
| https://api.github.com/repos/pandas-dev/pandas/pulls/5227 | 2013-10-15T02:37:32Z | 2013-10-15T13:11:40Z | 2013-10-15T13:11:40Z | 2014-06-12T20:46:55Z |
Redefine match | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 33d1219b3b11f..78b0a54b8893f 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -960,6 +960,9 @@ importantly, these methods exclude missing/NA values automatically. These are
accessed via the Series's ``str`` attribute and generally have n... | closes #5075
How does this look? If the docstring and the tests reflect our consensus, I'll take a stab at the docs. This is the gist of it:
Default behavior is unchanged, but issues a warning.
```
In [1]: Series(['aa', 'bb']).str.match('(a)(a)')
pandas/core/strings.py:333: UserWarning: This usage of match will be r... | https://api.github.com/repos/pandas-dev/pandas/pulls/5224 | 2013-10-14T21:24:20Z | 2013-10-31T02:15:28Z | 2013-10-31T02:15:28Z | 2014-07-16T08:35:09Z |
BUG: Groupby filter maintains ordering, closes #4621 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 331a578c5c349..5e5fb929bd0ca 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -600,6 +600,8 @@ Bug Fixes
- Fixed bug where inplace setting of levels or labels on ``MultiIndex`` would
not clear cached ``values`` property and th... | Simply adds `np.sort`.
Includes tests for SeriesGroupBy and DataFrameGroupBy, using indexes that are sequentially increasing, sequentially decreasing, and shuffled. Also, this PR removes all ad hoc sorting involved in the original filter tests -- now no longer needed. Much better!
| https://api.github.com/repos/pandas-dev/pandas/pulls/5222 | 2013-10-14T20:07:10Z | 2013-10-15T00:55:05Z | 2013-10-15T00:55:05Z | 2014-07-01T06:01:20Z |
fix business day calculation | diff --git a/pandas/src/period.c b/pandas/src/period.c
index ee3a50f98b8c9..5a744de4c3f7b 100644
--- a/pandas/src/period.c
+++ b/pandas/src/period.c
@@ -1127,8 +1127,16 @@ npy_int64 get_period_ordinal(int year, int month, int day,
{
goto onError;
}
- weeks = days / 7;
- retu... | This will fix the so far broken calculation of business day periods and the corresponding tests reported
closes #5203.
The expected behaviour found in the present tests is that the date is always rolling forward to the next business day:
```
Friday: Period('2012-3-09', freq='B') => '2012-03-09'
Saturday: Period('2... | https://api.github.com/repos/pandas-dev/pandas/pulls/5220 | 2013-10-14T19:48:51Z | 2013-10-15T13:28:59Z | 2013-10-15T13:28:58Z | 2014-06-22T14:38:02Z |
TST/PERF: Re-write assert_almost_equal() in cython #4398 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 6eeaa55280e43..7171b48f4097a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -414,6 +414,7 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
compatible. (:issue:`5213`, :issue:`5214`)
- Unity ``dropna`` for Series/D... | closes #4398
Add a testing.pyx cython file, and port assert_almost_equal() from
python to cython. This also fixes a few minor bugs that were in the
python version of assert_almost_equal() and adds more test cases to
test_tests.py
On my machine this brings a modest gain to the suite of "not slow" tests
(160s -> 140s)... | https://api.github.com/repos/pandas-dev/pandas/pulls/5219 | 2013-10-14T19:34:42Z | 2013-10-21T21:35:44Z | 2013-10-21T21:35:44Z | 2014-06-19T14:48:35Z |
BUG: don't try to deal with a dead cache referant (GH5216) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index b74b1f9252709..331a578c5c349 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -372,7 +372,7 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
- Internal type checking is now done via a suite of generated classes, allowin... | closes #5216
| https://api.github.com/repos/pandas-dev/pandas/pulls/5217 | 2013-10-14T15:04:05Z | 2013-10-14T15:20:35Z | 2013-10-14T15:20:35Z | 2014-06-28T23:03:41Z |
BUG/CLN: Clear _tuples on setting MI levels/labels | diff --git a/doc/source/release.rst b/doc/source/release.rst
index fe1af472700ac..b74b1f9252709 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -597,6 +597,9 @@ Bug Fixes
- Bug in ``to_datetime`` with a format and ``coerce=True`` not raising (:issue:`5195`)
- Bug in ``loc`` setting with multip... | Previously, setting levels and labels didn't reset `_tuple`, which meant
that it would return wrong values. (and this was ocurring in v0.12 and
earlier too).
| https://api.github.com/repos/pandas-dev/pandas/pulls/5215 | 2013-10-14T04:01:33Z | 2013-10-14T04:19:20Z | 2013-10-14T04:19:20Z | 2014-06-22T19:15:39Z |
BUG/CLN: MI now checks level & label compatibility | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 805b8d24d70d9..6ea4e5a3046b2 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -400,6 +400,8 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
instead they are generated and cached on the fly. The internal
represent... | Via verify_integrity kwarg. Internals all pass False.I don't think I've missed anything / passed verify_integrity=True where
it ought not to be.
Fixes #5213.
Clearly this adds a (likely small) perf hit - but should only occur
from external MI calls that specifically call the constructor with
levels and labels (for ex... | https://api.github.com/repos/pandas-dev/pandas/pulls/5214 | 2013-10-14T02:29:10Z | 2013-10-16T02:07:46Z | 2013-10-16T02:07:46Z | 2014-06-12T18:48:21Z |
ENH: Add usecols option to python parser. | diff --git a/doc/source/io.rst b/doc/source/io.rst
index e75de91582b49..37227edc83fe2 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -85,11 +85,11 @@ They can take a number of arguments:
ways to specify the file format
- ``dtype``: A data type name or a dict of column name to data type. If not
s... | Closes #4335
This ticket felt a little bit like whack-a-mole.
The key is that names can have two meanings: if it matches length of usecols then it is the name to apply to the (numeric) usecols. If it matches the length of the original columns, it is the set of column names and string values in usecols refer to it.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5211 | 2013-10-13T23:14:00Z | 2013-10-17T14:18:58Z | 2013-10-17T14:18:58Z | 2014-06-24T14:37:52Z |
BUG: Bug in loc setting with multiple indexers and a rhs of a Series that needs broadcasting (GH5206) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index f899849475df8..2fb3a231660a4 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -594,6 +594,8 @@ Bug Fixes
- Bug in comparing duplicate frames (:issue:`4421`) related
- Bug in describe on duplicate frames
- Bug in ``to_datetime... | closes #5206
| https://api.github.com/repos/pandas-dev/pandas/pulls/5210 | 2013-10-13T23:12:23Z | 2013-10-13T23:12:39Z | 2013-10-13T23:12:39Z | 2014-07-16T08:34:49Z |
CLN/BUG: Better validation of levels/labels/names | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 2fb3a231660a4..fe1af472700ac 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -109,7 +109,8 @@ Improvements to existing features
(:issue:`4039`)
- Add ``rename`` and ``set_names`` methods to ``Index`` as well as
``set_nam... | Improved validation of levels, labels and names (plus fleshed out test
cases). Fixes #4794.
Changed an assert_almost_equal to assert_series_equal to better reflect
actual return value.
Also makes set_levels, set_labels and set_names match behavior of rename to _not_ return self if inplace.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5209 | 2013-10-13T20:30:51Z | 2013-10-14T01:43:01Z | 2013-10-14T01:43:01Z | 2014-07-16T08:34:45Z |
DOC: make api docs reflect api usage (#4539) | diff --git a/doc/source/api.rst b/doc/source/api.rst
index dfb562bcc3298..2e817e9d19c3f 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -13,8 +13,6 @@ Input/Output
Pickling
~~~~~~~~
-.. currentmodule:: pandas.io.pickle
-
.. autosummary::
:toctree: generated/
@@ -23,8 +21,6 @@ Pickling
Flat File
... | Closes #4539.
This removes all use of `.. currentmodule:: pandas.some.submodule` (in favor of `.. currentmodule:: pandas`) in api.rst. Rationale is that docs should reflect the user api usage.
Only exception are `pandas.io.sql.read_frame/write_frame` and `pandas.io.stata.StataReader` methods, because they are not ava... | https://api.github.com/repos/pandas-dev/pandas/pulls/5208 | 2013-10-13T19:03:15Z | 2013-10-14T06:37:31Z | 2013-10-14T06:37:31Z | 2015-04-23T21:47:53Z |
DOC: Note -> Notes (numpydoc docstring section) | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index 8938e48eb493b..224fd56c6946d 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -1990,8 +1990,8 @@ def transform(self, func, *args, **kwargs):
f : function
Function to apply to each subframe
- Note
- ... | While adding functions/methods to the docs in #5160, I noticed an error in the build output mentioning an unknown 'Note' section. This has to be 'Notes' for numpydoc.
So I searched for all occurences and adjusted them.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5207 | 2013-10-13T18:23:00Z | 2013-10-14T02:13:48Z | 2013-10-14T02:13:48Z | 2014-07-13T12:48:43Z |
API: rename _prop_attributes to __finalize__ (in NDFrame) | diff --git a/pandas/core/common.py b/pandas/core/common.py
index c34dfedc7130c..80ee9cd34779d 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -2554,7 +2554,8 @@ def save(obj, path): # TODO remove in 0.13
def _maybe_match_name(a, b):
- name = None
- if a.name == b.name:
- name = a.na... | - rename _propogate_attributes to _metadata (in NDFrame)
- change methods which directly pass metadata to use **finalize**
These provide a simple mechanism for meta data propagation, which
can be overriden in subclasses if desired. Currently these only do non-ambiguous
propagation.
makes #60, #2485 easier
| https://api.github.com/repos/pandas-dev/pandas/pulls/5205 | 2013-10-13T15:06:14Z | 2013-10-15T00:58:25Z | 2013-10-15T00:58:25Z | 2014-06-15T14:41:17Z |
improved daytimes conversion performance in period.c | diff --git a/pandas/src/helper.h b/pandas/src/helper.h
new file mode 100644
index 0000000000000..e97e45f4e87b3
--- /dev/null
+++ b/pandas/src/helper.h
@@ -0,0 +1,16 @@
+#ifndef C_HELPER_H
+#define C_HELPER_H
+
+#ifndef PANDAS_INLINE
+ #if defined(__GNUC__)
+ #define PANDAS_INLINE __inline__
+ #elif defined(_MSC_VE... | Especially when using repeated conversion with period_asfreq_arr of tslib the code introduced with #3060 was about two to three times slower than before.
This PR improves the performance issues by moving global calculations out of the loop.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5204 | 2013-10-13T08:14:17Z | 2013-10-13T23:31:31Z | 2013-10-13T23:31:31Z | 2014-01-12T07:38:07Z |
BUG/ENH: Index constructor with dtype now delegates | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 55f786d263a0a..9e1a0f059160a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -593,6 +593,9 @@ Bug Fixes
- Compound dtypes in a constructor raise ``NotImplementedError`` (:issue:`5191`)
- Bug in comparing duplicate frames (:issu... | ...to Index subclass (if possible). Simplifies the Index constructor
slightly too, which is a nice side bonus. Will even better after Index
refactor.
Fixes #5196.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5201 | 2013-10-12T22:52:19Z | 2013-10-13T00:23:35Z | null | 2014-07-12T17:10:21Z |
ENH/API: Accept DataFrame for isin | diff --git a/doc/source/v0.13.0.txt b/doc/source/v0.13.0.txt
index b2cda7d1f4041..4c1ece032310f 100644
--- a/doc/source/v0.13.0.txt
+++ b/doc/source/v0.13.0.txt
@@ -476,7 +476,7 @@ Enhancements
t = Timestamp('20130101 09:01:02')
t + pd.datetools.Nano(123)
-- A new method, ``isin`` for DataFrames, plays ni... | API: Series should respect index labels. This would be incompatible, but there hasn't been any official release since `isin` was merged.
Will close #4421. Still a WIP for now. Needs more testing.
Thoughts on adding an argument to ignore the index? i.e.
``` python
In [150]: df = pd.DataFrame({'A': [1, 2, 3, 4], 'B':... | https://api.github.com/repos/pandas-dev/pandas/pulls/5199 | 2013-10-12T22:26:09Z | 2013-10-17T20:49:58Z | 2013-10-17T20:49:58Z | 2017-04-05T02:05:43Z |
BUG: Bug in to_datetime with a format and coerce=True not raising (GH5195) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 55f786d263a0a..f899849475df8 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -593,6 +593,7 @@ Bug Fixes
- Compound dtypes in a constructor raise ``NotImplementedError`` (:issue:`5191`)
- Bug in comparing duplicate frames (:issu... | closes #5195
| https://api.github.com/repos/pandas-dev/pandas/pulls/5197 | 2013-10-12T22:13:49Z | 2013-10-12T23:53:46Z | 2013-10-12T23:53:46Z | 2014-06-24T06:53:46Z |
BUG: Bug in comparing duplicate frames (GH4421) related | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 5001c5142f330..55f786d263a0a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -591,6 +591,8 @@ Bug Fixes
(:issue:`5123`, :issue:`5125`)
- Allow duplicate indices when performing operations that align (:issue:`5185`)
- Compo... | BUG: Bug in describe on duplicate frames
related to #4421
| https://api.github.com/repos/pandas-dev/pandas/pulls/5194 | 2013-10-12T21:16:16Z | 2013-10-12T21:28:42Z | 2013-10-12T21:28:42Z | 2014-06-22T17:39:20Z |
BUG: raise NotImplementedError on passing of compound dtypes in constructors (GH5191) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 5d256ddf6dca3..5001c5142f330 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -590,6 +590,7 @@ Bug Fixes
- Fixed segfault on ``isnull(MultiIndex)`` (now raises an error instead)
(:issue:`5123`, :issue:`5125`)
- Allow duplic... | closes #5191
| https://api.github.com/repos/pandas-dev/pandas/pulls/5192 | 2013-10-12T17:33:55Z | 2013-10-12T17:45:29Z | 2013-10-12T17:45:28Z | 2014-06-27T19:08:14Z |
CLN/ENH: Stop instantiating all offsets on load. | diff --git a/doc/source/release.rst b/doc/source/release.rst
index b74b1f9252709..9be06d60f0f16 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -394,6 +394,10 @@ See :ref:`Internal Refactoring<whatsnew_0130.refactoring>`
bs4/lxml (:issue:`4770`).
- Removed the ``keep_internal`` keyword paramet... | Implements @wesm's suggestion and clears the way for new offsets.
Very simple to extend - map a string to your class in mapping, define a `from_name`
classmethod, then class gets passed everything after the `-` (if
anything) to its method `from_name()`. Caches to dict afterwards (right
now doesn't use cacheable, but c... | https://api.github.com/repos/pandas-dev/pandas/pulls/5189 | 2013-10-12T04:28:45Z | 2013-10-15T00:58:56Z | 2013-10-15T00:58:56Z | 2014-06-12T14:25:30Z |
CLN/BUG/ENH: Raise AttributeError with pd.options | diff --git a/pandas/core/config.py b/pandas/core/config.py
index 9f864e720dbfb..9de596142e7e0 100644
--- a/pandas/core/config.py
+++ b/pandas/core/config.py
@@ -65,6 +65,11 @@
_reserved_keys = ['all'] # keys which have a special meaning
+class OptionError(AttributeError, KeyError):
+ """Exception for pandas.op... | Fixes #5182, closes #5186.
It's called OptionError now and it subclasses both AttributeError (for
hasattr) and KeyError (for backwards compatibility). Hurray!
| https://api.github.com/repos/pandas-dev/pandas/pulls/5188 | 2013-10-11T23:13:23Z | 2013-10-12T01:29:49Z | 2013-10-12T01:29:49Z | 2014-07-16T08:34:07Z |
BUG: Allow duplicate indices when performing operations that align (GH5185) | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 3892d5b77a08e..a160da315b05a 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -586,6 +586,7 @@ Bug Fixes
context manager.
- Fixed segfault on ``isnull(MultiIndex)`` (now raises an error instead)
(:issue:`5123`, :issue:`51... | closes #5185
```
In [1]: df1 = DataFrame([1, 2, 3, 4, 5], index=[1, 2, 1, 2, 3])
In [2]: df2 = DataFrame([1, 2, 3], index=[1, 2, 3])
In [3]: df1-df2
Out[3]:
0
1 0
1 2
2 0
2 2
3 2
In [4]: df1.sub(df2)
Out[4]:
0
1 0
1 2
2 0
2 2
3 2
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/5187 | 2013-10-11T23:10:20Z | 2013-10-12T13:54:10Z | 2013-10-12T13:54:10Z | 2014-06-14T18:00:07Z |
fix replacement key for deprecated option `display.height` | diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py
index 797e979963ae2..13f7a3dbe7d4a 100644
--- a/pandas/core/config_init.py
+++ b/pandas/core/config_init.py
@@ -252,7 +252,7 @@ def mpl_style_cb(key):
cf.deprecate_option('display.height',
msg=pc_height_deprecation_warning,
- ... | replacement key for deprecated option `display.height` was set to `display.height` itself. I believe it should be `display.max_rows` instead.
This avoid a weird message in `describe_option()` :
```
display.height: [default: 60] [currently: 60]
: int
Deprecated.
(Deprecated, use `display.height` instead.)
... | https://api.github.com/repos/pandas-dev/pandas/pulls/5181 | 2013-10-11T14:19:03Z | 2013-10-14T01:53:38Z | 2013-10-14T01:53:38Z | 2014-07-16T08:34:04Z |
TST: addtl pytables tests | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index 0411934b9ef87..0fff14013efe4 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -1801,7 +1801,7 @@ def convert(self, values, nan_rep, encoding):
elif dtype == u('date'):
try:
self.data = np... | related #5045
| https://api.github.com/repos/pandas-dev/pandas/pulls/5180 | 2013-10-11T12:14:26Z | 2013-10-11T12:26:22Z | 2013-10-11T12:26:22Z | 2014-07-16T08:34:03Z |
GBQ: Updated Documentation, and added method to generic.py | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 46d77d0dcceb7..5706fa7864ed5 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -89,8 +89,19 @@ SQL
read_frame
write_frame
+Google BigQuery
+~~~~~~~~~~~~~~~
+.. currentmodule:: pandas.io.gbq
+
+.. autosummary::
+ :toctree: generated/
+
+ ... | Added some documentation for GBQ module
| https://api.github.com/repos/pandas-dev/pandas/pulls/5179 | 2013-10-10T22:20:22Z | 2013-10-15T00:57:42Z | 2013-10-15T00:57:42Z | 2014-06-23T01:43:05Z |
PERF: calling get_indexer twice when a specialized indexer (e.g. pad) could be called instead | diff --git a/doc/source/v0.13.0.txt b/doc/source/v0.13.0.txt
index 611da0e536759..afc5a70393c70 100644
--- a/doc/source/v0.13.0.txt
+++ b/doc/source/v0.13.0.txt
@@ -490,7 +490,7 @@ Enhancements
mask
dfi[mask.any(1)]
- :ref:`See the docs<indexing.basics.indexing_isin>` for more.
+ :ref:`See the docs<in... | better on reindexing
```
Invoked with :
--ncalls: 3
--repeats: 3
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
frame_reinde... | https://api.github.com/repos/pandas-dev/pandas/pulls/5178 | 2013-10-10T21:51:56Z | 2013-10-10T22:17:34Z | 2013-10-10T22:17:34Z | 2014-07-16T08:33:58Z |
API: make allclose comparison on dtype downcasting (GH5174) | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 64599327f72ec..c87bea2abc2c2 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1053,7 +1053,7 @@ def _possibly_downcast_to_dtype(result, dtype):
# do a test on the first element, if it fails then we are done
r = ... | TST: update interpolate tests to account for correct dtype inferernce
closes #5174
| https://api.github.com/repos/pandas-dev/pandas/pulls/5177 | 2013-10-10T18:45:36Z | 2013-10-10T19:54:28Z | 2013-10-10T19:54:28Z | 2014-07-16T08:33:56Z |
RVT: revert 4912 change of 4030 nose import bug | diff --git a/pandas/__init__.py b/pandas/__init__.py
index 803cda264b250..b33150cc64079 100644
--- a/pandas/__init__.py
+++ b/pandas/__init__.py
@@ -43,8 +43,6 @@
from pandas.io.api import *
from pandas.computation.api import *
-from pandas.util.testing import debug
-
from pandas.tools.describe import value_range
... | https://api.github.com/repos/pandas-dev/pandas/pulls/5170 | 2013-10-10T04:37:53Z | 2013-10-10T05:00:17Z | 2013-10-10T05:00:17Z | 2014-07-16T08:33:53Z | |
DOC/CLN: A few fixes and cleanup for doc warnings/errors | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 6ed71a1d40690..3e9359743b7a4 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2932,55 +2932,56 @@ if the source datatypes are compatible with BigQuery ones.
For specifics on the service itself, see `here <https://developers.google.com/bigquery/>`__
... | closes #5126.
| https://api.github.com/repos/pandas-dev/pandas/pulls/5169 | 2013-10-10T02:21:30Z | 2013-10-11T20:56:30Z | 2013-10-11T20:56:30Z | 2014-07-16T08:33:51Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.