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 |
|---|---|---|---|---|---|---|---|
TST: Moving testing method outside of TestCase | diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index ef9d7d1566ec2..01f5a4dfb2e30 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -94,9 +94,7 @@ def assert_numpy_array_equal(self, np_array, assert_equal):
If the expected array includes `np.nan` use `assert_numpy_array_equiva... | Make assert_numpy_array_equal available without subclassing TestCase; see #8023
| https://api.github.com/repos/pandas-dev/pandas/pulls/8104 | 2014-08-23T23:37:38Z | 2014-12-01T00:57:09Z | null | 2014-12-01T00:57:26Z |
BUG: pivot_table raises KeyError with nameless index and columns | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 4a39dd73da7d0..7f8a8be356e59 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -628,7 +628,7 @@ Bug Fixes
-
+- Bug in ``pivot_table`` performed with nameless ``index`` and ``columns`` raises ``KeyError`` (:issue:`8103`)
dif... | `pivot_table` raises `KeyError` when args passed to `index` and `columns` don't have `name` attribute. The fix looks especially useful when pivotting by `dt` accessor.
```
df = pd.DataFrame({'dt1': [datetime.datetime(2011, 1, 1), datetime.datetime(2011, 2, 1),
datetime.datetime(2011, 3, 1), ... | https://api.github.com/repos/pandas-dev/pandas/pulls/8103 | 2014-08-23T12:22:07Z | 2014-08-29T18:58:35Z | 2014-08-29T18:58:35Z | 2014-08-30T01:19:10Z |
BENCH: add benchmarks for SQL | diff --git a/vb_suite/io_sql.py b/vb_suite/io_sql.py
new file mode 100644
index 0000000000000..696f66ec3137c
--- /dev/null
+++ b/vb_suite/io_sql.py
@@ -0,0 +1,126 @@
+from vbench.api import Benchmark
+from datetime import datetime
+
+common_setup = """from pandas_vb_common import *
+import sqlite3
+import sqlalchemy
+f... | xref #6701, #6416
WIP for now: intitial benchmarks for sql functions
- Where should the benches be placed? Because there is `io_bench.py`, `packers.py` and `parsers_vb.py` which all contain io related benchmarks. Or should I create a new file?
- The first tests are a generic mixed-type frame writing/reading, both wit... | https://api.github.com/repos/pandas-dev/pandas/pulls/8102 | 2014-08-23T11:07:57Z | 2014-09-09T08:17:36Z | 2014-09-09T08:17:36Z | 2014-09-09T08:17:37Z |
Added warning about attribute access on 'reserved' words | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 04aa07a49ba8a..a8f3f5f26cd9e 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -228,11 +228,17 @@ new column.
.. warning::
- You can use this access only if the index element is a valid python identifier, e.g. ``s.1`` is not... | closes https://github.com/pydata/pandas/issues/8082
| https://api.github.com/repos/pandas-dev/pandas/pulls/8100 | 2014-08-23T03:00:19Z | 2014-09-13T22:47:00Z | null | 2014-09-13T22:47:12Z |
TST: Fix timezone test to avoit dateutil issue | diff --git a/pandas/tseries/tests/test_tslib.py b/pandas/tseries/tests/test_tslib.py
index 2cd8539d27dd3..61fc3652fb8a4 100644
--- a/pandas/tseries/tests/test_tslib.py
+++ b/pandas/tseries/tests/test_tslib.py
@@ -138,7 +138,7 @@ def test_constructor_with_stringoffset(self):
def test_repr(self):
dates = ... | Closes #7993.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8099 | 2014-08-23T02:43:18Z | 2014-08-29T20:37:06Z | 2014-08-29T20:37:06Z | 2014-08-30T01:18:38Z |
TST: Fix boxplot test for python3 | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 6435f8e741f96..1d51256e751b6 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -2626,7 +2626,7 @@ class TestDataFrameGroupByPlots(TestPlotBase):
def test_boxplot(self):
grouped = self.hist_df.g... | Closes #8091.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8098 | 2014-08-23T02:40:35Z | 2014-08-25T05:47:44Z | 2014-08-25T05:47:44Z | 2014-08-30T01:18:56Z |
BUG: fix iat and at for Float64Index | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index ac475d637f9cf..4a39dd73da7d0 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -634,7 +634,8 @@ Bug Fixes
-
+- Bug in ``Float64Index`` where ``iat`` and ``at`` were not testing and were
+ failing (:issue:`8092`).
diff --gi... | closes #8092
| https://api.github.com/repos/pandas-dev/pandas/pulls/8094 | 2014-08-22T14:02:19Z | 2014-08-22T15:04:25Z | 2014-08-22T15:04:25Z | 2014-08-22T15:04:27Z |
ENH: add support for datetime.date/time in to_sql (GH6932) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index ecfd7b5ada055..13931c3c104be 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -427,6 +427,7 @@ Enhancements
~~~~~~~~~~~~
- Added support for a ``chunksize`` parameter to ``to_sql`` function. This allows DataFrame to be written in... | Closes #6932
Support for writing `datetime.date` and `datetime.time` object columns with `to_sql`.
Works nicely for the sqlalchemy mode, for sqlite fallback it writes OK for `datetime.date`, but comes back as object strings (this is also the case for datetime)
Remaining question:
- when reading the data back in `TIM... | https://api.github.com/repos/pandas-dev/pandas/pulls/8090 | 2014-08-22T09:41:46Z | 2014-08-28T07:03:43Z | 2014-08-28T07:03:43Z | 2014-08-28T07:06:21Z |
CLN: PEP8 cleanup of holiday.py | diff --git a/pandas/tseries/holiday.py b/pandas/tseries/holiday.py
index ea85f35cd4ca2..3b3542b760d6f 100644
--- a/pandas/tseries/holiday.py
+++ b/pandas/tseries/holiday.py
@@ -129,10 +129,10 @@ class from pandas.tseries.offsets
computes offset from date
observance: function
computes... | https://api.github.com/repos/pandas-dev/pandas/pulls/8085 | 2014-08-21T00:26:22Z | 2014-08-22T12:21:56Z | 2014-08-22T12:21:56Z | 2015-04-25T23:33:55Z | |
BUG: When creating table, db indexes should be created from DataFrame indexes | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 09c59710e9b0c..c960a73bb0f88 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -566,17 +566,17 @@ def __init__(self, name, pandas_sql_engine, frame=None, index=True,
raise ValueError("Table '%s' already exists." % name)
e... | Unfortunately my PR #8022 introduced a bug wherein database indexes are not created from DataFrame indexes. This pull request fixes it, also introduces this feature for the legacy interface, and adds tests to make sure indexes are created as appropriate.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8083 | 2014-08-20T20:23:36Z | 2014-09-11T06:33:17Z | 2014-09-11T06:33:17Z | 2014-09-14T10:42:50Z |
PERF: StataWriter is slow | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index d608304511a08..6c58e751a6bcc 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -482,6 +482,8 @@ Performance
- Performance improvements in ``Period`` creation (and ``PeriodIndex`` setitem) (:issue:`5155`)
- Improvements in Series.tran... | StataWriter wrote data using scalar operations. This has been replaced using
numpy's internal binary writer (tofile).
Changes needed to improve performance include:
- Vectorized pandas date to Stata date conversion
- Vectorized null padding
- Conversion to record array
When data contain strings, the old writing path... | https://api.github.com/repos/pandas-dev/pandas/pulls/8079 | 2014-08-20T15:27:40Z | 2014-08-21T14:26:34Z | 2014-08-21T14:26:34Z | 2014-08-22T15:42:17Z |
ENH: add support dtype='category' in Series constructor | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 6c58e751a6bcc..b987104ac2408 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -120,7 +120,7 @@ API changes
3 9
4 NaN
dtype: float64
-
+
New behavior (note final value is ``7 = sum([3, 4, NaN])``):
.. ipy... | xref #8074
closes #8076
```
In [1]: Series([1,1,2,2,3,4,5],dtype='category')
Out[1]:
0 1
1 1
2 2
3 2
4 3
5 4
6 5
dtype: category
Levels (5, int64): [1 < 2 < 3 < 4 < 5]
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/8075 | 2014-08-20T00:13:51Z | 2014-08-21T21:33:10Z | 2014-08-21T21:33:10Z | 2014-08-21T21:33:10Z |
PERF: StataReader is slow | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 1db189fcc74e3..d608304511a08 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -481,7 +481,7 @@ Performance
- Performance improvements in ``DatetimeIndex.__iter__`` to allow faster iteration (:issue:`7683`)
- Performance improvements... | StataReader does not make use of vectorized operations.
To improve performance, the following changes have been made:
- Use numpy.frombuffer to real the stored data in a single operation
- Vectorize date conversion
- Removal of unreachable private functions
| https://api.github.com/repos/pandas-dev/pandas/pulls/8073 | 2014-08-19T15:49:29Z | 2014-08-20T10:52:34Z | 2014-08-20T10:52:34Z | 2014-08-22T15:42:25Z |
BUG: Bug in Timestamp comparisons with == and dtype of int64 (GH8058) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 3839d475b29ad..509d1c4a9b327 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -465,7 +465,7 @@ Bug Fixes
- Bug in ``combine_first`` with ``PeriodIndex`` data raises ``TypeError`` (:issue:`3367`)
- Bug in multi-index slicing with mis... | closes #8058
| https://api.github.com/repos/pandas-dev/pandas/pulls/8070 | 2014-08-19T14:16:29Z | 2014-08-19T15:12:53Z | 2014-08-19T15:12:53Z | 2014-08-19T15:12:53Z |
DOC: Add scatter to visualization.rst | diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst
index 076870eff1761..1d2e996934f76 100644
--- a/doc/source/visualization.rst
+++ b/doc/source/visualization.rst
@@ -126,7 +126,7 @@ These include:
* :ref:`'hist' <visualization.hist>` for histogram
* :ref:`'kde' <visualization.kde>` or ``'densit... | Current doc has no explanation, and incorrectly linked to `scatter_matrix`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8069 | 2014-08-19T14:10:00Z | 2014-08-19T14:18:39Z | 2014-08-19T14:18:39Z | 2014-08-22T21:31:29Z |
DOC: Fix Release note 8019, 8039 | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 85f620fcd4b99..71d168e1b575d 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -394,7 +394,7 @@ Enhancements
-- Bug in ``DataFrame.shift`` where empty columns would throw ``ZeroDivisionError`` on numpy 1.7 (:issue:`8019`)
+
... | Fix release note #8019, #8039
| https://api.github.com/repos/pandas-dev/pandas/pulls/8068 | 2014-08-19T13:32:17Z | 2014-08-19T13:36:12Z | 2014-08-19T13:36:12Z | 2014-08-22T21:31:16Z |
typo: "cubhelix" -> "cubehelix" | diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst
index 40b5d7c1599c1..076870eff1761 100644
--- a/doc/source/visualization.rst
+++ b/doc/source/visualization.rst
@@ -1079,7 +1079,7 @@ colors are selected based on an even spacing determined by the number of columns
in the DataFrame. There is no c... | https://api.github.com/repos/pandas-dev/pandas/pulls/8067 | 2014-08-19T13:07:33Z | 2014-08-19T13:21:21Z | 2014-08-19T13:21:21Z | 2014-08-19T13:21:25Z | |
Fix bdist_wheel. Add Tag information to WHEEL dist info. | diff --git a/setup.py b/setup.py
index f57349c048a62..a7793f3300dfe 100755
--- a/setup.py
+++ b/setup.py
@@ -392,6 +392,20 @@ def run(self):
'build': build,
'sdist': CheckSDist}
+try:
+ from wheel.bdist_wheel import bdist_wheel
+
+ class BdistWheel(bdist_wheel):
+ def get_tag(se... | The wheel build with https://github.com/MacPython/pandas-wheels
```
# file: pandas-0.14.1.dist-info/WHEEL
Wheel-Version: 1.0
Generator: bdist_wheel (0.24.0)
Root-Is-Purelib: false
Tag: cp27-none-macosx_10_6_intel
```
Although it was renamed to `macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64`, the real
tag did... | https://api.github.com/repos/pandas-dev/pandas/pulls/8066 | 2014-08-19T08:55:56Z | 2014-09-14T14:13:25Z | 2014-09-14T14:13:25Z | 2014-09-14T15:19:01Z |
Adding a warning when dropping NA values for panel.to_frame #7879 | diff --git a/pandas/core/panel.py b/pandas/core/panel.py
index 1e6ed56386f63..e27dc0851e4a2 100644
--- a/pandas/core/panel.py
+++ b/pandas/core/panel.py
@@ -8,6 +8,7 @@
from pandas import compat
import sys
import numpy as np
+import warnings
from pandas.core.common import (PandasError, _try_sort, _default_index,
... | closes: https://github.com/pydata/pandas/issues/7879
I've added a warning when the <code>NaN</code> values are dropped when calling <code>pd.Panel(dict).to_frame()</code> with the param <code>filter_observations</code> true
I've supplied a test case to be used against the example provided in the issue tracker
| https://api.github.com/repos/pandas-dev/pandas/pulls/8063 | 2014-08-18T21:09:16Z | 2015-01-25T23:40:01Z | null | 2015-01-25T23:40:01Z |
Added chunksize argument to to_sql | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 6e5d254d27b7f..e249585c10784 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -3267,6 +3267,12 @@ the database using :func:`~pandas.DataFrame.to_sql`.
data.to_sql('data', engine)
+With some databases, writing large DataFrames can result in error... | Large dataframes may fail to write to a database in one go due to packet size errors . This add a `chunksize` parameter which will write the dataframe to the database in batches. See https://github.com/pydata/pandas/issues/7347 .
Notice that there is quite a bit of code duplication between the SQLAlchemy and legacy ... | https://api.github.com/repos/pandas-dev/pandas/pulls/8062 | 2014-08-18T20:37:40Z | 2014-08-22T07:32:12Z | 2014-08-22T07:32:12Z | 2014-09-15T21:49:48Z |
ENH: improve datetime string parsing with CustomBusinessDay | diff --git a/pandas/tseries/offsets.py b/pandas/tseries/offsets.py
index cd37f4000e5a2..808be75ee857d 100644
--- a/pandas/tseries/offsets.py
+++ b/pandas/tseries/offsets.py
@@ -603,7 +603,7 @@ def _to_dt64(dt, dtype='datetime64'):
i8 = tslib.pydt_to_i8(dt)
dt = tslib.tz_convert_single(i8, 'UTC... | Currently CustomBusinessDay requires a strict format for holiday definition
```
CustomBusinessDay(holidays=['2014-05-12'])
```
but the following would raise a ValueError:
```
CustomBusinessDay(holidays=['5/12/2014'])
```
this PR makes the date parsing easier and adds a unit test
| https://api.github.com/repos/pandas-dev/pandas/pulls/8061 | 2014-08-18T18:32:43Z | 2015-04-08T15:21:33Z | null | 2015-04-08T17:19:04Z |
BUG: rolling_count() and expanding_*() with zero-length args; rolling/expanding_apply with min_periods=0 | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index d608304511a08..69d8632677b67 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -104,9 +104,9 @@ API changes
:func:`rolling_std`, :func:`rolling_var`, :func:`rolling_skew`, :func:`rolling_kurt`, and :func:`rolling_quantile`,
:func... | Closes https://github.com/pydata/pandas/issues/8056
Closes https://github.com/pydata/pandas/issues/8080
| https://api.github.com/repos/pandas-dev/pandas/pulls/8059 | 2014-08-18T17:03:26Z | 2014-08-28T17:34:49Z | 2014-08-28T17:34:49Z | 2014-09-10T00:11:40Z |
TST: Fix tseries.converter test for MPL1.4 | diff --git a/pandas/tseries/tests/test_converter.py b/pandas/tseries/tests/test_converter.py
index a1b873e1c0bea..d3287a01cd1da 100644
--- a/pandas/tseries/tests/test_converter.py
+++ b/pandas/tseries/tests/test_converter.py
@@ -74,7 +74,7 @@ def test_dateindex_conversion(self):
for freq in ('B', 'L', 'S'):
... | Closes #7233.
Other tests have no problem with MPL1.4.dev:
- tests\test_graphics.py
- tseries\tests\test_plotting.py
| https://api.github.com/repos/pandas-dev/pandas/pulls/8054 | 2014-08-18T12:46:26Z | 2014-08-19T12:50:59Z | 2014-08-19T12:50:59Z | 2014-08-19T13:34:02Z |
TST: catch invalid options data parsing | diff --git a/pandas/io/data.py b/pandas/io/data.py
index c40b91ffa91c9..d15522a33d4b1 100644
--- a/pandas/io/data.py
+++ b/pandas/io/data.py
@@ -735,16 +735,20 @@ def _get_option_data(self, month, year, expiry, name):
raise RemoteDataError("Table location {0} invalid, {1} tables"
... | xref #8052
| https://api.github.com/repos/pandas-dev/pandas/pulls/8053 | 2014-08-18T12:45:15Z | 2014-08-18T13:05:59Z | 2014-08-18T13:05:59Z | 2014-08-18T13:05:59Z |
BUG: Bug in DataFrameGroupby.transform when transforming with a passed non-sorted key (GH8046) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 2e3841e8a00c3..0a857adbe84e8 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -465,7 +465,7 @@ Bug Fixes
when matching block and manager items, when there's only one block there's no ambiguity (:issue:`7794`)
- Bug in HDFStore i... | closes #8046
| https://api.github.com/repos/pandas-dev/pandas/pulls/8049 | 2014-08-17T22:03:29Z | 2014-08-18T15:26:26Z | 2014-08-18T15:26:26Z | 2014-09-30T21:35:39Z |
Update README to use pydata instead of pystatsmodels google group | diff --git a/README.md b/README.md
index 6a645dc64123d..778984aa4cf52 100644
--- a/README.md
+++ b/README.md
@@ -218,7 +218,6 @@ has been under active development since then.
Since pandas development is related to a number of other scientific
Python projects, questions are welcome on the scipy-user mailing
list. Spe... | I'm pretty sure PyData is the main mailing list for pandas now, e.g., as seen on the website:
http://pandas.pydata.org/community.html
| https://api.github.com/repos/pandas-dev/pandas/pulls/8047 | 2014-08-17T09:01:28Z | 2014-08-17T09:09:15Z | 2014-08-17T09:09:15Z | 2014-08-17T09:32:27Z |
PERF: StataReader is slow due to excessive lookups for missing vales | diff --git a/doc/source/io.rst b/doc/source/io.rst
index baf684056e169..6e5d254d27b7f 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -3558,6 +3558,13 @@ read and used to create a ``Categorical`` variable from them. Value labels can
also be retrieved by the function ``variable_labels``, which requires data t... | Previous versions of StataReader did not correctly check for missing values.
This was fixed in a previous PR, but these checks had previously been
implemented on a value-by-value basis. This has now been changed to a
vectorized version that is orders of magnitude faster.
Additionally, a benchmark was added to monitor... | https://api.github.com/repos/pandas-dev/pandas/pulls/8045 | 2014-08-16T22:08:26Z | 2014-08-18T20:55:52Z | 2014-08-18T20:55:52Z | 2014-08-22T15:42:41Z |
Added parameter float_precision to CSV parser | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 273cbd5daae7d..b467e6243399a 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -176,7 +176,12 @@ They can take a number of arguments:
- ``mangle_dupe_cols``: boolean, default True, then duplicate columns will be specified
as 'X.0'...'X.N', rather ... | closes #8002.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8044 | 2014-08-16T14:29:32Z | 2014-09-19T16:07:47Z | 2014-09-19T16:07:47Z | 2014-09-22T16:08:17Z |
BUG: stack with datetimes | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 0223a11d8a011..548f23df532e2 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -548,8 +548,7 @@ Bug Fixes
- Bug in ``read_html`` where ``bytes`` objects were not tested for in
``_read`` (:issue:`7927`).
-
-
+- Bug in ``DataFrame.... | closes https://github.com/pydata/pandas/issues/8039
The only change I made was to select from the MultiIndex itself, rather than the underlying `.values` attribute. The test set passed but I want to look at this a bit more closely to make sure everything is ok.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8043 | 2014-08-15T22:17:05Z | 2014-08-18T13:14:00Z | 2014-08-18T13:14:00Z | 2016-11-03T12:38:05Z |
Fix testing multiindex dtypes in assert_frame_equal and assert_series_equal | diff --git a/pandas/tests/test_testing.py b/pandas/tests/test_testing.py
index 298fa73c69064..642e50c37874d 100644
--- a/pandas/tests/test_testing.py
+++ b/pandas/tests/test_testing.py
@@ -6,9 +6,10 @@
import nose
import numpy as np
import sys
-from pandas import Series
+from pandas import Series, DataFrame
from pa... | When using `assert_frame_equal` or `assert_series_equal` in the presence of a multiindex, the dtype of the index as a whole is `object`. Hence, there is no checking that the dtypes of the individual levels match. We now iterate through the levels.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8042 | 2014-08-15T18:51:02Z | 2014-08-15T19:22:28Z | 2014-08-15T19:22:28Z | 2014-08-15T19:24:07Z |
BUG: Don't call np.roll on empty arrays. | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 4bd55b2172013..b3ee0980635e3 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -389,7 +389,7 @@ Enhancements
-
+- Bug in ``DataFrame.shift`` where empty columns would throw ``ZeroDivisionError`` on numpy 1.7 (:issue:`8019`)
... | On some versions of numpy (such as 1.7, but not 1.8), this throws a
ZeroDivisionError.
Fixes #8019.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8041 | 2014-08-15T17:16:33Z | 2014-08-18T15:38:09Z | 2014-08-18T15:38:09Z | 2014-08-18T18:20:52Z |
DOC/CLN: Cleanups plotting.py | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 9d03b7b38bea7..8513fb7807084 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -257,6 +257,8 @@ API changes
- Added support for numpy 1.8+ data types (bool_, int_, float_, string_) for conversion to R dataframe (:issue:`8400`)
+-... | - Some refactoring which should not affects to output.
- Made `DataFrame.plot` and `Series.plot` should have consistent docstring except differences.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8037 | 2014-08-15T13:54:51Z | 2014-10-04T15:09:20Z | 2014-10-04T15:09:20Z | 2014-11-22T09:25:46Z |
API: Timetamp.tz_localize and tz_convert raises TypeError rathar | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index a6be3a1ed3d0e..2e3841e8a00c3 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -172,7 +172,7 @@ API changes
- ``DataFrame.tz_localize`` and ``DataFrame.tz_convert`` now accepts an optional ``level`` argument
for localizing a spec... | Closes #8025.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8036 | 2014-08-15T13:49:49Z | 2014-08-16T16:56:02Z | 2014-08-16T16:56:02Z | 2014-08-19T13:33:55Z |
DOC: Fixing 'chunksize' parameter name typo io.rst | diff --git a/doc/source/io.rst b/doc/source/io.rst
index f4065d736a674..baf684056e169 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2722,7 +2722,7 @@ The default is 50,000 rows returned in a chunk.
.. code-block:: python
- for df in read_hdf('store.h5','df', chunsize=3):
+ for df in read_... | Fixing an error in the 'chunksize' parameter name for the io doc. With the typo (parameter called 'chunsize'), the sample code from the documentation fails silently / confusingly - returns an iterator over individual dataframe elements rather than dataframe chunks.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8035 | 2014-08-15T13:19:00Z | 2014-08-15T13:20:18Z | 2014-08-15T13:20:18Z | 2014-08-15T13:20:50Z |
DOC: suppress warning + fix reshape example | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 8ec61496c538a..43b11fa0a60bc 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -1476,6 +1476,7 @@ You can control the action of a chained assignment via the option ``mode.chained
which can take the values ``['raise','warn',None]``... | https://github.com/pydata/pandas/commit/bc610104f96699ff73ce507e79b8be070f126454 defined new `index`, but the previous was still used in later example, and suppress SettingWIthCopyWarning from https://github.com/pydata/pandas/commit/70a17da4003af0b1882deb5bcb28e188335fb9dd
| https://api.github.com/repos/pandas-dev/pandas/pulls/8034 | 2014-08-15T08:45:45Z | 2014-08-15T09:05:08Z | 2014-08-15T09:05:08Z | 2014-08-15T09:05:09Z |
BUG: fix py3 read_html bytes input | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 54acb278d2100..27c00103f80b1 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -533,7 +533,11 @@ Bug Fixes
+- Bug in installation where ``html_encoding/*.html`` wasn't installed and
+ therefore some tests were not running correc... | closes #7927
| https://api.github.com/repos/pandas-dev/pandas/pulls/8030 | 2014-08-14T17:46:50Z | 2014-08-14T19:41:22Z | 2014-08-14T19:41:22Z | 2014-08-14T19:41:24Z |
BUG: fix HDFStore iterator to handle a where properly (GH8014) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 0223a11d8a011..a367147203e3f 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -463,7 +463,7 @@ Bug Fixes
- Bug in pickle deserialization that failed for pre-0.14.1 containers with dup items trying to avoid ambiguity
when matching ... | closes #8014
| https://api.github.com/repos/pandas-dev/pandas/pulls/8029 | 2014-08-14T14:33:58Z | 2014-08-16T00:39:45Z | 2014-08-16T00:39:45Z | 2014-08-16T00:39:45Z |
BUG: Area plot legend has incorrect color | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index c6e784ac93e92..066aef1f791eb 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -472,7 +472,7 @@ Bug Fixes
times were returned when crossing DST boundaries (:issue:`7835`, :issue:`7901`).
-
+- Bug in area plot draws legend with i... | Derived from #7636. Area plot sets incorrect `alpha` values to legend when `stacked=True`.
#### NG: Each areas are drawn with `alpha=1.0`, but legend has `alpha=0.5`

#### After fix
```
df = pd.DataFrame(n... | https://api.github.com/repos/pandas-dev/pandas/pulls/8027 | 2014-08-14T11:54:01Z | 2014-08-15T12:50:09Z | 2014-08-15T12:50:09Z | 2014-10-02T12:18:35Z |
BUG: related to GH5080, get_indexer choking on boolean type promotion (GH8024) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index c6e784ac93e92..7842b80cec46f 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -217,7 +217,7 @@ Internal Refactoring
In 0.15.0 ``Index`` has internally been refactored to no longer sub-class ``ndarray``
but instead subclass ``Panda... | closes #8024
| https://api.github.com/repos/pandas-dev/pandas/pulls/8026 | 2014-08-14T11:50:31Z | 2014-08-14T13:08:19Z | 2014-08-14T13:08:19Z | 2014-08-14T13:08:19Z |
Fixed incorrect datatype conversion on multi-indexes | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 0223a11d8a011..49084e28f21da 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -446,6 +446,7 @@ There are no experimental changes in 0.15.0
Bug Fixes
~~~~~~~~~
+- Bug in multiindexes dtypes getting mixed up when DataFrame is saved ... | When creating a new table from a `pandas` dataframe with a multi-index, the code would iterate over the index columns backwards but use their types as if counting forwards. This meant that the created table had incorrect indexes for multi-indexes.
This code factors out a function to pull column names and column types... | https://api.github.com/repos/pandas-dev/pandas/pulls/8022 | 2014-08-14T08:32:13Z | 2014-08-15T22:40:58Z | 2014-08-15T22:40:58Z | 2014-08-20T20:23:36Z |
ENH: Groupby.plot enhancement | diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst
index 2eaf143a3e0b8..ca54715a3bac6 100644
--- a/doc/source/visualization.rst
+++ b/doc/source/visualization.rst
@@ -265,50 +265,7 @@ You can pass other keywords supported by matplotlib ``hist``. For example, horiz
See the :meth:`hist <matplotlib.... | Allow to support `DataFrameGroupBy.plot` and `SeriesGroupBy.plot` covering current `DataFrame.hist(by=XXX)` and `DataFrame.boxplot(by=XXX)` usecases. Implementation is incomplete but covering most of usecases / behaviours.
- [x] fix `FIXME`s
- [x] Split to `plot_seriesgroupby` and `plot_dataramegroupby` specifying defa... | https://api.github.com/repos/pandas-dev/pandas/pulls/8018 | 2014-08-13T15:39:45Z | 2017-03-20T13:49:20Z | null | 2017-03-20T13:55:29Z |
fix issue #8000 - interpolation extrapolates over trailing missing values | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 48fb75f59ac34..07b0b8da55786 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1543,7 +1543,8 @@ def _interp_limit(invalid, limit):
inds = inds[firstIndex:]
result[firstIndex:][invalid] = np.interp(inds[invalid], inds[... | This pull request is in response to [issue #8000](https://github.com/pydata/pandas/issues/8000).
Changes to core/common.py add np.nan as the default value for missing values to the left and right non-missing values during interpolation. This prevents DataFrame.interpolate() from extrapolating the last non-missing valu... | https://api.github.com/repos/pandas-dev/pandas/pulls/8013 | 2014-08-13T02:04:24Z | 2015-07-28T21:56:26Z | null | 2022-10-13T00:16:06Z |
WIP: generalize categorical to N-dimensions | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index cb6f200b259db..4ed0faef398ee 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -101,7 +101,7 @@ def factorize(values, sort=False, order=None, na_sentinel=-1):
Parameters
----------
- values : ndarray (1-d)
+ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/8012 | 2014-08-13T00:59:30Z | 2014-08-13T00:59:49Z | null | 2014-08-21T19:56:41Z | |
fix issue #8000 | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 48fb75f59ac34..07b0b8da55786 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1543,7 +1543,8 @@ def _interp_limit(invalid, limit):
inds = inds[firstIndex:]
result[firstIndex:][invalid] = np.interp(inds[invalid], inds[... | This pull request is in response to [issue #8000](https://github.com/pydata/pandas/issues/8000).
Changes to core/common.py add np.nan as the default value for missing values to the left and right non-missing values during interpolation. This prevents DataFrame.interpolate() from extrapolating the last non-missing val... | https://api.github.com/repos/pandas-dev/pandas/pulls/8010 | 2014-08-12T23:31:03Z | 2014-08-13T02:04:55Z | null | 2014-08-13T13:57:02Z |
Add sharex and sharey to grouped boxplot | diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py
index 7d0eaea5b36d6..d7661e2eb4ca7 100644
--- a/pandas/tools/plotting.py
+++ b/pandas/tools/plotting.py
@@ -2685,7 +2685,7 @@ def plot_group(group, ax):
def boxplot_frame_groupby(grouped, subplots=True, column=None, fontsize=None,
... | sharex and sharey should be settable and by default False in a grouped boxplot. E.g.
```
n [97]: df = DataFrame(np.random.rand(10,2), columns=['Col1', 'Col2'] )
In [98]: df['X'] =['A','A','A','A','A','B','B','B','B','B']
In [99]: df.iloc[0:5, :2] += 10000
In [100]: df.groupby('X').boxplot() # this is unreadable
`... | https://api.github.com/repos/pandas-dev/pandas/pulls/8008 | 2014-08-12T21:59:27Z | 2015-05-09T16:20:05Z | null | 2022-10-13T00:16:06Z |
CLN/DOC/TST: Categorical fixups (GH7768) | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 985f112979a7e..6b1bfdf7b241d 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -66,7 +66,8 @@ Creating a ``DataFrame`` by passing a dict of objects that can be converted to s
'B' : pd.Timestamp('20130102'),
... | replaces #7768, #8006
closes #3678
Categorical: preserve ints when NaN are present
`Categorical([1, np.nan])` would end up with a single `1.` float level.
This commit ensures that if `values` is a list of ints and contains np.nan,
the float conversation does not take place.
Categorical: fix describe with np.... | https://api.github.com/repos/pandas-dev/pandas/pulls/8007 | 2014-08-12T18:14:31Z | 2014-08-19T13:58:05Z | 2014-08-19T13:58:05Z | 2014-08-29T18:41:49Z |
CLN/DOC/TST: categorical fixups (GH7768) | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 985f112979a7e..6424b82779f0f 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -66,7 +66,8 @@ Creating a ``DataFrame`` by passing a dict of objects that can be converted to s
'B' : pd.Timestamp('20130102'),
... | replaces #7768
closes #3678
Categorical([1, np.nan]) would end up with a single `1.` float level.
This commit ensures that if `values` is a list of ints and contains np.nan,
the float conversation does not take place.
Categorical: fix describe with np.nan
Categorical: ensure that one can assign np.nan
Categorical... | https://api.github.com/repos/pandas-dev/pandas/pulls/8006 | 2014-08-12T16:18:20Z | 2014-08-12T18:14:25Z | null | 2014-08-12T18:15:28Z |
API: consistency in .loc indexing when no values are found in a list-like indexer GH7999) | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 25233d970b3a6..e5c58bf817a36 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -282,7 +282,7 @@ Selection By Label
See :ref:`Returning a View versus Copy <indexing.view_versus_copy>`
pandas provides a suite of methods in ord... | closes #7999
| https://api.github.com/repos/pandas-dev/pandas/pulls/8003 | 2014-08-12T15:22:40Z | 2014-08-14T17:13:13Z | 2014-08-14T17:13:12Z | 2014-08-14T17:13:13Z |
ENH/CLN: add BoxPlot class inheriting MPLPlot | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 4a39dd73da7d0..95bf2918f8992 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -216,6 +216,7 @@ API changes
as the ``left`` argument. (:issue:`7737`)
- Histogram from ``DataFrame.plot`` with ``kind='hist'`` (:issue:`7809`), See ... | Like #7809, added `DataFrame.plot(kind='box')` to plot boxplot under the common plotting method.
**NOTE:** `DataFrame.boxplot` remains untouched (few lines are modified to share some definitions).
**NOTE:** This is based on #7736.
```
import pandas as pd
import numpy as np
pd.options.display.mpl_style = 'default'
df ... | https://api.github.com/repos/pandas-dev/pandas/pulls/7998 | 2014-08-12T13:37:51Z | 2014-08-25T04:10:14Z | 2014-08-25T04:10:14Z | 2014-08-30T01:19:34Z |
DOC: Release note format correction | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index b91c306e9b193..d15a48535f1eb 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -151,7 +151,7 @@ API changes
Out[3]: array([ True, False, True, True, False, True], dtype=bool)
- ``tz_localize(None)`` for tz-aware ``Timestamp... | https://api.github.com/repos/pandas-dev/pandas/pulls/7995 | 2014-08-12T01:59:18Z | 2014-08-12T06:13:18Z | 2014-08-12T06:13:18Z | 2014-08-12T22:11:19Z | |
COMPAT: change pytables to use 3.0.0 API (GH7990) | diff --git a/ci/requirements-2.7.txt b/ci/requirements-2.7.txt
index c5addb93be38d..5b77428a0f6d7 100644
--- a/ci/requirements-2.7.txt
+++ b/ci/requirements-2.7.txt
@@ -5,7 +5,7 @@ numpy==1.8.1
cython==0.19.1
bottleneck==0.6.0
numexpr==2.2.2
-tables==2.3.1
+tables==3.0.0
matplotlib==1.3.1
openpyxl==1.6.2
xlsxwrit... | closes #7990
| https://api.github.com/repos/pandas-dev/pandas/pulls/7994 | 2014-08-11T22:54:44Z | 2014-08-12T13:04:01Z | 2014-08-12T13:04:01Z | 2014-08-20T08:07:14Z |
Allow deprecate_kwarg to transform arguments | diff --git a/pandas/tests/test_util.py b/pandas/tests/test_util.py
new file mode 100644
index 0000000000000..76b49a5f976bd
--- /dev/null
+++ b/pandas/tests/test_util.py
@@ -0,0 +1,64 @@
+
+import warnings
+
+import nose
+
+import pandas.util
+from pandas.util.decorators import deprecate_kwarg
+import pandas.util.testin... | This will allow deprecated kwargs to be transformed before being passed to a function. For example, in #7963, one could write
``` python
@deprecate_kwarg(old_arg_name='infer_dst', new_arg_name='ambiguous',
mapping={True: 'infer', False: 'raise'})
def tz_localize(self, tz, ambiguous=None):
...
`... | https://api.github.com/repos/pandas-dev/pandas/pulls/7991 | 2014-08-11T21:17:48Z | 2014-09-09T19:46:29Z | 2014-09-09T19:46:29Z | 2014-09-09T20:09:08Z |
bug fix for 7987 and add day of week functionality to Holiday | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 0223a11d8a011..5c85e9e684bf3 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -367,7 +367,7 @@ Enhancements
- ``PeriodIndex`` supports ``resolution`` as the same as ``DatetimeIndex`` (:issue:`7708`)
- ``pandas.tseries.holiday`` has ... | This should fix issue 7987 where there is no offset or observance.
closes https://github.com/pydata/pandas/issues/7987
| https://api.github.com/repos/pandas-dev/pandas/pulls/7988 | 2014-08-11T18:43:05Z | 2014-08-19T17:07:30Z | 2014-08-19T17:07:30Z | 2014-08-19T19:33:11Z |
Fix DataFrame.to_latex() midrule positioning with MultiIndex columns | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 401cbb6e219f6..81b6c38c74a57 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -429,7 +429,7 @@ Bug Fixes
- ``Period`` and ``PeriodIndex`` addition/subtraction with ``np.timedelta64`` results in incorrect internal representations (:is... | Currently, the positioning of \midrule is determined by the number of index
levels, not columns levels:
```
>>> print pd.DataFrame({('x', 'y'): ['a']}).to_latex()
\begin{tabular}{ll}
\toprule
{} & x \\
\midrule
{} & y \\
0 & a \\
\bottomrule
\end{tabular}
```
The fix is simple: use the number of column levels inst... | https://api.github.com/repos/pandas-dev/pandas/pulls/7982 | 2014-08-10T20:38:49Z | 2014-08-19T17:51:26Z | 2014-08-19T17:51:26Z | 2014-09-09T05:46:21Z |
ENH: Add duplicated/drop_duplicates to Index | diff --git a/doc/source/api.rst b/doc/source/api.rst
index ec6e2aff870c6..feb4da700354d 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -374,6 +374,8 @@ Reindexing / Selection / Label manipulation
Series.align
Series.drop
+ Series.drop_duplicates
+ Series.duplicated
Series.equals
Serie... | Closes #4060.
```
idx = pd.Index([1, 2, 3, 4, 1, 2])
idx.duplicated()
# Index([False, False, False, False, True, True], dtype='bool')
idx.drop_duplicates()
# Int64Index([1, 2, 3, 4], dtype='int64')
idx.duplicated(take_last=True)
# Index([True, True, False, False, False, False], dtype='bool')
idx.drop_duplicates(take_... | https://api.github.com/repos/pandas-dev/pandas/pulls/7979 | 2014-08-10T15:25:48Z | 2014-08-15T12:54:51Z | 2014-08-15T12:54:51Z | 2014-08-15T13:01:47Z |
PERF: perf improvements for Series.transform (revised) (GH6496) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index e6c442159336b..16033dd75204c 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -162,7 +162,7 @@ previously results in ``Exception`` or ``TypeError`` (:issue:`7812`)
didx
didx.tz_localize(None)
-- ``DataFrame.tz_localize``... | xref #6496
Additional perf improvements for Series.transform (when specifying cythonizable functions)
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
----------------------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/7975 | 2014-08-10T01:24:50Z | 2014-08-10T01:40:24Z | 2014-08-10T01:40:24Z | 2014-08-10T01:40:24Z |
BUG: Allow __name__less callables as groupby hows (GH7929) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 16033dd75204c..5824e5824e8b5 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -389,9 +389,8 @@ Bug Fixes
- Bug in ``GroupBy.transform()`` where int groups with a transform that
didn't preserve the index were incorrectly truncated ... | Allow `functools.partial` objects (and similar callables without `__name__` attributes) to be used as `groupby` functions, which also adds support along the tree (e.g. `resample`, which is specifically tested.)
Closes #7929.
This does not address the potential enhancements allowing automatic naming of duplicate-named... | https://api.github.com/repos/pandas-dev/pandas/pulls/7974 | 2014-08-10T01:13:29Z | 2014-08-10T03:47:08Z | 2014-08-10T03:47:08Z | 2014-08-10T03:47:49Z |
BUG: fix transform with integers | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index a9266c24df8ee..e6c442159336b 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -385,7 +385,8 @@ Bug Fixes
-
+- Bug in ``GroupBy.transform()`` where int groups with a transform that
+ didn't preserve the index were incorrectly tr... | closes #7972
| https://api.github.com/repos/pandas-dev/pandas/pulls/7973 | 2014-08-10T00:03:55Z | 2014-08-10T00:27:49Z | 2014-08-10T00:27:49Z | 2014-08-10T00:27:51Z |
CI/WIP: Use conda for most deps | diff --git a/.travis.yml b/.travis.yml
index d13509805e0f8..a4d323ef8ba95 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,7 @@
language: python
env:
+
global:
# scatterci API key
#- secure: "Bx5umgo6WjuGY+5XFa004xjCiX/vq0CyMZ/ETzcs7EIBI1BE/0fIDXOoWhoxbY9HPfdPGlDnDgB9nGqr5wArO2s+BavyKBWg6osZ3dmkfuJPMO... | closes #6870
- [x] use conda.binstar.org/cpcloud channel for versions/packages not in conda defaults
- [x] possibly bring back the ccache, not totally sure what this is doing
this doesn't remove maintenance, but it sure does simplify things, since conda recipes are very easy to create
| https://api.github.com/repos/pandas-dev/pandas/pulls/7971 | 2014-08-09T18:35:35Z | 2014-10-02T17:02:28Z | 2014-10-02T17:02:28Z | 2014-10-02T17:03:41Z |
ENH Warn about panel.to_frame() discarding NaN GH7879 | diff --git a/pandas/core/panel.py b/pandas/core/panel.py
index 1e6ed56386f63..2a8c3844f8f75 100644
--- a/pandas/core/panel.py
+++ b/pandas/core/panel.py
@@ -8,6 +8,7 @@
from pandas import compat
import sys
import numpy as np
+import warnings
from pandas.core.common import (PandasError, _try_sort, _default_index,
... | Also there was unimported module warnings with calls to it. In pandas/core/panel.py lines 718, 748 for example.
closes #7879
| https://api.github.com/repos/pandas-dev/pandas/pulls/7970 | 2014-08-09T12:35:21Z | 2015-08-15T23:57:54Z | null | 2015-08-15T23:57:54Z |
ENH/BUG: Period and PeriodIndex ops supports timedelta-like | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 7a912361d0e14..c69cd12673463 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -4,7 +4,7 @@
.. ipython:: python
:suppress:
- from datetime import datetime
+ from datetime import datetime, timedelta
import num... | Must be revisited after #7954 to remove `_skip_if_not_numpy17_friendly`
Closes #7740.
Allow `Period` and `PeriodIndex` `add` and `sub` to support `timedelta`-like. If period freq is `offsets.Tick`, offsets can be added if the result can have same freq. Otherwise, `ValueError` will be raised.
```
idx = pd.period_rang... | https://api.github.com/repos/pandas-dev/pandas/pulls/7966 | 2014-08-08T16:58:44Z | 2014-08-10T14:53:57Z | 2014-08-10T14:53:57Z | 2014-08-10T15:20:26Z |
Support is_dst indicators in tz_localize | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 8f96ec98df6f2..a23d067cefa4f 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -1357,6 +1357,9 @@ Pandas provides rich support for working with timestamps in different time zones
``dateutil`` support is new [in 0.14.1] and... | The indicators are useful for assigning the correct offset when there are ambiguous transition times
closes #7943.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7963 | 2014-08-08T12:01:42Z | 2014-09-13T19:27:34Z | 2014-09-13T19:27:34Z | 2014-09-13T22:07:44Z |
BUG: fix checking of table name in read_sql (GH7826) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index ecfd7b5ada055..ac475d637f9cf 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -400,7 +400,7 @@ For full docs, see the :ref:`Categorical introduction <categorical>` and the
-
+- Bug in checking of table name in ``read_sql`` in ce... | Closes #7826.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7961 | 2014-08-08T09:57:11Z | 2014-08-22T08:50:47Z | 2014-08-22T08:50:47Z | 2014-08-22T08:50:47Z |
DOC: Removed unpaired right-paren. Rephrased references. | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 2111bb2d72dcb..985f112979a7e 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -528,8 +528,8 @@ the function.
Reshaping
---------
-See the section on :ref:`Hierarchical Indexing <indexing.hierarchical>` and
-see the section on :ref:`Reshap... | https://api.github.com/repos/pandas-dev/pandas/pulls/7959 | 2014-08-08T00:50:46Z | 2014-08-08T01:30:22Z | 2014-08-08T01:30:22Z | 2014-08-09T00:59:22Z | |
CI: Drop numpy 1.6 support | diff --git a/README.md b/README.md
index 79a84440d6a5c..6a645dc64123d 100644
--- a/README.md
+++ b/README.md
@@ -90,7 +90,7 @@ pip install pandas
```
## Dependencies
-- [NumPy](http://www.numpy.org): 1.6.1 or higher
+- [NumPy](http://www.numpy.org): 1.7.0 or higher
- [python-dateutil](http://labix.org/python-dateu... | closes #7711
| https://api.github.com/repos/pandas-dev/pandas/pulls/7954 | 2014-08-07T17:30:47Z | 2014-08-12T21:59:20Z | 2014-08-12T21:59:20Z | 2014-08-12T21:59:23Z |
API: add Series.dt delegator for datetimelike methods (GH7207) | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 62518bf0d9ffd..ec6e2aff870c6 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -436,12 +436,47 @@ Time series-related
Series.tz_convert
Series.tz_localize
+Datetimelike Properties
+~~~~~~~~~~~~~~~~~~~~~~~
+``Series.dt`` can be used to access... | closes #7207
```
In [1]: s = Series(date_range('20130101',periods=3))
In [2]: s.dt.
s.dt.date s.dt.dayofweek s.dt.hour s.dt.is_month_start s.dt.is_quarter_start s.dt.is_year_start s.dt.minute s.dt.nanosecond s.dt.second s.dt.week s.dt... | https://api.github.com/repos/pandas-dev/pandas/pulls/7953 | 2014-08-07T16:59:07Z | 2014-08-10T22:25:36Z | 2014-08-10T22:25:35Z | 2014-08-10T22:25:41Z |
ENH: add schema support to sql functions | diff --git a/ci/requirements-2.6.txt b/ci/requirements-2.6.txt
index fec0a96a3d077..baba82f588ed6 100644
--- a/ci/requirements-2.6.txt
+++ b/ci/requirements-2.6.txt
@@ -5,7 +5,7 @@ pytz==2013b
http://www.crummy.com/software/BeautifulSoup/bs4/download/4.2/beautifulsoup4-4.2.0.tar.gz
html5lib==1.0b2
numexpr==1.4.2
-sq... | Related #7441. Work in progress for now
Add support to read/write data from/to a specific database schema through a `schema` keyword. If this is `None`, use the default schema as before.
- [x] support via a `schema` arg in the `read_sql_table` and `to_sql` functions
- [x] not for `read_sql_query` -> is this needed? (t... | https://api.github.com/repos/pandas-dev/pandas/pulls/7952 | 2014-08-07T14:12:28Z | 2014-08-31T22:29:28Z | 2014-08-31T22:29:28Z | 2016-10-14T04:55:27Z |
DOC/TST: index followup | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 9d443254ae25a..62518bf0d9ffd 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -235,8 +235,8 @@ Constructor
Series
-Attributes and underlying data
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Attributes
+~~~~~~~~~~
**Axes**
* **index**: axis labels
... | TST: argmin/max impl, tests, and doc-strings
DOC: release notes corrections
API: raise on `__nonzero__` for Indexes, closes #7897
partial close of #7904
| https://api.github.com/repos/pandas-dev/pandas/pulls/7951 | 2014-08-07T13:15:24Z | 2014-08-07T14:27:08Z | 2014-08-07T14:27:08Z | 2014-08-07T14:27:08Z |
COMPAT: raise SettingWithCopy in even more situations when a view is at hand | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 8ec61496c538a..25233d970b3a6 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -1481,7 +1481,8 @@ which can take the values ``['raise','warn',None]``, where showing a warning is
'three', 'two', 'one', 's... | This will detect even more situations where chained assignment is being used.
FYI technically there are 2 situations where the same error is raised: 1) setting on a copy, 2) chained assignment on a view. Both are really similar and result in usually the same issue. An assignment that doesn't appear to assign anything... | https://api.github.com/repos/pandas-dev/pandas/pulls/7950 | 2014-08-06T21:45:32Z | 2014-08-11T13:06:48Z | 2014-08-11T13:06:48Z | 2014-08-11T13:06:48Z |
BUG: Fix for to_excel +/- infinity | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 4caf22357b1d3..82eb798e04965 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -621,11 +621,11 @@ Bug Fixes
return a non scalar value that appeared valid but wasn't (:issue:`7870`).
- Bug in ``date_range()``/``DatetimeIndex()`` whe... | BUG: Previously, a negative sign was being prepended for positive infinity, not for negative infinity. (GH6812)
xref #6812
| https://api.github.com/repos/pandas-dev/pandas/pulls/7949 | 2014-08-06T17:10:27Z | 2014-09-04T22:02:54Z | 2014-09-04T22:02:54Z | 2014-09-04T22:03:08Z |
DOC: add intersphinx mapping to numpy | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 4f01fe4f4b278..9acb1252f3746 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -278,7 +278,8 @@
intersphinx_mapping = {
'statsmodels': ('http://statsmodels.sourceforge.net/devel/', None),
'matplotlib': ('http://matplotlib.org/', None),
- ... | There are already some references in the API docs to numpy functions, but the links did not yet work up to now.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7946 | 2014-08-06T13:40:03Z | 2014-08-06T14:26:12Z | 2014-08-06T14:26:12Z | 2014-08-06T14:26:12Z |
Update deprecate_kwarg message | diff --git a/pandas/util/decorators.py b/pandas/util/decorators.py
index 476a643b34ff7..d94897a6685a2 100644
--- a/pandas/util/decorators.py
+++ b/pandas/util/decorators.py
@@ -48,7 +48,7 @@ def _deprecate_kwarg(func):
def wrapper(*args, **kwargs):
old_arg_value = kwargs.pop(old_arg_name, None)
... | Small adaptation, I think it is a bit clearer this way.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7945 | 2014-08-06T07:38:50Z | 2014-08-06T14:07:00Z | 2014-08-06T14:07:00Z | 2014-08-06T14:07:00Z |
Add warning about HDFStore concurrent reads | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 91ffb5091e927..f4f3f3d1f89c0 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2956,6 +2956,9 @@ Notes & Caveats
need to serialize these operations in a single thread in a single
process. You will corrupt your data otherwise. See the issue
... | Not too much to say; this is a documentation PR.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7944 | 2014-08-05T21:26:15Z | 2015-07-28T21:52:04Z | null | 2015-07-28T21:52:04Z |
API: Coerce None according to the dtype of the container | diff --git a/doc/source/missing_data.rst b/doc/source/missing_data.rst
index d3024daaa59c9..69afd861df325 100644
--- a/doc/source/missing_data.rst
+++ b/doc/source/missing_data.rst
@@ -105,6 +105,34 @@ pandas objects provide intercompatibility between ``NaT`` and ``NaN``.
df2
df2.get_dtype_counts()
+.. _missi... | This pull request fixes #7939 by ensuring that None coercion always obeys the following rules:
1. If the container is numeric, None should be coerced to NaN
2. If the container is for time data, None should be coerced to NaT
3. If the container contains heterogenous data (i.e. objects), None should be preserved.
## Old... | https://api.github.com/repos/pandas-dev/pandas/pulls/7941 | 2014-08-05T12:59:05Z | 2014-08-19T16:42:50Z | 2014-08-19T16:42:50Z | 2014-09-04T00:23:14Z |
BUG/API: Consistency in .where() when setting with None for both inplace in a Series (GH7939) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 767cc59882233..a7bda314a8264 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -142,6 +142,7 @@ API changes
In [3]: idx.isin(['a', 'c', 'e'], level=1)
Out[3]: array([ True, False, True, True, False, True], dtype=bool)
... | closes #7939
| https://api.github.com/repos/pandas-dev/pandas/pulls/7940 | 2014-08-05T12:51:27Z | 2014-08-05T13:18:00Z | null | 2014-08-06T15:44:30Z |
DOC: mention that stack/unstack implicicly sort | diff --git a/doc/source/reshaping.rst b/doc/source/reshaping.rst
index 768190975db2d..92a35d0276e22 100644
--- a/doc/source/reshaping.rst
+++ b/doc/source/reshaping.rst
@@ -151,6 +151,20 @@ unstacks the **last level**:
stacked.unstack(1)
stacked.unstack(0)
+Notice that the ``stack`` and ``unstack`` methods im... | It took me a while to discover what was causing this TypeError... I guess this can be useful to other people.
(Yes, I know there is a note somewhere warning users that some operations depend on the index being sorted, but maybe this is a sligthly different case, since the operations do work after all, the problem is t... | https://api.github.com/repos/pandas-dev/pandas/pulls/7937 | 2014-08-05T09:25:06Z | 2014-08-05T17:03:01Z | 2014-08-05T17:03:01Z | 2014-08-05T22:05:03Z |
BUG: rolling/expanding_* treatment of center | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index bb52cf92a6b93..472114f1dea39 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -93,6 +93,39 @@ API changes
Previously the first ``min_periods`` entries of the result were set to ``NaN``.
The new behavior accords with the existing... | Closes https://github.com/pydata/pandas/issues/7925.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7934 | 2014-08-04T23:31:33Z | 2014-08-19T14:47:20Z | 2014-08-19T14:47:20Z | 2014-09-14T19:17:18Z |
DOC: update docs to show construction of periodindex when needing out-of bounds spans | diff --git a/doc/source/gotchas.rst b/doc/source/gotchas.rst
index 438e2f79c5ff3..100588e2db40d 100644
--- a/doc/source/gotchas.rst
+++ b/doc/source/gotchas.rst
@@ -358,6 +358,8 @@ such as ``numpy.logical_and``.
See the `this old issue <https://github.com/pydata/pandas/issues/2388>`__ for a more
detailed discussion.
... | https://api.github.com/repos/pandas-dev/pandas/pulls/7933 | 2014-08-04T23:23:49Z | 2014-08-04T23:48:44Z | 2014-08-04T23:48:44Z | 2014-08-04T23:48:44Z | |
BUG: Bug in to_datetime when format='%Y%m%d and coerce=True are specified (GH7930) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 767cc59882233..ef2b91d044d86 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -303,7 +303,8 @@ Bug Fixes
- Bug in ``Series.astype("unicode")`` not calling ``unicode`` on the values correctly (:issue:`7758`)
- Bug in ``DataFrame.as_m... | closes #7930
| https://api.github.com/repos/pandas-dev/pandas/pulls/7931 | 2014-08-04T21:50:55Z | 2014-08-04T22:42:19Z | 2014-08-04T22:42:19Z | 2014-08-04T22:42:19Z |
BUG: define empty product on Series and DataFrame to be 1 | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 024ee68ced303..ecf9f9aca4f89 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -129,6 +129,10 @@ API changes
strings must contain 244 or fewer characters. Attempting to write Stata
dta files with strings longer than 244 characte... | closes #7889
| https://api.github.com/repos/pandas-dev/pandas/pulls/7928 | 2014-08-04T18:02:16Z | 2015-03-02T11:53:04Z | null | 2016-07-26T05:10:56Z |
API/BUG/ENH: ewmvar/cov debiasing factors; add 'adjust' to ewmvar/std/vol/cov/corr; ewm*() min_periods | diff --git a/doc/source/computation.rst b/doc/source/computation.rst
index d5dcacf53ec23..b8559eb51ece8 100644
--- a/doc/source/computation.rst
+++ b/doc/source/computation.rst
@@ -413,6 +413,8 @@ columns using ``ix`` indexing:
@savefig rolling_corr_pairwise_ex.png
correls.ix[:, 'A', 'C'].plot()
+.. _stats.mo... | Closes https://github.com/pydata/pandas/issues/7911.
Closes https://github.com/pydata/pandas/issues/7912.
Closes https://github.com/pydata/pandas/issues/7977.
Closes https://github.com/pydata/pandas/issues/7900.
These are all fixed simultaneously in order to enable consistency testing across the various functions.
En... | https://api.github.com/repos/pandas-dev/pandas/pulls/7926 | 2014-08-04T16:34:07Z | 2014-09-10T00:02:26Z | 2014-09-10T00:02:26Z | 2014-09-10T00:11:00Z |
BUG/DOC: Categorical fixes (GH7918) | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index d8b8168e05d8b..c08351eb87a79 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -509,35 +509,7 @@ The same applies to ``df.append(df)``.
Getting Data In/Out
-------------------
-Writing data (`Series`, `Frames`) to a... | Categoricals now raise NotImplementedError when writing to HDFStore with a Fixed type store
Slicing bug with a single-dtyped category and a possible view
closes #7918
| https://api.github.com/repos/pandas-dev/pandas/pulls/7924 | 2014-08-04T15:01:57Z | 2014-08-04T20:29:34Z | 2014-08-04T20:29:34Z | 2014-08-04T20:29:34Z |
BUG: Fix Grouper with multi-level index and frequency (GH7885) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index aa6d1dff2c547..f73c080b6e71d 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -480,7 +480,7 @@ Enhancements
-
+- Bug in ``DataFrame.groupby`` where ``Grouper`` does not recognize level when frequency is specified (:issue:`7885`)... | close #7885
| https://api.github.com/repos/pandas-dev/pandas/pulls/7923 | 2014-08-04T15:00:30Z | 2014-09-07T14:30:53Z | 2014-09-07T14:30:53Z | 2014-09-08T04:26:23Z |
REGR: Regression in multi-index indexing with a non-scalar type object (GH7914) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 109ed8b286c22..315bd34de8815 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -296,7 +296,7 @@ Bug Fixes
- Bug in adding and subtracting ``PeriodIndex`` with ``PeriodIndex`` raise ``TypeError`` (:issue:`7741`)
- Bug in ``combine_fir... | closes #7914
| https://api.github.com/repos/pandas-dev/pandas/pulls/7921 | 2014-08-04T13:40:12Z | 2014-08-04T15:17:33Z | 2014-08-04T15:17:33Z | 2014-08-04T15:17:33Z |
DOC: Fix release note for GH7798 | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 109ed8b286c22..c3311be66e310 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -233,8 +233,7 @@ Enhancements
-- Bug in ``tslib.tz_convert`` and ``tslib.tz_convert_single`` may return different results (:issue:`7798`)
-- Bug in ``... | #7798 was added to incorrect section.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7920 | 2014-08-04T13:16:01Z | 2014-08-04T14:10:46Z | 2014-08-04T14:10:46Z | 2014-08-07T22:13:28Z |
DOC: small fixes categorical docs | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 32c0a78e394c5..93933140ab11c 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1574,8 +1574,8 @@ dtypes:
'float64': np.arange(4.0, 7.0),
'bool1': [True, False, True],
'bool2': [F... | This fixes some doc build errors introduced by the categorical docs.
There were also some other failures, but I will open an issue for those (don't directly see the solution for them).
| https://api.github.com/repos/pandas-dev/pandas/pulls/7917 | 2014-08-04T07:57:10Z | 2014-08-04T14:11:01Z | 2014-08-04T14:11:01Z | 2014-08-04T14:11:01Z |
WIP: Experimental changes in `rolling_var` related to #7900 | diff --git a/pandas/algos.pyx b/pandas/algos.pyx
index 1c1d32e1d2a20..22d6a5ba9af7b 100644
--- a/pandas/algos.pyx
+++ b/pandas/algos.pyx
@@ -1160,75 +1160,68 @@ def roll_var(ndarray[double_t] input, int win, int minp, int ddof=1):
"""
Numerically stable implementation using Welford's method.
"""
- cde... | Added logic to `rolling_var` to detect windows where all non-NaN
values are identical.
Need to assess both correctness and performance impact.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7916 | 2014-08-04T05:47:44Z | 2014-09-15T06:24:01Z | null | 2014-09-16T17:31:21Z |
ENH: New `level` argument for DataFrame.tz_localize and DataFrame.tz_convert (GH7846) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 2520015581cc8..a9266c24df8ee 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -162,6 +162,9 @@ previously results in ``Exception`` or ``TypeError`` (:issue:`7812`)
didx
didx.tz_localize(None)
+- ``DataFrame.tz_localize``... | Closes #7846
New `level` argument for `DataFrame.tz_localize()` and `DataFrame.tz_convert()`, needed for a DataFrame with MultiIndex:
```
tz_convert(self, tz, axis=0, level=None, copy=True)
tz_localize(self, tz, axis=0, level=None, copy=True, infer_dst=False)
```
@jreback Not sure if `test_generic.py` is the right p... | https://api.github.com/repos/pandas-dev/pandas/pulls/7915 | 2014-08-04T05:34:58Z | 2014-08-07T20:47:32Z | 2014-08-07T20:47:32Z | 2014-08-07T20:47:42Z |
update to holiday to help with GH#7070 | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 148cf85d0b5ab..8ab66ebd2de18 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -299,6 +299,8 @@ Enhancements
- ``PeriodIndex`` supports ``resolution`` as the same as ``DatetimeIndex`` (:issue:`7708`)
+-``pandas.tseries.holiday`` h... | I am working on a financial calendar and wanted to add the following functions to pandas.tseries.holiday in order to properly handle half days.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7913 | 2014-08-04T03:09:11Z | 2014-08-11T12:57:15Z | 2014-08-11T12:57:15Z | 2014-08-19T19:33:03Z |
added support for selecting multiple nth values | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index eaccbfddc1f86..fb1004edca785 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -869,7 +869,7 @@ This shows the first or last n rows from each group.
Taking the nth row of each group
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-To select from ... | I'm not 100% sure this is the best way to implement this, but I think it'd be nice for GroupBy.nth() to support selecting multiple values. For instance if we have
```
df = DataFrame(1, index=pd.date_range(start='1/1/2013', end='6/30/2014', freq='B'), columns=['a', 'b'])
```
and currently we can easily get the nth ent... | https://api.github.com/repos/pandas-dev/pandas/pulls/7910 | 2014-08-03T21:20:30Z | 2014-09-04T00:42:46Z | 2014-09-04T00:42:46Z | 2015-04-29T15:33:46Z |
Remove from start/end dates if tz is not None (#7901, #7835) | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 05fd82b2f448d..9dd7845864e59 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -1364,6 +1364,12 @@ tz-aware data to another time zone:
is localized using one version and operated on with a different version.
... | Below fixes date_range when input dates are localized. In that case inferred_freq is not None and so the dates do not have their tzinfo removed. This causes a fixed offset to be applied when the range is created. If tzinfo is removed, they will be correctly localized.
Fixes #7901
Fixes #7835.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7909 | 2014-08-03T19:40:39Z | 2014-08-05T17:14:01Z | 2014-08-05T17:14:00Z | 2014-08-05T17:14:05Z |
BUG: Timestamp cannot parse nanosecond from string | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 148cf85d0b5ab..7029438c13d67 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -166,6 +166,8 @@ previously results in ``Exception`` or ``TypeError`` (:issue:`7812`)
- ``DataFrame.tz_localize`` and ``DataFrame.tz_convert`` now accepts ... | Fixes 2 problems related to `Timestamp` string parsing:
- `Timestamp` parsing results incorrect if input contains offset string (Closes #7833).
NOTE: Also modified `Timestamp.__repr__` to display fixed timezone info, because this can be either `pytz` or `dateutil`.
```
# Result after the fix
# If string contain... | https://api.github.com/repos/pandas-dev/pandas/pulls/7907 | 2014-08-03T12:45:12Z | 2014-08-11T12:17:58Z | 2014-08-11T12:17:58Z | 2014-08-12T22:11:41Z |
DOC: grammar fixes in docs | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 4f01fe4f4b278..717c651d5935f 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -293,7 +293,7 @@
'import numpy as np',
'import pandas as pd',
# This ensures correct rendering on system with console encoding != utf8
- # (windows). It f... | https://api.github.com/repos/pandas-dev/pandas/pulls/7906 | 2014-08-02T21:06:10Z | 2014-08-02T22:47:36Z | 2014-08-02T22:47:36Z | 2015-04-29T15:34:09Z | |
ENH: Add BusinessHour offset | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index ac3302ae40fa7..a78fcf5224fc2 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -4,7 +4,7 @@
.. ipython:: python
:suppress:
- from datetime import datetime, timedelta
+ from datetime import datetime, timedelta, ti... | Closes #2469. Create `BusinessHour` offset to specify business hours on `BusinessDay`. Appreciated if any feedbacks regarding bahaviours, keywords, etc.
### Basic
By default, use 9:00 - 17:00 as business hours. Adding `BusinessHour` will increment timestamp by hourly on the days belong to `BusinessDay` offset.
```
bh... | https://api.github.com/repos/pandas-dev/pandas/pulls/7905 | 2014-08-02T14:56:55Z | 2015-05-05T22:27:56Z | 2015-05-05T22:27:56Z | 2015-05-06T17:38:09Z |
TST/BUG: Rename html encoding test files. | diff --git a/pandas/io/tests/data/html_encoding/chinese_utf16.html b/pandas/io/tests/data/html_encoding/chinese_utf-16.html
similarity index 100%
rename from pandas/io/tests/data/html_encoding/chinese_utf16.html
rename to pandas/io/tests/data/html_encoding/chinese_utf-16.html
diff --git a/pandas/io/tests/data/html_enco... | html test_encode fails on OSX 10.9.4 due to missing dash in `utf32` encoding
string.
The test encoding string is derived from a split of the test file name.
Only utf32 is affected but this commit changes the utf8 and utf16 containing filenames as well for the sake of consistency.
``` ================================... | https://api.github.com/repos/pandas-dev/pandas/pulls/7903 | 2014-08-02T09:27:50Z | 2014-08-02T12:59:20Z | 2014-08-02T12:59:20Z | 2014-08-02T22:13:59Z |
BUG: do not assume 0 is in index of potential Series | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index aa6f1ce28a90d..34e9c7144607a 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -327,6 +327,7 @@ Bug Fixes
date-likes incorrectly (:issue:`7762`, :issue:`7032`).
+- Bug in ``Series.str.cat`` with an index which was filtered as to... | closes #7857... this time it checks also for a Series (and it passes all tests).
| https://api.github.com/repos/pandas-dev/pandas/pulls/7902 | 2014-08-02T07:21:11Z | 2014-08-02T12:53:36Z | 2014-08-02T12:53:36Z | 2014-08-02T13:06:56Z |
NotImplementedError messages doc update #7872 | diff --git a/pandas/core/base.py b/pandas/core/base.py
index cc676b9682277..6c0a0c26b6457 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -19,7 +19,7 @@ class StringMixin(object):
# Formatting
def __unicode__(self):
- raise NotImplementedError
+ raise NotImplementedError("StringM... | closes #7872
I have updated the NonImplementedError messages #7872 in all places applicable.
It includes changes to statements of type
- raise NotImplementedError
- raise NotImplementedError()
Comment on the changes.
The one place I have doubt and not sure whether to add one or not would be https://github.com/pyda... | https://api.github.com/repos/pandas-dev/pandas/pulls/7899 | 2014-08-01T19:10:43Z | 2015-04-14T14:21:12Z | null | 2015-04-14T14:21:28Z |
BUG: ewm*() interpretation of min_periods is off by one | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index e5ba8efd25b02..b27a6ff9adbc1 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -68,7 +68,7 @@ API changes
rolling_min(s, window=10, min_periods=5)
-- :func:`ewma`, :func:`ewmastd`, :func:`ewmavar`, :func:`ewmacorr`, and :func... | Closes https://github.com/pydata/pandas/issues/7884.
This addresses only the `ewm*()` functions' off-by-one interpretation of `min_periods`.
It doesn't address the inconsistency between the `ewm*()` functions and the `rolling_*()` functions in the meaning of `min_periods`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7898 | 2014-08-01T19:00:22Z | 2014-08-02T13:46:41Z | 2014-08-02T13:46:41Z | 2014-09-10T00:12:07Z |
BUG: fixing ewma() for adjust=False and ignore_na=False | diff --git a/pandas/algos.pyx b/pandas/algos.pyx
index 54d71d79ae7c3..1c1d32e1d2a20 100644
--- a/pandas/algos.pyx
+++ b/pandas/algos.pyx
@@ -1018,7 +1018,10 @@ def ewma(ndarray[double_t] input, double_t com, int adjust, int ignore_na):
if cur == cur:
old_wt *= old_wt_factor
... | The previous code in https://github.com/pydata/pandas/pull/7603 wasn't quite right for the case that both `adjust=False` and `ignore_na=False`. This PR fixes the handling of that case. Note that `ignore_na=False` behavior is new in v0.15.0, so this bug and its fix don't affect any prior behavior.
| https://api.github.com/repos/pandas-dev/pandas/pulls/7896 | 2014-08-01T16:37:34Z | 2014-08-01T18:30:44Z | 2014-08-01T18:30:44Z | 2014-09-10T00:12:18Z |
API: add 'level' kwarg to 'Index.isin' method | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 023c200e271ab..39635cb0e612f 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -582,7 +582,7 @@ and :ref:`Advanced Indexing <indexing.advanced>` you may select along more than
.. _indexing.basics.indexing_isin:
Indexing with is... | closes #7890
This PR adds `level` kwarg for `Index` objects as discussed (briefly in #7890):
``` python
Index.isin(iterable, level=None)
```
### Summary
- for non-`MultiIndex` classes:
- no functional changes in the actual membership test
- valid `level` values are `None`, `0`, `-1` and `self.name`
- if `level... | https://api.github.com/repos/pandas-dev/pandas/pulls/7892 | 2014-07-31T20:01:01Z | 2014-08-04T20:26:24Z | 2014-08-04T20:26:24Z | 2014-11-02T21:35:14Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.