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: fix formatting read_csv comment kwarg explanation | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index 72d8b2720c747..2034d4fa899ce 100644
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -33,8 +33,9 @@ class ParserWarning(Warning):
Parameters
----------
-filepath_or_buffer : string or file handle / StringIO. The string could be
- a URL. Valid... | `\n` -> `\\n` to render correclty (and some other small things)
| https://api.github.com/repos/pandas-dev/pandas/pulls/8563 | 2014-10-15T19:23:20Z | 2014-10-24T11:16:24Z | 2014-10-24T11:16:24Z | 2014-10-24T11:16:24Z |
API: Unify SQLTable code for fallback and SQLAlchemy mode and move differences into database class | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 9baae0330926d..90af526acc17b 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -293,8 +293,8 @@ def read_sql_table(table_name, con, schema=None, index_col=None,
schema : string, default None
Name of SQL schema in database to query (if database f... | In discussion of the SQL API in #7960 , it has been suggested that it may be possible to factor out differences in SQLAlchemy and fallback backend . This is an initial attempt to do so. Now `SQLTable` is uncoupled from the backend. `PandasSQL` is base class for `SQLDatabase` (SQLAlchemy backend) and `SQLiteDatabase`... | https://api.github.com/repos/pandas-dev/pandas/pulls/8562 | 2014-10-15T19:03:15Z | 2016-01-20T14:15:53Z | null | 2022-10-13T00:16:11Z |
DOC/FIX: In R it's still levels... | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index 3940ef623a099..3ee660bb85691 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -33,7 +33,7 @@ with R's ``factor``.
`Categoricals` are a pandas data type, which correspond to categorical variables in
statistics: a va... | There was one repleacement to many: in R it's still "levels" and not "categories".
-> one word replacement in the docs
| https://api.github.com/repos/pandas-dev/pandas/pulls/8561 | 2014-10-15T16:26:19Z | 2014-10-15T17:35:37Z | 2014-10-15T17:35:37Z | 2014-10-15T17:35:45Z |
PERF: fixup datetime_index repr perf (GH8556) | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 2773cc0c135c1..89973754a861c 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -2027,14 +2027,19 @@ def _format_datetime64_dateonly(x, nat_rep='NaT', date_format=None):
def _is_dates_only(values):
- for d in values:
- if isi... | closes #8556
low hanging fruit (and now is pretty scale independent).
```
In [1]: dr = pd.date_range('20000101', freq='D', periods=100000)
In [2]: %timeit dr._is_dates_only
10000000 loops, best of 3: 87.6 ns per loop
In [3]: pd.__version__
Out[3]: '0.15.0rc1-38-g857042f'
```
I do recall this slipping in sometime ... | https://api.github.com/repos/pandas-dev/pandas/pulls/8557 | 2014-10-15T00:56:51Z | 2014-10-15T01:24:00Z | 2014-10-15T01:24:00Z | 2014-10-15T01:24:00Z |
Added footer to read_html | diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt
index 6688f106f922e..f76be6c7f5ab1 100644
--- a/doc/source/whatsnew/v0.15.2.txt
+++ b/doc/source/whatsnew/v0.15.2.txt
@@ -66,6 +66,7 @@ Enhancements
- Added support for ``utcfromtimestamp()``, ``fromtimestamp()``, and ``combine()`` on `Time... | read_html neglected table footers. Although rare, some sites use the footer for data. First time pull request so hopefully not messed up.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8552 | 2014-10-13T22:17:09Z | 2014-12-06T17:09:37Z | 2014-12-06T17:09:37Z | 2014-12-06T21:13:56Z |
ENH: Add ISO3 ctry codes and error arg. Fix tests, warn/exception logic #8482 | diff --git a/doc/source/remote_data.rst b/doc/source/remote_data.rst
index 33db9de48d9e7..bba3db86d837c 100644
--- a/doc/source/remote_data.rst
+++ b/doc/source/remote_data.rst
@@ -143,6 +143,12 @@ World Bank
`World Bank's World Development Indicators <http://data.worldbank.org>`__
by using the ``wb`` I/O functions.
... | This PR adds ISO 3-digit country codes, support for World Bank Country Code exceptions, by changing the error handling and warning logic and introducing an `error` argument which toggles between ignore/warn/raise . Validation no longer filters bad country codes, prior to submitting the API request. Instead, it attempt... | https://api.github.com/repos/pandas-dev/pandas/pulls/8551 | 2014-10-13T21:58:19Z | 2014-10-28T00:25:36Z | 2014-10-28T00:25:36Z | 2015-02-09T00:43:38Z |
ENH: Move any/all to NDFrame, support additional arguments for Series. GH8302 | diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt
index 4bcbcb82e7c83..52b0391534313 100644
--- a/doc/source/whatsnew/v0.15.2.txt
+++ b/doc/source/whatsnew/v0.15.2.txt
@@ -22,6 +22,20 @@ API changes
- Bug in concat of Series with ``category`` dtype which were coercing to ``object``. (:is... | closes #8302
- Move any/all implementations from DataFrame to NDFrame, adding support for Series
- Special case single dimension case in NDFrame, to handle numpy.any/all specific arguments
- Add assorted NotImplementedErrors in cases where arguments are ignored (including in preexisting _reduce functions)
- Move the ot... | https://api.github.com/repos/pandas-dev/pandas/pulls/8550 | 2014-10-13T17:39:48Z | 2014-11-11T14:32:45Z | 2014-11-11T14:32:45Z | 2014-11-11T14:33:25Z |
PERF: Slowness in multi-level indexes with datetime levels (part 2) | diff --git a/pandas/core/index.py b/pandas/core/index.py
index 919018977cb80..c2c7e28a7a7f4 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -2937,11 +2937,16 @@ def values(self):
values = []
for lev, lab in zip(self.levels, self.labels):
- lev_values = lev.values
... | Corrects some deficiencies noted here: https://github.com/pydata/pandas/pull/8544#issuecomment-58909397. Adds a test case and an additional vbench test.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8549 | 2014-10-13T16:14:02Z | 2014-10-15T18:21:23Z | 2014-10-15T18:21:23Z | 2014-10-15T18:21:27Z |
BUG: inconsistent and undocumented option "converters" to read_excel | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 1d83e06a13567..00e86d971182d 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1992,6 +1992,27 @@ indices to be parsed.
read_excel('path_to_file.xls', 'Sheet1', parse_cols=[0, 2, 3])
+.. note::
+
+ It is possible to transform the contents of Ex... | Issue #8212 (first part): pandas.read_excel accepts an optional argument "converters" (which is passed down to PythonParser) to convert single cells in columns with a conversion function. I documented this feature and added a try/except block to make it work in case some cells contain NaNs.
What's still missing is th... | https://api.github.com/repos/pandas-dev/pandas/pulls/8548 | 2014-10-13T12:31:11Z | 2014-11-15T19:01:57Z | 2014-11-15T19:01:57Z | 2014-11-15T20:38:38Z |
PERF: upgrade khash lib to 0.2.8 | diff --git a/pandas/hashtable.pyx b/pandas/hashtable.pyx
index cf9428d5862ec..37abcf6d6ec73 100644
--- a/pandas/hashtable.pyx
+++ b/pandas/hashtable.pyx
@@ -1,4 +1,5 @@
-from cpython cimport PyObject, Py_INCREF, PyList_Check, PyTuple_Check
+from cpython cimport (PyObject, Py_INCREF, PyList_Check, PyTuple_Check,
+ ... | This should close #8524.
The idea is that quadratic probing `(i**2 + i)/2` is faster than double hashing and can be shown to traverse all elements if `nbuckets == 2**N`.
This branch compiles and passes tests, but I haven't done any benchmarks yet.
## TODO
(probably in other issues)
- [ ] see if the "flag compression... | https://api.github.com/repos/pandas-dev/pandas/pulls/8547 | 2014-10-13T08:18:02Z | 2015-05-09T16:07:17Z | null | 2022-10-13T00:16:10Z |
PERF: Performance improvement for MultiIndexes with a DatetimeIndex levels | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 9735202327d3b..ff96df1d087a9 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -932,6 +932,7 @@ Performance
- Performance improvement in writing to sql (``to_sql``) of up to 50% (:issue:`8208`).
- Performance benchmarking of groupby ... | Addresses #8543. The benefits are most pronounced when there are a small number of distinct datetimes relative to the number of rows in the index.
vbench results with `-r multi`:
```
-------------------------------------------------------------------------------
Test name | head[ms]... | https://api.github.com/repos/pandas-dev/pandas/pulls/8544 | 2014-10-12T01:56:02Z | 2014-10-13T11:36:39Z | 2014-10-13T11:36:39Z | 2014-10-13T15:32:55Z |
BUG: Plot with ``label`` would overwrite index name | diff --git a/doc/source/whatsnew/v0.15.0.txt b/doc/source/whatsnew/v0.15.0.txt
index 5d7598b749feb..b6b36ce8c1bf9 100644
--- a/doc/source/whatsnew/v0.15.0.txt
+++ b/doc/source/whatsnew/v0.15.0.txt
@@ -1149,4 +1149,3 @@ Bug Fixes
- Suppress FutureWarning generated by NumPy when comparing object arrays containing NaN fo... | Closes https://github.com/pydata/pandas/issues/8494
I took the easy solution and just copied the series.
Alternatively we could attach a label property to the MPLObject, and check that wherever we check the index name.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8541 | 2014-10-11T19:51:12Z | 2014-10-28T03:56:19Z | 2014-10-28T03:56:19Z | 2017-04-05T02:06:11Z |
BUG: Dont add None to plot legend. | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 1793d6806be83..38c145cc5f014 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -2477,6 +2477,16 @@ def test_style_by_column(self):
for i, l in enumerate(ax.get_lines()[:len(markers)]):
... | Closes https://github.com/pydata/pandas/issues/8491
Building the docs now to check that everything looks ok.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8536 | 2014-10-11T12:40:15Z | 2014-10-11T19:27:25Z | 2014-10-11T19:27:25Z | 2017-04-05T02:06:09Z |
DOC: Clean up Sphinx Issues, fix tabs, in Cookbook | diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst
index e8c6931cbad34..edff461d7989d 100644
--- a/doc/source/cookbook.rst
+++ b/doc/source/cookbook.rst
@@ -60,7 +60,7 @@ if-then...
**********
An if-then on one column
-
+
.. ipython:: python
df.ix[df.AAA >= 5,'BBB'] = -1; df
@@ -167,7 +167,... | This is a follow on PR as a result of [seeing travis and sphinx render ~30 in line examples for the cookbook](https://github.com/pydata/pandas/pull/8288#issuecomment-58734824).
Continues to address #6918
Initial PR: https://github.com/pydata/pandas/pull/8288
PS - apologies for wanting to rush the first PR. My eveni... | https://api.github.com/repos/pandas-dev/pandas/pulls/8535 | 2014-10-11T02:48:43Z | 2014-10-13T02:19:33Z | 2014-10-13T02:19:33Z | 2015-02-09T00:43:14Z |
Add xray to ecosystem docs | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index e5009aeb1c6f6..c60f9ec9103e5 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -89,3 +89,11 @@ Domain Specific
Geopandas extends pandas data objects to include geographic information which support
geometric operations. If you... | Fixes #8516
| https://api.github.com/repos/pandas-dev/pandas/pulls/8534 | 2014-10-10T18:11:45Z | 2014-10-10T22:32:42Z | 2014-10-10T22:32:42Z | 2014-10-10T22:38:00Z |
index into multi-index past the lex-sort depth | diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt
index 944a78ad3691e..6688f106f922e 100644
--- a/doc/source/whatsnew/v0.15.2.txt
+++ b/doc/source/whatsnew/v0.15.2.txt
@@ -19,6 +19,26 @@ users upgrade to this version.
API changes
~~~~~~~~~~~
+- Indexing in ``MultiIndex`` beyond lex-sort... | closes https://github.com/pydata/pandas/issues/7724
closes https://github.com/pydata/pandas/issues/2646
on current master:
```
>>> df
jolia
jim joe jolie joline
1 z 2014-10-14 a 30
y 2014-10-13 b 3
x 2014-10-12 c 15
0 z 2014-10-11 ... | https://api.github.com/repos/pandas-dev/pandas/pulls/8526 | 2014-10-10T02:56:48Z | 2014-11-21T23:20:24Z | 2014-11-21T23:20:24Z | 2014-11-22T14:47:11Z |
BUG/REGR: bool-like Indexes not properly coercing to object (GH8522) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index eec424f619bde..d972edeb2bbb3 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -642,7 +642,7 @@ Internal Refactoring
In 0.15.0 ``Index`` has internally been refactored to no longer sub-class ``ndarray``
but instead subclass ``Panda... | closes #8522
| https://api.github.com/repos/pandas-dev/pandas/pulls/8523 | 2014-10-09T17:11:37Z | 2014-10-09T18:32:16Z | 2014-10-09T18:32:16Z | 2014-10-09T18:32:16Z |
BUG: Bug in inplace operations with column sub-selections on the lhs (GH8511) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index e76a0e57c5e33..eec424f619bde 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -272,6 +272,46 @@ API changes
df
df.dtypes
+- In prior versions, updating a pandas object inplace would not reflect in other python references... | closes #8511
closes #5104
| https://api.github.com/repos/pandas-dev/pandas/pulls/8520 | 2014-10-09T12:06:03Z | 2014-10-09T13:36:59Z | 2014-10-09T13:36:59Z | 2014-10-09T13:36:59Z |
BUG: fix CategoricalBlock pickling | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index af47ee878b1c3..ee573da00abdb 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -656,7 +656,7 @@ Categoricals in Series/DataFrame
:class:`~pandas.Categorical` can now be included in `Series` and `DataFrames` and gained new
methods to ... | This should fix #8518.
Apparently, `NonConsolidatableMixIn.__init__` was copied from a pre-`BlockPlacement` version of `SparseBlock.__init__` which was incompatible with placement being a slice. The current one is, so I moved it to NonConsolidatableMixIn class almost verbatim.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8519 | 2014-10-09T11:21:56Z | 2014-10-10T12:50:13Z | 2014-10-10T12:50:13Z | 2014-10-10T13:17:54Z |
ENH: axvlines - boolean option to parallel_coordinates plot | diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt
index 23ed1a083a965..dfbfd33232db8 100644
--- a/doc/source/whatsnew/v0.15.2.txt
+++ b/doc/source/whatsnew/v0.15.2.txt
@@ -80,6 +80,7 @@ Enhancements
- ``Series`` now works with map objects the same way as generators (:issue:`8909`).
- Adde... | Determines whether vertical lines will be added to parallel_coordinates plot. I was using parallel coordinates to make a seasonality chart - plotting years on top of each other (days/months of year on x-axis). With that many xticks, the vertical lines were overwhelming. It's possible to remove the lines after the fact,... | https://api.github.com/repos/pandas-dev/pandas/pulls/8513 | 2014-10-08T21:22:27Z | 2014-12-05T20:16:33Z | 2014-12-05T20:16:33Z | 2015-09-03T15:25:02Z |
BUG: Suppress FutureWarning when comparing object arrays | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index bb65312f053f3..49959b1e4270f 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -317,6 +317,16 @@ locations treated as equal.
(df+df).equals(df*2)
+Note that the Series or DataFrame index needs to be in the same order for
+equality ... | Fixes #7065
| https://api.github.com/repos/pandas-dev/pandas/pulls/8512 | 2014-10-08T20:55:57Z | 2014-10-10T01:17:56Z | 2014-10-10T01:17:56Z | 2014-10-30T11:20:22Z |
DOC: fix example sql chunksize | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 5490e666904f9..70d5c195233c3 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -3421,7 +3421,7 @@ Specifying this will return an iterator through chunks of the query result:
.. ipython:: python
- for chunk in pd.read_sql_query("SELECT * FROM data_... | https://api.github.com/repos/pandas-dev/pandas/pulls/8510 | 2014-10-08T19:45:27Z | 2014-10-08T20:14:52Z | 2014-10-08T20:14:52Z | 2014-10-08T20:14:52Z | |
DOC: Update ecosystem.rst: Add IDE, IPython, qgrid, Spyder, API, quandl, Out-of-core, Blaze | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index c60f9ec9103e5..e5afe1db9417f 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -18,6 +18,7 @@ tools in the PyData space.
We'd like to make it easier for users to find these project, if you know of other
substantial projects t... | https://api.github.com/repos/pandas-dev/pandas/pulls/8507 | 2014-10-08T10:58:17Z | 2014-10-13T14:20:11Z | 2014-10-13T14:20:11Z | 2014-10-13T14:21:33Z | |
COMPAT: matplotlib 1.4.0 version compat (GH8502) | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 566f8a133a2c2..1793d6806be83 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -33,7 +33,7 @@ def _skip_if_mpl_14_or_dev_boxplot():
# Boxplot failures on 1.4 and 1.4.1
# Don't need try / except sin... | closes #8502
| https://api.github.com/repos/pandas-dev/pandas/pulls/8504 | 2014-10-07T19:18:10Z | 2014-10-07T19:57:11Z | 2014-10-07T19:57:10Z | 2014-10-07T19:57:11Z |
Raise more specific exception on concat([None]) | diff --git a/pandas/tools/merge.py b/pandas/tools/merge.py
index c9935bf398cda..8fddfdda797c6 100644
--- a/pandas/tools/merge.py
+++ b/pandas/tools/merge.py
@@ -41,7 +41,7 @@ def merge(left, right, how='inner', on=None, left_on=None, right_on=None,
merge.__doc__ = _merge_doc % '\nleft : DataFrame'
-class Merge... | More specific exception allows for a safer, more explicit catch by a caller.
ConcatenationError follows the pattern of MergeError which is used in the same file when something is wrong with a caller's inputs to merge().
| https://api.github.com/repos/pandas-dev/pandas/pulls/8501 | 2014-10-07T16:45:26Z | 2014-10-10T12:17:40Z | null | 2014-10-10T12:17:40Z |
WIP/CI: add appveyor support | diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000000000..2a5597b380979
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,35 @@
+environment:
+ global:
+ # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
+ # /E:ON and /V:ON options are not enabled in the batch script intepreter... | building using appveyor (windows CI)
closes #5561
https://ci.appveyor.com/project/jreback/pandas/build/1.0.455/job/2avadnw54tpv3lob
| https://api.github.com/repos/pandas-dev/pandas/pulls/8500 | 2014-10-07T16:31:32Z | 2014-10-07T21:52:42Z | 2014-10-07T21:52:42Z | 2014-10-07T21:52:42Z |
DOC: Another semicolon fix v0.15 | diff --git a/doc/source/release.rst b/doc/source/release.rst
index e43f83a8fa96d..0c62c4ee38efc 100644
--- a/doc/source/release.rst
+++ b/doc/source/release.rst
@@ -70,10 +70,6 @@ Highlights include:
See the :ref:`v0.15.0 Whatsnew <whatsnew_0150>` overview or the issue tracker on GitHub for an extensive list
of all A... | Sorry for basically duplicate pr, noticed this one after.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8498 | 2014-10-07T15:40:33Z | 2014-10-07T17:43:45Z | null | 2014-10-07T17:43:45Z |
DOC/BUG:Added Missing Semicolon to Release Note v0.15 | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 3cb7b7d5e8b69..5dbb45876704c 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -274,7 +274,7 @@ API changes
- ``Series.to_csv()`` now returns a string when ``path=None``, matching the behaviour of ``DataFrame.to_csv()`` (:issue:`821... | Missed a semi-colon, here's the fix.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8497 | 2014-10-07T15:28:14Z | 2014-10-07T15:32:04Z | 2014-10-07T15:32:04Z | 2014-10-07T18:17:23Z |
DOC: fix notes in plot() docstring | diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py
index 1774133dd4c9d..1d47c3781a7d7 100644
--- a/pandas/tools/plotting.py
+++ b/pandas/tools/plotting.py
@@ -2310,8 +2310,7 @@ def _plot(data, x=None, y=None, subplots=False,
Sort column names to determine plot ordering
secondary_y : boolean ... | There was some repetition in the docstring note of `plot` since the refactor of the docstring (hexbin part) + scatter is only needed for dataframe docstring (not series)
| https://api.github.com/repos/pandas-dev/pandas/pulls/8493 | 2014-10-06T20:32:54Z | 2014-10-06T20:33:17Z | 2014-10-06T20:33:17Z | 2014-10-06T20:33:17Z |
BUG: searchsorted sorter issue with 32bit platforms (GH8490) | diff --git a/pandas/core/series.py b/pandas/core/series.py
index f313352ef9660..95a7b22b90338 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1429,6 +1429,9 @@ def searchsorted(self, v, side='left', sorter=None):
>>> x.searchsorted([1, 2], side='right', sorter=[0, 2, 1])
array([1, 3... | Closes #8490
| https://api.github.com/repos/pandas-dev/pandas/pulls/8492 | 2014-10-06T20:21:42Z | 2014-10-06T21:58:41Z | 2014-10-06T21:58:40Z | 2014-10-06T22:01:43Z |
DOC: warning about copying for df.append/concat. Fixes #7967 | diff --git a/doc/source/merging.rst b/doc/source/merging.rst
index 922fb84c57a56..7d21ba4a3b694 100644
--- a/doc/source/merging.rst
+++ b/doc/source/merging.rst
@@ -51,7 +51,6 @@ takes a list or dict of homogeneously-typed objects and concatenates them with
some configurable handling of "what to do with the other axes... | closes #7967
| https://api.github.com/repos/pandas-dev/pandas/pulls/8488 | 2014-10-06T16:00:32Z | 2014-10-06T17:09:18Z | 2014-10-06T17:09:18Z | 2014-10-06T17:13:37Z |
DOC: fix bunch of doc build errors | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 4dd055bce0a0a..2e913d8aae4da 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -819,7 +819,6 @@ Reshaping, sorting, transposing
.. autosummary::
:toctree: generated/
- DataFrame.delevel
DataFrame.pivot
DataFrame.reorder_levels
Dat... | https://api.github.com/repos/pandas-dev/pandas/pulls/8487 | 2014-10-06T14:47:19Z | 2014-10-06T15:09:27Z | 2014-10-06T15:09:27Z | 2014-10-06T15:09:27Z | |
[ENH] Add orient argument and split option to to_dict. (GH7840) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 2c1fc9c9a6eef..cec3148a1f9fa 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -767,6 +767,7 @@ Prior Version Deprecations/Changes
Deprecations
~~~~~~~~~~~~
+- The ``outtype`` argument to ``pd.DataFrame.to_dict`` has been deprecate... | closes #7840
Unlike the implementation offered in #7840, this version preserves the option to pass prefixes to the `orient` parameter.
I also rewrote the docstring to use the more readable list format from `pd.DataFrame.to_json`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8486 | 2014-10-06T14:34:21Z | 2014-10-06T19:56:16Z | null | 2014-10-06T20:10:08Z |
DOC: indexing.rst fixes w.r.t (GH8227) | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 7494f21b3ba71..8edd3e93759a6 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -1191,39 +1191,8 @@ The name, if set, will be shown in the console display:
df
df['A']
-
-Set operations on Index objects
-~~~~~~~~~~~~~~~~~~~... | xref #8227
mixxing updates in indexing.rst
| https://api.github.com/repos/pandas-dev/pandas/pulls/8485 | 2014-10-06T14:28:12Z | 2014-10-06T15:01:11Z | 2014-10-06T15:01:11Z | 2014-10-06T16:50:42Z |
BUG: Bug in groupby .apply with a non-affecting mutation in the function (GH8467) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 6b2d2b6aad490..9b3f79836141b 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -946,7 +946,7 @@ Bug Fixes
- Bug in ``is_superperiod`` and ``is_subperiod`` cannot handle higher frequencies than ``S`` (:issue:`7760`, :issue:`7772`, :iss... | closes #8467
| https://api.github.com/repos/pandas-dev/pandas/pulls/8484 | 2014-10-06T13:19:58Z | 2014-10-06T13:54:52Z | 2014-10-06T13:54:51Z | 2014-10-06T13:54:52Z |
DEPR: deprecate value_range (GH8481) | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 38828d5623536..bb65312f053f3 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -509,9 +509,6 @@ arguments. The special value ``all`` can also be used:
That feature relies on :ref:`select_dtypes <basics.selectdtypes>`. Refer to there for... | closes #8481
| https://api.github.com/repos/pandas-dev/pandas/pulls/8483 | 2014-10-06T12:48:06Z | 2014-10-06T13:21:02Z | 2014-10-06T13:21:02Z | 2014-10-06T13:21:03Z |
BUG: sub-frame assignment of a multi-index frame breaks alignment | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 1b7b05847a901..b1ae1bd72a424 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -1048,3 +1048,4 @@ Bug Fixes
- Bug in ``NDFrame.loc`` indexing when row/column names were lost when target was a list/ndarray (:issue:`6552`)
- Regression... | closes https://github.com/pydata/pandas/issues/7655
```
>>> df
jim joe jolie
first last first last first last
... | https://api.github.com/repos/pandas-dev/pandas/pulls/8480 | 2014-10-06T03:31:45Z | 2014-10-06T13:03:02Z | 2014-10-06T13:03:02Z | 2014-10-07T00:36:25Z |
TST: Speedup some slow plotting tests | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 566f8a133a2c2..b9b239246fa54 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -266,9 +266,9 @@ def _check_ticks_props(self, axes, xlabelsize=None, xrot=None,
for label in labels:
... | Chipping away at https://github.com/pydata/pandas/issues/8450
Unfortunately I wasn't able to find too much. Most of those tests are slow because they're checking a lot of things.
This will only shave about 30s off the test time. It's a start...
| https://api.github.com/repos/pandas-dev/pandas/pulls/8479 | 2014-10-06T02:31:53Z | 2015-05-09T16:00:59Z | null | 2022-10-13T00:16:10Z |
DOC: Some more vis cleanups | diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst
index 3285efadf8ad1..ec73a16ba5d00 100644
--- a/doc/source/visualization.rst
+++ b/doc/source/visualization.rst
@@ -13,7 +13,11 @@
np.set_printoptions(precision=4, suppress=True)
import matplotlib.pyplot as plt
plt.close('all')
- opt... | Two things included:
1. Try to use ggplot style. If not, fall back to the previous 'default'.
2. Fixes some warnings in the doc build (part of https://github.com/pydata/pandas/issues/8234). There are some remaining warnings that I didn't have a chance to track down. Will see if I can later.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8478 | 2014-10-06T02:28:33Z | 2014-10-06T22:28:57Z | 2014-10-06T22:28:57Z | 2017-04-05T02:06:01Z |
BUG: allow std to work with timedeltas (GH8471) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 1b7b05847a901..5fdf9341bcd0e 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -638,7 +638,7 @@ TimedeltaIndex/Scalar
We introduce a new scalar type ``Timedelta``, which is a subclass of ``datetime.timedelta``, and behaves in a simila... | close #8471
| https://api.github.com/repos/pandas-dev/pandas/pulls/8476 | 2014-10-05T22:14:34Z | 2014-10-05T23:52:47Z | 2014-10-05T23:52:47Z | 2014-10-05T23:52:47Z |
BUG: .at indexing should allow enlargement scalars w/o regards to the type of index (GH8473) | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 8a77cc85efced..6d002bc8d633a 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -1484,7 +1484,7 @@ class _ScalarAccessIndexer(_NDFrameIndexer):
""" access scalars quickly """
- def _convert_key(self, key):
+ def _conv... | closes #8473
| https://api.github.com/repos/pandas-dev/pandas/pulls/8475 | 2014-10-05T20:42:22Z | 2014-10-05T21:15:45Z | 2014-10-05T21:15:45Z | 2014-10-05T21:15:45Z |
TEST: add for sqlite fallback raising on datetime.time (and not failing silently) GH8341 | diff --git a/pandas/io/tests/test_sql.py b/pandas/io/tests/test_sql.py
index 217114a00e980..8c29b26f80d01 100644
--- a/pandas/io/tests/test_sql.py
+++ b/pandas/io/tests/test_sql.py
@@ -1398,8 +1398,12 @@ def test_datetime_date(self):
def test_datetime_time(self):
# test support for datetime.time
- ... | Forgot to add this to #8470
| https://api.github.com/repos/pandas-dev/pandas/pulls/8474 | 2014-10-05T20:04:32Z | 2014-10-05T21:24:57Z | 2014-10-05T21:24:57Z | 2014-10-05T21:24:57Z |
Disallow Series indexing by DataFrame | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index f163efe45dd86..f71c1f1dfcbf1 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -1026,3 +1026,4 @@ Bug Fixes
- Bug in assignment with indexer where type diversity would break alignment (:issue:`8258`)
- Bug in ``NDFrame.loc`` indexing... | Fixes #8444. I don't like importing DataFrame, but this was most obvious way to do it.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8472 | 2014-10-05T15:18:16Z | 2014-10-05T17:03:01Z | 2014-10-05T17:03:01Z | 2014-10-05T17:03:44Z |
SQL/ERR: raise error when insert failed with sqlite fallback (GH8341) | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 29ff08391e0e4..e6230f1e54800 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -1155,6 +1155,7 @@ def run_transaction(self):
self.con.commit()
except:
self.con.rollback()
+ raise
finally:
cur... | Related to #8341, does not closes it, but deals with the fact that it now fails silently
| https://api.github.com/repos/pandas-dev/pandas/pulls/8470 | 2014-10-05T10:08:12Z | 2014-10-05T18:01:12Z | 2014-10-05T18:01:12Z | 2014-10-05T18:01:12Z |
Let PeriodIndex infer frequency by converting first element to Period | diff --git a/pandas/tseries/period.py b/pandas/tseries/period.py
index b4d8a6547950d..6fde54a3eeb9b 100644
--- a/pandas/tseries/period.py
+++ b/pandas/tseries/period.py
@@ -683,6 +683,11 @@ def _from_arraylike(cls, data, freq, tz):
if freq is None and len(data) > 0:
freq = getatt... | Fix for #8466.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8468 | 2014-10-05T05:15:55Z | 2014-10-05T13:52:39Z | null | 2014-10-05T13:52:39Z |
CI: install version of miniconda corresponding to python version | diff --git a/ci/install_conda.sh b/ci/install_conda.sh
index ec0aa5fef84ae..00c2e66c5d0e5 100755
--- a/ci/install_conda.sh
+++ b/ci/install_conda.sh
@@ -67,7 +67,15 @@ fi
python_major_version="${TRAVIS_PYTHON_VERSION:0:1}"
[ "$python_major_version" == "2" ] && python_major_version=""
-wget http://repo.continuum.io/... | null | https://api.github.com/repos/pandas-dev/pandas/pulls/8465 | 2014-10-04T21:46:35Z | 2015-05-09T16:01:34Z | null | 2022-10-13T00:16:09Z |
BUG: fix Index.reindex to preserve type when target is empty list/ndarray | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 68f313f321fc8..f163efe45dd86 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -1025,3 +1025,4 @@ Bug Fixes
- Bug in NDFrame.equals gives false negatives with dtype=object (:issue:`8437`)
- Bug in assignment with indexer where type d... | This PR fixes #7774 and also includes:
TST: check index/columns types when doing empty loc/ix tests
CLN: don't _ensure_index in NDFrame._reindex_axes, it is done in Index.reindex
| https://api.github.com/repos/pandas-dev/pandas/pulls/8462 | 2014-10-04T17:18:39Z | 2014-10-05T14:05:18Z | 2014-10-05T14:05:18Z | 2014-10-05T19:03:13Z |
BUG: fix applymap to handle Timedelta | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index cba2d3c5aa0e9..2194e8c36a9e3 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -3652,8 +3652,9 @@ def applymap(self, func):
# if we have a dtype == 'M8[ns]', provide boxed values
def infer(x):
- if com.is_datetim... | https://api.github.com/repos/pandas-dev/pandas/pulls/8461 | 2014-10-04T16:18:56Z | 2014-10-04T16:20:49Z | 2014-10-04T16:20:49Z | 2014-10-04T16:20:49Z | |
BUG: fix Index.reindex to preserve name when target is list/ndarray | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index e23f3ea6ff53a..1d9acadb68e58 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -1012,3 +1012,4 @@ Bug Fixes
- Bug in masked series assignment where mismatching types would break alignment (:issue:`8387`)
- Bug in NDFrame.equals gives... | This PR fixes #6552 and also includes:
CLN: drop copy_if_needed kwarg of Index.reindex, it's True everywhere
TST: enable back empty-list loc/ix tests that failed before
DOC: Bump Index.reindex docstring
| https://api.github.com/repos/pandas-dev/pandas/pulls/8460 | 2014-10-04T14:18:29Z | 2014-10-04T20:02:08Z | 2014-10-04T20:02:08Z | 2014-11-02T21:33:35Z |
VIS: Cleanups in 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`)
+-... | Branched off of https://github.com/pydata/pandas/pull/8037/files
just a couple of minor tweaks to that and some PEP8 stuff.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8459 | 2014-10-04T13:34:22Z | 2014-10-04T15:09:16Z | 2014-10-04T15:09:16Z | 2015-08-18T12:45:00Z |
BUG: type diversity breaks alignment | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 2776f6f9fcb35..cfd66a3a3829e 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -1007,3 +1007,4 @@ Bug Fixes
- Bug in Index.intersection on non-monotonic non-unique indexes (:issue:`8362`).
- Bug in masked series assignment where mism... | closes https://github.com/pydata/pandas/issues/8258, but more generally, on pandas master, assignment with indexer will align _both rows and columns_ if all columns have the same type:
```
>>> cols, idx = ['jim', 'joe', 'jolie'], ['first', 'last']
>>> vals = np.arange(1, 7).reshape(2, 3, order='F')
>>> df = DataFrame(... | https://api.github.com/repos/pandas-dev/pandas/pulls/8457 | 2014-10-03T22:15:31Z | 2014-10-04T17:19:50Z | 2014-10-04T17:19:50Z | 2014-10-04T17:41:00Z |
PERF: optimize storage type for codes in Categoricals (GH8453) | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index 669a39d437a34..a5f76fb2b5941 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -47,7 +47,7 @@ the `categories` array.
The categorical data type is useful in the following cases:
* A string variable consisting of onl... | closes #8453
So easy enough to optimize the dtype of the codes array depending on the number of categories. Most
of the time will simply be `int8`. So pretty good savings.
This doesn't completely solve the storage issues as currently `factorize` returns a `int64`, but can deal with that later (as might also need some... | https://api.github.com/repos/pandas-dev/pandas/pulls/8455 | 2014-10-03T20:55:41Z | 2014-10-04T16:38:15Z | 2014-10-04T16:38:15Z | 2014-10-04T16:38:15Z |
BUG: reset identity on legacy index pickles (GH8431) | diff --git a/pandas/core/index.py b/pandas/core/index.py
index b528a628234cc..da8edf13ff18f 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -843,6 +843,7 @@ def __setstate__(self, state):
np.ndarray.__setstate__(data, state)
self._data = data
+ self._reset_iden... | closes #8431
| https://api.github.com/repos/pandas-dev/pandas/pulls/8454 | 2014-10-03T18:42:22Z | 2014-10-03T19:12:07Z | 2014-10-03T19:12:07Z | 2014-10-03T19:12:08Z |
Remove DataFrame.delevel | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 2776f6f9fcb35..9d03b7b38bea7 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -720,7 +720,8 @@ Deprecations
``ambiguous`` to allow for more flexibility in dealing with DST transitions.
Replace ``infer_dst=True`` with ``ambiguous... | Part of #6581. Remove DataFrame.delevel which was previously deprecated in version 0.7.
@jreback
| https://api.github.com/repos/pandas-dev/pandas/pulls/8451 | 2014-10-03T15:26:32Z | 2014-10-03T18:00:03Z | 2014-10-03T18:00:03Z | 2014-10-05T15:33:47Z |
BUG: bug in df.info() when embedded categorical (related GH7619) | diff --git a/pandas/core/internals.py b/pandas/core/internals.py
index 542dc69aa35f4..a94e627952b75 100644
--- a/pandas/core/internals.py
+++ b/pandas/core/internals.py
@@ -245,7 +245,7 @@ def apply(self, func, **kwargs):
""" apply the function to my values; return a block if we are not one """
result... | xref #7619
| https://api.github.com/repos/pandas-dev/pandas/pulls/8449 | 2014-10-03T12:05:53Z | 2014-10-03T12:33:46Z | 2014-10-03T12:33:46Z | 2014-10-03T12:33:46Z |
Add support of 'decimal' option to Series.to_csv and Dataframe.to_csv | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 2773cc0c135c1..f46621d4b86bd 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -1169,7 +1169,7 @@ def __init__(self, obj, path_or_buf=None, sep=",", na_rep='', float_format=None,
mode='w', nanRep=None, encoding=None, quot... | closes #781
The 'decimal' option exists for read_csv method but not yet in 'to_csv' methods.
The lack of this option is particulary painful when we _have to_ work with Excel with European regional settings.
This modification add this option to both Series.to_csv and Dataframe.to_csv.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8448 | 2014-10-03T08:08:26Z | 2015-03-07T00:02:58Z | null | 2015-03-07T00:02:58Z |
BUG: NDFrame.equals gives false negatives with dtype=object (GH8437) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 92fd228ccd10e..2776f6f9fcb35 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -1006,3 +1006,4 @@ Bug Fixes
- Bug in ``DataFrame.dropna`` that interpreted non-existent columns in the subset argument as the 'last column' (:issue:`8303`... | https://api.github.com/repos/pandas-dev/pandas/pulls/8443 | 2014-10-02T14:00:59Z | 2014-10-02T15:15:11Z | 2014-10-02T15:15:11Z | 2014-10-02T16:18:39Z | |
API: SQL class definitions renaming | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 29ff08391e0e4..903a19be80f45 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -315,7 +315,7 @@ def read_sql_table(table_name, con, schema=None, index_col=None,
except sqlalchemy.exc.InvalidRequestError:
raise ValueError("Table %s not found" % t... | WIP, related to #7960
- [x] renaming of
- PandasSQLAlchemy -> SQLDatabase
- PandasSQLTable -> SQLTable
- PandasSQLLegacy -> SQLiteDatabase
- PandasSQLLegacyTable -> SQLiteTable
- SQLDatabase.read_sql -> read_query
- [ ] adding docstrings to public functions of SQLDatabase
- [x] read_query, read_table, to_s... | https://api.github.com/repos/pandas-dev/pandas/pulls/8440 | 2014-10-02T08:35:02Z | 2014-10-05T19:29:00Z | 2014-10-05T19:29:00Z | 2014-10-05T19:29:01Z |
DOC: mention 'category' in select_dtypes docstring | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 223cb4fe78e94..bc81ca2a2d2ad 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1903,6 +1903,7 @@ def select_dtypes(self, include=None, exclude=None):
this will return *all* object dtype columns
* See the `numpy dtype hiera... | Trivial update to select_dtypes docstring to hint on how to include Categorical types, as it's not part of the numpy type-hierarchy mentioned here.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8439 | 2014-10-02T02:31:14Z | 2014-10-02T06:41:41Z | 2014-10-02T06:41:41Z | 2014-10-02T06:41:56Z |
BUG: Groupby.transform related to BinGrouper and GH8046 (GH8430) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 22860a143476e..92fd228ccd10e 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -880,7 +880,7 @@ Bug Fixes
when matching block and manager items, when there's only one block there's no ambiguity (:issue:`7794`)
- Bug in putting a ``... | closes #8430
xref #8046
| https://api.github.com/repos/pandas-dev/pandas/pulls/8434 | 2014-10-01T12:34:42Z | 2014-10-01T13:03:57Z | 2014-10-01T13:03:57Z | 2014-10-01T13:03:57Z |
TST: Adjust boxplot tests following MPL API change | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 1cc5e2a99148b..d1d06862d003f 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -33,7 +33,7 @@ def _skip_if_mpl_14_or_dev_boxplot():
# Boxplot failures on 1.4 and 1.4.1
# Don't need try / except sin... | fliers on a boxplot are now 1 object instead of 2. [See here](https://github.com/matplotlib/matplotlib/issues/3544#issuecomment-57360910).
Takes care of one part of https://github.com/pydata/pandas/issues/8402
| https://api.github.com/repos/pandas-dev/pandas/pulls/8429 | 2014-09-30T19:54:44Z | 2014-10-04T14:09:10Z | 2014-10-04T14:09:10Z | 2017-04-05T02:05:59Z |
ENH: numerically stable rolling_skew and rolling_kurt | diff --git a/pandas/algos.pyx b/pandas/algos.pyx
index 62ee6ced84882..e7451f7ecdb1d 100644
--- a/pandas/algos.pyx
+++ b/pandas/algos.pyx
@@ -1331,144 +1331,105 @@ def roll_var(ndarray[double_t] input, int win, int minp, int ddof=1):
return output
+#--------------------------------------------------------------... | Close #6929. Hat tip to @behzadnouri for the z-scores idea in #8270, and to @seth-p for the general structure of the code, separating removal and addition of observations.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8424 | 2014-09-30T03:26:27Z | 2016-01-02T23:17:41Z | null | 2023-05-11T01:12:41Z |
DOC: create text.rst with string methods (GH8416) | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 10921c2a32ed5..c98f41973e1ee 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -433,7 +433,12 @@ See more at :ref:`Histogramming and Discretization <basics.discretization>`
String Methods
~~~~~~~~~~~~~~
-See more at :ref:`Vectorized String... | closes #8416
| https://api.github.com/repos/pandas-dev/pandas/pulls/8423 | 2014-09-29T21:51:15Z | 2014-09-30T14:10:34Z | 2014-09-30T14:10:34Z | 2014-09-30T14:10:34Z |
FIX: Add Categorical.searchsorted stub | diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py
index d404601bcafa1..d2708890c5ec2 100644
--- a/pandas/core/categorical.py
+++ b/pandas/core/categorical.py
@@ -726,6 +726,9 @@ def T(self):
def nbytes(self):
return self._codes.nbytes + self._categories.values.nbytes
+ def searchso... | For https://github.com/pydata/pandas/pull/7447, add a searchsorted
stub, which simple raises `NotImplementedError`, so that we raise a
more clear error than attribute not found.
xref #8420
| https://api.github.com/repos/pandas-dev/pandas/pulls/8421 | 2014-09-29T18:06:20Z | 2014-09-29T20:52:02Z | 2014-09-29T20:52:02Z | 2014-09-29T20:52:03Z |
Moved startup script information to options docs and fixed link | diff --git a/doc/source/faq.rst b/doc/source/faq.rst
index 6aa51346f008a..a613d53218ce2 100644
--- a/doc/source/faq.rst
+++ b/doc/source/faq.rst
@@ -65,28 +65,6 @@ Monkey-patching existing methods is usually a bad idea in that respect.
When used with proper care, however, it's a very useful tool to have.
-.. _ref-... | based on #8407 and #5748
| https://api.github.com/repos/pandas-dev/pandas/pulls/8418 | 2014-09-29T16:21:27Z | 2014-09-29T20:55:13Z | 2014-09-29T20:55:13Z | 2014-09-29T20:55:23Z |
BUG: regression in groupby with a pass thru multiindex on axis=1 (GH7997) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 225c779071153..22860a143476e 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -549,7 +549,7 @@ Internal Refactoring
In 0.15.0 ``Index`` has internally been refactored to no longer sub-class ``ndarray``
but instead subclass ``Panda... | closes #7997
| https://api.github.com/repos/pandas-dev/pandas/pulls/8417 | 2014-09-29T15:51:59Z | 2014-09-30T19:39:45Z | 2014-09-30T19:39:45Z | 2014-09-30T19:39:45Z |
API/BUG: a UTC object inserted into a Series/DataFrame will preserve the UTC and be object dtype (GH8411) | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 985cd22c03382..d7ec2dc54522f 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1130,6 +1130,12 @@ You can easily produces tz aware transformations:
stz
stz.dt.tz
+You can also chain these types of operations:
+
+.. ipython:: pyt... | closes #8411
| https://api.github.com/repos/pandas-dev/pandas/pulls/8415 | 2014-09-29T14:03:46Z | 2014-09-29T21:43:23Z | 2014-09-29T21:43:23Z | 2014-09-29T21:46:17Z |
FIX: add nbytes property in Categorical | diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py
index ef14897cdbc90..d404601bcafa1 100644
--- a/pandas/core/categorical.py
+++ b/pandas/core/categorical.py
@@ -722,6 +722,10 @@ def __array__(self, dtype=None):
def T(self):
return self
+ @property
+ def nbytes(self):
+ r... | Contribution to https://github.com/pydata/pandas/pull/7619
| https://api.github.com/repos/pandas-dev/pandas/pulls/8414 | 2014-09-29T13:14:15Z | 2014-09-29T14:05:45Z | 2014-09-29T14:05:45Z | 2014-09-29T14:05:50Z |
Categorical doc fixups | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 6320be3920730..10921c2a32ed5 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -640,27 +640,44 @@ Categoricals
------------
Since version 0.15, pandas can include categorical data in a ``DataFrame``. For full docs, see the
-:ref:`Categoric... | Minor doc updates as part of #8375
- docstring in in cut/qcut + docstring examples #8077 (comment)
- whatsnew: In the note change "levels" to "categories" and s/Schultz/Schulz/
| https://api.github.com/repos/pandas-dev/pandas/pulls/8413 | 2014-09-29T13:04:23Z | 2014-09-29T21:36:42Z | 2014-09-29T21:36:42Z | 2014-09-29T21:36:53Z |
BENCH: programmatically create benchmarks for large ngroups (GH6787) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 8c0e193ec6348..0d003b9f80588 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -813,6 +813,7 @@ Performance
- Performance and memory usage improvements in multi-key ``groupby`` (:issue:`8128`)
- Performance improvements in groupby ``... | closes #6787
Uses ngroups=10000 as suggested in the issue, which takes about 1 hour on my desktop.
For results (vb_suite.log, pkl file) see: https://gist.github.com/dlovell/ea3400273314e7612f6e
Note: gist references a different commit hash. I changed the commit message and added modification to doc/source/v0.15.0.tx... | https://api.github.com/repos/pandas-dev/pandas/pulls/8410 | 2014-09-28T17:52:25Z | 2014-09-30T15:53:52Z | 2014-09-30T15:53:52Z | 2014-09-30T15:59:30Z |
Allow importing pandas without setuptools | diff --git a/doc/source/install.rst b/doc/source/install.rst
index 2dfda3be0dcd4..0331e8a47903c 100644
--- a/doc/source/install.rst
+++ b/doc/source/install.rst
@@ -302,6 +302,8 @@ Optional Dependencies
* Google's `python-gflags <http://code.google.com/p/python-gflags/>`__
and `google-api-python-client <http://gith... | Possible solution for https://github.com/pydata/pandas/pull/8107#issuecomment-57017595
| https://api.github.com/repos/pandas-dev/pandas/pulls/8409 | 2014-09-27T21:11:34Z | 2014-09-29T13:23:48Z | 2014-09-29T13:23:48Z | 2014-09-29T13:24:23Z |
Added a section to FAQ Docs about startup scripts for setting up pandas based on issue #5748. | diff --git a/doc/source/faq.rst b/doc/source/faq.rst
index a613d53218ce2..6aa51346f008a 100644
--- a/doc/source/faq.rst
+++ b/doc/source/faq.rst
@@ -65,6 +65,28 @@ Monkey-patching existing methods is usually a bad idea in that respect.
When used with proper care, however, it's a very useful tool to have.
+.. _ref-... | Closes #5748
| https://api.github.com/repos/pandas-dev/pandas/pulls/8407 | 2014-09-27T20:09:11Z | 2014-09-27T21:06:30Z | 2014-09-27T21:06:30Z | 2014-11-28T15:41:45Z |
CLN: Remove core/array.py | diff --git a/pandas/core/array.py b/pandas/core/array.py
deleted file mode 100644
index 495f231921a19..0000000000000
--- a/pandas/core/array.py
+++ /dev/null
@@ -1,37 +0,0 @@
-"""
-Isolate pandas's exposure to NumPy
-"""
-
-import numpy as np
-
-Array = np.ndarray
-
-bool = np.bool_
-
-_dtypes = {
- 'int': [8, 16, 3... | Fixes https://github.com/pydata/pandas/issues/8359
| https://api.github.com/repos/pandas-dev/pandas/pulls/8406 | 2014-09-27T19:37:12Z | 2014-09-29T13:21:50Z | 2014-09-29T13:21:49Z | 2014-09-29T18:08:00Z |
Better message in exception when conversion from period to timestamp fai... | diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx
index 7cba1cf6ccffe..e88d88c86cf48 100644
--- a/pandas/tslib.pyx
+++ b/pandas/tslib.pyx
@@ -1072,8 +1072,7 @@ cdef convert_to_tsobject(object ts, object tz, object unit):
ts = datetime.combine(ts, datetime_time())
return convert_to_tsobject(ts, tz, None... | Fix to issue https://github.com/pydata/pandas/issues/6780
| https://api.github.com/repos/pandas-dev/pandas/pulls/8405 | 2014-09-27T18:03:29Z | 2014-09-29T14:52:54Z | 2014-09-29T14:52:54Z | 2014-09-29T22:07:51Z |
ENH: First attempt at adding coveralls | diff --git a/.travis.yml b/.travis.yml
index d13509805e0f8..c984082fee34c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -109,3 +109,4 @@ after_script:
- ci/print_versions.py
- ci/print_skipped.py /tmp/nosetests.xml
- ci/after_script.sh
+ - coveralls
diff --git a/ci/install.sh b/ci/install.sh
index f146f3ba7ee... | First attempt at adding coveralls to pandas
| https://api.github.com/repos/pandas-dev/pandas/pulls/8404 | 2014-09-27T17:05:54Z | 2014-10-04T16:49:11Z | null | 2014-10-04T16:49:11Z |
BUG: Panel.fillna with method='ffill' ignores the axis parameter (GH8251) | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 9f9b543f0fa7d..fad15dc5b53a0 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2220,7 +2220,7 @@ def convert_objects(self, convert_dates=True, convert_numeric=False,
#--------------------------------------------------------------... | Adds support for method-based fillna along the specified axis of a Panel. Also adds some additional validation when calling fillna on DataFrame.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8401 | 2014-09-27T02:41:25Z | 2014-09-27T02:46:24Z | null | 2014-09-28T03:56:16Z |
add support for numpy 1.8+ data types for conversion to r dataframe | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index f0c1d1d8939f1..cd62f222885c2 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -287,7 +287,7 @@ API changes
- ``DataFrame.info()`` now ends its output with a newline character (:issue:`8114`)
- add ``copy=True`` argument to ``pd.conc... | Numpy changed the names of their data types in 1.8
http://docs.scipy.org/doc/numpy-dev/user/basics.types.html
specifically, bool, int, float, and complex are now bool_, int_, float_ and complex_
this requires changing the VECTOR_TYPES and NA_TYPES dictionaries used by convert_to_r_dataframe in pandas/rpy/common.py
n... | https://api.github.com/repos/pandas-dev/pandas/pulls/8400 | 2014-09-26T23:47:03Z | 2014-09-29T21:42:44Z | 2014-09-29T21:42:44Z | 2014-09-29T21:42:52Z |
BUG: inconsisten panel indexing with aligning frame (GH7763) | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index a99d056419ad2..27a31a13a0259 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -609,7 +609,13 @@ def _align_series(self, indexer, ser):
def _align_frame(self, indexer, df):
is_frame = self.obj.ndim == 2
is_pa... | closes #7763
| https://api.github.com/repos/pandas-dev/pandas/pulls/8399 | 2014-09-26T23:36:27Z | 2014-09-26T23:36:40Z | 2014-09-26T23:36:40Z | 2014-09-26T23:36:40Z |
TST: Skip failing boxplot tests on mpl 1.4+ | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index fac6a4d83e13b..1cc5e2a99148b 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -28,6 +28,15 @@
import pandas.tools.plotting as plotting
+def _skip_if_mpl_14_or_dev_boxplot():
+ # GH 8382
+ # Boxpl... | Closes https://github.com/pydata/pandas/issues/8382
| https://api.github.com/repos/pandas-dev/pandas/pulls/8398 | 2014-09-26T15:00:41Z | 2014-09-27T13:08:26Z | 2014-09-27T13:08:26Z | 2017-04-05T02:05:56Z |
BUG: maintain order in excluding categories | diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py
index 9ee0018500b00..c4ec556abb2cf 100644
--- a/pandas/core/categorical.py
+++ b/pandas/core/categorical.py
@@ -641,12 +641,17 @@ def remove_categories(self, removals, inplace=False):
remove_unused_categories
set_categories
... | should fix current travis fails on master branch.
i cannot add tests right now because `test_remove_categories` in `test_categorical.py` does not fail on my machine. it also passes on a number of travis builds, and fails only on a couple.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8396 | 2014-09-26T14:05:10Z | 2014-09-26T14:44:05Z | null | 2014-09-26T18:32:01Z |
BUG: fix Panel.fillna() ignoring axis parameter | diff --git a/doc/source/whatsnew/v0.15.1.txt b/doc/source/whatsnew/v0.15.1.txt
index e96adc2bd9559..4656c82b0099c 100644
--- a/doc/source/whatsnew/v0.15.1.txt
+++ b/doc/source/whatsnew/v0.15.1.txt
@@ -227,3 +227,5 @@ Bug Fixes
- Fixed a bug where plotting a column ``y`` and specifying a label would mutate the index na... | This fixes #8251. It may need some more comprehensive tests but before I go too much farther I want to make sure the axis numbering scheme makes sense . The default behavior of `fillna` is to fill along `axis=0`. In the case of a DataFrame this fills along the columns. However, in the case of a Panel, filling along `ax... | https://api.github.com/repos/pandas-dev/pandas/pulls/8395 | 2014-09-26T05:26:38Z | 2015-07-12T14:58:11Z | null | 2022-10-13T00:16:09Z |
BUG: apply mask to aligned new values | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 8c0e193ec6348..752fac2532dac 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -985,3 +985,4 @@ Bug Fixes
- Bug in OLS where running with "cluster" and "nw_lags" parameters did not work correctly, but also did not throw an error
(:... | closes https://github.com/pydata/pandas/issues/8387
| https://api.github.com/repos/pandas-dev/pandas/pulls/8394 | 2014-09-26T03:27:22Z | 2014-09-29T15:19:28Z | null | 2014-10-01T00:32:59Z |
TST: Fix failing pie plot tests | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 7e9b562ba0014..fac6a4d83e13b 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -635,7 +635,7 @@ def test_pie_series(self):
series = Series([1, 2, np.nan, 4],
index=['a', 'b'... | Fixes the build failures from merging https://github.com/pydata/pandas/pull/8307
| https://api.github.com/repos/pandas-dev/pandas/pulls/8393 | 2014-09-25T18:41:16Z | 2014-09-25T19:46:38Z | 2014-09-25T19:46:38Z | 2017-04-05T02:05:56Z |
DOC: Use square figsize for pie plots | diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst
index adbecbe688945..3285efadf8ad1 100644
--- a/doc/source/visualization.rst
+++ b/doc/source/visualization.rst
@@ -621,7 +621,11 @@ A ``ValueError`` will be raised if there are any negative values in your data.
series = Series(3 * rand(4), in... | First commit closes https://github.com/pydata/pandas/issues/8308
second closes https://github.com/pydata/pandas/issues/8312 aside from using mpl 1.4 to build the docs.
I can post any examples if you want.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8391 | 2014-09-25T17:06:53Z | 2014-10-04T18:01:29Z | 2014-10-04T18:01:29Z | 2015-08-18T12:44:59Z |
EHN: Allow DataFrame.fillna to accept a DataFrame as its fill value. | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 92eb1d54ae676..5e7d4947aecea 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -278,7 +278,7 @@ API changes
- ``DataFrame.info()`` now ends its output with a newline character (:issue:`8114`)
- add ``copy=True`` argument to ``pd.conc... | Related: [SO](http://stackoverflow.com/q/26002564/190597)
Fixes #8377
| https://api.github.com/repos/pandas-dev/pandas/pulls/8388 | 2014-09-25T13:47:28Z | 2014-09-26T15:19:39Z | 2014-09-26T15:19:39Z | 2014-09-26T19:11:04Z |
ENH: add the parameter dropna to the function to_dict. | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 4654ceee9896b..4486c6278e0d3 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -60,6 +60,7 @@
import pandas.algos as _algos
from pandas.core.config import get_option
+from math import isnan
#---------------------------------------------... | this is usefull because you cant reach the same effect by just using
dropna().to_dict() also see
http://stackoverflow.com/questions/26033301/make-pandas-dataframe-to-a-dict-and-dropna/26033302#26033302
| https://api.github.com/repos/pandas-dev/pandas/pulls/8385 | 2014-09-25T08:49:11Z | 2015-05-09T16:09:38Z | null | 2023-05-11T01:12:39Z |
non-existent columns in DataFrame.dropna subset argument now raises KeyError | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 92eb1d54ae676..7115364fbb0e5 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -971,4 +971,4 @@ Bug Fixes
- Bug in DataFrame terminal display: Setting max_column/max_rows to zero did not trigger auto-resizing of dfs to fit terminal wi... | closes #8303.
Now instead of interpreting a bad column name as the 'last column' of the `DataFrame`, `dropna` will raise a `KeyError` instead. unit test and release note now included.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8384 | 2014-09-25T00:31:10Z | 2014-09-26T14:35:18Z | 2014-09-26T14:35:18Z | 2014-09-26T14:35:25Z |
BUG: floats cannot be ranked with tolerance | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index bbc006b41a433..0603bd4deeafa 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -240,6 +240,7 @@ Bug Fixes
- Bug in ``MultiIndex`` where inserting new keys would fail (:issue:`9250`).
- Bug in ``gro... | closes https://github.com/pydata/pandas/issues/8365
using tolerance in ranking floats can result in inconsistent behavior; currently on master:
```
>>> pd.Series([1001, 1001.0002]).rank()
0 1
1 2
dtype: float64
>>> pd.Series([1001, 1001.0001, 1001.0002]).rank()
0 2
1 2
2 2
dtype: float64
```
so, in ef... | https://api.github.com/repos/pandas-dev/pandas/pulls/8379 | 2014-09-24T01:40:16Z | 2015-03-03T01:15:35Z | 2015-03-03T01:15:35Z | 2015-03-05T12:47:34Z |
API: .fillna will now raise a NotImplementedError when passed a DataFrame (GH8377) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 1e52d7e20046e..92eb1d54ae676 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -278,6 +278,8 @@ API changes
- ``DataFrame.info()`` now ends its output with a newline character (:issue:`8114`)
- add ``copy=True`` argument to ``pd.conc... | xref #8377
| https://api.github.com/repos/pandas-dev/pandas/pulls/8378 | 2014-09-23T23:24:28Z | 2014-09-24T11:59:42Z | 2014-09-24T11:59:42Z | 2014-09-24T11:59:42Z |
BUG: Intersection buggy for non-monotonic non-unique indices (GH8362) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 1e52d7e20046e..02f6b2531a969 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -970,4 +970,5 @@ Bug Fixes
- Bug in DataFrame terminal display: Setting max_column/max_rows to zero did not trigger auto-resizing of dfs to fit terminal wi... | Fixes intersection bug in the case of non-monotonic non-unique indexes.
closes #8362
| https://api.github.com/repos/pandas-dev/pandas/pulls/8374 | 2014-09-23T19:01:12Z | 2014-09-29T14:27:54Z | null | 2014-09-29T14:28:06Z |
ENH: Added file path existence check for read_hdf | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 1e52d7e20046e..b1e6fbe0b02bf 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -255,6 +255,8 @@ API changes
- ``Series.to_csv()`` now returns a string when ``path=None``, matching the behaviour of ``DataFrame.to_csv()`` (:issue:`821... | closes #7715
Added simple check for file path existence. It might be more advisable to deprecate this function and separate file buffer and file path read functionality, but the current form matches the rest of the API.
I wasn't sure if there was any tests I needed to add, but if there is, let me know.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8373 | 2014-09-23T19:00:22Z | 2014-09-26T22:06:18Z | 2014-09-26T22:06:18Z | 2014-09-26T22:06:29Z |
BUG: bug in non-evently divisible offsets when resampling (e.g. '7s') (GH8371) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index 1e52d7e20046e..5504ddcce6cbf 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -954,7 +954,7 @@ Bug Fixes
- Bug with kde plot and NaNs (:issue:`8182`)
- Bug in ``GroupBy.count`` with float32 data type were nan values were not exclude... | closes #8371
```
In [1]: data = """date,time,value
...: 11-08-2014,00:00:01.093,1
...: 11-08-2014,00:00:02.159,1
...: 11-08-2014,00:00:02.667,1
...: 11-08-2014,00:00:03.175,1
...: 11-08-2014,00:00:07.058,1
...: 11-08-2014,00:00:07.362,1
...: 11-08-2014,00:00:08.324,1
...: 11-08-2014,00:... | https://api.github.com/repos/pandas-dev/pandas/pulls/8372 | 2014-09-23T18:02:55Z | 2014-09-26T15:57:37Z | 2014-09-26T15:57:37Z | 2014-09-26T15:57:37Z |
BUG/COMPAT: set tz on DatetimeIndex on pickle reconstruction (GH8367) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index f49c919e80d50..cdf90e0a13cc0 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -506,7 +506,7 @@ Internal Refactoring
In 0.15.0 ``Index`` has internally been refactored to no longer sub-class ``ndarray``
but instead subclass ``Panda... | closes #8367
| https://api.github.com/repos/pandas-dev/pandas/pulls/8370 | 2014-09-23T14:17:10Z | 2014-09-23T14:58:45Z | 2014-09-23T14:58:45Z | 2014-09-23T14:58:45Z |
DataFrame.dropna bug fix | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 4654ceee9896b..8c504d35a3a4f 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2552,7 +2552,11 @@ def dropna(self, axis=0, how='any', thresh=None, subset=None,
agg_obj = self
if subset is not None:
a... | Bug fix for #8303. Now raise KeyError if any non-existent columns are passed in the subset argument.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8366 | 2014-09-23T01:44:39Z | 2014-09-25T00:05:35Z | null | 2014-09-25T00:38:15Z |
BUG: Bug in alignment with TimeOps and non-unique indexes (GH8363) | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index db55786ba0d1a..f49c919e80d50 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -867,7 +867,7 @@ Bug Fixes
- Bug in ``tslib.tz_convert`` and ``tslib.tz_convert_single`` may return different results (:issue:`7798`)
- Bug in ``Datetim... | closes #8363
| https://api.github.com/repos/pandas-dev/pandas/pulls/8364 | 2014-09-22T22:07:36Z | 2014-09-23T01:05:32Z | 2014-09-23T01:05:32Z | 2014-09-23T01:05:32Z |
BUG: OLS with clustering and nw_lags does not error | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index c66cda58fa8a0..672b58ccb75ad 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -940,3 +940,6 @@ Bug Fixes
- Bug where ``col_space`` was ignored in ``DataFrame.to_string()`` when ``header=False`` (:issue:`8230`).
- Bug in DataFrame ... | Added statement to raise ValueError when OLS is run with clustering and
Newey-West adjustments. Closes #5884. This is a re-attempt at
GH8170.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8360 | 2014-09-22T19:03:23Z | 2014-09-23T14:24:16Z | null | 2014-09-23T14:38:37Z |
Changed round_trip converter to Python converter instead of strtod | diff --git a/pandas/src/parser/tokenizer.c b/pandas/src/parser/tokenizer.c
index f817b202632e5..9a7303b6874db 100644
--- a/pandas/src/parser/tokenizer.c
+++ b/pandas/src/parser/tokenizer.c
@@ -2292,7 +2292,11 @@ double precise_xstrtod(const char *str, char **endptr, char decimal,
double round_trip(const char *p, char ... | As @mdickinson noted in #8044.
| https://api.github.com/repos/pandas-dev/pandas/pulls/8357 | 2014-09-22T16:08:17Z | 2014-09-27T01:48:08Z | 2014-09-27T01:48:08Z | 2014-09-28T16:24:39Z |
BUG: Work-around openpyxl-2.1.0 NumberFormat removal | diff --git a/pandas/io/excel.py b/pandas/io/excel.py
index 84f04188b7906..dcecbedd87dcf 100644
--- a/pandas/io/excel.py
+++ b/pandas/io/excel.py
@@ -71,7 +71,7 @@ def read_excel(io, sheetname=0, **kwds):
Parameters
----------
- io : string, file-like object, or xlrd workbook.
+ io : string, file-like... | xref #8342
compat for openpyxl: 2.0.0 thru 2.1.0, but a bit hacky
| https://api.github.com/repos/pandas-dev/pandas/pulls/8356 | 2014-09-22T15:54:57Z | 2014-09-22T16:39:26Z | 2014-09-22T16:39:26Z | 2014-09-22T16:39:26Z |
Test margins with dictionary aggfunc | diff --git a/pandas/tools/tests/test_pivot.py b/pandas/tools/tests/test_pivot.py
index cf28c2400524c..42773776afa09 100644
--- a/pandas/tools/tests/test_pivot.py
+++ b/pandas/tools/tests/test_pivot.py
@@ -266,6 +266,25 @@ def _check_output(res, col, index=['A', 'B'], columns=['C']):
gmarg = table[item]['Al... | https://api.github.com/repos/pandas-dev/pandas/pulls/8355 | 2014-09-22T15:33:12Z | 2014-09-23T07:50:42Z | null | 2014-09-23T12:26:37Z | |
Bug on pivot_table with margins and dict aggfunc | diff --git a/doc/source/v0.15.0.txt b/doc/source/v0.15.0.txt
index fcf928a975c2b..4e8b2ba7c9777 100644
--- a/doc/source/v0.15.0.txt
+++ b/doc/source/v0.15.0.txt
@@ -854,7 +854,7 @@ Performance
Bug Fixes
~~~~~~~~~
-
+- Bug in pivot_table, "key error" using margins and dict aggfunc (:issue:`8349`)
- Bug in ``read_c... | closes #8349
bug on pandas 0.14.1 pivot_table using dictionary aggfunc and margins.
Test code:
<pre>
<code>
df=pandas.DataFrame([
{'JOB':'Worker','NAME':'Bob' ,'YEAR':2013,'MONTH':12,'DAYS': 3,'SALARY': 17},
{'JOB':'Employ','NAME':'Mary','YEAR':2013,'MONTH':12,'DAYS': 5,'SALARY': 23},
{'JOB':'Worker','NAME':'Bob'... | https://api.github.com/repos/pandas-dev/pandas/pulls/8354 | 2014-09-22T15:19:37Z | 2014-09-30T16:05:15Z | null | 2014-09-30T16:05:42Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.