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 |
|---|---|---|---|---|---|---|---|
DOC: small doc build fixes | diff --git a/doc/source/io.rst b/doc/source/io.rst
index dfe85c4cb224b..1852330c0b1be 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -3411,6 +3411,7 @@ table : `test_dataset.test_table` into a DataFrame using the :func:`~pandas.io.r
function.
.. code-block:: python
+
# Insert your BigQuery Project ID... | https://api.github.com/repos/pandas-dev/pandas/pulls/7635 | 2014-07-01T13:06:48Z | 2014-07-01T13:07:00Z | 2014-07-01T13:07:00Z | 2014-07-01T13:07:00Z | |
FIX: don't create 32 bit int type for int64 column (GH7433) | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index bb6f9cee5766e..5a778ca08b0a3 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -700,7 +700,8 @@ def _harmonize_columns(self, parse_dates=None):
pass # this column not in results
def _sqlalchemy_type(self, arr_or_dtype):
- from ... | Closes #7433
Replace the sqlalchemy `Integer` type with `BigInteger` as the default integer type in pandas is int64.
Probably we could be more specific in the type conversion (check for the exact integer type).
| https://api.github.com/repos/pandas-dev/pandas/pulls/7634 | 2014-07-01T12:59:02Z | 2014-07-05T13:48:39Z | 2014-07-05T13:48:39Z | 2014-07-06T14:52:45Z |
BUG: doc example in groupby.rst (GH7559 / GH7628) | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index 96eb0189a97f6..249aa0afdfd64 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -829,11 +829,21 @@ def nth(self, n, dropna=None):
dropped = self.obj.dropna(how=dropna, axis=self.axis)
# get a new grouper for our drop... | closes #7628
| https://api.github.com/repos/pandas-dev/pandas/pulls/7631 | 2014-07-01T12:10:14Z | 2014-07-01T12:50:25Z | 2014-07-01T12:50:25Z | 2014-07-01T12:50:25Z |
PERF: optimize MultiIndex.from_product | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 1aaf77625cf7f..b22720d277873 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -145,7 +145,7 @@ Performance
- Improvements in Series.transform for significant performance gains (:issue:`6496`)
- Improvements in DataFrame.transform wi... | This PR speeds up MultiIndex.from_product employing the fact that operating on categorical codes is faster than on the values themselves.
This yields about 2x improvement in the benchmark
``` python
In [1]: import pandas.util.testing as tm
In [2]: data = [tm.makeStringIndex(10000), tm.makeFloatIndex(20)]
In [3]: ... | https://api.github.com/repos/pandas-dev/pandas/pulls/7627 | 2014-07-01T05:45:02Z | 2014-07-01T11:36:24Z | 2014-07-01T11:36:24Z | 2014-07-01T17:42:19Z |
CLN/DEPR: Fix instances of 'U'/'rU' in open(...) | diff --git a/pandas/io/tests/test_sql.py b/pandas/io/tests/test_sql.py
index a34f278fc5a96..68de031641c58 100644
--- a/pandas/io/tests/test_sql.py
+++ b/pandas/io/tests/test_sql.py
@@ -157,12 +157,13 @@ def _get_exec(self):
return self.conn.cursor()
def _load_iris_data(self):
+ import io
... | closes #7131
| https://api.github.com/repos/pandas-dev/pandas/pulls/7625 | 2014-07-01T02:28:22Z | 2014-07-01T17:52:25Z | 2014-07-01T17:52:25Z | 2014-07-02T11:46:11Z |
CLN: Fix typo | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index bb6f9cee5766e..88607d8273ec8 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -88,7 +88,7 @@ def execute(sql, con, cur=None, params=None):
Using SQLAlchemy makes it possible to use any DB supported by that
library.
If a DBAPI2 obje... | https://api.github.com/repos/pandas-dev/pandas/pulls/7624 | 2014-07-01T02:05:42Z | 2014-07-01T10:41:40Z | 2014-07-01T10:41:40Z | 2014-07-01T12:12:29Z | |
ENH: dataframe memory usage | diff --git a/doc/source/faq.rst b/doc/source/faq.rst
index a613d53218ce2..259243638ac74 100644
--- a/doc/source/faq.rst
+++ b/doc/source/faq.rst
@@ -24,6 +24,81 @@ Frequently Asked Questions (FAQ)
options.display.mpl_style='default'
from pandas.compat import lrange
+
+.. _df-memory-usage:
+
+DataFrame memory ... | Closes [#6852](https://github.com/pydata/pandas/issues/6852)
For a sample DataFrame:
``` python
df = pd.DataFrame({ 'float' : np.random.randn(10000000), 'int' : np.random.randint(0,5,size=10000000), 'date' : Timestamp('20130101'), 'string' : 'foo', 'smallint' : np.random.randint(0,5,size=10000000).astype('int16') })
... | https://api.github.com/repos/pandas-dev/pandas/pulls/7619 | 2014-06-30T18:44:51Z | 2014-10-05T02:31:10Z | 2014-10-05T02:31:10Z | 2014-10-05T02:35:24Z |
COMPAT: make numpy NaT comparison use a view to avoid implicit conversions | diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx
index 70675875c8143..d32978c881244 100644
--- a/pandas/tslib.pyx
+++ b/pandas/tslib.pyx
@@ -892,7 +892,7 @@ cdef convert_to_tsobject(object ts, object tz, object unit):
if ts is None or ts is NaT or ts is np_NaT:
obj.value = NPY_NAT
elif is_datetime64_... | https://api.github.com/repos/pandas-dev/pandas/pulls/7617 | 2014-06-30T14:40:13Z | 2014-06-30T15:17:20Z | 2014-06-30T15:17:20Z | 2014-06-30T15:17:20Z | |
BUG: Bug in to_timedelta that accepted invalid units and misinterpreted m/h (GH7611, GH6423) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index be818e71f55a8..58154e066c0bf 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -176,7 +176,7 @@ Bug Fixes
- Bug in groupby ``.nth`` with a Series and integer-like column name (:issue:`7559`)
- Bug in ``value_counts`` where ``NaT`` ... | closes #7611
closes #6423
| https://api.github.com/repos/pandas-dev/pandas/pulls/7616 | 2014-06-30T13:32:38Z | 2014-06-30T14:35:18Z | 2014-06-30T14:35:18Z | 2014-09-05T03:18:03Z |
Fix typo in documentation | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 795bbca673f77..7ca4ff0529b4e 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -1448,7 +1448,7 @@ Elements can be set to ``NaT`` using ``np.nan`` analagously to datetimes
y[1] = np.nan
y
-Operands can also appear ... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/7613 | 2014-06-30T09:16:50Z | 2014-06-30T09:41:27Z | 2014-06-30T09:41:27Z | 2014-06-30T09:41:37Z |
BUG: Timestamp.__new__ doesnt preserve nanosecond | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index ab2c4a697e1ea..7030598040ea6 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -255,7 +255,7 @@ Bug Fixes
- Bug in ``Timestamp.tz_localize`` resets ``nanosecond`` info (:issue:`7534`)
- Bug in ``DatetimeIndex.asobject`` raises ``Va... | When `Timestamp.__new__` accepts a timestamp with nanosecond, nanosecond is not preserved properly.
```
# create Timestamp with ns (OK)
t = pd.Timestamp('2011-01-01') + pd.offsets.Nano(5)
t, t.value
# (Timestamp('2011-01-01 00:00:00.000000005'), 1293840000000000005)
# If it is passed to Timestamp.__init__, ns is not ... | https://api.github.com/repos/pandas-dev/pandas/pulls/7610 | 2014-06-29T14:14:44Z | 2014-06-30T13:29:09Z | 2014-06-30T13:29:09Z | 2014-07-02T16:45:22Z |
BUG: PeriodIndex.min/max returns int | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 3160b35386fa2..dbd8b15333d50 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -185,6 +185,7 @@ Bug Fixes
- Bug in ``DatetimeIndex.asobject`` doesn't preserve ``name`` (:issue:`7299`)
- Bug in multi-index slicing with datetimelike ra... | Related to #7279. `PeriodIndex.min/max` should return `Period` ignoring `NaT`.
```
pidx = pd.PeriodIndex(['2011-01', 'NaT'], freq='M')
pidx.min()
# -9223372036854775808
pidx.max()
#492
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/7609 | 2014-06-29T10:26:56Z | 2014-06-29T12:43:00Z | 2014-06-29T12:43:00Z | 2014-06-30T10:58:00Z |
BUG: DatetimeIndex.delete with tz raises ValueError | diff --git a/pandas/tseries/index.py b/pandas/tseries/index.py
index d022911fe2909..de758c4c8a579 100644
--- a/pandas/tseries/index.py
+++ b/pandas/tseries/index.py
@@ -1626,7 +1626,7 @@ def delete(self, loc):
freq = self.freq
if self.tz is not None:
- new_dates = tslib.date_n... | Found and fixed `DatetimeIndex.delete` (#7302) results in `ValueError` when it has `tz` and `freq` is less than daily..
```
idx = pd.date_range(start='2011-01-01 09:00', periods=40, freq='H', tz='Asia/Tokyo')
idx.delete(0)
# ValueError: Inferred frequency None from passed dates does notconform to passed frequency H
``... | https://api.github.com/repos/pandas-dev/pandas/pulls/7608 | 2014-06-29T10:16:42Z | 2014-07-03T21:31:22Z | 2014-07-03T21:31:22Z | 2014-07-05T04:48:06Z |
CLN: Simplify Period Construction / Resolution | diff --git a/pandas/io/tests/data/legacy_pickle/0.13.0/0.13.0_x86_64_darwin_2.7.6.pickle b/pandas/io/tests/data/legacy_pickle/0.13.0/0.13.0_x86_64_darwin_2.7.6.pickle
new file mode 100644
index 0000000000000..4f5bdada3c7da
Binary files /dev/null and b/pandas/io/tests/data/legacy_pickle/0.13.0/0.13.0_x86_64_darwin_2.7.6... | Simplified `Period` construction a little by adding `millisecond` resolution.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7607 | 2014-06-29T06:49:15Z | 2014-07-06T13:36:20Z | 2014-07-06T13:36:20Z | 2014-07-09T12:37:56Z |
BUG: DTI.freqstr raises AttributeError when freq is None | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 3160b35386fa2..a46718c8e88f3 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -258,7 +258,7 @@ Bug Fixes
- Bug in ``Index.astype(float)`` where it would return an ``object`` dtype
``Index`` (:issue:`7464`).
- Bug in ``DataFrame.r... | `DatetimeIndex.freqstr` raises `AttributeError` if `freq/offset` is `None`, even though docstring says "return the frequency object as a string if its set, otherwise None"
```
idx = pd.DatetimeIndex(['2011-01-01', '2011-01-02', '2011-01-03', '2011-01-04'])
idx.freqstr
# AttributeError: 'NoneType' object has no attribu... | https://api.github.com/repos/pandas-dev/pandas/pulls/7606 | 2014-06-29T06:37:38Z | 2014-06-29T11:12:57Z | 2014-06-29T11:12:57Z | 2014-06-30T10:58:09Z |
BUG: {expanding,rolling}_{cov,corr} don't handle arguments with different index sets properly | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index f6519a17205a4..639554b70a913 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -268,3 +268,5 @@ Bug Fixes
- Bug in ``Float64Index`` assignment with a non scalar indexer (:issue:`7586`)
- Bug in ``pandas.core.strings.str_contains`` ... | Closes https://github.com/pydata/pandas/issues/7512.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7604 | 2014-06-29T00:20:04Z | 2014-07-01T10:14:18Z | 2014-07-01T10:14:18Z | 2014-09-10T00:12:47Z |
BUG: ewma() weights incorrect when some values are missing | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index c2d234b5a06c1..8c51519cf2065 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -58,6 +58,18 @@ API changes
rolling_min(s, window=10, min_periods=5)
+- :func:`ewma`, :func:`ewmastd`, :func:`ewmavar`, :func:`ewmacorr`, and :fun... | Closes https://github.com/pydata/pandas/issues/7543.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7603 | 2014-06-28T17:21:56Z | 2014-07-24T17:07:18Z | null | 2014-09-10T00:12:55Z |
API: DatetimeIndex and PeriodIndex have same representation | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index f4a179c60c76c..97e6ee51511bc 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -89,7 +89,7 @@ Enhancements
- Add ``NotImplementedError`` for simultaneous use of ``chunksize`` and ``nrows``
for read_csv() (:issue:`6774`).
-
+- ``P... | Closes #7601. Made `PeriodIndex` to have dummy timezone representation to be consistent with `DatetimeIndex`, but this should be ommited?
### Output after the fix
```
# DatetimeIndex (No change)
pd.date_range(start='2011-01-01', periods=10, freq='M')
# <class 'pandas.tseries.index.DatetimeIndex'>
# [2011-01-31, ..., 2... | https://api.github.com/repos/pandas-dev/pandas/pulls/7602 | 2014-06-28T14:48:14Z | 2014-06-29T20:15:53Z | 2014-06-29T20:15:53Z | 2014-09-02T13:21:29Z |
BUG: GroupBy.size created by TimeGrouper raises AttributeError | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 97e6ee51511bc..8a3ab4c83ef4b 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -260,6 +260,7 @@ Bug Fixes
``Index`` (:issue:`7464`).
- Bug in ``DataFrame.reset_index`` loses ``tz`` (:issue:`3950`)
- Bug in ``DatetimeIndex.freqstr`... | Related to #7453 2nd issue:
- `GroupBy.size` created by `TimeGrouper` raises `AttributeError`
| https://api.github.com/repos/pandas-dev/pandas/pulls/7600 | 2014-06-28T11:56:31Z | 2014-06-30T12:33:49Z | 2014-06-30T12:33:49Z | 2014-07-05T04:47:11Z |
API/BUG: Make consistent datetime string parse function | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index ce1035e91391a..a07991d69d48b 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -71,6 +71,23 @@ Resample:
ts.resample('D', how='mean')
+.. _timeseries.overview:
+
+Overview
+--------
+
+Following table shows the type... | ### Original Description
Allows `DatetimeIndex.__init__` to accept `NaT` string representation.
### Updated Description
The original problem is caused by the inconsistencies in parsing function. Make following results to be consistent.
```
date_str = '2011Q3'
pd.tseries.tools.parse_time_string(date_str)[0]
#2011-07-... | https://api.github.com/repos/pandas-dev/pandas/pulls/7599 | 2014-06-28T11:48:04Z | 2015-07-14T15:52:23Z | 2015-07-14T15:52:23Z | 2015-07-20T03:46:52Z |
TST: Change nose.SkipTest to raise nose.SkipTest for io.data.Options. | diff --git a/pandas/io/tests/test_data.py b/pandas/io/tests/test_data.py
index d2080fe5e1262..5d2a8ef08c95b 100644
--- a/pandas/io/tests/test_data.py
+++ b/pandas/io/tests/test_data.py
@@ -265,7 +265,7 @@ def test_get_options_data(self):
try:
options = self.aapl.get_options_data(expiry=self.expiry... | Fixes #7596
| https://api.github.com/repos/pandas-dev/pandas/pulls/7598 | 2014-06-28T02:34:17Z | 2014-06-28T13:59:16Z | 2014-06-28T13:59:16Z | 2014-06-28T13:59:21Z |
COMPAT: comparisons vs numpy nat not working on windows | diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx
index 679359f1b4d33..c957884b3cebb 100644
--- a/pandas/tslib.pyx
+++ b/pandas/tslib.pyx
@@ -67,7 +67,7 @@ cdef int64_t NPY_NAT = util.get_nat()
compat_NaT = np.array([NPY_NAT]).astype('m8[ns]').item()
# numpy actual nat object
-np_NaT = np.datetime64('NaT',dtype='M8'... | https://api.github.com/repos/pandas-dev/pandas/pulls/7597 | 2014-06-28T01:44:01Z | 2014-06-28T02:24:58Z | 2014-06-28T02:24:58Z | 2014-07-22T18:40:54Z | |
TST: tests for GH7594, ensure conversion on tz-aware datetimes in the constuctors | diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py
index ef57256c7ee06..7368fcf8dac26 100644
--- a/pandas/tests/test_frame.py
+++ b/pandas/tests/test_frame.py
@@ -3587,6 +3587,19 @@ def test_constructor_with_datetimes(self):
expected.sort_index()
assert_series_equal(result, expected)... | closes #7594
| https://api.github.com/repos/pandas-dev/pandas/pulls/7595 | 2014-06-28T01:09:23Z | 2014-06-28T01:38:16Z | 2014-06-28T01:38:16Z | 2014-06-28T01:38:17Z |
BUG: Bug in timedelta inference when assigning an incomplete Series (GH7592) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 45a5d55ca047d..cf14e3696b90f 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -172,7 +172,7 @@ Bug Fixes
- Regression in datetimelike slice indexing with a duplicated index and non-exact end-points (:issue:`7523`)
- Bug in setitem w... | closes #7592
| https://api.github.com/repos/pandas-dev/pandas/pulls/7593 | 2014-06-27T19:52:29Z | 2014-06-27T20:44:03Z | 2014-06-27T20:44:03Z | 2014-06-27T20:44:03Z |
ENH: read_{csv,table} look for index columns in row after header with C engine | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 3160b35386fa2..7a9b9ddaf19f4 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -136,6 +136,9 @@ Enhancements
- ``Period`` and ``PeriodIndex`` can contain ``NaT`` in its values (:issue:`7485`)
+- ``read_csv`` and ``read_table`` can... | Closes #6893.
Currently the Python parser can read data with the index columns specified on the first line after the header, e.g.
``` python
In [3]: pd.__version__
Out[3]: '0.14.0-271-gf8b101c'
In [4]: text = """ A B C D E
one two three four
a b 10.0032 5 -0.510... | https://api.github.com/repos/pandas-dev/pandas/pulls/7591 | 2014-06-27T18:25:31Z | 2014-06-30T19:26:49Z | 2014-06-30T19:26:49Z | 2014-06-30T21:05:10Z |
BUG: bug in float64index assignment with a non scalar indexer | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 45a5d55ca047d..e7eaf49265fe5 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -262,3 +262,5 @@ Bug Fixes
- Bug in non-monotonic ``Index.union`` may preserve ``name`` incorrectly (:issue:`7458`)
- Bug in ``DatetimeIndex.intersectio... | closes #7586
| https://api.github.com/repos/pandas-dev/pandas/pulls/7587 | 2014-06-27T13:30:21Z | 2014-06-27T19:35:09Z | 2014-06-27T19:35:09Z | 2014-06-27T19:35:10Z |
Ignore comment lines in read_csv parsing | diff --git a/doc/source/io.rst b/doc/source/io.rst
index bc58b04de4473..0f698306a6517 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -98,8 +98,10 @@ They can take a number of arguments:
data. Defaults to 0 if no ``names`` passed, otherwise ``None``. Explicitly
pass ``header=0`` to be able to repla... | This is the first part of #7470.
closes #2685
| https://api.github.com/repos/pandas-dev/pandas/pulls/7582 | 2014-06-26T20:32:33Z | 2014-06-30T19:26:24Z | 2014-06-30T19:26:24Z | 2014-08-27T15:01:32Z |
SQL: don't reflect full database GH7396 | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index bb6f9cee5766e..3fdfa687abd78 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -76,6 +76,17 @@ def _parse_date_columns(data_frame, parse_dates):
return data_frame
+def _is_sqlalchemy_engine(con):
+ try:
+ import sqlalchemy
+ if isins... | Closes #7396
For now, let PandasSQLAlchemy not reflect anything by default, and `read_sql_table` provides its own reflected meta. Had to change some of the other functions to get this working.
@danielballan @mangecoeur Can someone review? (it feeled a bit messy)
| https://api.github.com/repos/pandas-dev/pandas/pulls/7581 | 2014-06-26T20:01:57Z | 2014-07-05T13:49:29Z | 2014-07-05T13:49:29Z | 2014-07-05T13:49:31Z |
BUG/TST: fix tests for groupby nth on Series (GH7559) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 3160b35386fa2..1289f8a386f9f 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -173,6 +173,7 @@ Bug Fixes
- Bug in setitem with list-of-lists and single vs mixed types (:issue:`7551`:)
- Bug in timeops with non-aligned Series (:issue... | closes #7559
related #7287
And some improvements when using any/all for nth
(still the nth are 10x slower than the cythonized first/last, but that's another issue)
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ... | https://api.github.com/repos/pandas-dev/pandas/pulls/7580 | 2014-06-26T19:37:22Z | 2014-06-30T11:05:58Z | 2014-06-30T11:05:58Z | 2014-06-30T11:05:59Z |
DOC: closes gh6838. Breakout options.rst from basics.rst | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index f614e1b7edcf4..1979b180b71b9 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1552,152 +1552,3 @@ While float dtypes are unchanged.
casted = dfa[df2>0]
casted
casted.dtypes
-
-
-Working with package options
------------------... | closes #6838.
closes #3104
Breakout "options" section for docs, heavily using info already in `basics.rst`. Expands examples, and turns `describe_options` into a table.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7578 | 2014-06-26T18:54:54Z | 2014-07-07T07:08:31Z | 2014-07-07T07:08:31Z | 2015-01-17T05:24:58Z |
Made read_html ignore empty tables | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 95bf2918f8992..355e90291b0e3 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -638,7 +638,7 @@ Bug Fixes
- Bug in ``Float64Index`` where ``iat`` and ``at`` were not testing and were
failing (:issue:`8092`).
-
+- Bug in ``read_ht... | This accompanies #7470.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7575 | 2014-06-26T13:46:36Z | 2014-09-04T01:32:36Z | null | 2014-09-04T01:33:38Z |
BUG: Error in rolling_var if window is larger than array, fixes #7297 | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 571e2dc2692b0..63517f532f7e5 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -271,6 +271,8 @@ Bug Fixes
- Bug in non-monotonic ``Index.union`` may preserve ``name`` incorrectly (:issue:`7458`)
- Bug in ``DatetimeIndex.intersection`... | fixes #7297
Other rolling window functions rely on the logic in `_check_minp`, and split the iteration into the ranges `[0, minp-1)` and `(minp-1, N)`. Because of the way `rolling_var` handles things, splitting the iteration into `[0, win)` and `(win, N)` makes more sense. Added also some comments as to what is going ... | https://api.github.com/repos/pandas-dev/pandas/pulls/7572 | 2014-06-26T04:10:41Z | 2014-07-02T11:46:29Z | 2014-07-02T11:46:29Z | 2014-07-02T14:53:03Z |
BUG/PERF: perf issues in object groupby aggregations (GH7555) | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index c2debb9bfe1c0..c7611d9829308 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -1414,10 +1414,11 @@ def aggregate(self, values, how, axis=0):
else:
is_numeric = issubclass(values.dtype.type, (np.datetime64,
... | related #7555
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
groupby_object_last | 15.2340 | 417... | https://api.github.com/repos/pandas-dev/pandas/pulls/7568 | 2014-06-25T12:52:08Z | 2014-06-25T13:48:23Z | 2014-06-25T13:48:23Z | 2014-06-25T13:48:23Z |
DOC: Fix parameter in reindex_axis docstring | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 756de479a471a..4c963622acf00 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1663,7 +1663,7 @@ def _reindex_multi(self, axes, copy, fill_value):
Parameters
----------
- index : array-like, optional
+ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/7566 | 2014-06-25T05:05:51Z | 2014-07-06T19:10:16Z | 2014-07-06T19:10:16Z | 2014-07-08T02:12:58Z | |
ENH: Implement _Openpyxl2Writer for pandas.io.excel | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 273cbd5daae7d..06600208758bd 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2009,7 +2009,12 @@ files if `Xlsxwriter`_ is not available.
.. _xlwt: http://www.python-excel.org
To specify which writer you want to use, you can pass an engine keyword
-... | This patch is an implementation of a `pandas.io.excel.ExcelWriter` subclass that is compatible with the style interface of `openpyxl` 2.0.0 or later.
closes #7177
| https://api.github.com/repos/pandas-dev/pandas/pulls/7565 | 2014-06-25T04:06:18Z | 2014-09-20T08:53:31Z | 2014-09-20T08:53:31Z | 2014-09-22T01:40:54Z |
TST: Remove else after except in tests for io.data.Options. | diff --git a/pandas/io/data.py b/pandas/io/data.py
index dab9862bae2e2..67a841a27f992 100644
--- a/pandas/io/data.py
+++ b/pandas/io/data.py
@@ -680,6 +680,10 @@ def _get_option_tables(self, month, year, expiry):
root = self._parse_url(url)
tables = root.xpath('.//table')
+ ntables = len(tabl... | Also moved no tables found error to get_options_tables method (url was not defined in the get_option_data method).
Fixes #7561
| https://api.github.com/repos/pandas-dev/pandas/pulls/7564 | 2014-06-25T02:48:04Z | 2014-06-25T14:50:17Z | 2014-06-25T14:50:17Z | 2014-06-25T14:50:24Z |
PERF: vbench for mixed groupby with datetime (GH7555) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 44541033fbc43..30617b76b91eb 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -143,7 +143,7 @@ Performance
- Improvements in dtype inference for numeric operations involving yielding performance gains for dtypes: ``int64``, ``timedel... | closes #7555
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
groupby_mixed_first | 10.8150 | 3900... | https://api.github.com/repos/pandas-dev/pandas/pulls/7560 | 2014-06-24T13:13:05Z | 2014-06-24T13:32:37Z | 2014-06-24T13:32:37Z | 2014-06-24T13:32:37Z |
BUG: isnull doesnt handle PeriodNaT properly | diff --git a/pandas/core/common.py b/pandas/core/common.py
index f8f5928ca7d51..7ce5fdb1392b7 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -221,6 +221,8 @@ def _isnull_new(obj):
return obj._constructor(obj._data.isnull(func=isnull))
elif isinstance(obj, list) or hasattr(obj, '__array_... | Related to #7485, `isnull` and `notnull` is required to be changed.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7557 | 2014-06-24T12:20:47Z | 2015-05-09T16:08:45Z | null | 2022-10-13T00:16:03Z |
DOC: Cookbook recipe for emulating R's expand.grid() (#7426) | diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst
index b16c71bffd64d..283cf0438857a 100644
--- a/doc/source/cookbook.rst
+++ b/doc/source/cookbook.rst
@@ -663,3 +663,25 @@ To globally provide aliases for axis names, one can define these 2 functions:
df2 = DataFrame(randn(3,2),columns=['c1','c2'],index... | closes #7426
As suggested by @jreback in #7426, I've added a quick cookbook recipe for emulating R's `expand.grid()`, which creates a dataframe from every combination of the values you give it.
None of the existing sections really seemed to apply, so I've added it in a new section.
Example usage:
``` python
import... | https://api.github.com/repos/pandas-dev/pandas/pulls/7556 | 2014-06-24T08:49:09Z | 2014-06-25T05:01:27Z | 2014-06-25T05:01:27Z | 2014-06-25T05:01:27Z |
DOC: fix docstring for DataFrame.interpolate | diff --git a/pandas/core/common.py b/pandas/core/common.py
index c0432b53e346a..8791dcc124a6e 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1392,7 +1392,7 @@ def backfill_2d(values, limit=None, mask=None, dtype=None):
def _clean_interp_method(method, order=None, **kwargs):
- valid = ['linea... | In the old docstring, `'index'` is listed as a valid value for the `method` kwarg for `DataFrame.interpolate`. It looks like a typo, because there was no comma after `'index'`, and the explanation for `'index'` corresponded to `'values'`. Furthermore, it appears `'index'` is not a valid value for `method`:
``` python
... | https://api.github.com/repos/pandas-dev/pandas/pulls/7553 | 2014-06-23T18:11:36Z | 2014-07-07T00:02:26Z | 2014-07-07T00:02:26Z | 2014-07-07T00:07:17Z |
BUG: Bug in setitem with list-of-lists and single vs mixed types (GH7551) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index a5bcdc9ec4aff..cdc35564cce61 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -169,7 +169,7 @@ Bug Fixes
- Bug in ``DataFrame.where`` with a symmetric shaped frame and a passed other of a DataFrame (:issue:`7506`)
- Bug in Panel ind... | closes #7551
| https://api.github.com/repos/pandas-dev/pandas/pulls/7552 | 2014-06-23T16:37:05Z | 2014-06-23T17:18:29Z | 2014-06-23T17:18:29Z | 2014-06-23T17:18:29Z |
DOC: correct relase note | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index c41bc13b18606..4d0308d377443 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -185,8 +185,8 @@ Bug Fixes
- Bug in ``TimeGrouper`` doesn't exclude column specified by ``key`` (:issue:`7227`)
- Bug in ``DataFrame`` and ``Series`` bar ... | Minor release note corrections.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7550 | 2014-06-23T13:32:37Z | 2014-06-23T13:35:23Z | 2014-06-23T13:35:23Z | 2014-06-24T09:09:50Z |
TST: some yahoo options tests missing network decorator | diff --git a/pandas/io/tests/test_data.py b/pandas/io/tests/test_data.py
index c13553d14b861..2f3da23612449 100644
--- a/pandas/io/tests/test_data.py
+++ b/pandas/io/tests/test_data.py
@@ -3,7 +3,7 @@
import warnings
import nose
from nose.tools import assert_equal
-from datetime import datetime, date
+from datetime ... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/7549 | 2014-06-22T21:13:48Z | 2014-06-22T21:48:58Z | 2014-06-22T21:48:58Z | 2014-06-22T21:49:00Z |
Minor cleanups for nanops | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 92d60ae8d8847..3098fedf0fefc 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -2175,94 +2175,98 @@ def is_number(obj):
return isinstance(obj, (numbers.Number, np.number))
-def is_integer_dtype(arr_or_dtype):
+def _get_dtype(arr_o... | This includes the requested fix for `nanops`, using `common.is_*_dtype` functions whenever possible.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7547 | 2014-06-22T15:03:28Z | 2014-06-26T10:26:02Z | 2014-06-26T10:26:02Z | 2014-06-26T10:29:04Z |
DOC: Use correct, non-deprecated arg name | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index d770f8c8f853a..f702714fdc37e 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1166,7 +1166,7 @@ def to_excel(self, excel_writer, sheet_name='Sheet1', na_rep='',
Missing data representation
float_format : string, default... | Fix a minor typo in the `pandas.frame.to_excel` docstring.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7545 | 2014-06-22T00:57:09Z | 2014-06-23T13:41:18Z | 2014-06-23T13:41:18Z | 2014-06-25T02:17:52Z |
BUG: DatetimeIndex.asobject raises ValueError when contains NaT | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index c41bc13b18606..91cb18d2accd1 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -248,7 +248,7 @@ Bug Fixes
- BUG in ``resample`` raises ``ValueError`` when target contains ``NaT`` (:issue:`7227`)
- Bug in ``Timestamp.tz_localize`` r... | Closes #7539.
Also, this fixed #7112 case 3 and case 4 to preserve tz. I've modified the tests for it.
Related to #6469.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7544 | 2014-06-21T23:37:26Z | 2014-06-24T11:49:40Z | 2014-06-24T11:49:40Z | 2014-06-26T10:59:59Z |
BUG: expanding_{cov,corr} for objects of different lengths | diff --git a/pandas/stats/moments.py b/pandas/stats/moments.py
index 42da19f1a241d..1f6142648a916 100644
--- a/pandas/stats/moments.py
+++ b/pandas/stats/moments.py
@@ -209,11 +209,11 @@ def rolling_cov(arg1, arg2=None, window=None, min_periods=None, freq=None,
pairwise = True if pairwise is None else pairwise... | Closes https://github.com/pydata/pandas/issues/7512 and https://github.com/pydata/pandas/issues/7514.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7541 | 2014-06-21T19:27:09Z | 2014-06-28T13:54:28Z | null | 2014-06-28T13:54:28Z |
DOC: Release note correction for GH7534 | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 158fa1561eb30..e8c7a6f9ab462 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -248,7 +248,7 @@ Bug Fixes
- BUG in ``resample`` raises ``ValueError`` when target contains ``NaT`` (:issue:`7227`)
-- Bug in ``Timestamp.tz_convert`` ... | Release note correction for #7534. `tz_convert` has no problem.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7538 | 2014-06-21T14:46:41Z | 2014-06-21T14:49:05Z | 2014-06-21T14:49:04Z | 2014-06-21T22:30:08Z |
CLN: Remove executable flag from frame.py | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
old mode 100755
new mode 100644
| Closes #7536.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7537 | 2014-06-21T14:31:32Z | 2014-06-21T14:48:38Z | 2014-06-21T14:48:38Z | 2014-06-21T14:48:38Z |
should fix issue #7520, test_nanargmin fails with datetime64 objects | diff --git a/pandas/tests/test_nanops.py b/pandas/tests/test_nanops.py
index 417cef92412b1..3e8a5fecbb579 100644
--- a/pandas/tests/test_nanops.py
+++ b/pandas/tests/test_nanops.py
@@ -237,10 +237,20 @@ def check_funs(self, testfunc, targfunc,
self.arr_utf.astype('O')]
if allow_date:
- ... | I think this will fix the issue #7520. The issue appears to be that older versions of `numpy`, probably less than `1.7.0`, can't handle `datetime64` dtypes very well. I have added simple check to see if `numpy` can handle a standard operation with `datetime64` dtypes, and if not it skips those tests.
I can't test th... | https://api.github.com/repos/pandas-dev/pandas/pulls/7535 | 2014-06-21T12:52:19Z | 2014-06-21T13:40:17Z | 2014-06-21T13:40:17Z | 2014-06-26T10:28:55Z |
BUG: Timestamp.tz_localize resets nanosecond | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 197bc9bae5c9d..158fa1561eb30 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -248,7 +248,7 @@ Bug Fixes
- BUG in ``resample`` raises ``ValueError`` when target contains ``NaT`` (:issue:`7227`)
-
+- Bug in ``Timestamp.tz_convert`... | `Timestamp.tz_localize` resets `nanosecond`.
```
t = pd.Timestamp('2011-01-01') + pd.offsets.Nano(1)
t.tz_localize('US/Eastern')
# Warning: discarding nonzero nanoseconds
#2011-01-01 00:00:00-05:00
```
Even though `DatetimeIndex.tz_convert` can preserve it.
```
idx = pd.date_range('3/11/2012 04:00', periods=10, freq... | https://api.github.com/repos/pandas-dev/pandas/pulls/7534 | 2014-06-21T08:01:17Z | 2014-06-21T13:41:19Z | 2014-06-21T13:41:19Z | 2014-06-21T14:47:49Z |
BUG: df.reset_index loses tz | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index e8c7a6f9ab462..bde685e0e6167 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -252,7 +252,7 @@ Bug Fixes
- Bug in ``Index.astype(float)`` where it would return an ``object`` dtype
``Index`` (:issue:`7464`).
-
+- Bug in ``DataFra... | Closes #3950.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7533 | 2014-06-21T07:51:17Z | 2014-06-21T20:10:21Z | 2014-06-21T20:10:21Z | 2014-06-22T00:56:59Z |
BUG: single column bar plot is misaligned | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index c41bc13b18606..6e02e771fecc7 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -256,5 +256,9 @@ Bug Fixes
- Bug in ``DataFrame.reset_index`` loses ``tz`` (:issue:`3950`)
+- Bug in single column bar plot is misaligned (:issue:`7498... | Closes #7498.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7532 | 2014-06-21T07:04:50Z | 2014-07-01T15:29:53Z | 2014-07-01T15:29:53Z | 2014-07-02T16:46:04Z |
WIP/ENH: allow read_excel to accept URLs (GH6809) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 158fa1561eb30..97b7555d833f8 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -108,6 +108,9 @@ Enhancements
- ``read_html`` now sports an ``encoding`` argument that is passed to the
underlying parser library. You can use this to r... | closes #6809
This borrows the mechanisms already used in read_csv to enable reading of Excel objects via URLs.
Not sure what tests are appropriate, and I'm not certain what the various decorators do, so I tried to mirror the read_csv tests as best I could.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7531 | 2014-06-21T04:31:06Z | 2014-06-23T14:03:11Z | 2014-06-23T14:03:11Z | 2014-07-19T14:15:57Z |
TST: io.data.Options changes to avoid test failures on bad data. | diff --git a/pandas/io/data.py b/pandas/io/data.py
index fe87c0d9fb5e7..dab9862bae2e2 100644
--- a/pandas/io/data.py
+++ b/pandas/io/data.py
@@ -683,7 +683,10 @@ def _get_option_tables(self, month, year, expiry):
table_name = '_tables' + m1 + str(year)[-2:]
setattr(self, table_name, tables)
- ... | Added try, except to underlying price / quote_time function.
Changed to RemoteDataError in the event that some tables are found, but the correct table is not available.
Fixes #7524.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7530 | 2014-06-20T23:46:44Z | 2014-06-21T13:48:20Z | 2014-06-21T13:48:20Z | 2014-06-21T13:48:24Z |
BUG: DatetimeIndex comparison handles NaT incorrectly | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 03caf47dc7127..197bc9bae5c9d 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -237,6 +237,7 @@ Bug Fixes
- Bug in when writing Stata files where the encoding was ignored (:issue:`7286`)
+- Bug in ``DatetimeIndex`` comparison does... | Derived from #7485. Comparison with `DatetimeIndex` result incorrectly if `NaT` is included.
```
idx1 = pd.DatetimeIndex(['2011-01-01', pd.NaT], freq='M')
idx2 = pd.DatetimeIndex([pd.NaT, '2011-01-01'], freq='M')
print(idx1 > idx2)
# [True, False]
# it must be [False, False]
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/7529 | 2014-06-20T20:28:40Z | 2014-06-20T21:38:59Z | 2014-06-20T21:38:59Z | 2014-06-21T02:39:07Z |
REGR: Regression in datetimelike slice indexing with a duplicated index and non-exact end-points (GH7523) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index e038124cadc00..03caf47dc7127 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -167,6 +167,7 @@ Bug Fixes
~~~~~~~~~
- Bug in ``DataFrame.where`` with a symmetric shaped frame and a passed other of a DataFrame (:issue:`7506`)
- Bug i... | closes #7523
| https://api.github.com/repos/pandas-dev/pandas/pulls/7525 | 2014-06-20T13:05:25Z | 2014-06-20T13:53:41Z | 2014-06-20T13:53:41Z | 2014-06-20T13:53:41Z |
DOC: fix startrow typo in docstrings | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 1653eedd26bc3..9645d09a5fd0d 100755
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1177,7 +1177,7 @@ def to_excel(self, excel_writer, sheet_name='Sheet1', na_rep='',
Column label for index column(s) if desired. If None is given, and
... | Minor, but worth fixing.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7521 | 2014-06-20T02:59:59Z | 2014-06-20T07:54:37Z | 2014-06-20T07:54:37Z | 2014-06-20T07:54:37Z |
BUG: Bug in Panel indexing with a multi-index axis (GH 7516) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index c6144619da963..e038124cadc00 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -166,7 +166,7 @@ Experimental
Bug Fixes
~~~~~~~~~
- Bug in ``DataFrame.where`` with a symmetric shaped frame and a passed other of a DataFrame (:issue:`7... | closes #7516
| https://api.github.com/repos/pandas-dev/pandas/pulls/7519 | 2014-06-20T00:51:47Z | 2014-06-20T12:04:29Z | 2014-06-20T12:04:29Z | 2014-06-20T12:04:29Z |
BUG: area plot raises ValueError with tz-aware data | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 8ede5f32dded6..9e992573f568d 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -262,6 +262,8 @@ Bug Fixes
+- Bug in area plot with tz-aware time series raises ``ValueError`` (:issue:`7471`)
+
- Bug in non-monotonic ``Index.union... | Closes #7471.
Must be revisit after #7322.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7515 | 2014-06-19T19:41:30Z | 2014-07-05T01:31:30Z | 2014-07-05T01:31:30Z | 2014-07-05T04:46:54Z |
BUG: Bug in DataFrame.where with a symmetric shaped frame and a passed other of a DataFrame | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index c1e5877d09004..af859b7be2558 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -163,12 +163,12 @@ Experimental
Bug Fixes
~~~~~~~~~
+- Bug in ``DataFrame.where`` with a symmetric shaped frame and a passed other of a DataFrame (:issu... | from SO: http://stackoverflow.com/questions/24296480/pandas-dataframe-where-misbehaving
| https://api.github.com/repos/pandas-dev/pandas/pulls/7506 | 2014-06-19T00:23:26Z | 2014-06-19T09:53:31Z | 2014-06-19T09:53:31Z | 2014-06-19T09:53:31Z |
BUG, TST: Fix pandas.core.strings.str_contains when handling regex=False and case=False | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index c1e5877d09004..0d1606f701a8f 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -249,3 +249,4 @@ Bug Fixes
- Bug in non-monotonic ``Index.union`` may preserve ``name`` incorrectly (:issue:`7458`)
- Bug in ``DatetimeIndex.intersectio... | `pandas.core.strings.str_contains` does not match in a case insensitive fashion _at all_ when given `regex=False` and `case=False`. This PR should fix the situation. Additionally, there is test coverage for `pandas.core.strings.str_contains` case insensitive matching both with and without regular expressions enabled.... | https://api.github.com/repos/pandas-dev/pandas/pulls/7505 | 2014-06-18T22:40:48Z | 2014-06-30T19:38:04Z | 2014-06-30T19:38:04Z | 2014-06-30T19:38:12Z |
BUG: float64index slicing with getitem bug | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index c1e5877d09004..ad2e4ad44b98f 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -249,3 +249,5 @@ Bug Fixes
- Bug in non-monotonic ``Index.union`` may preserve ``name`` incorrectly (:issue:`7458`)
- Bug in ``DatetimeIndex.intersectio... | closes #7501
| https://api.github.com/repos/pandas-dev/pandas/pulls/7504 | 2014-06-18T21:54:07Z | 2014-06-19T15:25:15Z | null | 2014-06-19T15:25:15Z |
BUG: Bug in timeops with non-aligned Series (GH7500) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index c1e5877d09004..930ba13bef122 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -165,10 +165,10 @@ Bug Fixes
~~~~~~~~~
+- Bug in timeops with non-aligned Series (:issue:`7500`)
-
-- Bug in ``value_counts`` where ``NaT`` did not... | closes #7500
| https://api.github.com/repos/pandas-dev/pandas/pulls/7503 | 2014-06-18T21:37:53Z | 2014-06-19T00:01:34Z | 2014-06-19T00:01:34Z | 2014-06-19T00:01:34Z |
BUG: offsets.apply may return datetime | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index e8c7a6f9ab462..a6ca9e1dfd033 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -244,12 +244,15 @@ Bug Fixes
- Bug in ``DatetimeIndex.to_period``, ``PeriodIndex.asobject``, ``PeriodIndex.to_timestamp`` doesn't preserve ``name`` (:issue... | Currently, `offsets.appy`, `rollforward` and `rollback` returns `Timestamp` if argument is `Timestamp` or `np.datetime64`.
If input is `datetime`, these functions return `datetime` or `Timestamp` inconsistently depending on internal process. It may better to always return `Timestanp`?
### Affected Offsets
- 'pandas.... | https://api.github.com/repos/pandas-dev/pandas/pulls/7502 | 2014-06-18T20:50:11Z | 2014-06-21T20:13:29Z | 2014-06-21T20:13:29Z | 2014-06-21T22:30:16Z |
Deprecate detection of IPython frontends | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 92d60ae8d8847..9fb79464d061b 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -2599,6 +2599,8 @@ def check_main():
def in_qtconsole():
"""
check if we're inside an IPython qtconsole
+
+ DEPRECATED: This is no longer need... | The check for the Qt console won't be necessary in IPython 3 and above: we decided that the Qt console's display of HTML reprs was so bad that it shouldn't attempt to show them. We also want to remove the `parent_appname` config value (ipython/ipython#4980), which will break both of these functions (making them always ... | https://api.github.com/repos/pandas-dev/pandas/pulls/7499 | 2014-06-18T18:58:40Z | 2014-06-24T22:01:49Z | 2014-06-24T22:01:49Z | 2014-06-24T22:01:53Z |
BUG: Bug in .loc performing fallback integer indexing with object dtype indices (GH7496) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 930ba13bef122..01cfa73b8b9f4 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -62,6 +62,8 @@ API changes
when comparing a ``Period`` with another object using ``==`` if the other
object isn't a ``Period`` ``False`` is returned.
... | closes #7496
```
In [4]: s = Series()
In [5]: s.loc[1] = 1
In [6]: s.loc['a'] = 2
In [7]: s.loc[-1]
KeyError: 'the label [-1] is not in the [index]'
In [8]: s.loc[[-1, -2]]
Out[8]:
-1 NaN
-2 NaN
dtype: float64
In [9]: s.loc[['4']]
Out[9]:
4 NaN
dtype: float64
In [10]: s.loc[-1] = 3
In [11]: s.loc[[-1,... | https://api.github.com/repos/pandas-dev/pandas/pulls/7497 | 2014-06-18T15:29:24Z | 2014-06-19T09:53:10Z | 2014-06-19T09:53:10Z | 2014-06-19T09:53:10Z |
DOC: Fix index error for remote data docs. | diff --git a/doc/source/remote_data.rst b/doc/source/remote_data.rst
index 98d14b23e28bf..3b12023c47f1e 100644
--- a/doc/source/remote_data.rst
+++ b/doc/source/remote_data.rst
@@ -69,13 +69,13 @@ to the specific option you want.
from pandas.io.data import Options
aapl = Options('aapl', 'yahoo')
da... | Fixes the index error caused by #7484. Also removes duplicate example in v0.14.1.txt
| https://api.github.com/repos/pandas-dev/pandas/pulls/7495 | 2014-06-18T14:40:36Z | 2014-06-18T16:23:09Z | 2014-06-18T16:23:09Z | 2014-06-18T16:23:14Z |
[doc fix] minor docstring update to fix df.to_latex() usepackage syntax | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 9c1d593187b2c..1653eedd26bc3 100755
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1358,7 +1358,7 @@ def to_latex(self, buf=None, columns=None, col_space=None, colSpace=None,
bold_rows=True, longtable=False, escape=True):
... | Minor docstring fix for option `DF.to_latex()` for `\\usepackage{booktabs}`
| https://api.github.com/repos/pandas-dev/pandas/pulls/7489 | 2014-06-18T01:40:13Z | 2014-06-18T06:49:39Z | 2014-06-18T06:49:39Z | 2014-06-18T06:49:43Z |
Switch if to elif in test_frame.test_to_csv_moar._do_test | diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py
index ea3dafa07715b..8ed1d2d2d4f95 100644
--- a/pandas/tests/test_frame.py
+++ b/pandas/tests/test_frame.py
@@ -5748,7 +5748,7 @@ def _to_uni(x):
recons.index = np.array(lmap(_to_uni,recons.index),
... | An if-elif-else chain had an "if" where there should have been an elif.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7488 | 2014-06-18T00:31:58Z | 2014-06-18T12:19:26Z | 2014-06-18T12:19:26Z | 2014-06-18T12:19:29Z |
Switch if to elif, effectively repairing the unicode r_dtype branch | diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py
index ea3dafa07715b..8ed1d2d2d4f95 100644
--- a/pandas/tests/test_frame.py
+++ b/pandas/tests/test_frame.py
@@ -5748,7 +5748,7 @@ def _to_uni(x):
recons.index = np.array(lmap(_to_uni,recons.index),
... | in test_to_csv_moar._do_test.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7487 | 2014-06-18T00:27:42Z | 2014-06-18T00:31:41Z | null | 2014-06-18T00:31:41Z |
ENH/BUG: Period/PeriodIndex supports NaT | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 18ae412c9711d..c6144619da963 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -130,7 +130,7 @@ Enhancements
- All offsets ``apply``, ``rollforward`` and ``rollback`` can now handle ``np.datetime64``, previously results in ``ApplyTy... | Closes #7228. Closes #4731.
`Period` and `PeriodIndex` now can contain `NaT` using `iNaT` as its internal value.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7485 | 2014-06-17T16:04:40Z | 2014-06-19T19:27:10Z | 2014-06-19T19:27:10Z | 2014-06-20T14:45:55Z |
DOC: Clean up docs for io.data.Options. | diff --git a/doc/source/release.rst b/doc/source/release.rst
index da6c46ce37a94..fb2c24acff30d 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -55,10 +55,6 @@ performance improvements along with a large number of bug fixes.
Highlights include:
-Experimental Features
-~~~~~~~~~~~~~~~~~~~~~
-- `... | Per conversation on #5602, adjusted some of the docs.
Removed from release.rst, changed example strike price for AAPL, fixed backticks.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7484 | 2014-06-17T16:04:01Z | 2014-06-17T18:52:02Z | 2014-06-17T18:52:02Z | 2014-06-18T09:35:51Z |
DOC: fix docstring of value_counts/nunique dropna argument after GH7424 | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index 1aec8561807c9..c45256c482e8f 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -170,7 +170,7 @@ def factorize(values, sort=False, order=None, na_sentinel=-1):
def value_counts(values, sort=True, ascending=False, normalize=... | See #7424, fix docstring.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7483 | 2014-06-17T13:38:20Z | 2014-07-07T19:11:41Z | 2014-07-07T19:11:41Z | 2014-07-07T19:11:41Z |
BUG/WIP: fix pivot with nan indexes | diff --git a/pandas/core/reshape.py b/pandas/core/reshape.py
index e1712be7b5a5f..d5b80f239d5db 100644
--- a/pandas/core/reshape.py
+++ b/pandas/core/reshape.py
@@ -107,9 +107,6 @@ def _make_sorted_values_labels(self):
comp_index, obs_ids = get_compressed_ids(to_sort, sizes)
- # group_index = get_gr... | closes #7466
- [ ] vbench
- [ ] make sure there isn't a better way to do this
| https://api.github.com/repos/pandas-dev/pandas/pulls/7481 | 2014-06-17T02:13:49Z | 2015-01-25T23:30:05Z | null | 2015-01-25T23:30:05Z |
BUG: Make copies of certain interpolate arguments (GH7295) | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 8a44723a83c4e..92d60ae8d8847 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1538,6 +1538,14 @@ def _interpolate_scipy_wrapper(x, y, new_x, method, fill_value=None,
terp = interpolate.UnivariateSpline(x, y, k=order)
ne... | closes #7295
On the alt_methods branch in interpolate_1d, make copies if x, y, and new_x don't have their `writeable` attribute set. It seems a little weird that we need to do this, but it'll work around the issue so that the test can pass, anyway.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7479 | 2014-06-17T01:32:57Z | 2014-06-17T11:22:59Z | 2014-06-17T11:22:59Z | 2014-06-17T11:23:03Z |
Fix cache key collision and add test for cache key distinctness. | diff --git a/pandas/tseries/tests/test_timezones.py b/pandas/tseries/tests/test_timezones.py
index e6da490e1f722..b1d8bdd9f81ce 100644
--- a/pandas/tseries/tests/test_timezones.py
+++ b/pandas/tseries/tests/test_timezones.py
@@ -805,6 +805,21 @@ def test_utc_with_system_utc(self):
self.assertEqual(ts, ts.tz_co... | Fixes #7420.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7478 | 2014-06-16T20:04:54Z | 2014-06-17T00:18:00Z | 2014-06-17T00:18:00Z | 2014-06-17T09:56:00Z |
BUG: Bug Multiindex assignment with an aligned rhs (but at different levels) (GH7475) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 4959f52183a92..2e5d9b2140ae4 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -156,8 +156,7 @@ Bug Fixes
~~~~~~~~~
-
-
+- Bug Multiindex assignment with an aligned rhs (but at different levels) (:issue:`7475`)
diff --git a/... | closes #7475
| https://api.github.com/repos/pandas-dev/pandas/pulls/7476 | 2014-06-16T17:29:55Z | 2014-08-05T15:43:12Z | null | 2014-08-05T21:50:04Z |
BUG: Bug in Panel.apply with a multi-index as an axis (GH7469) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index f65a96f1c38a6..6b2ae95510fa1 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -163,7 +163,7 @@ Bug Fixes
-
+- Bug in ``Panel.apply`` with a multi-index as an axis (:issue:`7469`)
- Bug in ``DatetimeIndex.insert`` doesn't pr... | closes #7469
| https://api.github.com/repos/pandas-dev/pandas/pulls/7474 | 2014-06-16T13:26:53Z | 2014-06-16T14:20:06Z | 2014-06-16T14:20:06Z | 2014-06-16T14:20:06Z |
ENH: ignoring comment lines and empty lines in CSV files | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 273cbd5daae7d..f9048ca0ed3ba 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -100,8 +100,10 @@ They can take a number of arguments:
a list of integers that specify row locations for a multi-index on the columns
E.g. [0,1,3]. Intervening rows t... | closes #4466
| https://api.github.com/repos/pandas-dev/pandas/pulls/7470 | 2014-06-16T03:26:23Z | 2014-09-19T17:55:47Z | null | 2014-12-29T21:35:48Z |
ENH: Cast ndarray-like datetime64 arrays to Index properly | diff --git a/pandas/core/index.py b/pandas/core/index.py
index 2252ba666ca59..6cbffd5b4dbba 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -148,6 +148,9 @@ def __new__(cls, data, dtype=None, copy=False, name=None, fastpath=False,
if copy:
subarr = subarr.copy()
+ ... | It turns out that the ndarray-like arrays of dtype `datetime64` were
not being properly cast to an `Index`, because -- due to a bug with
`np.datetime64` -- calling `np.asarray(x, dtype=object)` if x is an
ndarray of type `datetime64` results in an _integer_ array.
This PR adds tests and a work around to `pd.Index.__ne... | https://api.github.com/repos/pandas-dev/pandas/pulls/7468 | 2014-06-15T22:56:55Z | 2014-06-16T12:50:48Z | 2014-06-16T12:50:48Z | 2014-06-16T16:51:53Z |
DOC: Add missing column header in 'baseball.csv'. | diff --git a/doc/data/baseball.csv b/doc/data/baseball.csv
index 546c3ad62637b..aadbaced193a5 100644
--- a/doc/data/baseball.csv
+++ b/doc/data/baseball.csv
@@ -1,4 +1,4 @@
-id,year,stint,team,lg,g,ab,r,h,X2b,X3b,hr,rbi,sb,cs,bb,so,ibb,hbp,sh,sf,gidp
+id,player,year,stint,team,lg,g,ab,r,h,X2b,X3b,hr,rbi,sb,cs,bb,so,ibb... | Add missing column header in 'baseball.csv' in the docs.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7467 | 2014-06-15T17:42:00Z | 2014-06-15T18:10:23Z | 2014-06-15T18:10:23Z | 2014-06-15T18:10:30Z |
BUG: Some offsets.apply cannot handle tz properly | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index be0b3bc543c39..ac60e3df88715 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -224,6 +224,8 @@ Bug Fixes
+- Bug in passing input with ``tzinfo`` to some offsets ``apply``, ``rollforward`` or ``rollback`` resets ``tzinfo`` or rai... | There are some offsets which cannot handle input with `tz` properly
```
pd.offsets.Day().apply(pd.Timestamp('2010-01-01 9:00', tz='US/Eastern'))
#2010-01-02 09:00:00-05:00 (Expected)
pd.offsets.CustomBusinessDay().apply(pd.Timestamp('2010-01-01 9:00', tz='US/Eastern'))
#2010-01-04 09:00:00 (tzinfo lost)
pd.offsets.C... | https://api.github.com/repos/pandas-dev/pandas/pulls/7465 | 2014-06-14T21:42:43Z | 2014-06-17T11:57:36Z | 2014-06-17T11:57:36Z | 2014-06-17T14:38:59Z |
BUG: astype(float) in Index does the wrong thing | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index be0b3bc543c39..61ffd5c89b568 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -229,7 +229,8 @@ Bug Fixes
-
+- Bug in ``Index.astype(float)`` where it would return an ``object`` dtype
+ ``Index`` (:issue:`7464`).
diff --gi... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/7464 | 2014-06-14T20:15:22Z | 2014-06-15T01:33:35Z | 2014-06-15T01:33:35Z | 2014-06-15T01:33:36Z |
PERF: performance gains in DataFrame groupby.transform for ufuncs (GH7383) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 99fec7be42baa..271b4eb75a7b6 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -137,6 +137,7 @@ Performance
~~~~~~~~~~~
- Improvements in dtype inference for numeric operations involving yielding performance gains for dtypes: ``int64... | accelerates non-modifying transformations, e.g.
closes #7383
`DataFrame.groupby(...).transform(np.max)`
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/7463 | 2014-06-14T20:12:21Z | 2014-06-16T12:52:18Z | 2014-06-16T12:52:18Z | 2014-06-16T12:52:18Z |
BUG: unstack fails for mixed dtype subset | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index be0b3bc543c39..779f8edd51b4e 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -235,3 +235,4 @@ Bug Fixes
- Bug in non-monotonic ``Index.union`` may preserve ``name`` incorrectly (:issue:`7458`)
- Bug in ``DatetimeIndex.intersectio... | closes #7405
| https://api.github.com/repos/pandas-dev/pandas/pulls/7462 | 2014-06-14T19:09:58Z | 2015-04-08T14:49:18Z | null | 2022-10-13T00:16:02Z |
nanops pep8 fixes | diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py
index c3e1da61330fa..431cb1ac451c0 100644
--- a/pandas/core/nanops.py
+++ b/pandas/core/nanops.py
@@ -1,26 +1,21 @@
-from pandas import compat
import sys
import itertools
import functools
import numpy as np
-from pandas.core.common import isnull, notnul... | Very minor pep8 fixes for `nanops`. This brings `nanops` into pep8 compliance.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7461 | 2014-06-14T14:23:51Z | 2014-06-17T12:36:03Z | 2014-06-17T12:36:03Z | 2014-06-26T10:29:12Z |
BUG/CLN: LinePlot uses incorrect xlim when secondary_y=True | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 9e992573f568d..4ef0110013925 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -148,6 +148,11 @@ Performance
+
+- Bug in line plot doesn't set correct ``xlim`` if ``secondary_y=True`` (:issue:`7459`)
+
+
+
Experimental
~~~~~~~~... | `xlim` is not set properly when `secondary_y=True`. This is different issue from #7322.
Also, refactored `secondary_y` to be handled only by `MPLPlot`, because it will be required in future fix to pass multiple axes to `df.plot`, like #7069 (I'm willing to work soon..).
```
df = pd.DataFrame(np.random.randn(5, 5), co... | https://api.github.com/repos/pandas-dev/pandas/pulls/7459 | 2014-06-14T12:30:28Z | 2014-07-07T15:25:12Z | 2014-07-07T15:25:12Z | 2014-07-09T12:39:10Z |
BUG: DTI.intersection doesnt preserve tz | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index cfdef3adb1f34..0c78b00003169 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -232,4 +232,5 @@ Bug Fixes
-
+- Bug in non-monotonic ``Index.union`` may preserve ``name`` incorrectly (:issue:`7458`)
+- Bug in ``DatetimeIndex.inter... | Closes #4690.
Also, found and fixed a bug which non-monotonic `Index.union` incorrectly preserves `name` when `Index` have different names.
```
# monotonic
idx1 = pd.Index([1, 2, 3, 4, 5], name='idx1')
idx2 = pd.Index([4, 5, 6, 7, 8], name='other')
idx1.intersection(idx2).name
# None (Expected)
# non-monotonic
idx1 ... | https://api.github.com/repos/pandas-dev/pandas/pulls/7458 | 2014-06-14T12:02:01Z | 2014-06-14T14:30:36Z | 2014-06-14T14:30:36Z | 2014-06-14T15:34:31Z |
BUG: Better axis label handling for partial layout | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index c41bc13b18606..8beaeb8378f82 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -143,7 +143,7 @@ Performance
-
+- Bug in subplots displays ``ticklabels`` and ``labels`` in different rule (:issue:`5897`)
diff --git a/pandas/t... | Closes #5897.
Handle `ticklabels` and `labels` based on below rules. Currently `labels` are always displayed even if `ticklabels` are hidden and causes confusion.
- If `sharex` is `True`, display only most bottom `xticklabels` on each columns. (Because #7035 hides the bottom-right axes). Hide `xlabel` as the same mann... | https://api.github.com/repos/pandas-dev/pandas/pulls/7457 | 2014-06-14T11:21:40Z | 2014-07-01T15:28:58Z | 2014-07-01T15:28:58Z | 2014-09-18T20:28:41Z |
FIX integer column names for older sqlalchemy version GH6340, GH7330 | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 0ac4b5f3fcc2b..bb6f9cee5766e 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -567,7 +567,7 @@ def insert(self):
ins = self.insert_statement()
data_list = []
temp = self.insert_data()
- keys = temp.columns
+ keys = li... | Closes #7330. Should enable to merge #7022 (#6340).
| https://api.github.com/repos/pandas-dev/pandas/pulls/7456 | 2014-06-14T10:42:52Z | 2014-06-14T11:02:08Z | 2014-06-14T11:02:07Z | 2014-08-21T07:58:27Z |
DOC: Add how to calculate month-start to cookbook | diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst
index 2548f2d88c5d9..b16c71bffd64d 100644
--- a/doc/source/cookbook.rst
+++ b/doc/source/cookbook.rst
@@ -269,6 +269,13 @@ Turn a matrix with hours in columns and days in rows into a continuous row seque
`Dealing with duplicates when reindexing a timeserie... | Related: #7449
| https://api.github.com/repos/pandas-dev/pandas/pulls/7455 | 2014-06-14T05:31:07Z | 2014-06-14T13:02:05Z | 2014-06-14T13:02:05Z | 2014-06-14T23:01:42Z |
ENH/API: offsets funcs now accepts datetime64 | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index cfdef3adb1f34..983dbb61c1288 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -126,7 +126,7 @@ Enhancements
-
+- All offsets ``apply``, ``rollforward`` and ``rollback`` can now handle ``np.datetime64``, previously results in ``A... | Even though `CustomBusinessDay.apply` can handle `np.datetime64`, most of other offsets cannot accept `datetime64` and raises `ApplyTypeError`. The fix allows all offsets `apply`, `rollforward` and `rollback` to handle `np.datetime64` properly.
```
import pandas as pd
import numpy as np
t = np.datetime64('2011-01-01 0... | https://api.github.com/repos/pandas-dev/pandas/pulls/7452 | 2014-06-13T21:58:09Z | 2014-06-14T19:01:04Z | 2014-06-14T19:01:04Z | 2014-06-14T21:52:32Z |
TST/CLN: centralize module check funcs | diff --git a/pandas/stats/tests/test_moments.py b/pandas/stats/tests/test_moments.py
index 3ea40f80a822c..dd91952cf537c 100644
--- a/pandas/stats/tests/test_moments.py
+++ b/pandas/stats/tests/test_moments.py
@@ -17,11 +17,6 @@
N, K = 100, 10
-def _skip_if_no_scipy():
- try:
- import scipy.stats
- exc... | - Moved duplicated module check functions to `util.testing`
- Remove some unnecessary import
| https://api.github.com/repos/pandas-dev/pandas/pulls/7451 | 2014-06-13T21:29:07Z | 2014-06-21T20:11:43Z | 2014-06-21T20:11:43Z | 2014-06-21T22:42:21Z |
FIX: Enable fixed width strings to be read from Stata 13 (117) files | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index be0b3bc543c39..c3e5e4989139f 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -220,6 +220,8 @@ Bug Fixes
- Bug where ``nanops._has_infs`` doesn't work with many dtypes
(:issue:`7357`)
- Bug in ``StataReader.data`` where reading a... | Fixes a bug which prevented files containing fixed width string data from being read. Stata 13 files also allow variable length strings, which are not supported in the current version, and an explicit exception regarding this type is now given. Added tests which cover these cases, and Stata 13 format files.
fixes #... | https://api.github.com/repos/pandas-dev/pandas/pulls/7450 | 2014-06-13T20:23:23Z | 2014-06-16T12:51:56Z | 2014-06-16T12:51:56Z | 2014-06-16T12:52:01Z |
Fix bug where ``nanops._has_infs`` doesn't work with many dtypes (issue #7357) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index aacc4ae989611..c92e853ad8317 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -219,6 +219,8 @@ Bug Fixes
1-dimensional ``nan`` arrays (:issue:`7354`)
- Bug where ``nanops.nanmedian`` doesn't work when ``axis==None``
(:issue:`73... | Fixes issue #7357, where where `nanops._has_infs` doesn't work with many dtypes
| https://api.github.com/repos/pandas-dev/pandas/pulls/7448 | 2014-06-13T08:49:59Z | 2014-06-13T16:42:59Z | 2014-06-13T16:42:59Z | 2014-06-22T15:29:59Z |
WIP: searchsorted implementation | diff --git a/doc/source/api.rst b/doc/source/api.rst
index cce15685035d0..4dd055bce0a0a 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -415,6 +415,7 @@ Reshaping, sorting
Series.sortlevel
Series.swaplevel
Series.unstack
+ Series.searchsorted
Combining / joining / merging
~~~~~~~~~~~~~~~~~... | closes #6712
we've decided to simply return `self.values.searchsorted`, since that's what was happening before, and because dealing with non-monotonic indices is a PITA and yields marginal benefit when you can just use `s.iloc[s.searchsorted(...)]`
- [x] ~~`timedelta64` tests~~ #8464
- [x] ~~more edge case testing~~ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/7447 | 2014-06-13T03:05:18Z | 2014-10-05T01:02:29Z | 2014-10-05T01:02:29Z | 2014-10-05T01:07:09Z |
WIP/DO NOT MERGE: Categorical improvements | diff --git a/.gitignore b/.gitignore
index 92a7e4d3edbf6..d1567afef699b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -88,3 +88,5 @@ doc/source/vbench
doc/source/vbench.rst
doc/source/index.rst
doc/build/html/index.html
+# Windows specific leftover:
+doc/tmp.sv
diff --git a/doc/source/api.rst b/doc/source/api.rst
inde... | This is a PR to make discussing the doc changes easier. See https://github.com/pydata/pandas/pull/7217 for the main PR
TODO List: now in #7217
## The Docs (updated 1st july, 4pm CEST)
<div class="section" id="categorical">
<span id="id1"></span><h1>Categorical<a class="headerlink" href="#categorical" title="Permalin... | https://api.github.com/repos/pandas-dev/pandas/pulls/7444 | 2014-06-12T20:02:16Z | 2014-07-14T21:46:02Z | null | 2014-07-14T21:46:02Z |
_sanitize_column now reports proper duplicate error | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 5e31b14fa7bd3..06494a7167e64 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1962,6 +1962,8 @@ def _sanitize_column(self, key, value):
# GH 4107
try:
value = value.reindex(self.index).v... | closes #7432
A very simple fix for GH7432. `internals.py` (line 3240) actually raises the correct exception (`ValueError: cannot reindex from a duplicate axis`) but the except: doesn't allow it to be raised. Here I've just allowed the exception itself to be raised since it's more useful to the user than the weird `Type... | https://api.github.com/repos/pandas-dev/pandas/pulls/7442 | 2014-06-12T16:27:55Z | 2014-06-13T19:34:50Z | 2014-06-13T19:34:50Z | 2014-06-14T10:58:15Z |
support axis=None for nanmedian ( issue #7352 ) | diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt
index 92e19ba43ccb7..aacc4ae989611 100644
--- a/doc/source/v0.14.1.txt
+++ b/doc/source/v0.14.1.txt
@@ -217,6 +217,8 @@ Bug Fixes
(:issue:`7353`)
- Bug in several ``nanops`` functions when ``axis==0`` for
1-dimensional ``nan`` arrays (:issue:`7354`)
+-... | This fixes #7352, where `nanmedian` does not work when `axis==None`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7440 | 2014-06-12T13:18:52Z | 2014-06-12T22:41:29Z | 2014-06-12T22:41:29Z | 2014-06-13T13:23:36Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.