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 |
|---|---|---|---|---|---|---|---|
PERF: improved performance of multiindex slicing | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 168fd803c5f8a..65b5266380d96 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -63,6 +63,8 @@ Performance Improvements
- 4x improvement in ``timedelta`` string parsing (:issue:`6755`)
- 8x improv... | closes #10287
master
```
In [22]: %timeit mdt2.loc[idx[test_A-eps_A:test_A+eps_A],:].loc[idx[:,test_B-eps_B:test_B+eps_B],:].loc[idx[:,:,test_C-eps_C:test_C+eps_C],:].loc[idx[:,:,:,test_D-eps_D:test_D+eps_D],:]
10 loops, best of 3: 141 ms per loop
In [23]: %timeit mdt2.loc[idx[test_A-eps_A:test_A+eps_A,test_B-eps_B... | https://api.github.com/repos/pandas-dev/pandas/pulls/10290 | 2015-06-05T19:16:08Z | 2015-06-24T20:59:59Z | 2015-06-24T20:59:59Z | 2015-06-24T20:59:59Z |
Update v0.16.2.txt | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index a0e1577137e0a..78fa8aac13395 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -39,7 +39,9 @@ Backwards incompatible API changes
Other API Changes
^^^^^^^^^^^^^^^^^
-- ``Holiday`` now raises ``No... | Added description of Pull Request 9544
| https://api.github.com/repos/pandas-dev/pandas/pulls/10286 | 2015-06-05T09:04:00Z | 2015-06-05T09:16:00Z | null | 2023-05-11T01:13:01Z |
BUG: DataFrame.where does not handle Series slice correctly (#10218) | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index d30b7875e44b7..c1c8f619d3166 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -785,3 +785,4 @@ Bug Fixes
- Bug in ``read_msgpack`` where encoding is not respected (:issue:`10580`)
- Bug preventing... | closes #10218
| https://api.github.com/repos/pandas-dev/pandas/pulls/10283 | 2015-06-05T03:00:16Z | 2015-08-26T01:41:14Z | 2015-08-26T01:41:14Z | 2015-08-30T18:08:39Z |
Update holiday.py to reflect that MLK Jr. Day was first observed in 1986. | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 18c39ccf820eb..edaf0840682f8 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -587,8 +587,6 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
-
-
- Bug in ``DataFrame.to_html(index=False)`` rende... | closes #9760
Fixing MLK day not observed before 1986, per https://github.com/pydata/pandas/issues/10278#issuecomment-109002244
| https://api.github.com/repos/pandas-dev/pandas/pulls/10282 | 2015-06-04T20:34:51Z | 2015-08-18T11:09:17Z | null | 2015-08-18T16:58:13Z |
PERF/CLN: Improve datetime-like index ops perf | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index c1b7ff82f4c76..6db2cb409df85 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -139,6 +139,8 @@ Performance Improvements
- Improved performance of ``andrews_curves`` (:issue:`11534`)
+- Improved... | Add `_isnan` to `DatetimeIndexOpsMixin` to cache `NaT` mask.
This leads to some perf improvement which is noticeable in larger data.
### after fix
```
import pandas as pd
import numpy as np
np.random.seed(1)
idx = pd.DatetimeIndex(np.append(np.array([pd.tslib.iNaT]),
np.random.randint(500, 10... | https://api.github.com/repos/pandas-dev/pandas/pulls/10277 | 2015-06-04T15:19:00Z | 2015-12-10T12:22:48Z | 2015-12-10T12:22:48Z | 2022-10-13T00:16:35Z |
TST: Check series names | diff --git a/pandas/computation/tests/test_eval.py b/pandas/computation/tests/test_eval.py
index 0c07dc5c214b4..8f82e2eaea711 100644
--- a/pandas/computation/tests/test_eval.py
+++ b/pandas/computation/tests/test_eval.py
@@ -1207,7 +1207,9 @@ def f():
a = 1
old_a = df.a.copy()
df.... | Related to #9972. Made `assert_series_equal` to check name attribute.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10276 | 2015-06-04T15:16:12Z | 2015-06-05T22:16:57Z | 2015-06-05T22:16:57Z | 2015-06-05T22:48:55Z |
Fix meantim typo | diff --git a/ci/build_docs.sh b/ci/build_docs.sh
index ad41373f6dd3f..8670ea61dbec2 100755
--- a/ci/build_docs.sh
+++ b/ci/build_docs.sh
@@ -14,7 +14,7 @@ fi
if [ x"$DOC_BUILD" != x"" ]; then
- # we're running network tests, let's build the docs in the meantim
+ # we're running network tests, let's build the... | https://api.github.com/repos/pandas-dev/pandas/pulls/10275 | 2015-06-04T14:43:50Z | 2015-06-04T14:49:25Z | 2015-06-04T14:49:25Z | 2015-06-04T14:50:01Z | |
BUG: Unhandled ValueError when Bigquery called through io.gbq returns zero rows #10273 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 1079ec52338b9..bd4e02a7617f7 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -678,3 +678,4 @@ Bug Fixes
- Bug in ``iloc`` allowing memory outside bounds of a Series to be accessed with negative in... | closes #10273
| https://api.github.com/repos/pandas-dev/pandas/pulls/10274 | 2015-06-04T14:30:17Z | 2015-08-29T00:08:16Z | null | 2015-09-02T10:41:49Z |
BUG: bug in cache updating when consolidating #10264 | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index ddfe6fa0b2f74..72fba51797783 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -59,6 +59,9 @@ Bug Fixes
- Bug in ``Categorical`` repr with ``display.width`` of ``None`` in Python 3 (:issue:`10087`)
... | closes #10264
| https://api.github.com/repos/pandas-dev/pandas/pulls/10272 | 2015-06-04T12:10:26Z | 2015-06-05T21:41:05Z | 2015-06-05T21:41:05Z | 2015-06-05T21:41:05Z |
PERF: write basic datetimes faster | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index f1c5b0c854055..1430fa1a309be 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -47,6 +47,7 @@ Performance Improvements
~~~~~~~~~~~~~~~~~~~~~~~~
- Improved ``Series.resample`` performance with dty... | with PR
```
In [2]: df = DataFrame({'A' : pd.date_range('20130101',periods=100000,freq='s')})
In [3]: %timeit df.to_csv('test.csv',mode='w')
1 loops, best of 3: 282 ms per loop
```
0.16.1
```
In [2]: %timeit df.to_csv('test.csv',mode='w')
1 loops, best of 3: 352 ms per loop
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/10271 | 2015-06-04T12:08:35Z | 2015-06-04T13:27:51Z | 2015-06-04T13:27:51Z | 2015-06-04T13:27:51Z |
TST: fix for bottleneck >= 1.0 nansum behavior, xref #9422 | diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py
index 0df160618b7c3..c64c50f791edf 100644
--- a/pandas/core/nanops.py
+++ b/pandas/core/nanops.py
@@ -16,7 +16,7 @@
ensure_float, _ensure_float64,
_ensure_int64, _ensure_object,
... | https://api.github.com/repos/pandas-dev/pandas/pulls/10270 | 2015-06-04T10:57:29Z | 2015-06-04T12:06:05Z | 2015-06-04T12:06:05Z | 2015-06-04T12:06:05Z | |
BUG: GH10160 in DataFrame construction from dict with datetime64 index | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index e9ecdd60d7eed..62030b276523c 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -160,4 +160,10 @@ Bug Fixes
- Bug where infer_freq infers timerule (WOM-5XXX) unsupported by to_offset (:issue:`9425`)
... | closes #10160
closes #9456
where `DataFrame/Series` construction from nested `dict` with `datetime64` index returns a `DataFrame\Series` of `NaN`s.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10269 | 2015-06-04T04:06:49Z | 2015-06-10T20:01:04Z | null | 2015-06-10T20:01:05Z |
ENH: allow as_blocks to take a copy argument (#9607) | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index d6c7d87bb25b1..30ce072c32caa 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2290,7 +2290,7 @@ def ftypes(self):
return Series(self._data.get_ftypes(), index=self._info_axis,
dtype=np.object_)
- ... | closes #9607
Added copy argument in as_blocks. Defaults to True as per the original code.
Wrote test cases to check the copy=True and copy=False cases work.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10268 | 2015-06-04T03:36:08Z | 2015-06-26T23:27:14Z | null | 2015-06-26T23:29:38Z |
BUG: GH10160 DataFrame construction from nested dict | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index f96a2954f98a2..4b5cfabfdedd4 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -95,3 +95,5 @@ Bug Fixes
- Bug where infer_freq infers timerule (WOM-5XXX) unsupported by to_offset (:issue:`9425`)
... | This is to fix #10160, where `DataFrame` construction from nested `dict` with `datetime64` index returns a `DataFrame` of `NaN`s or `None`s.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10267 | 2015-06-04T02:40:26Z | 2015-06-04T02:52:25Z | null | 2015-06-04T02:52:25Z |
ENH: Initial pass at implementing DataFrame.asof, GH 2941 | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index c2a705ea12608..f47f20b631a25 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -34,7 +34,7 @@
from pandas.core.indexing import (maybe_droplevels,
convert_to_index_sliceable,
... | Fixes #2941
This can almost certainly be made quicker, still digging into the
internals to understand the various underlying indexers.
There are 4 distinct logics you can apply to how to deal with the
missings (as opposed to the Series asof, wheres theres just two,
either skipna or dont skipna). The default is to b... | https://api.github.com/repos/pandas-dev/pandas/pulls/10266 | 2015-06-04T02:37:01Z | 2015-06-12T22:23:59Z | null | 2015-06-12T23:39:57Z |
BUG: Ensure 'coerce' actually coerces datatypes | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 349e7e25fdafb..f739d89295ac1 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1522,23 +1522,31 @@ then the more *general* one will be used as the result of the operation.
object conversion
~~~~~~~~~~~~~~~~~
-:meth:`~DataFrame.convert... | Changes behavior of convert objects so that passing 'coerce' will
ensure that data of the correct type is returned, even if all
values are null-types (NaN or NaT).
closes #9589
| https://api.github.com/repos/pandas-dev/pandas/pulls/10265 | 2015-06-03T21:53:02Z | 2015-07-14T12:47:25Z | 2015-07-14T12:47:25Z | 2015-07-15T21:14:39Z |
BUG: Should allow numeric mysql table/column names | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index ddfe6fa0b2f74..c1bf3b9252428 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -88,3 +88,5 @@ Bug Fixes
- Bug where infer_freq infers timerule (WOM-5XXX) unsupported by to_offset (:issue:`9425`)
... | Closes #10255 , alternative to #10262 .
| https://api.github.com/repos/pandas-dev/pandas/pulls/10263 | 2015-06-03T20:57:06Z | 2015-06-05T09:11:25Z | 2015-06-05T09:11:25Z | 2015-06-05T09:11:32Z |
TST: test_sql: properly drop tables with names that need to be quoted | diff --git a/pandas/io/tests/test_sql.py b/pandas/io/tests/test_sql.py
index ba951c7cb513d..d95babff2653b 100644
--- a/pandas/io/tests/test_sql.py
+++ b/pandas/io/tests/test_sql.py
@@ -165,15 +165,64 @@
}
+class MixInBase(object):
+ def tearDown(self):
+ for tbl in self._get_all_tables():
+ se... | Closes #10255 .
Rewrote some of the code in `test_sql.py` so that it now properly drops tables with names that need to be quoted.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10262 | 2015-06-03T19:38:14Z | 2015-07-10T23:17:52Z | 2015-07-10T23:17:52Z | 2015-07-10T23:17:58Z |
BUG: SparseSeries constructor ignores input data name | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index b571aab0b19a5..8e30e90087bcb 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -80,6 +80,6 @@ Bug Fixes
- Bug in GroupBy.get_group raises ValueError when group key contains NaT (:issue:`6992`)
-... | When constructing `Series` from `Series`, name attribute is preserved otherwise specified.
```
import pandas as pd
s = pd.Series([1, 2, 3], name='a')
pd.Series(s)
#0 1
#1 2
#2 3
# Name: a, dtype: int64
pd.Series(s, name='x')
#0 1
#1 2
#2 3
# Name: x, dtype: int64
```
But `SparseSeries` doesn't pres... | https://api.github.com/repos/pandas-dev/pandas/pulls/10258 | 2015-06-03T12:07:26Z | 2015-06-03T21:21:22Z | 2015-06-03T21:21:22Z | 2015-06-04T13:16:14Z |
add numba example to enhancingperf.rst | diff --git a/doc/source/enhancingperf.rst b/doc/source/enhancingperf.rst
index d007446a5b922..54fd0a2131861 100644
--- a/doc/source/enhancingperf.rst
+++ b/doc/source/enhancingperf.rst
@@ -7,7 +7,7 @@
import os
import csv
- from pandas import DataFrame
+ from pandas import DataFrame, Series
import pan... | 
| https://api.github.com/repos/pandas-dev/pandas/pulls/10257 | 2015-06-03T11:57:09Z | 2015-06-03T19:10:10Z | 2015-06-03T19:10:10Z | 2015-06-03T19:10:23Z |
ENH: Add pipe method | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index d16feb3a6c448..349e7e25fdafb 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -624,6 +624,77 @@ We can also pass infinite values to define the bins:
Function application
--------------------
+To apply your own or another library's fun... | Closes https://github.com/pydata/pandas/issues/10129
In the dev meeting, we settled on the following:
- `.pipe` will **not** include a check for `__pipe_func__` on the function passed in.
- To avoid messiness with lambdas when a function takes the DataFrame other than in the first position, users can pass in a `(calla... | https://api.github.com/repos/pandas-dev/pandas/pulls/10253 | 2015-06-03T02:26:03Z | 2015-06-06T03:14:27Z | 2015-06-06T03:14:27Z | 2015-08-19T17:19:06Z |
REGR: ensure passed binlabels to pd.cut have a compat dtype on output (#10140) | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index c9e18b585c764..54e35a489d6ba 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -792,6 +792,8 @@ excluded. So there will never be an "NA group" or "NaT group". This was not the
versions of pandas, but users were generally discarding th... | From the original issue, closes #10140
```
In [1]: df = pd.DataFrame()
In [2]: df['x'] = 100 * np.random.random(100)
In [3]: df['y'] = df.x**2
In [4]: binedges = np.arange(0,110,10)
In [5]: binlabels = np.arange(5,105,10)
```
This now yields an `Int64Index`
```
In [6]: df.groupby(pd.cut(df.x,bins=binedges ,labe... | https://api.github.com/repos/pandas-dev/pandas/pulls/10252 | 2015-06-02T22:33:49Z | 2015-06-20T12:47:00Z | null | 2015-06-20T12:47:00Z |
ENH: make sure return dtypes for nan funcs are consistent | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index ddfe6fa0b2f74..c59f2317431d5 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -57,7 +57,7 @@ Bug Fixes
- Bug where read_hdf store.select modifies the passed columns list when
multi-indexed (:iss... | this is a follow-up to https://github.com/pydata/pandas/pull/10172
In addition to `mean()`, this PR also makes sure the returned dtype is consistent for `std()`, `var()`, `skew()`, and `kurt()`
| https://api.github.com/repos/pandas-dev/pandas/pulls/10251 | 2015-06-02T17:32:47Z | 2015-06-05T21:28:59Z | 2015-06-05T21:28:59Z | 2015-06-05T21:29:03Z |
ENH: Conditional HTML Formatting | diff --git a/ci/requirements-2.6.run b/ci/requirements-2.6.run
index 5f8a2fde1409f..32d71beb24388 100644
--- a/ci/requirements-2.6.run
+++ b/ci/requirements-2.6.run
@@ -14,3 +14,4 @@ psycopg2=2.5.1
pymysql=0.6.0
sqlalchemy=0.7.8
xlsxwriter=0.4.6
+jinja2=2.8
diff --git a/ci/requirements-2.7.run b/ci/requirements-2.7.... | closes https://github.com/pydata/pandas/issues/3190
closes #4315
Not close to being done, but I wanted to put this here before the meeting. Maybe someone will have a chance to check it out.
~~http://nbviewer.ipython.org/github/TomAugspurger/pandas/blob/638bd3e361633a4c446ee02534e07b8a9332258a/style.ipynb~~
~~https:/... | https://api.github.com/repos/pandas-dev/pandas/pulls/10250 | 2015-06-02T12:41:28Z | 2015-11-16T00:02:02Z | 2015-11-16T00:02:02Z | 2020-06-24T18:30:57Z |
Datetime resolution coercion | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index 9421ab0f841ac..2479e8aac8fd6 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -152,3 +152,4 @@ Bug Fixes
- Bug to handle masking empty ``DataFrame``(:issue:`10126`)
- Bug where MySQL interface c... | Fixes #10245
Without this fix, if the `date_parse` function passed to e.g. `read_csv` outputs a `np.datetime64` array, then it must be of `ns` resolution. With this fix, all time resolutions may be used.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10249 | 2015-06-02T12:00:16Z | 2015-06-08T13:28:39Z | 2015-06-08T13:28:39Z | 2015-06-08T13:50:57Z |
Added link to aggregation and plotting time series | diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst
index f69f926296020..49ff987ca3549 100644
--- a/doc/source/cookbook.rst
+++ b/doc/source/cookbook.rst
@@ -745,6 +745,9 @@ Timeseries
`Vectorized Lookup
<http://stackoverflow.com/questions/13893227/vectorized-look-up-of-values-in-pandas-dataframe>`__
+`A... | https://api.github.com/repos/pandas-dev/pandas/pulls/10248 | 2015-06-02T09:52:26Z | 2015-07-28T21:59:19Z | 2015-07-28T21:59:19Z | 2015-07-28T21:59:23Z | |
BUG: GH10209 fix bug where date_format in to_csv is sometimes ignored | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index f96a2954f98a2..3d27e840232f7 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -95,3 +95,7 @@ Bug Fixes
- Bug where infer_freq infers timerule (WOM-5XXX) unsupported by to_offset (:issue:`9425`)
... | closes #10209
When datetimes are not dates only i.e. have fractional day values, date_format passed to to_csv is ignored.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10247 | 2015-06-02T06:13:50Z | 2015-06-05T21:45:43Z | null | 2015-06-05T21:45:43Z |
ENH: GH9746 DataFrame.unstack and Series.unstack now take fill_value … | diff --git a/doc/source/reshaping.rst b/doc/source/reshaping.rst
index dbf3b838593a9..f3990faec9e1a 100644
--- a/doc/source/reshaping.rst
+++ b/doc/source/reshaping.rst
@@ -228,6 +228,27 @@ which level in the columns to stack:
df2.stack('exp')
df2.stack('animal')
+Unstacking can result in missing values if su... | …kw for filling NaN when unstack results in a sparse DataFrame
closes #9746
| https://api.github.com/repos/pandas-dev/pandas/pulls/10246 | 2015-06-01T19:36:24Z | 2016-01-30T19:27:56Z | null | 2016-01-30T19:29:48Z |
wide table support | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index 8ef6363f836ae..80037f0b891ef 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -11,7 +11,8 @@
import itertools
import warnings
import os
-
+from six import string_types
+from tables.exceptions import NoSuchNodeError
import numpy as np
... | addresses #6245
@jreback this isn't quite working yet for older arrays - the reason is because I have to address values_block_kind_0 and things like that. Currently what I'm doing is creating a group under `self.group` of the Table class, named 'attr', which has all the attributes as CArrays. However the issue is t... | https://api.github.com/repos/pandas-dev/pandas/pulls/10243 | 2015-05-31T14:55:02Z | 2015-11-25T15:44:00Z | null | 2015-12-07T17:40:51Z |
BUG: SparseSeries.abs() resets name | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 9b87c6c1332ab..dd151682339e1 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -83,7 +83,7 @@ Bug Fixes
- Bug in `plot` not defaulting to matplotlib `axes.grid` setting (:issue:`9792`)
- Bug in `... | ```
# OK: name is preserved
s = pd.Series([1, 2, -3], name='a')
s.abs()
#0 1
#1 2
#2 3
# Name: a, dtype: int64
# NG: name is reset
s = pd.SparseSeries([1, 0, -3], name='a')
s.name
# 'a'
s.abs()
#0 1
#1 0
#2 3
# dtype: int64
# BlockIndex
# Block locations: array([0], dtype=int32)
# Block lengths: arr... | https://api.github.com/repos/pandas-dev/pandas/pulls/10241 | 2015-05-30T21:47:52Z | 2015-06-02T10:39:04Z | 2015-06-02T10:39:04Z | 2015-06-02T19:26:12Z |
BUG: Series arithmetic methods incorrectly hold name | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 9b87c6c1332ab..842d7cf84e05a 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -73,7 +73,7 @@ Bug Fixes
- Bug in getting timezone data with ``dateutil`` on various platforms ( :issue:`9059`, :issue:... | Closes #10068.
Should handle the case `_maybe_match_name` is `None`, because of continuous `__finalize__`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10240 | 2015-05-30T21:14:49Z | 2015-06-02T10:38:48Z | 2015-06-02T10:38:48Z | 2015-06-02T19:26:12Z |
ENH: duplicated and drop_duplicates now accept keep kw | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 9f58ee2f8b99b..251d94cbdd911 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -1178,8 +1178,7 @@ takes as an argument the columns to use to identify duplicated rows.
- ``drop_duplicates`` removes duplicate rows.
By default, th... | Closes #6511, Closes #8505.
Introduce `keep` kw to handle first / last / all duplicates based on the discussion above. If there is better API/kw, please lmk.
### `duplicated`
- `keep='first'` (default): mark duplicates as `True` except for the first occurrence.
- `keep='last'`: mark duplicates as `True` except for the... | https://api.github.com/repos/pandas-dev/pandas/pulls/10236 | 2015-05-30T13:00:05Z | 2015-08-08T19:46:01Z | 2015-08-08T19:46:01Z | 2024-03-23T16:32:22Z |
BUG: plotting grouped_hist with a single row frame #10214 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index a7917e81f7057..bda9b57cb5cdf 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -59,7 +59,7 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
-
+- Bug where ``hist`` raises an error when a one row S... | Should closes https://github.com/pydata/pandas/issues/10214
| https://api.github.com/repos/pandas-dev/pandas/pulls/10233 | 2015-05-29T17:09:10Z | 2015-06-07T06:12:25Z | null | 2015-06-07T06:12:25Z |
Fix undesired UX behavior of DataFrame output in IPython Notebook | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index b571aab0b19a5..800a5c71ebabb 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -25,6 +25,8 @@ New features
Other enhancements
^^^^^^^^^^^^^^^^^^
+- Removed duplicate scroll bars in DataFrame HTML... | Closes #10231
| https://api.github.com/repos/pandas-dev/pandas/pulls/10232 | 2015-05-29T17:09:03Z | 2015-06-11T15:39:21Z | null | 2015-08-03T12:33:05Z |
Close mysql connection in TestXMySQL to prevent tests freezing | diff --git a/pandas/io/tests/test_sql.py b/pandas/io/tests/test_sql.py
index fa7debeb228ce..9576f80696350 100644
--- a/pandas/io/tests/test_sql.py
+++ b/pandas/io/tests/test_sql.py
@@ -2195,6 +2195,13 @@ def setUp(self):
"[pandas] in your system's mysql default file, "
"typically locat... | The unit tests freeze on my machine without this change because you can't drop a table until other connections that are using that table disconnect.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10230 | 2015-05-29T09:14:01Z | 2015-05-29T12:21:07Z | 2015-05-29T12:21:07Z | 2015-06-02T19:26:12Z |
CLN: Remove redundant self.unique_check and self._do_unique_check | diff --git a/pandas/index.pyx b/pandas/index.pyx
index 9be7e7404f3fe..fea549eeece76 100644
--- a/pandas/index.pyx
+++ b/pandas/index.pyx
@@ -78,7 +78,7 @@ cdef class IndexEngine:
cdef:
bint unique, monotonic_inc, monotonic_dec
- bint initialized, monotonic_check, unique_check
+ bint initia... | New version of https://github.com/pydata/pandas/pull/10139 , which now completely removes unused attribute and method, avoiding a couple of useless checks.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10229 | 2015-05-29T08:39:44Z | 2015-08-15T23:56:31Z | null | 2017-11-23T16:23:55Z |
BUG: Holiday(..) with both offset and observance raises | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index a7917e81f7057..c539c907f0a26 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -38,6 +38,8 @@ Backwards incompatible API changes
Other API Changes
^^^^^^^^^^^^^^^^^
+- ``Holiday`` now raises NotI... | Resolves #10217
Doesn't fix the underlying issue yet, but at least raises on the unsupported behavior.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10226 | 2015-05-29T01:16:42Z | 2015-06-01T11:04:48Z | null | 2015-06-02T19:26:12Z |
Fix float formatting edge case | diff --git a/pandas/core/index.py b/pandas/core/index.py
index 2bd96fcec2e42..c3e8bb79d5607 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -1222,11 +1222,7 @@ def to_native_types(self, slicer=None, **kwargs):
def _format_native_types(self, na_rep='', quoting=None, **kwargs):
""" actually ... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/10225 | 2015-05-28T21:00:20Z | 2015-10-11T16:05:47Z | null | 2023-05-11T01:12:59Z |
Update plotting.py | diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py
index 76685e2589012..dfd6191e5ef1e 100644
--- a/pandas/tools/plotting.py
+++ b/pandas/tools/plotting.py
@@ -2846,8 +2846,9 @@ def hist_series(self, by=None, ax=None, grid=True, xlabelsize=None,
xlabelsize=xlabelsize, xrot=xrot... | Should fix https://github.com/pydata/pandas/issues/10214#issuecomment-106091734
| https://api.github.com/repos/pandas-dev/pandas/pulls/10220 | 2015-05-28T16:39:33Z | 2015-05-29T17:10:25Z | null | 2023-05-11T01:12:59Z |
add try / except to address issue #10154 to_datetime, Inconsistent be… | diff --git a/ci/requirements-2.7.txt b/ci/requirements-2.7.txt
index 0d515f300f5a7..951c8798bef15 100644
--- a/ci/requirements-2.7.txt
+++ b/ci/requirements-2.7.txt
@@ -17,7 +17,7 @@ boto=2.36.0
bottleneck=0.8.0
psycopg2=2.5.2
patsy
-pymysql=0.6.1
+pymysql=0.6.3
html5lib=1.0b2
beautiful-soup=4.2.1
httplib2=0.8
di... | closes #10154 to_datetime, Inconsistent behavior with invalid dates.
results are now
```
In [2]: pd.to_datetime('2015-02-29', format="%Y-%m-%d", coerce=True)
Out[2]: NaT
In [3]: pd.to_datetime('2015-03-32', format="%Y-%m-%d", coerce=True)
Out[3]: NaT
In [4]: pd.to_datetime('2015-02-32', format="%Y-%m-%d", coerce=Tr... | https://api.github.com/repos/pandas-dev/pandas/pulls/10216 | 2015-05-27T13:04:55Z | 2015-07-06T17:41:14Z | null | 2015-07-06T17:41:14Z |
BUG: plot doesnt default to matplotlib axes.grid setting (#9792) | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index d7955d7210ade..a7917e81f7057 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -76,5 +76,6 @@ Bug Fixes
- Bug in ``DatetimeIndex`` and ``TimedeltaIndex`` names are lost after timedelta arithmetics (... | Closes #9792 .
| https://api.github.com/repos/pandas-dev/pandas/pulls/10212 | 2015-05-26T23:08:37Z | 2015-05-27T02:48:47Z | 2015-05-27T02:48:47Z | 2015-06-02T19:26:12Z |
ENH: less verbose merging on index | diff --git a/pandas/tools/merge.py b/pandas/tools/merge.py
index c7c578232cd0f..15e7f1f2e8e0e 100644
--- a/pandas/tools/merge.py
+++ b/pandas/tools/merge.py
@@ -166,6 +166,11 @@ def __init__(self, left, right, how='inner', on=None,
self.how = how
self.axis = axis
+ if on is Index:
+ ... | This is a proposal for a simple API enhancement that would make merging on indices much more convenient. I've put in an initial commit to show the change needed in the library. Here's the old way of merging on indices:
``` python
In [1]: from pandas import Index, DataFrame, merge
In [2]: df1 = DataFrame({'data1':[0, ... | https://api.github.com/repos/pandas-dev/pandas/pulls/10211 | 2015-05-26T20:04:53Z | 2015-07-28T22:04:14Z | null | 2015-07-28T22:04:14Z |
Update bq link | diff --git a/README.md b/README.md
index c76fbe7df9e6b..8623ee170d154 100644
--- a/README.md
+++ b/README.md
@@ -123,7 +123,7 @@ conda install pandas
- xlrd >= 0.9.0
- [XlsxWriter](https://pypi.python.org/pypi/XlsxWriter)
- Alternative Excel writer.
-- [Google bq Command Line Tool](https://developers.goo... | https://api.github.com/repos/pandas-dev/pandas/pulls/10210 | 2015-05-26T16:32:54Z | 2015-05-26T17:28:24Z | 2015-05-26T17:28:24Z | 2015-05-26T17:28:26Z | |
DOC: Added nlargest/nsmallest to API docs | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 3b2e8b65768bb..f5ba03afc9f19 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -358,6 +358,8 @@ Computations / Descriptive Stats
Series.median
Series.min
Series.mode
+ Series.nlargest
+ Series.nsmallest
Series.pct_change
Series... | Fixes #10145
| https://api.github.com/repos/pandas-dev/pandas/pulls/10206 | 2015-05-25T18:00:24Z | 2015-05-26T10:32:56Z | 2015-05-26T10:32:56Z | 2015-06-02T19:26:12Z |
Issue #10174. Add 'interpolation' keyword in DataFrame.quantile and Series.quantile | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index d78065765b90b..498cfaf838320 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -111,6 +111,7 @@ Other enhancements
- ``sys.getsizeof(obj)`` returns the memory usage of a pandas object, including the... | Closes #10174.
I have added the new argument to the doc too.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10204 | 2015-05-24T23:06:36Z | 2016-01-07T00:20:49Z | null | 2016-09-18T20:42:20Z |
DOC: Updated to mention axis='index' and axis='columns | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index ed01323eb9a27..f36108262432d 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2745,7 +2745,7 @@ def dropna(self, axis=0, how='any', thresh=None, subset=None,
Parameters
----------
- axis : {0, 1}, or tuple/list the... | Updated docs throughout DataFrame methods to mention
that axis can be set to 'index' or 'column' instead of 0 or 1
which improves readability significantly.
Fixes #9658
| https://api.github.com/repos/pandas-dev/pandas/pulls/10202 | 2015-05-23T13:20:21Z | 2015-05-25T14:17:18Z | 2015-05-25T14:17:18Z | 2015-06-02T19:26:12Z |
DOC: minor doc fix for Series.append; indices can overlap | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 8ef9adb1d24a4..6367fb4fe0396 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1442,7 +1442,7 @@ def searchsorted(self, v, side='left', sorter=None):
def append(self, to_append, verify_integrity=False):
"""
- Concat... | Old docstring seemed to be incorrect; overlapping indices are supported e.g.
``` python
>>> import pandas as pd
>>> x = pd.Series(['A', 'B', 'C'])
>>> y = pd.Series(['D', 'E', 'F'])
>>> x.append(y)
0 A
1 B
2 C
0 D
1 E
2 F
dtype: object
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/10200 | 2015-05-22T20:57:41Z | 2015-05-25T11:29:35Z | 2015-05-25T11:29:35Z | 2015-06-02T19:26:12Z |
PERF: releasing the GIL, #8882 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 2b02c4ed93a0d..9f7779c6fee8c 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -13,6 +13,7 @@ users upgrade to this version.
Highlights include:
+ - Release the Global Interpreter Lock (GIL) on... | closes #8882
closes #10139
This is now implemented for all groupbys with the factorization part as well (which is actually a big part fo the time)
```
In [2]: N = 1000000
In [3]: ngroups = 1000
In [4]: np.random.seed(1234)
In [5]: df = DataFrame({'key' : np.random.randint(0,ngroups,size=N),
...: ... | https://api.github.com/repos/pandas-dev/pandas/pulls/10199 | 2015-05-22T20:19:47Z | 2015-06-30T10:55:04Z | 2015-06-30T10:55:03Z | 2015-06-30T16:58:13Z |
BUG: Raise TypeError only if key DataFrame is not empty #10126 | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index b571aab0b19a5..b409ea89a8032 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -83,3 +83,5 @@ Bug Fixes
- Bug where infer_freq infers timerule (WOM-5XXX) unsupported by to_offset (:issue:`9425`)... | Proposed fix for #10126
| https://api.github.com/repos/pandas-dev/pandas/pulls/10196 | 2015-05-22T10:46:45Z | 2015-06-03T19:02:45Z | 2015-06-03T19:02:45Z | 2015-06-04T11:17:25Z |
BUG: Check for size != 0 before trying to insert #10193 | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index b747f0a2ceacb..0deef1b7cd3b7 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1286,23 +1286,25 @@ def _check_setitem_copy(self, stacklevel=4, t='setting', force=False):
elif t == 'referant':
t = ("\n"
... | Proposed fix for #10193
| https://api.github.com/repos/pandas-dev/pandas/pulls/10194 | 2015-05-22T09:59:41Z | 2015-06-18T12:56:00Z | null | 2015-06-18T12:56:00Z |
DOC/CLN: period_range kwarg descriptions missing and other minor doc … | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index 4b7d8b9796f01..ffc3e6a08221c 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -187,7 +187,7 @@ class Grouper(object):
Examples
--------
- >>> df.groupby(Grouper(key='A')) : syntatic sugar for df.groupby('A')
+ >>> df... | …fixes
| https://api.github.com/repos/pandas-dev/pandas/pulls/10189 | 2015-05-21T18:13:28Z | 2015-05-23T06:40:55Z | 2015-05-23T06:40:55Z | 2015-06-02T19:26:12Z |
BUG: Adding empty dataframes should result in empty blocks #10181 | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index 3665948d15271..48fce87f5088d 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -41,6 +41,8 @@ Other API Changes
- ``Holiday`` now raises ``NotImplementedError`` if both ``offset`` and ``observance... | Fixes #10181
I added a couple of lines to the dataframe test `test_operators` to assert that adding two empty dataframes returns a dataframe that is equal (both using `assert_frame_equal` as well as `.equals`) to an empty dataframe.
I couldn't get vbench to install (I am running on windows) - the error was:
```
c:... | https://api.github.com/repos/pandas-dev/pandas/pulls/10188 | 2015-05-21T16:08:46Z | 2015-06-07T22:22:40Z | 2015-06-07T22:22:40Z | 2015-06-16T15:40:21Z |
DOC: Add Index.difference to API doc | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 3f47c0380116c..3b2e8b65768bb 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -1262,8 +1262,6 @@ Modifying and Computations
Index.argmax
Index.copy
Index.delete
- Index.diff
- Index.sym_diff
Index.drop
Index.drop_duplicates
... | Add `Index.difference` to api doc rather than deprecated `Index.diff` (#8226)
And is it OK to remove `Index.diff` alias because #6581 lists #8227 (which closes #8226)?
| https://api.github.com/repos/pandas-dev/pandas/pulls/10185 | 2015-05-21T13:51:22Z | 2015-05-23T06:41:18Z | 2015-05-23T06:41:18Z | 2015-06-02T19:26:12Z |
FIX printing index with display.max_seq_items=None (GH10182) | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index c219818a62631..ba7d1b80c7f8a 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -137,6 +137,7 @@ Bug Fixes
- Bug in ``Timestamp``'s' ``microsecond``, ``quarter``, ``dayofyear``, ``week`` and ``daysin... | Fixes #10182
| https://api.github.com/repos/pandas-dev/pandas/pulls/10183 | 2015-05-21T11:20:38Z | 2015-06-10T06:47:12Z | 2015-06-10T06:47:12Z | 2015-06-10T06:47:12Z |
BUG: concat on axis=0 with categorical (GH10177) | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 02ef2bbed19b6..14e185b5b2a26 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -103,4 +103,4 @@ Bug Fixes
- Bug that caused segfault when resampling an empty Series (:issue:`10228`)
- Bug in ``Date... | Contains a proposed fix for #10177
| https://api.github.com/repos/pandas-dev/pandas/pulls/10179 | 2015-05-20T15:34:57Z | 2015-06-27T22:04:22Z | 2015-06-27T22:04:22Z | 2015-06-27T22:04:27Z |
BUG: mean overflows for integer dtypes (fixes #10155) | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 1cff74d41f686..6f04b0358394f 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -63,6 +63,7 @@ Bug Fixes
- Bug in ``Categorical`` repr with ``display.width`` of ``None`` in Python 3 (:issue:`10087`)
... | closes #10155
| https://api.github.com/repos/pandas-dev/pandas/pulls/10172 | 2015-05-19T16:43:57Z | 2015-05-30T20:41:19Z | 2015-05-30T20:41:19Z | 2015-06-02T19:26:12Z |
BUG: consistent datetime display format with < ms #10170 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index b835733db6f00..82589a5500505 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -68,7 +68,7 @@ Bug Fixes
- Bug in ``NaT`` raises ``AttributeError`` when accessing to ``daysinmonth``, ``dayofweek`` pr... | closes #10170
```
In [3]: Series(date_range('20130101 09:00:00',periods=5,freq='D'))
Out[3]:
0 2013-01-01 09:00:00
1 2013-01-02 09:00:00
2 2013-01-03 09:00:00
3 2013-01-04 09:00:00
4 2013-01-05 09:00:00
dtype: datetime64[ns]
In [4]: Series(date_range('20130101 09:00:00',periods=5,freq='s'))
Out[4]:
0 20... | https://api.github.com/repos/pandas-dev/pandas/pulls/10171 | 2015-05-19T15:46:04Z | 2015-05-20T22:02:19Z | 2015-05-20T22:02:19Z | 2015-06-02T19:26:12Z |
Delete ez_setup.py | diff --git a/doc/source/install.rst b/doc/source/install.rst
index 476c188faf0cf..31fee45eb0266 100644
--- a/doc/source/install.rst
+++ b/doc/source/install.rst
@@ -212,6 +212,7 @@ installed), make sure you have `nose
Dependencies
------------
+* `setuptools <http://pythonhosted.org/setuptools>`__
* `NumPy <http:/... | ez_setup.py is few years out of date, we should stop distributing it.
Up to date versions of Python 2 and 3 provide setuptools and pip out of the box `python -m ensurepip --upgrade`. For other Python versions, we can simply point users to the up to date instructions at https://packaging.python.org/en/latest/installing... | https://api.github.com/repos/pandas-dev/pandas/pulls/10168 | 2015-05-19T06:42:07Z | 2015-08-02T17:03:33Z | null | 2015-08-02T17:03:33Z |
DOC: Reorder arguments in shared fillna docstring | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index a560dd4c00be7..b747f0a2ceacb 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2398,15 +2398,15 @@ def convert_objects(self, convert_dates=True, convert_numeric=False,
Parameters
----------
- method : {'back... | The docstring listed 'method' before 'value' which is not consistent
with the order of the arguments when calling the method.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10166 | 2015-05-18T19:43:07Z | 2015-05-18T20:30:57Z | 2015-05-18T20:30:57Z | 2015-05-18T20:31:00Z |
DOC: clarify purpose of DataFrame.from_csv (GH4191) | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index d8948bc82fe61..654d6c7fd3436 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -180,7 +180,6 @@ class DataFrame(NDFrame):
--------
DataFrame.from_records : constructor from tuples, also record arrays
DataFrame.from_dict : from d... | Closes #9556
xref #9568, #4916, #4191
However, while writing this up, I started to doubt a bit if this is necessary.
`DataFrame.from_csv` is implemented as a round-trip method together with `to_csv`. If you use a plain `df.to_csv(path)`, you cannnot read it in as `pd.read_csv(path)` to get exactly the same. You at ... | https://api.github.com/repos/pandas-dev/pandas/pulls/10163 | 2015-05-18T13:29:40Z | 2015-08-21T07:33:31Z | 2015-08-21T07:33:31Z | 2015-08-21T07:33:31Z |
BUG: Index.name is lost during timedelta ops | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 2a4a408643451..8f72a8f1240d6 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -67,3 +67,7 @@ Bug Fixes
- Bug in ``NaT`` raises ``AttributeError`` when accessing to ``daysinmonth``, ``dayofweek`` pr... | Closes #9926.
CC @hsperr I've changed `common._maybe_match_names` to work with not-named objects, and hopefully can use in #9965 also.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10158 | 2015-05-16T21:31:49Z | 2015-05-18T11:59:45Z | 2015-05-18T11:59:45Z | 2015-06-02T19:26:12Z |
BUG: Index.union cannot handle array-likes | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index dae1342c3cd76..bebce2d3e2d87 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -67,6 +67,7 @@ Bug Fixes
- Bug in ``mean()`` where integer dtypes can overflow (:issue:`10172`)
- Bug where Panel.fr... | Closes #10149.
- Added explicit tests for array-likes in set-ops, `intersection`, `union`, `difference` and `sym_diff`.
- `TimedeltaIndex` previously did additional input check which is inconsistent with others. Made it work as the same manner as others.
- `MultiIndex` set-ops should only accept list-likes of tupl... | https://api.github.com/repos/pandas-dev/pandas/pulls/10157 | 2015-05-16T21:26:19Z | 2015-06-01T11:45:10Z | 2015-06-01T11:45:10Z | 2015-06-02T19:26:12Z |
TST: use compat.long in test_tslib for py3 | diff --git a/pandas/tseries/tests/test_timedeltas.py b/pandas/tseries/tests/test_timedeltas.py
index c5843862306ca..948a0be91b276 100644
--- a/pandas/tseries/tests/test_timedeltas.py
+++ b/pandas/tseries/tests/test_timedeltas.py
@@ -23,6 +23,8 @@
import pandas.util.testing as tm
from numpy.random import rand, randn
... | https://api.github.com/repos/pandas-dev/pandas/pulls/10152 | 2015-05-15T23:45:07Z | 2015-05-16T15:01:07Z | 2015-05-16T15:01:07Z | 2015-05-17T14:40:11Z | |
ENH: groupby.apply for Categorical should preserve categories (closes… | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index b571aab0b19a5..1a8fc90b9683f 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -55,7 +55,7 @@ Bug Fixes
multi-indexed (:issue:`7212`)
- Bug in ``Categorical`` repr with ``display.width`` of ``Non... | closes #10138
| https://api.github.com/repos/pandas-dev/pandas/pulls/10142 | 2015-05-15T04:33:27Z | 2015-06-04T13:50:27Z | 2015-06-04T13:50:27Z | 2015-06-04T15:18:02Z |
CLN: clean up unused imports part II | diff --git a/pandas/tseries/base.py b/pandas/tseries/base.py
index f3a7aa0bfa4c6..88b4117d4807c 100644
--- a/pandas/tseries/base.py
+++ b/pandas/tseries/base.py
@@ -3,7 +3,7 @@
"""
import warnings
-from datetime import datetime, time, timedelta
+from datetime import datetime, timedelta
from pandas import compat
... | found quite a few more under `pandas/tseries/` ... this should be it for now :)
| https://api.github.com/repos/pandas-dev/pandas/pulls/10141 | 2015-05-15T02:03:35Z | 2015-05-15T13:09:15Z | 2015-05-15T13:09:15Z | 2015-06-02T19:26:12Z |
BUG: declare and use correctly self.unique_check | diff --git a/pandas/index.pyx b/pandas/index.pyx
index 9be7e7404f3fe..bed385a9ad6aa 100644
--- a/pandas/index.pyx
+++ b/pandas/index.pyx
@@ -87,6 +87,7 @@ cdef class IndexEngine:
self.initialized = 0
self.monotonic_check = 0
+ self.unique_check = 0
self.unique = 0
self.mon... | I am not sure I understood the last comment in [the previous pull request](https://github.com/pydata/pandas/pull/9526), but anyway this is a rebased version.
In the previous PR I proposed to simply make the `__get__` of `is_unique` directly rely on `self.initialized`, but I am no more so sure it is a good idea, since ... | https://api.github.com/repos/pandas-dev/pandas/pulls/10139 | 2015-05-14T21:20:10Z | 2015-05-29T08:40:01Z | null | 2015-06-30T10:55:21Z |
DOC: consistent imports (GH9886) part II | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 94c2d921eb116..1714e00030026 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -6,18 +6,16 @@
:suppress:
import numpy as np
- import random
+ import pandas as pd
import os
np.random.seed(123456)
- from pandas import opt... | Further work on #9886
| https://api.github.com/repos/pandas-dev/pandas/pulls/10136 | 2015-05-14T15:53:07Z | 2015-05-19T21:21:48Z | 2015-05-19T21:21:48Z | 2015-06-02T19:26:11Z |
(WIP) PERF: improve .str perf for all-string values (about 2x-) | diff --git a/pandas/core/strings.py b/pandas/core/strings.py
index 8da43c18b989f..6bffeebf00d9a 100644
--- a/pandas/core/strings.py
+++ b/pandas/core/strings.py
@@ -116,12 +116,12 @@ def _length_check(others):
return n
-def _na_map(f, arr, na_result=np.nan, dtype=object):
+def _na_map(f, arr, na_result=np.nan,... | Related to #10081. Make a short path using numpy's string funcs when all the target values are strings. Otherwise, use current path.
Followings are current comparison results:
```
import pandas as pd
import numpy as np
import string
import random
np.random.seed(1)
s = [''.join([random.choice(string.ascii_letters + ... | https://api.github.com/repos/pandas-dev/pandas/pulls/10135 | 2015-05-14T14:53:02Z | 2015-05-14T15:55:15Z | null | 2023-05-11T01:12:58Z |
BUG: Strings with exponent but no decimal point parsed as integers in python csv engine | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index f1c5b0c854055..a3eb19d92d48a 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -77,6 +77,8 @@ Bug Fixes
- Bug in `plot` not defaulting to matplotlib `axes.grid` setting (:issue:`9792`)
+- Bug ca... | Fixes GH #9565. I also made the handling of out-of-range integers consistent with the C engine: parse as a string rather than a double.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10133 | 2015-05-14T12:57:00Z | 2015-06-09T10:49:18Z | null | 2015-06-10T13:40:52Z |
BUG: get_group fails when multi-grouping with a categorical | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index f1c5b0c854055..f5c9d15de65f6 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -68,7 +68,9 @@ Bug Fixes
- Bug in getting timezone data with ``dateutil`` on various platforms ( :issue:`9059`, :issue:... | Example:
``` .python
>>> df = pd.DataFrame({'a' : pd.Categorical('xyxy'), 'b' : 1, 'c' : 2})
>>> df.groupby(['a', 'b']).get_group(('x', 1))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/evanpw/Workspace/pandas/pandas/core/groupby.py", line 601, in get_group
inds = self._get... | https://api.github.com/repos/pandas-dev/pandas/pulls/10132 | 2015-05-14T10:42:15Z | 2015-06-05T22:03:42Z | 2015-06-05T22:03:42Z | 2015-09-19T00:38:07Z |
BUG: fix Series.plot label setting | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index b835733db6f00..f74bd70abb3a8 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -72,3 +72,7 @@ Bug Fixes
- Bug in ``DatetimeIndex`` and ``TimedeltaIndex`` names are lost after timedelta arithmeti... | Closes https://github.com/pydata/pandas/issues/10119, a regression in 0.16.1
Basically `Series.plot(label='foo')` isn't actually setting the label.
I want to look at one more thing. With this fix you'd need
``` python
s.plot(label='foo', legend=True
```
to get the legend to actually show up. I can't remember what t... | https://api.github.com/repos/pandas-dev/pandas/pulls/10131 | 2015-05-14T02:56:38Z | 2015-05-19T12:27:19Z | 2015-05-19T12:27:19Z | 2015-08-18T12:44:40Z |
CLN: clean up unused imports | diff --git a/pandas/core/base.py b/pandas/core/base.py
index 2f171cdd6adf3..540b900844a9e 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -1,13 +1,10 @@
"""
Base and utility classes for pandas objects.
"""
-import datetime
-
from pandas import compat
import numpy as np
from pandas.core import common... | https://api.github.com/repos/pandas-dev/pandas/pulls/10130 | 2015-05-14T02:26:40Z | 2015-05-14T11:52:08Z | 2015-05-14T11:52:08Z | 2015-06-02T19:26:11Z | |
BUG: Filter/transform fail in some cases when multi-grouping with a datetime-like key | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index aa8241e3cc272..18bcb87fc6c71 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -390,7 +390,7 @@ Bug Fixes
- Bug in ``pd.get_dummies`` with `sparse=True` not returning ``SparseDataFrame`` (:issue:`10... | Fixes GH #10114, and a related problem in transform which was already present in 0.16.0
| https://api.github.com/repos/pandas-dev/pandas/pulls/10124 | 2015-05-13T11:58:09Z | 2015-07-30T16:09:29Z | 2015-07-30T16:09:29Z | 2015-07-30T17:14:50Z |
parsing latitude and longitude in wb.get_countries | diff --git a/pandas/io/wb.py b/pandas/io/wb.py
index 7a9443c4b9ac6..c381f2df1cc54 100644
--- a/pandas/io/wb.py
+++ b/pandas/io/wb.py
@@ -213,6 +213,9 @@ def _get_data(indicator="NY.GNS.ICTR.GN.ZS", country='US',
def get_countries():
'''Query information about countries
+
+ Provides information such as:
... | World Bank provides latitude and longitude as strings (and an empty string as a missing value). It's inconvenient so, I parse it to floats. Additionally, I added some description to the `wb.get_countries` function.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10122 | 2015-05-13T09:54:14Z | 2015-05-13T10:10:48Z | null | 2015-05-13T10:23:43Z |
BUG: drop_duplicates drops name(s). | diff --git a/.gitignore b/.gitignore
index e8b557d68ac39..627ccf4112ff5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,6 +41,7 @@ doc/_build
dist
# Egg metadata
*.egg-info
+.eggs
# tox testing tool
.tox
# rope
diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index cc044bc35a707..9c8... | Closes #10115.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10116 | 2015-05-12T21:05:54Z | 2015-06-23T14:11:23Z | null | 2015-08-07T00:15:40Z |
CLN: cleanup hashtable.pyx | diff --git a/pandas/hashtable.pyx b/pandas/hashtable.pyx
index 8bdcfb44242ff..c4cd788216018 100644
--- a/pandas/hashtable.pyx
+++ b/pandas/hashtable.pyx
@@ -211,7 +211,6 @@ cdef class StringHashTable(HashTable):
def unique(self, ndarray[object] values):
cdef:
Py_ssize_t i, n = len(values)
- ... | mostly remove unused stuff
| https://api.github.com/repos/pandas-dev/pandas/pulls/10111 | 2015-05-12T12:34:22Z | 2015-05-13T12:28:09Z | 2015-05-13T12:28:09Z | 2015-06-02T19:26:11Z |
ENH: support .strftime for datetimelikes (closes #10086) | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 76e03ce70342f..731cf3d136a8a 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -509,6 +509,7 @@ These can be accessed like ``Series.dt.<property>``.
Series.dt.tz_localize
Series.dt.tz_convert
Series.dt.normalize
+ Series.dt.strftime
*... | closes #10086
| https://api.github.com/repos/pandas-dev/pandas/pulls/10110 | 2015-05-12T06:42:39Z | 2015-08-03T12:40:55Z | 2015-08-03T12:40:55Z | 2015-08-03T12:45:00Z |
BUG: categorical doesn't handle display.width of None in Python 3 (GH10087) | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 0184acce7a46b..9bf478831ea01 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -57,3 +57,5 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+
+- Bug in ``Categorical`` repr with ``display.width`` ... | closes #10087
I think this is fairly straightforward, however I am not sure if the prior code comparing `display.width` to 0 was correct... is `display.width` ever supposed to be set to 0? It looks suspiciously similar to a snippet from `Series.__unicode__()`, but that is looking at `display.max_rows`. Maybe it was br... | https://api.github.com/repos/pandas-dev/pandas/pulls/10108 | 2015-05-11T22:15:45Z | 2015-05-12T10:47:23Z | 2015-05-12T10:47:23Z | 2015-06-02T19:26:11Z |
DOC: improve binary operator docs (fixes #10093) | diff --git a/pandas/core/ops.py b/pandas/core/ops.py
index a4c9bff3dd97f..0b62eb1e53ddb 100644
--- a/pandas/core/ops.py
+++ b/pandas/core/ops.py
@@ -213,7 +213,7 @@ def add_flex_arithmetic_methods(cls, flex_arith_method, radd_func=None,
Parameters
----------
- flex_arith_method : function (optional)
+ ... | fixes #10093
@jorisvandenbossche this covers `Series`, `DataFrame` and `Panel`, please take a look
| https://api.github.com/repos/pandas-dev/pandas/pulls/10107 | 2015-05-11T19:44:11Z | 2015-05-16T14:52:56Z | 2015-05-16T14:52:56Z | 2015-06-02T19:26:11Z |
support both sqlalchemy engines and connections | diff --git a/ci/requirements-2.7.txt b/ci/requirements-2.7.txt
index 0d515f300f5a7..951c8798bef15 100644
--- a/ci/requirements-2.7.txt
+++ b/ci/requirements-2.7.txt
@@ -17,7 +17,7 @@ boto=2.36.0
bottleneck=0.8.0
psycopg2=2.5.2
patsy
-pymysql=0.6.1
+pymysql=0.6.3
html5lib=1.0b2
beautiful-soup=4.2.1
httplib2=0.8
di... | Fixes #7877
| https://api.github.com/repos/pandas-dev/pandas/pulls/10105 | 2015-05-11T15:35:25Z | 2015-07-03T17:44:56Z | 2015-07-03T17:44:56Z | 2015-07-03T20:44:15Z |
ENH: add expand kw to str.get_dummies | diff --git a/pandas/core/strings.py b/pandas/core/strings.py
index a8907ac192707..08f7d1b6481f4 100644
--- a/pandas/core/strings.py
+++ b/pandas/core/strings.py
@@ -424,17 +424,21 @@ def str_extract(arr, pat, flags=0):
Pattern or regular expression
flags : int, default 0 (no flags)
re module flag... | Ref: #10008.
Though this still under work (needs #10089 to simplify `get_dummies` flow), would like to discuss followings.
~~#### `.str.extract` note: overlaps with #11386~~
~~Currently it returns `Series` for a single group and `DataFrame` for multiples. To support `expand` kw, we have to choose :~~
~~1. Add `exp... | https://api.github.com/repos/pandas-dev/pandas/pulls/10103 | 2015-05-11T14:50:19Z | 2016-04-11T12:54:39Z | null | 2016-04-12T22:37:11Z |
v0.16.1 docs | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 76efdc0553c7d..6c743352a34ae 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -236,7 +236,7 @@ see :ref:`here<indexing.boolean>`
Boolean Reductions
~~~~~~~~~~~~~~~~~~
- You can apply the reductions: :attr:`~DataFrame.empty`, :meth:... | https://api.github.com/repos/pandas-dev/pandas/pulls/10101 | 2015-05-11T09:46:21Z | 2015-05-14T14:52:38Z | 2015-05-14T14:52:38Z | 2015-06-02T19:26:11Z | |
BUG: invalid column names in a HDF5 table format #9057 | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index 627c79f7289b7..25c7e97923082 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -92,6 +92,6 @@ Bug Fixes
- Bug in ``SparseSeries`` constructor ignores input data name (:issue:`10258`)
- Bug where ... | Have DataFrame.to_hdf() raise an error when using pytables with non-string
column types
closes #9057
| https://api.github.com/repos/pandas-dev/pandas/pulls/10098 | 2015-05-11T05:08:57Z | 2015-06-07T22:28:38Z | 2015-06-07T22:28:37Z | 2015-06-07T22:28:40Z |
Default values for dropna to "False" (issue 9382) | diff --git a/.gitignore b/.gitignore
index 6b00558fb3b19..4dd19a4946e26 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,7 @@
.idea
.vagrant
.noseids
+.ipynb_checkpoints
# Compiled source #
###################
diff --git a/doc/source/io.rst b/doc/source/io.rst
index 65f887288cc6d..6d30e864c4f1c 100644
--- a... | As per discussion in Issue 9382, changes all HDF functions from having default of dropping all rows with NA in all non-index rows.
closes #9382
Followup for #9484
| https://api.github.com/repos/pandas-dev/pandas/pulls/10097 | 2015-05-09T22:52:55Z | 2015-07-31T22:37:48Z | 2015-07-31T22:37:48Z | 2015-07-31T22:37:53Z |
BUG: Timestamp properties may return np.int | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 9bf478831ea01..8a74d90b41b7b 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -59,3 +59,10 @@ Bug Fixes
~~~~~~~~~
- Bug in ``Categorical`` repr with ``display.width`` of ``None`` in Python 3 (:i... | Closes #10050.
Also added `daysinmonth` and `dayofweek` properties to `NaT` and perform tests.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10096 | 2015-05-09T22:26:31Z | 2015-05-12T19:58:49Z | 2015-05-12T19:58:49Z | 2015-06-02T19:26:11Z |
BUG: Series.fillna() raises if given a numerically convertible string | diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt
index 4ccaf7a4719c9..2efa19e79fff0 100755
--- a/doc/source/whatsnew/v0.16.1.txt
+++ b/doc/source/whatsnew/v0.16.1.txt
@@ -372,3 +372,4 @@ Bug Fixes
- Updated BigQuery connector to no longer use deprecated ``oauth2client.tools.run()`` (:issu... | First reported here but it's been dormant for a long time: https://github.com/pydata/pandas/pull/9043
I think it'd be good to patch this bug. @jreback please let me know which release this should go to and I can add a release note. Thanks.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10092 | 2015-05-09T19:36:35Z | 2015-05-10T01:29:59Z | 2015-05-10T01:29:59Z | 2015-05-10T01:53:25Z |
fix the inconsistency between code and description | diff --git a/doc/source/merging.rst b/doc/source/merging.rst
index 8f2f4c9467ac2..d51c2f62b8a0c 100644
--- a/doc/source/merging.rst
+++ b/doc/source/merging.rst
@@ -490,7 +490,7 @@ standard database join operations between DataFrame objects:
::
- merge(left, right, how='left', on=None, left_on=None, right_on=No... | https://api.github.com/repos/pandas-dev/pandas/pulls/10091 | 2015-05-09T12:36:15Z | 2015-05-09T15:24:29Z | 2015-05-09T15:24:29Z | 2015-05-09T15:24:32Z | |
PERF: increase performance of str_split when returning a frame | diff --git a/doc/source/whatsnew/v0.16.2.txt b/doc/source/whatsnew/v0.16.2.txt
index 86332a26fd14c..49f143e158abf 100644
--- a/doc/source/whatsnew/v0.16.2.txt
+++ b/doc/source/whatsnew/v0.16.2.txt
@@ -47,6 +47,7 @@ Performance Improvements
~~~~~~~~~~~~~~~~~~~~~~~~
- Improved ``Series.resample`` performance with dty... | Closes #10081.
This simply removes the unnecessary `Series()` in the creation of the DataFrame for the split values in `str_split`. It vastly improves performance (20ms vs 3s for a series of 20,000 strings as a test) while not changing current behavior.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10090 | 2015-05-09T05:21:22Z | 2015-06-05T16:54:04Z | 2015-06-05T16:54:04Z | 2015-06-05T16:54:19Z |
Extended DataReader to fetch Dividends and Stock Splits from Yahoo!. | diff --git a/doc/source/remote_data.rst b/doc/source/remote_data.rst
index 1992288fd4d00..19bb420a76c16 100644
--- a/doc/source/remote_data.rst
+++ b/doc/source/remote_data.rst
@@ -61,6 +61,8 @@ It should be noted, that various sources support different kinds of data, so not
Yahoo! Finance
--------------
+Historica... | - Added yahoo-actions data_source to DataReader;
- Added get_data_yahoo_actions that returns a DataFrame containing
DIVIDEND and SPLIT corporate actions fetched from Yahoo! Finance;
- Added unit tests;
- Added documentation example.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10088 | 2015-05-09T03:22:04Z | 2015-05-09T15:25:46Z | null | 2015-05-09T15:25:54Z |
DEPR: Deprecate str.split return_type | diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt
index 08a2946279a98..848fa5a2d7629 100755
--- a/doc/source/whatsnew/v0.16.1.txt
+++ b/doc/source/whatsnew/v0.16.1.txt
@@ -221,6 +221,28 @@ enhancements are performed to make string operation easier.
idx.str.startswith('a')
s[s.in... | Closes #9847, Closes #9870. Default value is `expand=False` to be compat with`return_type='series'`. May better to change the default to True in future (and show warning about it)?
CC @jreback @jorisvandenbossche @sreejata
| https://api.github.com/repos/pandas-dev/pandas/pulls/10085 | 2015-05-08T21:07:34Z | 2015-05-09T15:34:05Z | null | 2015-05-09T21:15:32Z |
DOC/CLN: docs fixes for Series.shift and DataFrame.shift | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 172c71dc53c46..b69b523d9c908 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -1010,8 +1010,7 @@ Shifting / lagging
One may want to *shift* or *lag* the values in a TimeSeries back and forward in
time. The method for t... | 1. currently `Series.shift()` and `DataFrame.shift()` are both missing `axis` information in the docstring.
2. comment in `timeseries.rst` about shifting only possible along `index` or `major_axis` is not true anymore
| https://api.github.com/repos/pandas-dev/pandas/pulls/10082 | 2015-05-08T02:05:11Z | 2015-05-08T13:45:18Z | 2015-05-08T13:45:18Z | 2015-05-08T16:12:06Z |
Fix for GH9992 - use create_tempfile to remove permission-related errors when running tests | diff --git a/pandas/io/tests/test_pytables.py b/pandas/io/tests/test_pytables.py
index 2e5cef8a1ef57..6cfd569904097 100644
--- a/pandas/io/tests/test_pytables.py
+++ b/pandas/io/tests/test_pytables.py
@@ -156,50 +156,51 @@ def tearDown(self):
pass
def test_factory_fun(self):
+ path = create_tempf... | Fixes #9992.
I wanted to take a stab at developing pandas. I am a novice at both git/github and I hope I did the merge and PR correctly.
@jreback, please let me know if there is anything I can fix.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10080 | 2015-05-07T21:24:03Z | 2015-05-08T13:19:38Z | null | 2015-05-08T13:19:38Z |
Corrected typo in Grammar of Graphics | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index 194baba807d14..c70b6deade36e 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -57,7 +57,7 @@ large data to thin clients.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hadley Wickham's `ggplot2 <http://ggplot2.org/>`__ i... | https://api.github.com/repos/pandas-dev/pandas/pulls/10077 | 2015-05-07T18:04:29Z | 2015-05-07T18:29:13Z | 2015-05-07T18:29:13Z | 2015-05-07T18:29:16Z | |
DOC: Fix v0.16.1 release note | diff --git a/doc/source/internals.rst b/doc/source/internals.rst
index bc1189a8961d6..17be04cd64d27 100644
--- a/doc/source/internals.rst
+++ b/doc/source/internals.rst
@@ -94,8 +94,7 @@ not check (or care) whether the levels themselves are sorted. Fortunately, the
constructors ``from_tuples`` and ``from_arrays`` ensu... | - Organize `.str` related enhancements
- Fixed broken link
| https://api.github.com/repos/pandas-dev/pandas/pulls/10076 | 2015-05-07T17:58:59Z | 2015-05-07T23:23:31Z | 2015-05-07T23:23:31Z | 2015-05-08T02:34:35Z |
DOC/DEPR: port pandas.rpy to rpy2 guide | diff --git a/doc/source/r_interface.rst b/doc/source/r_interface.rst
index 2207c823f43b1..da37c92c88ecf 100644
--- a/doc/source/r_interface.rst
+++ b/doc/source/r_interface.rst
@@ -15,7 +15,69 @@ rpy2 / R interface
.. warning::
- In v0.16.0, the ``pandas.rpy`` interface has been **deprecated and will be removed ... | Addresses the doc part of #9602
| https://api.github.com/repos/pandas-dev/pandas/pulls/10075 | 2015-05-07T12:05:27Z | 2015-05-11T09:12:42Z | 2015-05-11T09:12:42Z | 2015-05-11T09:12:42Z |
BUG: Fix typo in parsers.py | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index 59ecb29146315..1ca396935ae78 100755
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -997,7 +997,7 @@ def _convert_to_ndarrays(self, dct, na_values, na_fvalues, verbose=False,
try:
values = lib.map_infer(values,... | closes #9266
np.uin8 should be np.uint8
| https://api.github.com/repos/pandas-dev/pandas/pulls/10074 | 2015-05-07T11:19:02Z | 2015-06-02T10:53:55Z | null | 2015-06-02T10:53:55Z |
PERF: BlockPlacement.copy() speed-up | diff --git a/pandas/lib.pyx b/pandas/lib.pyx
index cc4c43494176e..fd01e0099ab6b 100644
--- a/pandas/lib.pyx
+++ b/pandas/lib.pyx
@@ -1641,12 +1641,21 @@ cdef class BlockPlacement:
cdef bint _has_slice, _has_array, _is_known_slice_like
- def __init__(self, val):
+ def __init__(self, val, fastpath=False):
... | Copying of a `BlockPlacement` is currently slower than it could/should be:
- `copy()` cannot be accessed from python, one currently needs to re-implement `copy()` if one wants to duplicate a `BlockPlacement` instance
- `copy()` tries to infer a slice for any array contained in the `BlockPlacement`.
- After `copy()` pa... | https://api.github.com/repos/pandas-dev/pandas/pulls/10073 | 2015-05-07T10:59:27Z | 2015-08-05T10:32:51Z | null | 2015-08-05T10:32:51Z |
BUG: median() not correctly handling non-float null values (fixes #10… | diff --git a/doc/source/whatsnew/v0.16.1.txt b/doc/source/whatsnew/v0.16.1.txt
index 493f299b2bf32..e0ee88f6eb10c 100755
--- a/doc/source/whatsnew/v0.16.1.txt
+++ b/doc/source/whatsnew/v0.16.1.txt
@@ -320,3 +320,4 @@ Bug Fixes
- Google BigQuery connector now imports dependencies on a per-method basis.(:issue:`9713`)
... | closes #10040
| https://api.github.com/repos/pandas-dev/pandas/pulls/10072 | 2015-05-07T07:55:30Z | 2015-05-07T20:53:20Z | 2015-05-07T20:53:20Z | 2015-05-07T21:03:23Z |
DOC/CLN: fixed typos in timeseries.rst | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index ac3302ae40fa7..606026e7eeade 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -243,7 +243,7 @@ variety of frequency aliases. The default frequency for ``date_range`` is a
rng = bdate_range(start, end)
rng
-``date... | https://api.github.com/repos/pandas-dev/pandas/pulls/10071 | 2015-05-06T22:44:17Z | 2015-05-07T00:00:05Z | 2015-05-07T00:00:05Z | 2015-05-07T01:06:52Z | |
BUG make take_nd support readonly arrays | diff --git a/pandas/src/generate_code.py b/pandas/src/generate_code.py
index 9d0384857ed81..3b71d1c083ba1 100644
--- a/pandas/src/generate_code.py
+++ b/pandas/src/generate_code.py
@@ -93,12 +93,7 @@ def take_1d_%(name)s_%(dest)s(ndarray[%(c_type_in)s] values,
"""
-take_2d_axis0_template = """@cython.wraparound(Fa... | This is a tentative fix for #10043. I have not run any benchmark yet. I think we should do that before considering merging this PR. Any recommended way to do it?
| https://api.github.com/repos/pandas-dev/pandas/pulls/10070 | 2015-05-06T16:57:21Z | 2015-05-08T00:06:21Z | null | 2015-05-11T09:16:04Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.