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: Fixed bug in selecting month/quarter/year from a series would not select correctly (GH3546) | diff --git a/RELEASE.rst b/RELEASE.rst
index 69cfd1eb99d7e..487c18cdb679b 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -79,6 +79,8 @@ pandas 0.11.1
- Fix to_csv to handle non-unique columns (GH3495_)
- Fixed bug in groupby with empty series referencing a variable before assignment. (GH3510_)
- Fixed bug in ... | closes #3546
| https://api.github.com/repos/pandas-dev/pandas/pulls/3548 | 2013-05-08T17:40:05Z | 2013-05-08T17:59:47Z | 2013-05-08T17:59:47Z | 2014-07-16T08:07:40Z |
document read_csv's usecols argument. | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 39f860c63e0e6..097ce7aea5d3a 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -110,6 +110,8 @@ They can take a number of arguments:
- ``verbose``: show number of NA values inserted in non-numeric columns
- ``squeeze``: if True then output with only... | read_csv's usecols is currently not documented here:
http://pandas.pydata.org/pandas-docs/stable/generated/pandas.io.parsers.read_csv.html
This patch fixes that.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3544 | 2013-05-08T01:00:50Z | 2013-05-15T23:31:24Z | 2013-05-15T23:31:24Z | 2014-07-16T08:07:34Z |
Document read_csv's usecols parameter. | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index c6a904b931c98..b9b2bc33144a2 100644
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -114,6 +114,9 @@ class DateConversionError(Exception):
Encoding to use for UTF when reading/writing (ex. 'utf-8')
squeeze : boolean, default False
If the... | read_csv's usecols argument is currently undocumented.
This patch fixes this:
http://pandas.pydata.org/pandas-docs/stable/generated/pandas.io.parsers.read_csv.html
| https://api.github.com/repos/pandas-dev/pandas/pulls/3543 | 2013-05-08T00:49:15Z | 2013-05-08T00:50:59Z | null | 2013-05-15T23:13:42Z |
PERF: HDFStore table writing performance improvements | diff --git a/RELEASE.rst b/RELEASE.rst
index f3d9c72db8bc5..f80a688c3657e 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -44,6 +44,7 @@ pandas 0.11.1
- will warn with a FrequencyWarning if you are attempting to append
an index with a different frequency than the existing
- support datelike columns with ... | PERF: hdf performance by doing recarray translation in cython
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
write_store_t... | https://api.github.com/repos/pandas-dev/pandas/pulls/3537 | 2013-05-06T22:38:17Z | 2013-05-08T21:44:20Z | 2013-05-08T21:44:20Z | 2014-07-16T08:07:27Z |
Update io.rst | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 9001ae393d552..a0d30f0710e71 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -873,6 +873,14 @@ The Series object also has a ``to_string`` method, but with only the ``buf``,
which, if set to ``True``, will additionally output the length of the Series.
... | added io.read_html
| https://api.github.com/repos/pandas-dev/pandas/pulls/3536 | 2013-05-06T20:40:46Z | 2013-05-10T10:02:36Z | 2013-05-10T10:02:36Z | 2013-05-10T10:03:07Z |
BUG: Fixed bug in mixed frame assignment with aligned series (GH3492) | diff --git a/RELEASE.rst b/RELEASE.rst
index c1d40dc76f598..69cfd1eb99d7e 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -78,6 +78,7 @@ pandas 0.11.1
(removed warning) (GH2786_), and fix (GH3230_)
- Fix to_csv to handle non-unique columns (GH3495_)
- Fixed bug in groupby with empty series referencing a va... | closes #3492
| https://api.github.com/repos/pandas-dev/pandas/pulls/3533 | 2013-05-06T19:09:03Z | 2013-05-06T19:34:37Z | 2013-05-06T19:34:37Z | 2014-07-16T08:07:24Z |
ENH: HDFStore enhancements | diff --git a/RELEASE.rst b/RELEASE.rst
index 69cfd1eb99d7e..f3f4d7c895931 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -38,6 +38,12 @@ pandas 0.11.1
- Fixed various issues with internal pprinting code, the repr() for various objects
including TimeStamp and *Index now produces valid python code strings and
... | - will retain index attributes (freq,tz,name) on recreation #3499
- support datelike columns with a timezone as data_columns #2852
- will raise if trying to append with a different timezone than existing
will warn if the existing frequency of an index is different than an appended one
(thought raising was too strict)
... | https://api.github.com/repos/pandas-dev/pandas/pulls/3531 | 2013-05-06T15:35:58Z | 2013-05-08T20:26:10Z | 2013-05-08T20:26:10Z | 2014-06-17T13:08:16Z |
DOC: Fix header | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index ddaddd356e7d4..d67a2d51cc1b8 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -14,9 +14,9 @@
randint = np.random.randint
np.set_printoptions(precision=4, suppress=True)
-**************
-Selecting Data
-**************
+**... | I went searching for how to make a MultiIndex on the docs page and couldn't figure out where to look anymore.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3530 | 2013-05-06T01:05:28Z | 2013-05-06T04:50:56Z | 2013-05-06T04:50:56Z | 2014-07-16T08:07:14Z |
fix qt repr bug | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 8bfdee3b75170..3fd95e161b41a 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -746,8 +746,8 @@ def _repr_html_(self):
self.info(buf=buf, verbose=verbose)
info = buf.getvalue()
info = info.rep... | addresses #3522.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3527 | 2013-05-03T23:59:41Z | 2013-05-04T00:22:02Z | 2013-05-04T00:22:02Z | 2014-07-03T08:22:45Z |
ENH: support for msgpack serialization/deserialization | diff --git a/LICENSES/MSGPACK_NUMPY_LICENSE b/LICENSES/MSGPACK_NUMPY_LICENSE
new file mode 100644
index 0000000000000..57ea631f0f66d
--- /dev/null
+++ b/LICENSES/MSGPACK_NUMPY_LICENSE
@@ -0,0 +1,33 @@
+.. -*- rst -*-
+
+License
+=======
+
+Copyright (c) 2013, Lev Givon.
+All rights reserved.
+
+Redistribution a... | warning: prototype!
msgpack serialization/deseriiization
- support all pandas objects: Timestamp,Period,all index types,Series,DataFrame,Panel,Sparse suite
- docs included (in io.rst)
- iterator support
- top-level api support
Here are 2 features which I think msgpack supports, but have to look further
- no support f... | https://api.github.com/repos/pandas-dev/pandas/pulls/3525 | 2013-05-03T19:43:54Z | 2013-06-10T14:11:28Z | null | 2014-06-12T15:57:14Z |
Parse raised exceptions and their error messages sans interpolation/format spec | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 9c0a2843370f4..5294db0e6e7c1 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -710,8 +710,9 @@ def __unicode__(self):
self.info(buf=buf, verbose=verbose)
value = buf.getvalue()
- if not type(value) == unico... | This PR partially addresses #3024. It also provides a shiny new script useful looking at the current state of the messages in raised exceptions. Here's an example of some output:
# Example

You c... | https://api.github.com/repos/pandas-dev/pandas/pulls/3519 | 2013-05-03T03:14:34Z | 2013-05-31T16:42:54Z | null | 2014-06-15T06:07:10Z |
TST: skip tests needing xlrd | diff --git a/pandas/io/tests/test_excel.py b/pandas/io/tests/test_excel.py
index ee2d265690221..8a145517d3b5a 100644
--- a/pandas/io/tests/test_excel.py
+++ b/pandas/io/tests/test_excel.py
@@ -41,6 +41,9 @@
def _skip_if_no_xlrd():
try:
import xlrd
+ ver = tuple(map(int, xlrd.__VERSION__.split(".")... | xlrd version i have installed is 0.8.0, several of the tests in io.tests.test_excel failed, due to needing at least version > 0.9. This PR fixes this, those tests will be skipped if xlrd is not installed or if the version is old.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3517 | 2013-05-02T20:08:06Z | 2013-05-03T15:47:25Z | 2013-05-03T15:47:25Z | 2014-07-16T08:07:09Z |
BUG/CLN: datetime64/timedelta64 | diff --git a/RELEASE.rst b/RELEASE.rst
index f3d9c72db8bc5..7a2848003783f 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -56,6 +56,10 @@ pandas 0.11.1
Note: The default value will change in 0.12 to the "no mangle" behaviour,
If your code relies on this behaviour, explicitly specify mangle_dupe_cols=True
i... | Various bugs related to datetime64s
- Properly convert np.datetime64 objects in a Series, #3416
This would convert to object dtype previously
```
In [1]: dates = [
...: np.datetime64(datetime.date(2013, 1, 1)),
...: np.datetime64(datetime.date(2013, 1, 2)),
...: np.datetime64(datetime.date(2013, ... | https://api.github.com/repos/pandas-dev/pandas/pulls/3516 | 2013-05-02T18:46:25Z | 2013-05-08T21:51:09Z | 2013-05-08T21:51:09Z | 2014-06-16T01:29:27Z |
ENH: add mode.mangle_dupe_cols option GH3468 | diff --git a/RELEASE.rst b/RELEASE.rst
index f3fb98535cb61..ca9c25294dc23 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -44,6 +44,11 @@ pandas 0.11.1
**KeyError** if **key** is not a valid store object.
- The repr() for (Multi)Index now obeys display.max_seq_items rather
then numpy threshold print options.... | #3468
as discussed, an added option to disable th mangling behavior
of dupe columns taken by pd.read_csv going back to olden days.
Not sure what the default should be, currently the default is compatible
with existing scripts.
Tested with both c and python parser engines.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3511 | 2013-05-02T05:34:41Z | 2013-05-05T09:14:08Z | 2013-05-05T09:14:08Z | 2014-06-24T13:24:56Z |
Fixed Unbound Variable `edge` access when BinGrouper is empty | diff --git a/RELEASE.rst b/RELEASE.rst
index fbf8c28cffdea..4dc3746943605 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -58,6 +58,7 @@ pandas 0.11.1
- Duplicate indexes with getitem will return items in the correct order (GH3455_, GH3457_)
- Fix sorting in a frame with a list of columns which contains datetime64[... | Incorrectly accessed variable `edge` instead of pre-filled value `start`.
Signed-off-by: Kevin Stone kevinastone@gmail.com
| https://api.github.com/repos/pandas-dev/pandas/pulls/3510 | 2013-05-02T02:45:24Z | 2013-05-03T15:52:21Z | null | 2014-06-20T12:16:59Z |
BUG/CLN: Allow the BlockManager to have a non-unique items (axis 0) | diff --git a/RELEASE.rst b/RELEASE.rst
index f3fb98535cb61..1a86ac02b2f7e 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -61,8 +61,20 @@ pandas 0.11.1
- Fix regression in a DataFrame apply with axis=1, objects were not being converted back
to base dtypes correctly (GH3480_)
- Fix issue when storing uint dtype... | - Non-unique index support clarified #3092
- Fix assigning a new index to a duplicate index in a DataFrame would fail #3468
- Fix construction of a DataFrame with a duplicate index
- ref_locs support to allow duplicative indices across dtypes,
allows iget support to always find the index (even across dtypes) ... | https://api.github.com/repos/pandas-dev/pandas/pulls/3509 | 2013-05-02T01:14:01Z | 2013-05-02T14:51:57Z | 2013-05-02T14:51:57Z | 2014-06-13T16:52:03Z |
ENH: Support reading from S3 | diff --git a/README.rst b/README.rst
index c9b70f07b0862..ea713006c7189 100644
--- a/README.rst
+++ b/README.rst
@@ -90,6 +90,7 @@ Optional dependencies
* openpyxl version 1.6.1 or higher, for writing .xlsx files
* xlrd >= 0.9.0
* Needed for Excel I/O
+ * `boto <https://pypi.python.org/pypi/boto>`__:... | Tests not written. Will need a way to mock boto.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3504 | 2013-05-01T17:43:15Z | 2013-05-10T14:33:46Z | 2013-05-10T14:33:46Z | 2014-06-17T08:29:03Z |
BUG: GH3480 Fix regression in a DataFrame apply with axis=1 | diff --git a/RELEASE.rst b/RELEASE.rst
index fbf8c28cffdea..eecf32e8de21e 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -58,10 +58,13 @@ pandas 0.11.1
- Duplicate indexes with getitem will return items in the correct order (GH3455_, GH3457_)
- Fix sorting in a frame with a list of columns which contains datetime6... | objects were not being converted back to base dtypes correctly
closes #3480
| https://api.github.com/repos/pandas-dev/pandas/pulls/3502 | 2013-05-01T14:06:46Z | 2013-05-01T14:26:50Z | 2013-05-01T14:26:50Z | 2014-06-16T21:06:53Z |
My first PR ever. Adding documentation to Cookbook. | diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst
index 338963abd24e3..bc665cd5dba69 100644
--- a/doc/source/cookbook.rst
+++ b/doc/source/cookbook.rst
@@ -1,343 +1,348 @@
-.. _cookbook:
-
-.. currentmodule:: pandas
-
-.. ipython:: python
- :suppress:
-
- import numpy as np
- import random
-... | Just adding some more description to Cookbook documentation per J. Reback's request. If I didn't mess up anything here, I will go through the rest of the items and add some description.
Please let me know if I messed anything up.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3500 | 2013-05-01T04:03:03Z | 2013-05-10T10:38:12Z | null | 2013-05-10T18:02:59Z |
BUG: GH3416 properly convert np.datetime64 objects in the _possibily_convert_datetimes | diff --git a/RELEASE.rst b/RELEASE.rst
index fbf8c28cffdea..97f2446e92013 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -58,8 +58,10 @@ pandas 0.11.1
- Duplicate indexes with getitem will return items in the correct order (GH3455_, GH3457_)
- Fix sorting in a frame with a list of columns which contains datetime64... | closes #3416
| https://api.github.com/repos/pandas-dev/pandas/pulls/3496 | 2013-04-30T19:51:34Z | 2013-04-30T20:22:09Z | null | 2014-06-29T16:39:27Z |
BUG: GH3493 fix Cannot append DataFrames with uint dtypes to HDFStore | diff --git a/RELEASE.rst b/RELEASE.rst
index 49d576aacaff9..c4ca7dafc3610 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -58,6 +58,7 @@ pandas 0.12.0
- Duplicate indexes with getitem will return items in the correct order (GH3455_, GH3457_)
- Fix sorting in a frame with a list of columns which contains datetime64[... | Fix for self-reported uint bug in HDFStore. #3493
Travis results (pass): https://travis-ci.org/jmellen/pandas/builds/6764554
| https://api.github.com/repos/pandas-dev/pandas/pulls/3494 | 2013-04-30T17:56:04Z | 2013-05-01T16:29:09Z | 2013-05-01T16:29:09Z | 2014-07-02T10:29:10Z |
Failing Unit Test and Patch for Fixing MonthEnd DateRange Unions with Timezones | diff --git a/pandas/tseries/offsets.py b/pandas/tseries/offsets.py
index 3bc801bd38695..025a12a17687e 100644
--- a/pandas/tseries/offsets.py
+++ b/pandas/tseries/offsets.py
@@ -363,7 +363,7 @@ class MonthEnd(DateOffset, CacheableOffset):
"""DateOffset of one month end"""
def apply(self, other):
- oth... | This patch preserves the timezone information when applying an offset to `DatetimeIndex` with a timezone applied. The `MonthEnd` Offset wasn't retaining the timezone information resulting in an error even when both indexes had timezones.
```
TypeError: can't compare offset-naive and offset-aware datetimes
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/3491 | 2013-04-30T08:35:55Z | 2013-05-05T10:53:33Z | null | 2014-06-25T20:51:29Z |
BUG: GH3468 Fix assigning a new index to a duplicate index in a DataFrame would fail | diff --git a/RELEASE.rst b/RELEASE.rst
index f3fb98535cb61..38298fde12ff0 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -61,8 +61,21 @@ pandas 0.11.1
- Fix regression in a DataFrame apply with axis=1, objects were not being converted back
to base dtypes correctly (GH3480_)
- Fix issue when storing uint dtype... | partially fixes #3468
This would previously raise (same dtype assignment to a non-multi dtype frame with dup indicies)
```
In [6]: df = DataFrame([[1,2]], columns=['a','a'])
In [7]: df.columns = ['a','a.1']
In [8]: df
Out[8]:
a a.1
0 1 2
```
construction of a multi-dtype frame with a dup index (#2194) is... | https://api.github.com/repos/pandas-dev/pandas/pulls/3483 | 2013-04-29T16:06:30Z | 2013-05-02T01:15:09Z | null | 2014-06-12T15:57:23Z |
CLN: series to now inherit from NDFrame | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index c37776b3a3cd8..a0818831fb988 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -478,7 +478,7 @@ maximum value for each column occurred:
tsdf = DataFrame(randn(1000, 3), columns=['A', 'B', 'C'],
index=date_range('... | Major refactor primarily to make Series inherit from NDFrame
affects #4080, #3862, #816, #3217, #3386, #4463, #4204, #4118 , #4555
Preserves pickle compat
very few tests were changed (and only for compat on return objects)
a few performance enhancements, a couple of regressions (see bottom)
_obviously this is a larg... | https://api.github.com/repos/pandas-dev/pandas/pulls/3482 | 2013-04-29T14:37:35Z | 2013-08-16T19:27:02Z | 2013-08-16T19:27:01Z | 2014-06-12T18:13:47Z |
Support mrecarrays in DataFrame constructor | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 977dc9e2b56ff..9305fa18e23e2 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -392,15 +392,6 @@ def __init__(self, data=None, index=None, columns=None, dtype=None,
mgr = self._init_mgr(data, index, columns, dtype=dtype, copy=copy... | This is intended as a fix for #3478. ~~Sorry I do not have the time to write rigorous tests.~~
| https://api.github.com/repos/pandas-dev/pandas/pulls/3479 | 2013-04-29T06:00:17Z | 2013-09-13T21:39:53Z | null | 2014-07-17T09:17:17Z |
Read html tables into DataFrames | diff --git a/ci/install.sh b/ci/install.sh
index 8d9ab3aac3374..cd897cf7313c2 100755
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -75,6 +75,8 @@ if ( ! $VENV_FILE_AVAILABLE ); then
pip install $PIP_ARGS xlrd>=0.9.0
pip install $PIP_ARGS 'http://downloads.sourceforge.net/project/pytseries/scikits.timeser... | This PR adds new functionality for reading HTML tables from a URI, string, or file-like object into a DataFrame.
#3369
| https://api.github.com/repos/pandas-dev/pandas/pulls/3477 | 2013-04-28T18:01:06Z | 2013-05-03T16:54:13Z | 2013-05-03T16:54:13Z | 2014-06-16T01:32:21Z |
ENH: Scatterplot Method added | diff --git a/doc/source/release.rst b/doc/source/release.rst
index 34cc4e499a0d5..c85e86caa8114 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -210,6 +210,7 @@ API Changes
- Default export for ``to_clipboard`` is now csv with a sep of `\t` for
compat (:issue:`3368`)
- ``at`` now will enl... | closes #2215
This is a simple pull request that creates a shortcut for scatter plots from a df. This is in reference to #2215 (and #1527) and follows the same pattern as df.hist().
```
#where you would previously have had to do:
from pandas.tools.plotting import scatter_plot
scatter_plot(df, x = "x", y = 'y')
... | https://api.github.com/repos/pandas-dev/pandas/pulls/3473 | 2013-04-27T21:06:11Z | 2013-10-17T12:50:56Z | 2013-10-17T12:50:56Z | 2014-06-12T20:43:38Z |
ENH: Bring Series.dot up to par with DataFrame.dot | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 7d9303fa75acd..7c0c12c11e177 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1944,6 +1944,47 @@ def clip_lower(self, threshold):
"""
return pa.where(self < threshold, threshold, self)
+ def dot(self, other):
+ ... | If second argument is Series or DataFrame, ensures alignment of indices.
If second argument is some type of ndarray, just fall back to np.dot on the values.
This mirrors the behavior in DataFrame.dot
Includes unittest
| https://api.github.com/repos/pandas-dev/pandas/pulls/3470 | 2013-04-27T03:19:17Z | 2013-04-29T17:43:37Z | 2013-04-29T17:43:37Z | 2014-07-16T08:06:39Z |
ENH: Adding '.' as an na_value for FRED. | diff --git a/RELEASE.rst b/RELEASE.rst
index f584a5de924c1..49d576aacaff9 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -57,6 +57,7 @@ pandas 0.12.0
- Unordered time series selection was misbehaving when using label slicing (GH3448_)
- Duplicate indexes with getitem will return items in the correct order (GH3455_... | The St. Louis Fed's [FRED](http://research.stlouisfed.org/fred2/) uses '.' as an NaN marker. I don't think the user has any way to specify the na_value via DataReader, so this just hard codes '.' as an na_value in the fred data-fetching function.
Before:
``` python
In [4]: from pandas.io.data import DataReader
In [... | https://api.github.com/repos/pandas-dev/pandas/pulls/3469 | 2013-04-27T00:53:30Z | 2013-04-27T20:14:38Z | 2013-04-27T20:14:38Z | 2016-11-03T12:37:23Z |
BUG: adjust to_latex column format when no index | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 7226bd14e5576..5b68b26a41b77 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -356,7 +356,10 @@ def get_col_type(dtype):
if column_format is None:
dtypes = self.frame.dtypes.values
- column_format = 'l%s... | `to_latex` was adding an extra alignment to `column_format` when the
`index` argument was False
| https://api.github.com/repos/pandas-dev/pandas/pulls/3467 | 2013-04-26T21:14:43Z | 2013-04-28T00:55:20Z | 2013-04-28T00:55:20Z | 2014-07-16T08:06:35Z |
Fix pprint of index, summarizes according to display.max_seq_items | diff --git a/RELEASE.rst b/RELEASE.rst
index aac34c6cf8a5e..9920f89d50501 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -42,6 +42,8 @@ pandas 0.12.0
- When removing an object from a store, **store.remove(key)**, raises
**KeyError** if **key** is not a valid store object.
+ - The repr() for (Multi)Index now o... | #3465
makes #3391 a very good idea.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3466 | 2013-04-26T18:51:30Z | 2013-04-26T18:52:46Z | 2013-04-26T18:52:46Z | 2014-06-22T23:23:22Z |
BUG: GH3461 Fix sorting in a frame with a list of columns which contains datetime64 | diff --git a/RELEASE.rst b/RELEASE.rst
index aac34c6cf8a5e..a3becfa2de3c7 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -54,6 +54,7 @@ pandas 0.12.0
- ``.loc`` was not raising when passed an integer list (GH3449_)
- Unordered time series selection was misbehaving when using label slicing (GH3448_)
- Duplicate ... | closes #3461
| https://api.github.com/repos/pandas-dev/pandas/pulls/3464 | 2013-04-25T21:27:25Z | 2013-04-25T21:56:33Z | 2013-04-25T21:56:33Z | 2014-07-03T18:23:38Z |
CLN: series to now inherit from NDFrame | diff --git a/RELEASE.rst b/RELEASE.rst
index 6f55b7cd4490f..7c11bea47c61c 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -37,11 +37,67 @@ pandas 0.12.0
- Fixed various issues with internal pprinting code, the repr() for various objects
including TimeStamp and *Index now produces valid python code strings and
... | Major refactor primarily to make Series inherit from NDFrame
Preserves pickle compat
very few tests were changed (and only for compat on return objects)
a few performance enhancements, a couple of regressions (see bottom)
_obviously this is a large change in terms of the codebase, but it brings more consistency betwee... | https://api.github.com/repos/pandas-dev/pandas/pulls/3463 | 2013-04-25T18:40:30Z | 2013-04-29T14:37:13Z | null | 2014-07-10T19:18:54Z |
BUG: GH3455 Duplicate indexes with getitem will return items in the correct order | diff --git a/RELEASE.rst b/RELEASE.rst
index 20167e1918540..e57c6c565e2cf 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -51,12 +51,15 @@ pandas 0.12.0
columns (GH3437_)
- ``.loc`` was not raising when passed an integer list (GH3449_)
- Unordered time series selection was misbehaving when using label slicing ... | BUG: GH3457 to_csv writing duplicate columns incorrectly
closes #3455, #3457
| https://api.github.com/repos/pandas-dev/pandas/pulls/3459 | 2013-04-25T14:17:46Z | 2013-04-25T14:38:06Z | 2013-04-25T14:38:06Z | 2014-06-28T10:24:30Z |
BUG: to_csv handles cols= reordering,dupe cols GH3454 | diff --git a/RELEASE.rst b/RELEASE.rst
index 6f55b7cd4490f..aac34c6cf8a5e 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -48,7 +48,8 @@ pandas 0.12.0
- Fixed an esoteric excel reading bug, xlrd>= 0.9.0 now required for excel
support. Should provide python3 support (for reading) which has been
lacking. (GH31... | #3454, #3457, #3455
@jreback, comments?
| https://api.github.com/repos/pandas-dev/pandas/pulls/3458 | 2013-04-25T12:53:19Z | 2013-04-25T16:09:51Z | 2013-04-25T16:09:51Z | 2014-06-18T19:05:44Z |
BUG: GH3448 Unordered time series selection was misbehaving when using label slicing | diff --git a/RELEASE.rst b/RELEASE.rst
index ae98884f0f683..20167e1918540 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -50,16 +50,17 @@ pandas 0.12.0
- Fix to_csv issue when having a large number of rows and ``NaT`` in some
columns (GH3437_)
- ``.loc`` was not raising when passed an integer list (GH3449_)
... | closes #3448
| https://api.github.com/repos/pandas-dev/pandas/pulls/3452 | 2013-04-25T01:10:17Z | 2013-04-25T12:29:36Z | 2013-04-25T12:29:36Z | 2014-07-16T08:06:20Z |
BUG: GH3449 .loc was not raising when passed an integer list | diff --git a/RELEASE.rst b/RELEASE.rst
index 2c47c043dd84d..ae98884f0f683 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -49,12 +49,14 @@ pandas 0.12.0
lacking. (GH3164_)
- Fix to_csv issue when having a large number of rows and ``NaT`` in some
columns (GH3437_)
+ - ``.loc`` was not raising when passed an... | closes #3449
| https://api.github.com/repos/pandas-dev/pandas/pulls/3451 | 2013-04-25T00:05:20Z | 2013-04-25T01:55:28Z | 2013-04-25T01:55:28Z | 2014-06-22T03:25:32Z |
BUG: index.map fast path raises recursion warnings on index.time GH3419 | diff --git a/pandas/tseries/index.py b/pandas/tseries/index.py
index 0d29da83dbd8a..6f8d9edcb5e4a 100644
--- a/pandas/tseries/index.py
+++ b/pandas/tseries/index.py
@@ -1299,7 +1299,10 @@ def time(self):
"""
Returns array of datetime.time. The time of the day
"""
- return self.map(lamb... | fyi @hayd
#3419
| https://api.github.com/repos/pandas-dev/pandas/pulls/3450 | 2013-04-24T22:39:37Z | 2013-04-24T22:39:44Z | 2013-04-24T22:39:44Z | 2014-07-16T08:06:17Z |
BUG: Removing a nonexistent store raises a KeyError (GH3346) | diff --git a/RELEASE.rst b/RELEASE.rst
index e8287912efb3e..f0e54c0e74166 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -40,7 +40,8 @@ pandas 0.12.0
**API Changes**
- -
+ - When removing an object from a store, **store.remove(key)**, raises
+ **KeyError** if **key** is not a valid store object.
**Bug Fixes... | https://api.github.com/repos/pandas-dev/pandas/pulls/3447 | 2013-04-24T18:17:18Z | 2013-04-25T14:25:09Z | 2013-04-25T14:25:09Z | 2014-07-16T08:06:11Z | |
DOC: Adding Panel docs to API, and shortening line length in panel.py | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 6eef018d13418..eb65e6087c66c 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -535,10 +535,159 @@ Serialization / IO / Conversion
.. _api.panel:
Panel
------
+------
+
+Attributes and underlying data
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+**Axes**
+
+ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/3444 | 2013-04-24T15:31:12Z | 2013-04-24T15:50:16Z | null | 2014-07-15T15:39:59Z | |
BUG: GH3437 to_csv issue with large number of rows and some NaT in multi datetime64[ns] cols | diff --git a/RELEASE.rst b/RELEASE.rst
index e8287912efb3e..2c47c043dd84d 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -44,14 +44,17 @@ pandas 0.12.0
**Bug Fixes**
- - Fixed an esoteric excel reading bug, xlrd>= 0.9.0 now required for excel
- support. Should provide python3 support (for reading) which has b... | fixes #3437
| https://api.github.com/repos/pandas-dev/pandas/pulls/3438 | 2013-04-23T21:05:03Z | 2013-04-24T12:49:50Z | null | 2014-07-02T07:30:22Z |
DOC: Adding parameters address issue sub-points 8 and 10 - 24 (issue #2916) | diff --git a/pandas/core/reshape.py b/pandas/core/reshape.py
index adc824544b8c7..8595e2a91906d 100644
--- a/pandas/core/reshape.py
+++ b/pandas/core/reshape.py
@@ -745,11 +745,13 @@ def make_axis_dummies(frame, axis='minor', transform=None):
Parameters
----------
+ frame : DataFrame
axis : {'major'... | https://api.github.com/repos/pandas-dev/pandas/pulls/3422 | 2013-04-22T23:43:22Z | 2013-04-24T12:29:48Z | 2013-04-24T12:29:48Z | 2014-06-15T20:28:49Z | |
DOC: Adding parameters to frequencies, offsets (issue #2916) | diff --git a/pandas/tseries/frequencies.py b/pandas/tseries/frequencies.py
index e8dad6c85b2ac..3b66eba31fca1 100644
--- a/pandas/tseries/frequencies.py
+++ b/pandas/tseries/frequencies.py
@@ -746,6 +746,7 @@ def infer_freq(index, warn=True):
Parameters
----------
index : DatetimeIndex
+ warn : boolea... | My first PR...
| https://api.github.com/repos/pandas-dev/pandas/pulls/3420 | 2013-04-22T20:53:51Z | 2013-04-22T21:02:26Z | 2013-04-22T21:02:26Z | 2014-06-14T00:34:08Z |
Period.strftime should return unicode strings always | diff --git a/pandas/tseries/period.py b/pandas/tseries/period.py
index 14119dd94290a..a405fda1c4fe4 100644
--- a/pandas/tseries/period.py
+++ b/pandas/tseries/period.py
@@ -13,6 +13,7 @@
import pandas.core.common as com
from pandas.core.common import isnull
+from pandas.util import py3compat
from pandas.lib impo... | pending confirmed of fix to #3363
| https://api.github.com/repos/pandas-dev/pandas/pulls/3410 | 2013-04-21T13:37:50Z | 2013-04-21T16:54:11Z | 2013-04-21T16:54:11Z | 2014-06-27T18:12:06Z |
BUG: don't rely on sys.getdefaultencoding if we don't need to | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 1b362fb5c0562..fbab7472ba10b 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -165,7 +165,9 @@ def _encode_diff_func():
encoding = get_option("display.encoding")
def _encode_diff(x):
- return len(x) - len(x.... | pending confirm on fixing #3360.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3409 | 2013-04-21T07:22:08Z | 2013-04-21T15:13:08Z | 2013-04-21T15:13:08Z | 2014-07-23T06:58:59Z |
TST: added testing and error messages for passing datetimes with timezones | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index da4077165add2..be11732d7b3a2 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -1207,13 +1207,20 @@ def set_atom(self, block, existing_col, min_itemsize, nan_rep, **kwargs):
self.values = list(block.items)
dtype = block... | (not yet implemented, and error message was a little misleading)
CLN: better error messages on invalid appends
| https://api.github.com/repos/pandas-dev/pandas/pulls/3405 | 2013-04-20T16:26:09Z | 2013-04-20T16:51:42Z | 2013-04-20T16:51:42Z | 2014-06-25T07:53:00Z |
DOC: ref / val caveat, point at pandas methods | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 9a3dc5f37934a..7ba7a315f7bae 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -121,8 +121,14 @@ Sorting by values
Selection
---------
-See the :ref:`Indexing section <indexing>`
+.. note::
+ While standard Python / Numpy expres... | This in part addresses #3340.
I added a few comments in the doc that point users ad using the pandas
at, iat, loc, iloc, etc. methods and included an example similar to
the one exposed in #3340 that addresses some of the reference / value
intricaies encountered with pandas and numpy objects.
To make things clear I se... | https://api.github.com/repos/pandas-dev/pandas/pulls/3399 | 2013-04-19T09:32:59Z | 2013-04-20T14:32:40Z | 2013-04-20T14:32:40Z | 2014-06-14T17:35:39Z |
ENH: speed up testing when --processes arg is given to test_fast.sh | diff --git a/pandas/io/tests/test_pytables.py b/pandas/io/tests/test_pytables.py
index 75fe0eefe771e..bce737606040d 100644
--- a/pandas/io/tests/test_pytables.py
+++ b/pandas/io/tests/test_pytables.py
@@ -66,6 +66,7 @@ def ensure_clean(path, mode='a', complevel=None, complib=None,
class TestHDFStore(unittest.TestC... | I know this is a stupid one liner but...this allows the pytables fixtures to be shared, but not split (because PyTables is not reentrant [only reading is thread-safe]), during a test run with multiple processors. I get a 3x speed up (75 secs to 25 secs) just by adding this single class variable.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3397 | 2013-04-19T00:20:24Z | 2013-05-03T03:18:02Z | null | 2014-06-29T16:35:33Z |
BUG: fix df repr troubles | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 4e03a5c68b2b3..f210b801d8cee 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -12,6 +12,7 @@
from pandas.core.index import Index, MultiIndex, _ensure_index
from pandas.util import py3compat
from pandas.util.compat import OrderedDict
+f... | My apologies for the mess i created on the dataframe repr. Not only did i get the non-interactive behavior wrong, i also introduced a performance issue in the interactive mode.
This PR should make my wrong, right again. In non-interactive mode i re-enabled concise formats and made sure that auto-terminal-size detectio... | https://api.github.com/repos/pandas-dev/pandas/pulls/3395 | 2013-04-18T20:37:48Z | 2013-04-22T14:38:01Z | null | 2014-06-22T23:48:34Z |
BUG: GH3380 groupby will handle mutation on a DataFrame group's columns | diff --git a/RELEASE.rst b/RELEASE.rst
index 5fa0234041227..55fb085b7bdee 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -298,6 +298,8 @@ pandas 0.11.0
- Fix set_index segfault when passing MultiIndex (GH3308_)
- Ensure pickles created in py2 can be read in py3
- Insert ellipsis in MultiIndex summary repr (GH33... | and fallback to non-fast apply
fixes #3380
| https://api.github.com/repos/pandas-dev/pandas/pulls/3384 | 2013-04-17T14:54:52Z | 2013-04-20T14:32:53Z | 2013-04-20T14:32:53Z | 2014-06-24T18:14:36Z |
Travis-CI: Allow network cache opt-in for whitelisted forks | diff --git a/.travis.yml b/.travis.yml
index e8a9193f9b7c9..b48f6d834b62d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,20 +2,29 @@ language: python
python:
- 2.6
- - 3.3
env:
global:
- - NOSE_ARGS="not slow" # need at least this so travis page will show env column
+ - secure: "O04RU5QRKEDL/SrIWEs... | https://api.github.com/repos/pandas-dev/pandas/pulls/3383 | 2013-04-17T14:39:53Z | 2013-04-17T14:40:10Z | 2013-04-17T14:40:10Z | 2014-08-11T06:22:53Z | |
ENH/CLN: make Timestamp repr valid python code, like datetime does. | diff --git a/pandas/tseries/tests/test_period.py b/pandas/tseries/tests/test_period.py
index f34a237b55dd4..10a5e039b9fc6 100644
--- a/pandas/tseries/tests/test_period.py
+++ b/pandas/tseries/tests/test_period.py
@@ -1298,6 +1298,14 @@ def test_to_timestamp_preserve_name(self):
conv = index.to_timestamp('D')
... | In the same vein as #3038 , make `repr()` output valid python code where feasible. I find this not
being the case inconvenient for example when issues contain code examples,
and the data needs to be recreated by hand rather then merely copy pasted.
```
In [2]: zs=[Timestamp('99-04-17 00:00:00',tz='UTC'),
...: Time... | https://api.github.com/repos/pandas-dev/pandas/pulls/3379 | 2013-04-17T01:02:05Z | 2013-04-23T02:13:36Z | 2013-04-23T02:13:36Z | 2014-06-19T05:28:32Z |
multiindex xs slicing bug fix | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 5ffd81ec80157..2a1ee06984aa8 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2226,8 +2226,9 @@ def xs(self, key, axis=0, level=None, copy=True):
raise ValueError('Cannot retrieve view (copy=False)')
# level =... | #2903 solves the case for the first level but using the same variables from that issue, the following code raises a `TypeError` for the second level:
``` python
import pandas as pd
from numpy.random import rand
columns = pd.MultiIndex.from_tuples([('a', 'foo'), ('a', 'bar'), ('b', 'hello'), ('b', 'world')], names=['lv... | https://api.github.com/repos/pandas-dev/pandas/pulls/3378 | 2013-04-17T00:13:10Z | 2013-04-17T22:40:58Z | 2013-04-17T22:40:58Z | 2014-06-30T05:21:11Z |
DOC: Moved note about cursor position in TS plots out of changes to pd.data.io.Options in v0.11.0 | diff --git a/doc/source/v0.11.0.txt b/doc/source/v0.11.0.txt
index 834b23c92d3b5..2024b9a6598e4 100644
--- a/doc/source/v0.11.0.txt
+++ b/doc/source/v0.11.0.txt
@@ -309,7 +309,8 @@ Enhancements
only return forward looking data for options near the current stock
price. This just obtains the data from Optio... | Very simple formatting change.
Note about cursor position in time series plots should not have been a part of changes to Options class in data.io.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3365 | 2013-04-15T15:29:33Z | 2013-04-15T15:39:33Z | 2013-04-15T15:39:33Z | 2014-06-16T14:25:07Z |
CLN: remove some unicode hair from pre-pprint_thing days GH3360 | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 0f0029167ce64..dc79a1cbc762a 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -139,14 +139,9 @@ def to_string(self):
maxlen = max(len(x) for x in fmt_index)
pad_space = min(maxlen, 60)
- _encode_diff = _encode_d... | breaks no tests, and the code it removes resolved an issue
which now works even without it. even so, no sudden moves
a couple of days before a major release, so 0.12.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3364 | 2013-04-15T15:20:36Z | 2013-04-23T02:09:41Z | 2013-04-23T02:09:41Z | 2014-07-16T08:05:55Z |
PERF: get_numeric_data now a bit faster | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index ab7d23acf183e..bc39d4e4ff5d4 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -4930,25 +4930,10 @@ def _get_agg_axis(self, axis_num):
raise Exception('Must have 0<= axis <= 1')
def _get_numeric_data(self):
- if self... | CLN: cleaned up take in tseries/resample and core/internals to use interenals take
```
(which wasn't using the block level take)
```
This is not a big diff on get_numeric_data, about 5us on avg when I test it,
but its non-zero! (and there is some other code cleanups)
The other tests might be noise, not sure.
```
--... | https://api.github.com/repos/pandas-dev/pandas/pulls/3359 | 2013-04-14T16:18:01Z | 2013-04-14T16:31:55Z | 2013-04-14T16:31:55Z | 2014-06-16T23:22:22Z |
BLD: Add 2to3 caching, move the build cache logic into use_build_cache.py | diff --git a/scripts/use_build_cache.py b/scripts/use_build_cache.py
new file mode 100755
index 0000000000000..0b43e897df9d4
--- /dev/null
+++ b/scripts/use_build_cache.py
@@ -0,0 +1,288 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+import os
+
+"""
+This script should be run from the repo root dir, it rewrites s... | I tested this script all the way back to 0.7.0. The build cache code was a lot of noise
to shove into setup.py, I'm glad to pull it back out.
a "goto_ver.sh" script is now really easy to do, and very useful for benchmarking
and bisecting regressions.
.bashrc:
``` bash
# Use the pandas build cache
export BUILD_CACHE_... | https://api.github.com/repos/pandas-dev/pandas/pulls/3358 | 2013-04-14T14:11:56Z | 2013-04-14T14:58:21Z | 2013-04-14T14:58:21Z | 2013-04-14T15:04:13Z |
ENH: HDFStore now auto creates data_columns if they are specified in min_itemsize | diff --git a/RELEASE.rst b/RELEASE.rst
index 610e9254289aa..efa4950a36bb3 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -178,6 +178,7 @@ pandas 0.11.0
- added the method ``select_column`` to select a single column from a table as a Series.
- deprecated the ``unique`` method, can be replicated by ``select_... | DOC: created String Columns section, added cookbook example
| https://api.github.com/repos/pandas-dev/pandas/pulls/3357 | 2013-04-14T12:39:59Z | 2013-04-14T12:59:34Z | 2013-04-14T12:59:34Z | 2014-07-10T11:41:42Z |
CLN: DataFrame move doc from __init__ to cls | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index ab7d23acf183e..ee986f1a466b1 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -333,6 +333,41 @@ def f(self, other):
class DataFrame(NDFrame):
+ """ Two-dimensional size-mutable, potentially heterogeneous tabular data
+ structure wi... | This, in part addresses our discussion from #3337.
This PR moves the doc string from **init** to the more common class location.
(cf.. numpy, rest of pandas classes that have a doc string)
Besides STY / consistency this would allow for more directly accessing the doc string in a debugging (pdb) session:
``` Python
... | https://api.github.com/repos/pandas-dev/pandas/pulls/3342 | 2013-04-13T16:28:49Z | 2013-04-14T15:14:43Z | null | 2013-04-14T18:14:50Z |
TST: properly raise the quoted exception when trying to unpickle on py2 | diff --git a/pandas/core/common.py b/pandas/core/common.py
index c41784d015e7c..610477caddba8 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1584,6 +1584,8 @@ def load(path):
with open(path,'rb') as fh:
return pickle.load(fh)
except:
+ if not py3compat.PY3:
+ ... | should throw the error in the unpickle if on py2, rather than try to decode
as the try: except: is mainly to catch a decoding error
| https://api.github.com/repos/pandas-dev/pandas/pulls/3336 | 2013-04-13T01:10:29Z | 2013-04-13T01:10:36Z | 2013-04-13T01:10:36Z | 2013-04-13T01:10:36Z |
PERF: series construction perf enhancements, use a fast path based on dt... | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 4acaa3f421e3a..c41784d015e7c 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -42,6 +42,8 @@ class AmbiguousIndexError(PandasError, KeyError):
pass
+_POSSIBLY_CAST_DTYPES = set([ np.dtype(t) for t in ['M8[ns]','m8[ns]','O','int8'... | This is only 1us improvement, but non-zero
(I measure the existing one at 9us, this puts it at 10, before
this change was about 11)
difference is 3 function calls, so not much more we can do I think
(as this is handling more cases)
```
-------------------------------------------------------------------------------
Te... | https://api.github.com/repos/pandas-dev/pandas/pulls/3333 | 2013-04-12T18:50:22Z | 2013-04-12T19:07:36Z | 2013-04-12T19:07:36Z | 2014-06-21T22:22:12Z |
PERF/CLN: infer Period in infer_dtype, later index inference is faster | diff --git a/pandas/core/index.py b/pandas/core/index.py
index 57222d6a04c2f..43cb7734a1cc5 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -127,8 +127,8 @@ def __new__(cls, data, dtype=None, copy=False, name=None):
from pandas.tseries.index import DatetimeIndex
... | This was meant to fix the vbench: ctor_index_array_string
see #3326
not sure if this is that stable of a perf fix
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
---------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/3332 | 2013-04-12T16:18:05Z | 2013-04-12T16:18:14Z | 2013-04-12T16:18:14Z | 2013-04-12T16:18:14Z |
PERF: fixed int64 indexing perf issue when conversion to int64 | diff --git a/pandas/core/index.py b/pandas/core/index.py
index c30b5dca3a28a..57222d6a04c2f 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -1332,11 +1332,6 @@ def inferred_type(self):
def _constructor(self):
return Int64Index
- @cache_readonly
- def _engine(self):
- # prope... | fixes an issue I when using non-int64 Int64Indexes (which is very rare) anyhow
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
----------------------------------------------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/3331 | 2013-04-12T16:08:41Z | 2013-04-12T16:08:52Z | 2013-04-12T16:08:52Z | 2013-04-12T16:14:26Z |
PERF/CLN: infer Period in infer_dtype, later index inference is faster | diff --git a/pandas/core/index.py b/pandas/core/index.py
index 57222d6a04c2f..43cb7734a1cc5 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -127,8 +127,8 @@ def __new__(cls, data, dtype=None, copy=False, name=None):
from pandas.tseries.index import DatetimeIndex
... | This was meant to fix the vbench: ctor_index_array_string
see #3326
not sure if this is that stable of a perf fix
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
---------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/3329 | 2013-04-12T14:40:13Z | 2013-04-12T15:09:16Z | 2013-04-12T15:09:16Z | 2013-04-12T15:09:16Z |
PERF: fixed int64 indexing perf issue when conversion to int64 | diff --git a/pandas/core/index.py b/pandas/core/index.py
index c30b5dca3a28a..57222d6a04c2f 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -1332,11 +1332,6 @@ def inferred_type(self):
def _constructor(self):
return Int64Index
- @cache_readonly
- def _engine(self):
- # prope... | fixes an issue I when using non-int64 Int64Indexes (which is very rare) anyhow
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
----------------------------------------------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/3327 | 2013-04-12T13:35:07Z | 2013-04-12T13:53:41Z | 2013-04-12T13:53:41Z | 2014-07-07T14:09:14Z |
BUG: ensure index casting works even in Int64Index | diff --git a/RELEASE.rst b/RELEASE.rst
index a542a406fcfaa..9016a9efdcae3 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -293,6 +293,7 @@ pandas 0.11.0
- fixed pretty priniting of sets (GH3294_)
- Panel() and Panel.from_dict() now respects ordering when give OrderedDict (GH3303_)
- DataFrame where with a dateti... | ```
df = DataFrame({'A' : [1.1,2.2,3.3], 'B' : [5.0,6.1,7.2]}, index = [2010, 2011, 2012])
df.index = df.index.astype(int)
df.ix[2010]
```
was failing - fixed up
from the mailing list
https://groups.google.com/forum/?fromgroups#!topic/pydata/ClJA5ldNQNQ
| https://api.github.com/repos/pandas-dev/pandas/pulls/3322 | 2013-04-11T21:48:58Z | 2013-04-12T04:14:37Z | 2013-04-12T04:14:37Z | 2013-04-12T04:14:49Z |
SCR: add a script for tracking down all commits touching a named method | diff --git a/scripts/find_commits_touching_func.py b/scripts/find_commits_touching_func.py
new file mode 100755
index 0000000000000..d23889ec80d05
--- /dev/null
+++ b/scripts/find_commits_touching_func.py
@@ -0,0 +1,201 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+# copryright 2013, y-p @ github
+
+from __futu... | New script to get a change hirsoty for a functions across the
code base.
Initially, I hope this well help define "golden" commits for the various
adhoc versions of pickled pandas objects, so we can finish off #3310
, get robust back-compat testing and feel easier about touching
the serialization code (which always sc... | https://api.github.com/repos/pandas-dev/pandas/pulls/3316 | 2013-04-11T01:19:57Z | 2013-04-11T05:03:16Z | 2013-04-11T05:03:16Z | 2014-07-08T12:01:29Z |
DOC add dayfirst to to_datetime | diff --git a/pandas/tseries/tools.py b/pandas/tseries/tools.py
index c93d9cd425eef..e35b80fff013f 100644
--- a/pandas/tseries/tools.py
+++ b/pandas/tseries/tools.py
@@ -58,9 +58,15 @@ def to_datetime(arg, errors='ignore', dayfirst=False, utc=None, box=True,
arg : string, datetime, array of strings (with possible N... | At the moment only some of the arguments are shown in the docstring for to_datetime, which can [lead to unnecessary confusion](http://stackoverflow.com/questions/15929861/pandas-to-datetime-inconsistent-time-string-format/15937890#15937890). This adds all of them to the docstring.
~~Also a cheeky enhancement to use pr... | https://api.github.com/repos/pandas-dev/pandas/pulls/3314 | 2013-04-10T23:47:41Z | 2013-04-13T00:21:54Z | 2013-04-13T00:21:54Z | 2013-04-13T00:21:55Z |
TST: test fix on GH3235 (failing because of system dtype on different sy... | diff --git a/pandas/tests/test_series.py b/pandas/tests/test_series.py
index 4f17135385748..20ff6e95b436c 100644
--- a/pandas/tests/test_series.py
+++ b/pandas/tests/test_series.py
@@ -1154,17 +1154,17 @@ def test_where(self):
self.assertRaises(Exception, s.__setitem__, tuple(mask), values)
# GH... | ...stems)
| https://api.github.com/repos/pandas-dev/pandas/pulls/3313 | 2013-04-10T15:08:27Z | 2013-04-10T18:24:33Z | 2013-04-10T18:24:33Z | 2014-06-17T19:53:14Z |
BUG: GH3311 Dataframe where with a datetimelike was not correctly selecting | diff --git a/RELEASE.rst b/RELEASE.rst
index e01ccad6db96a..a542a406fcfaa 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -292,6 +292,7 @@ pandas 0.11.0
spacing (GH3258_)
- fixed pretty priniting of sets (GH3294_)
- Panel() and Panel.from_dict() now respects ordering when give OrderedDict (GH3303_)
+ - DataFr... | closes #3311
| https://api.github.com/repos/pandas-dev/pandas/pulls/3312 | 2013-04-10T15:01:47Z | 2013-04-10T18:25:33Z | 2013-04-10T18:25:33Z | 2018-07-23T04:16:06Z |
TST/CLN: legacy pickle testing | https://github.com/pandas-dev/pandas/pull/3310.diff | CLN:
- standardized testing data to live under tests/data (for that set of tests),
- added method `util/testing.get_data_path` to give you this path
TST:
- added `io/tests/test_pickle.py` and `io/tests/generate_legacy_pickles.py`
to generate legacy pickle files and provide comparsions
just run `python path_to_gene... | https://api.github.com/repos/pandas-dev/pandas/pulls/3310 | 2013-04-10T13:59:18Z | 2013-04-12T05:07:46Z | 2013-04-12T05:07:46Z | 2014-08-06T13:12:24Z |
PR: Panel and Panel.from_dict() don't honor ordering when passed OrderedDict | diff --git a/RELEASE.rst b/RELEASE.rst
index a5f9a9aad9447..db68a9590f329 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -287,6 +287,7 @@ pandas 0.11.0
- Fix Python ascii file parsing when integer falls outside of floating point
spacing (GH3258_)
- fixed pretty priniting of sets (GH3294_)
+ - Panel() and Pan... | #3303
| https://api.github.com/repos/pandas-dev/pandas/pulls/3304 | 2013-04-09T22:19:50Z | 2013-04-09T23:03:06Z | 2013-04-09T23:03:06Z | 2014-06-16T07:12:33Z |
Work around mpl 1.2.1 regression re bar log plot GH3298, GH3254 | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 51b2676abb0ae..b130aabeb2fe6 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -404,6 +404,21 @@ def test_bar_center(self):
ax = df.plot(kind='bar', grid=True)
self.assertEqual(ax.xaxis.get... | #3298, #3254
added tests and Tested visually on 1.2.0 and 1.2.1.
y-p's 2nd rule of github - if you see an area in the codebase that you never ever want
to touch, you'll end up maintaining it.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3300 | 2013-04-09T19:34:39Z | 2013-04-09T20:39:25Z | 2013-04-09T20:39:25Z | 2013-04-09T20:39:25Z |
BUG: DataFrame.hist passes keyword arguments to mpl.hist; closes #3296 | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 51b2676abb0ae..eae2ea6bbc086 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -442,6 +442,7 @@ def test_kde(self):
@slow
def test_hist(self):
+ import matplotlib.pyplot as plt
df... | This is a fix for https://github.com/pydata/pandas/issues/3296 .
Now keyword arguments to `plotting.grouped_hist` are passed to `matplotlib.Axes.hist`. This allows you to create e.g. normalized, cumulative, or log scaled histograms::
```
df = pd.DataFrame(np.random.randn(500, 2), columns=['A', 'B'])
df['C'] = np.rand... | https://api.github.com/repos/pandas-dev/pandas/pulls/3299 | 2013-04-09T19:15:11Z | 2013-04-10T07:01:03Z | 2013-04-10T07:01:03Z | 2013-04-10T07:01:03Z |
WIP: Support metadata at de/serialization time | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 0d7913819f115..1bd9b8c55a762 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -450,6 +450,7 @@ def __init__(self, data=None, index=None, columns=None, dtype=None,
raise PandasError('DataFrame constructor not properly called!'... | #2485, with much reduced scope.
While collecting vbench data recently, it became painfully
obvious how useful it would be to be able to attach metadata
tags to serialized frames/series/panel.
This is a rough draft for something I'd like to see happen in 0.12.
It creates yet another version of pickle files, so much t... | https://api.github.com/repos/pandas-dev/pandas/pulls/3297 | 2013-04-09T18:24:51Z | 2013-05-18T15:05:08Z | null | 2014-06-24T19:43:15Z |
BUG: fix unsafe dtype conversion in Series | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 49d3015a5c871..60d3e86e185fe 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -760,12 +760,27 @@ def _maybe_upcast_putmask(result, mask, other, dtype=None, change=None):
def changeit():
- # our type is wrong here, ... | fixes assignment to smaller itemsizes on dtype upcasting
| https://api.github.com/repos/pandas-dev/pandas/pulls/3292 | 2013-04-09T02:06:06Z | 2013-04-09T17:18:25Z | 2013-04-09T17:18:25Z | 2013-04-09T19:44:07Z |
BUG: test case showing why assigning to dtype is unsafe | diff --git a/pandas/tests/test_series.py b/pandas/tests/test_series.py
index dc036a933e2fe..3abcee52f181d 100644
--- a/pandas/tests/test_series.py
+++ b/pandas/tests/test_series.py
@@ -1127,12 +1127,21 @@ def test_where(self):
self.assertRaises(ValueError, s.__setitem__, tuple([[[True, False]]]), [0,2,3])
... | @jreback this is a test case that shows why assigning to `dtype` is unsafe, namely that the dtype item sizes have to be compatible obviously =P Could you take a look at this and fix? This came up when I booted the windows box back up because Windows uses int32 by default.
There is a secondary bug here that the test ca... | https://api.github.com/repos/pandas-dev/pandas/pulls/3290 | 2013-04-09T01:15:53Z | 2013-04-09T14:40:02Z | null | 2013-05-18T15:13:52Z |
BUG: suppress error raise by nonnumeric columns when plotting DataFrame ... | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index f18e862a30293..afe9065b4f9c2 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -234,6 +234,17 @@ def test_plot(self):
index=index)
_check_plot_works(df.plot, title=u'\u03A3')... | ...#3108
suppressing AttributeError here so you can plot the DataFrame and automatically exclude non-numeric columns. @y-p @wesm @jreback any thoughts on 1) whether it should raise instead of exclude and 2) whether catching the AttributeError here is too dangerously broad?
| https://api.github.com/repos/pandas-dev/pandas/pulls/3287 | 2013-04-08T16:16:53Z | 2013-04-12T04:14:13Z | 2013-04-12T04:14:13Z | 2014-07-02T01:57:24Z |
ENH/BUG: GH3283 allow pivot tables to downcast the output (e.g. float -> int) if possible | diff --git a/RELEASE.rst b/RELEASE.rst
index 7b36b11371737..a02fcd1e3f83d 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -171,6 +171,8 @@ pandas 0.11.0
- added the method ``select_column`` to select a single column from a table as a Series.
- deprecated the ``unique`` method, can be replicated by ``select_co... | closes #3283
| https://api.github.com/repos/pandas-dev/pandas/pulls/3286 | 2013-04-08T14:43:28Z | 2013-04-08T15:32:30Z | 2013-04-08T15:32:30Z | 2014-06-20T01:23:28Z |
ENH: Allow read_frame to use parameterized queries | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 0caf83838fb2d..3002f2f620f5e 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -22,6 +22,15 @@ def execute(sql, con, retry=True, cur=None, params=None):
----------
sql: string
Query to be executed
+ con: database connection instance
+ ... | Added params argument to read_frame that is passed directly to the
execute method. This allows users to use a parameterized query
rather than having to pre-format the SQL themselves.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3285 | 2013-04-08T14:38:43Z | 2013-04-08T16:54:21Z | 2013-04-08T16:54:20Z | 2013-04-08T16:54:29Z |
ENH: add to_series() method to Index and subclasses GH3275 | diff --git a/RELEASE.rst b/RELEASE.rst
index 46f7c832ae149..291f1f8bf0f33 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -49,6 +49,8 @@ pandas 0.11.0
- Added support for expression evaluation using the ``numexpr`` library
- Added ``convert=boolean`` to ``take`` routines to translate negative
indices to positi... | #3275
``` python
In [10]: df=mkdf(10,5,r_idx_nlevels=2)
In [11]: df.index
Out[11]:
MultiIndex
[R_l0_g0 R_l1_g0, R_l0_g1 R_l1_g1, R_l0_g2 R_l1_g2, R_l0_g3 R_l1_g3, R_l0_g4 R_l1_g4, R_l0_g5 R_l1_g5, R_l0_g6 R_l1_g6, R_l0_g7 R_l1_g7, R_l0_g8 R_l1_g8, R_l0_g9 R_l1_g9]
In [12]: # new method
...: df.index.t... | https://api.github.com/repos/pandas-dev/pandas/pulls/3280 | 2013-04-08T11:29:06Z | 2013-04-09T20:05:09Z | 2013-04-09T20:05:09Z | 2014-06-21T14:58:26Z |
API: raise TypeError out of GroupBy.agg | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index cb0a03d306c53..1954321e55a81 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -438,7 +438,7 @@ def _try_cast(self, result, obj):
dtype = obj.dtype
if _is_numeric_dtype(dtype):
-
+
... | Fixes #3238
| https://api.github.com/repos/pandas-dev/pandas/pulls/3277 | 2013-04-08T06:51:51Z | 2013-04-08T07:12:24Z | 2013-04-08T07:12:24Z | 2014-08-12T07:30:23Z |
WIP: add df.dgrep, df.neighbours | diff --git a/doc/source/v0.11.0.txt b/doc/source/v0.11.0.txt
index 9c0a6d5a421c7..5e272fcb1fa48 100644
--- a/doc/source/v0.11.0.txt
+++ b/doc/source/v0.11.0.txt
@@ -233,6 +233,12 @@ API changes
- In ``HDFStore``, deprecated the ``unique`` method, can be replicated by ``select_column(key,column).unique()``
+ - a... | #2460
partly fulfilles #3269, should be extended to an equivalent method on
index labels? (vectorized? numexpr?). Just experimenting with the API,
performance later (as much as possible with unindexed data).
- [x] need to add option to interpret multiple columns as a predicate expecting
a list of values correspondi... | https://api.github.com/repos/pandas-dev/pandas/pulls/3276 | 2013-04-08T05:25:49Z | 2013-07-22T20:05:13Z | null | 2014-07-22T00:40:26Z |
ENH: an example of a sandbox feature | diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py
index 70f3fb045376e..6a51ec731675c 100644
--- a/pandas/core/config_init.py
+++ b/pandas/core/config_init.py
@@ -238,3 +238,56 @@ def use_inf_as_null_cb(key):
with cf.config_prefix('mode'):
cf.register_option('use_inf_as_null', False, use_inf_as_... | Earlier today I suggested allowing "sandbox" features into releases,
to make it easier to get some more testing and feedback before
commiting something into core proper.
Here's an example of how I imaging this to work:
```
In [1]: pd.describe_option("sandbox")
sandbox.experimental_feature: [default: False] [currentl... | https://api.github.com/repos/pandas-dev/pandas/pulls/3274 | 2013-04-08T01:37:45Z | 2013-04-08T09:41:07Z | null | 2022-10-13T00:14:54Z |
CLN: delete sandbox/stats, that's all statsmodels now | diff --git a/pandas/sandbox/stats/__init__.py b/pandas/sandbox/stats/__init__.py
deleted file mode 100644
index e69de29bb2d1d..0000000000000
diff --git a/pandas/sandbox/stats/rls.py b/pandas/sandbox/stats/rls.py
deleted file mode 100644
index 51166500c484f..0000000000000
--- a/pandas/sandbox/stats/rls.py
+++ /dev/null
... | https://api.github.com/repos/pandas-dev/pandas/pulls/3273 | 2013-04-08T01:07:04Z | 2013-04-08T05:06:40Z | 2013-04-08T05:06:40Z | 2013-04-08T05:06:40Z | |
CLN: remove stale TODO.rst | diff --git a/TODO.rst b/TODO.rst
deleted file mode 100644
index fc87174fd63bd..0000000000000
--- a/TODO.rst
+++ /dev/null
@@ -1,63 +0,0 @@
-DOCS 0.7.0
-----------
-- ??? no sort in groupby
-- DONE concat with dict
-- Gotchas re: integer indexing
-
-DONE
-----
-- SparseSeries name integration + tests
-- Refactor Series.... | any sentimental value there?
| https://api.github.com/repos/pandas-dev/pandas/pulls/3271 | 2013-04-07T20:20:33Z | 2013-04-08T05:06:11Z | 2013-04-08T05:06:11Z | 2013-04-08T05:06:12Z |
ENH: Fix for #1512, added StataReader and StataWriter to pandas.io.parsers | diff --git a/RELEASE.rst b/RELEASE.rst
index 1f5bd2591470b..8a3ab284b26a6 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -33,6 +33,7 @@ pandas 0.11.1
- pd.read_html() can now parse HTML string, files or urls and return dataframes
courtesy of @cpcloud. (GH3477_)
- Support for reading Amazon S3 files. (GH3504_)... | This pull request aims at fixing ticket #1512 and contains both a reader and a writer for Stata .dta files.
The code basically comes from th statsmodels project, however, I adapted it to the needs of pandas and implemented support for reading out stata value labels. The writer does not write those labels back.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3270 | 2013-04-07T19:57:24Z | 2013-05-16T11:31:47Z | 2013-05-16T11:31:47Z | 2014-06-13T17:39:52Z |
DOC: fix docstring for date_parser option | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index 164422f7572bd..9b1be2a658a6a 100644
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -87,8 +87,9 @@ class DateConversionError(Exception):
If True and parse_dates specifies combining multiple columns then
keep the original columns.
date_pa... | Just a small doc string fix, hopefully trivial to merge.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3266 | 2013-04-07T13:34:50Z | 2013-04-08T23:54:20Z | 2013-04-08T23:54:20Z | 2014-06-21T21:02:26Z |
DOC: update boxplot/truncate #2916 | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 540fb1a721c3d..25e55f472b495 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -5619,7 +5619,12 @@ def boxplot(self, column=None, by=None, ax=None, fontsize=None,
Can be any valid input to groupby
by : string or sequence
... | https://api.github.com/repos/pandas-dev/pandas/pulls/3265 | 2013-04-07T03:25:05Z | 2013-04-07T03:39:59Z | null | 2013-04-07T03:39:59Z | |
ENH: update DataFrame to_latex for nicer typesetting | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 862b09f5e84e3..f18a449fb604b 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -347,6 +347,12 @@ def to_latex(self, force_unicode=None, column_format=None):
"""
Render a DataFrame to a LaTeX tabular environment output.
... | https://api.github.com/repos/pandas-dev/pandas/pulls/3264 | 2013-04-06T22:38:24Z | 2013-04-12T04:13:19Z | 2013-04-12T04:13:19Z | 2014-02-03T12:47:12Z | |
DOC: update scipy.py #2916 | diff --git a/pandas/compat/scipy.py b/pandas/compat/scipy.py
index aab8bd89c5af4..59a9bbdfbdb9e 100644
--- a/pandas/compat/scipy.py
+++ b/pandas/compat/scipy.py
@@ -30,13 +30,13 @@ def scoreatpercentile(a, per, limit=(), interpolation_method='fraction'):
limit : tuple, optional
Tuple of two scalars, the l... | renamed interpolation -> interpolation_method.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3262 | 2013-04-06T05:46:04Z | 2013-04-06T06:02:40Z | 2013-04-06T06:02:40Z | 2013-04-06T06:03:03Z |
ENH: In HDFStore, add select_column method, deprecate unique method | diff --git a/RELEASE.rst b/RELEASE.rst
index 87acddb74df8a..46f7c832ae149 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -163,6 +163,11 @@ pandas 0.11.0
when invalid shapes are passed
- Methods return None when inplace=True (GH1893_)
+ - ``HDFStore``
+
+ - added the method ``select_column`` to select a si... | https://api.github.com/repos/pandas-dev/pandas/pulls/3256 | 2013-04-04T11:49:15Z | 2013-04-04T12:11:15Z | 2013-04-04T12:11:15Z | 2014-06-15T00:21:31Z | |
BUG: honor repr() of proper subclasses of dict/ODict in pprint_thing | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 22fad2aed4e25..4231e9101e1ec 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -18,6 +18,7 @@
import pandas.tslib as tslib
from pandas.util import py3compat
+from pandas.util import compat
import codecs
import csv
@@ -763,7 +764,7 ... | #3251
Have to consider corner cases before merging, rebased on top of #3252
| https://api.github.com/repos/pandas-dev/pandas/pulls/3253 | 2013-04-03T19:58:42Z | 2013-12-22T20:33:37Z | null | 2014-06-22T16:48:52Z |
BUG: pprint_thing should pprint and limit nested sequences in dicts GH3251 | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 01b6dde7d1ecc..f4485cbf1154c 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1867,9 +1867,16 @@ def _pprint_dict(seq, _nest_lvl=0):
pairs = []
pfmt = u"%s: %s"
- for k, v in seq.items():
- pairs.append(pfmt % (repr... | #3251
**before**
``` python
pd.options.display.max_seq_items= 5
print pd.core.common.pprint_thing(dict(foo=range(100)))
foo = range(5)
foo[0] = foo
print pd.core.common.pprint_thing(dict(foo=foo))
{'foo': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30... | https://api.github.com/repos/pandas-dev/pandas/pulls/3252 | 2013-04-03T19:58:04Z | 2013-04-23T02:12:54Z | 2013-04-23T02:12:54Z | 2014-07-04T22:23:57Z |
BOOK: keep code examples in wes's book current, until the 2nd ed. | diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py
index 692f5cfb85890..70f3fb045376e 100644
--- a/pandas/core/config_init.py
+++ b/pandas/core/config_init.py
@@ -184,7 +184,7 @@ def mpl_style_cb(key):
cf.register_option('precision', 7, pc_precision_doc, validator=is_int)
cf.register_option(... | ;)
| https://api.github.com/repos/pandas-dev/pandas/pulls/3250 | 2013-04-03T15:15:24Z | 2013-04-03T15:15:46Z | 2013-04-03T15:15:46Z | 2013-04-03T15:15:46Z |
DOC: io.rst cleanups | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 28572ae14d15e..8440f6f566659 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -35,7 +35,7 @@ CSV & Text files
The two workhorse functions for reading text files (a.k.a. flat files) are
:func:`~pandas.io.parsers.read_csv` and :func:`~pandas.io.parsers.r... | @jreback, I read through this today and did some tweaks as
I went along. Could you look this over and merge if these changes
look ok to you?
| https://api.github.com/repos/pandas-dev/pandas/pulls/3248 | 2013-04-03T11:41:55Z | 2013-04-03T12:24:36Z | 2013-04-03T12:24:36Z | 2013-04-03T12:24:36Z |
BUG: setitem with list elements in the indexer broken | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 5230bf20e60b4..b6a9034593a94 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -215,9 +215,9 @@ def _align_frame(self, indexer, df):
ax = self.obj.axes[i]
if com._is_sequence(ix) or isinstance(ix, ... | ```
In [4]: df = DataFrame(np.arange(9).reshape((3, 3)),
index=["A", "B", "C"], columns=["A", "B", "C"])
In [5]: df.iloc[[0,1],[1,2]] += 100
In [6]: df.iloc[[0,1],[1,2]]
Out[6]:
B C
A 101 102
B 104 105
In [7]: df
Out[7]:
A B C
A 0 101 102
B 3 104 105
C 6 7 8
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/3246 | 2013-04-02T21:25:16Z | 2013-04-02T22:03:03Z | 2013-04-02T22:03:03Z | 2014-06-13T20:33:26Z |
BUG: GH3243 accept list of DataFrames as constructor input | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 7a78539c10a98..e016d6f7ef3fc 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1028,7 +1028,7 @@ def _possibly_convert_platform(values):
if isinstance(values, (list,tuple)):
values = lib.list_to_object_array(values)
- i... | closes #3243
| https://api.github.com/repos/pandas-dev/pandas/pulls/3245 | 2013-04-02T20:35:16Z | 2013-04-03T14:35:43Z | 2013-04-03T14:35:43Z | 2013-04-03T14:35:43Z |
ENH: support top-level read/write API for HDFStore using read_hdf/to_hdf | diff --git a/RELEASE.rst b/RELEASE.rst
index f870932aa0936..a4ccf64223da8 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -77,6 +77,7 @@ pandas 0.11.0
- New keywords ``iterator=boolean``, and ``chunksize=number_in_a_chunk``
are provided to support iteration on ``select`` and
``select_as_multiple`` (GH3... | closes #3222
| https://api.github.com/repos/pandas-dev/pandas/pulls/3244 | 2013-04-02T19:09:01Z | 2013-04-02T19:30:18Z | 2013-04-02T19:30:18Z | 2014-07-02T22:43:16Z |
ENH: groupby().apply(f) accepts combine=0 arg, to return results unmolested #3241 | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index cb0a03d306c53..63946feb02575 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -287,7 +287,7 @@ def apply(self, func, *args, **kwargs):
"""
Apply function and combine results together in an intelligent way. The
... | #3241
Right now:
``` python
In [16]: df=mkdf(10,2,data_gen_f=lambda x,y: randint(1,10))
...: df
...:
...:
...:
Out[16]:
C0 C_l0_g0 C_l0_g1
R0
R_l0_g0 9 1
R_l0_g1 3 7
R_l0_g2 8 1
R_l0_g3 4 3
R_l0_g4 5 ... | https://api.github.com/repos/pandas-dev/pandas/pulls/3242 | 2013-04-02T17:42:34Z | 2014-01-26T21:32:08Z | null | 2014-06-18T13:12:19Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.