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: Add context to pd.to_timedelta examples | diff --git a/doc/source/timedeltas.rst b/doc/source/timedeltas.rst
index 620270c8307b8..39b73b307be4e 100644
--- a/doc/source/timedeltas.rst
+++ b/doc/source/timedeltas.rst
@@ -47,14 +47,14 @@ You can construct a ``Timedelta`` scalar through various arguments:
# like datetime.timedelta
# note: these MUST be s... | Update the reStructuredText tutorial on timedeltas to include
context, similar to edits suggested for #11785.
Also, add a space after various commas (PEP8), and periods/colons
at the end of sentences for consistency.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11789 | 2015-12-07T18:15:20Z | 2015-12-09T15:20:41Z | 2015-12-09T15:20:41Z | 2015-12-15T19:46:03Z |
ENH: allow saving of meta-data via CArrays to support wide tables | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index fb57a7f8bd838..d33aa614f8067 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -41,6 +41,8 @@
import pandas.algos as algos
import pandas.tslib as tslib
+from tables.exceptions import NoSuchNodeError, NodeError
+
from contextlib import... | supersedes #10243
closes #6245
Here is the code as it stands now. Appending MultiIndex axes now works. The one test that still fails is test_append_frame_column_oriented: writing the DateTimeIndex as columns fails because the index is converted to an array of timestamps so np.array creates an object array. If it ... | https://api.github.com/repos/pandas-dev/pandas/pulls/11788 | 2015-12-07T17:24:11Z | 2016-01-30T15:45:05Z | null | 2019-01-11T13:25:30Z |
DOC: Add examples for pandas.tseries.timedeltas | diff --git a/pandas/tseries/timedeltas.py b/pandas/tseries/timedeltas.py
index 11200bb2540cd..a880f29989f57 100644
--- a/pandas/tseries/timedeltas.py
+++ b/pandas/tseries/timedeltas.py
@@ -32,6 +32,28 @@ def to_timedelta(arg, unit='ns', box=True, errors='raise', coerce=None):
Returns
-------
ret : timede... | Copied examples from the reStructuredText [tutorial](http://pandas.pydata.org/pandas-docs/stable/timedeltas.html) on timedeltas.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11785 | 2015-12-07T14:30:38Z | 2015-12-16T14:02:19Z | 2015-12-16T14:02:19Z | 2015-12-16T14:05:40Z |
DOC: Add examples for pandas.Series.append | diff --git a/pandas/core/series.py b/pandas/core/series.py
index f3e059b3d6e98..5a468f419f4ab 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1481,6 +1481,36 @@ def append(self, to_append, verify_integrity=False):
Returns
-------
appended : Series
+
+ Examples
+ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/11781 | 2015-12-07T06:30:24Z | 2015-12-07T09:11:52Z | 2015-12-07T09:11:52Z | 2015-12-07T14:27:50Z | |
BUG: to_numeric should raise if input is more than one dimension #11776 | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 8fe7a5753f1d1..cc2bb47dea3bd 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -196,3 +196,4 @@ Bug Fixes
- Bug in ``pd.rolling_median`` where memory allocation failed even with sufficient memory (:... | closes #11776
| https://api.github.com/repos/pandas-dev/pandas/pulls/11780 | 2015-12-07T05:22:33Z | 2015-12-10T12:10:45Z | 2015-12-10T12:10:45Z | 2015-12-10T12:10:49Z |
BUG: [GH 11738] Fix for end_time when multiple of a frequency is requested | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 8fe7a5753f1d1..37a121992dadd 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -187,7 +187,7 @@ Bug Fixes
-
+- Bug in parsing timezone offset strings with non-zero minutes (:issue:`11708`)
... | closes #11738
1. Added a new test with the multiple of a frequency.
2. Rearranged some tests to improve readability of the code.
3. Added bug fix to whatsnew
4. Added a comment in the test
Didn't follow the contributing guidelines carefully in PR #11771 and hence this new PR.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11779 | 2015-12-07T03:36:26Z | 2015-12-07T11:11:04Z | null | 2015-12-07T18:26:48Z |
Missing _repr_latex_ method for latex/pdf conversion in jupyter notebooks | diff --git a/doc/source/options.rst b/doc/source/options.rst
index 1b125fa76f68b..0b2ba03a441a2 100644
--- a/doc/source/options.rst
+++ b/doc/source/options.rst
@@ -307,6 +307,10 @@ display.large_repr truncate For DataFrames exceeding max_rows/max_co
or switch to the... | Hello, this is my very first pull request on github. I added latex/pdf conversion capabilities to the dataframe when used in a Jupyter/Ipython notebook. The method simply uses the existing to_latex method of the Dataframe class. I believe teh following Issues or PR have already attempted this, but they seem closed: #11... | https://api.github.com/repos/pandas-dev/pandas/pulls/11778 | 2015-12-06T21:16:17Z | 2015-12-19T17:14:51Z | 2015-12-19T17:14:51Z | 2018-06-19T09:41:27Z |
BUG/API: QuarterBegin n=0 #11406 | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index aa43ebd70320f..a2c6212c58e01 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -89,12 +89,40 @@ In addition, ``.round()`` will be available thru the ``.dt`` accessor of ``Serie
Backwards incompatibl... | closes #11406 - makes `QuarterBegin` for `n=0` match Month/Year.
xref #11427 - once this is merged the failures there should pass - there is also a little more documentation about general offset semantics in that PR.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11777 | 2015-12-06T20:57:55Z | 2015-12-10T12:26:09Z | null | 2015-12-10T12:26:09Z |
BUG: Parsing offset strings with non-zero minutes was incorrect | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 8fe7a5753f1d1..5d26896ba1e07 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -187,7 +187,7 @@ Bug Fixes
-
+- Bug in parsing timezone offset strings with non-zero minutes (:issue:`11708`)
... | Closes #11708
Minutes needed to be added to the hour offset rather than subtracted.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11774 | 2015-12-06T12:49:21Z | 2015-12-07T00:33:58Z | 2015-12-07T00:33:58Z | 2015-12-07T00:34:07Z |
BUG: Fixed DataFrame info() for duplicated columns, GH11761 | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 8fe7a5753f1d1..f35a4f7970bee 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -196,3 +196,9 @@ Bug Fixes
- Bug in ``pd.rolling_median`` where memory allocation failed even with sufficient memory (:... | See #11761.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11772 | 2015-12-06T12:21:23Z | 2015-12-07T11:33:41Z | null | 2015-12-07T11:46:05Z |
BUG: [GH 11738] Fix for end_time when multiple of a frequency is requested | diff --git a/.gitignore b/.gitignore
index d33df2df6e548..12594beff1d26 100644
--- a/.gitignore
+++ b/.gitignore
@@ -82,6 +82,7 @@ scikits
# Performance Testing #
#######################
asv_bench/
+mytests/
# Documentation generated files #
#################################
diff --git a/pandas/src/period.pyx b/... | closes #11738
1. Added a new test with the multiple of a frequency.
2. Rearranged some tests to improve readability of the code.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11771 | 2015-12-06T06:13:56Z | 2015-12-07T03:06:22Z | null | 2015-12-07T11:05:39Z |
MNT: simplify AutoDateFormatter | diff --git a/pandas/tseries/converter.py b/pandas/tseries/converter.py
index a9fee1d5c3ee6..9bcb6348f01cc 100644
--- a/pandas/tseries/converter.py
+++ b/pandas/tseries/converter.py
@@ -23,6 +23,9 @@
from pandas.tseries.frequencies import FreqGroup
from pandas.tseries.period import Period, PeriodIndex
+from matplotl... | - import constants from matplolib.dates
- do not re-implement AutoDateFormatter functionality that
is already upstream
| https://api.github.com/repos/pandas-dev/pandas/pulls/11770 | 2015-12-06T04:18:03Z | 2015-12-08T15:20:46Z | 2015-12-08T15:20:46Z | 2016-05-10T21:03:01Z |
WIP: display_format for style | diff --git a/pandas/core/style.py b/pandas/core/style.py
index 59bf6118a79c6..3b7ef77172124 100644
--- a/pandas/core/style.py
+++ b/pandas/core/style.py
@@ -19,6 +19,7 @@
import numpy as np
import pandas as pd
from pandas.compat import lzip
+import pandas.core.common as com
from pandas.core.indexing import _maybe_n... | Unfinished at the moment. Just wanted to push something up since there are other PRs that could build on this.
This moves the logic of "what value should I display for this cell?" from the Template to the `Styler` class itself. The two biggest benefits are
1. User extensibility: Users provide formatting functions (via... | https://api.github.com/repos/pandas-dev/pandas/pulls/11768 | 2015-12-05T17:53:05Z | 2015-12-08T01:44:52Z | null | 2015-12-08T01:44:52Z |
CLN: remove if conditions that are almost never True | diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx
index 713cf08bfc3e2..849a34ba4ca4f 100644
--- a/pandas/tslib.pyx
+++ b/pandas/tslib.pyx
@@ -75,12 +75,11 @@ PyDateTime_IMPORT
# numpy_pydatetime_import
cdef int64_t NPY_NAT = util.get_nat()
+iNaT = NPY_NAT
# < numpy 1.7 compat for NaT
compat_NaT = np.array([NPY_N... | use typed `iNaT` in Cython code when possible, remove checking that is almost always `False`
| https://api.github.com/repos/pandas-dev/pandas/pulls/11767 | 2015-12-05T16:12:27Z | 2015-12-07T11:24:53Z | 2015-12-07T11:24:53Z | 2015-12-07T11:24:56Z |
DOC: Explain `Styler.set_table_styles` | diff --git a/pandas/core/style.py b/pandas/core/style.py
index 5974e0e660a0b..59bf6118a79c6 100644
--- a/pandas/core/style.py
+++ b/pandas/core/style.py
@@ -520,17 +520,31 @@ def set_caption(self, caption):
def set_table_styles(self, table_styles):
"""
- Set the table styles on a Styler
+ ... | Also included an example.
Side-note, the API could probably be a lot cleaner here. Accept `*args` instead of a list e.g.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11766 | 2015-12-05T14:07:43Z | 2015-12-05T16:37:39Z | 2015-12-05T16:37:39Z | 2016-11-03T12:38:48Z |
DOC: Remove infer_types from the documentation of read_html GH 11764 | diff --git a/doc/source/io.rst b/doc/source/io.rst
index a9ec5c24b5d46..8001cd3723601 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1790,12 +1790,6 @@ as well)
dfs = read_html(url, skiprows=range(2))
-Don't infer numeric and date types
-
-.. code-block:: python
-
- dfs = read_html(url, infer_type... | Remove infer_types from read_html.
Closes #11764
| https://api.github.com/repos/pandas-dev/pandas/pulls/11765 | 2015-12-05T06:07:49Z | 2015-12-05T15:13:23Z | 2015-12-05T15:13:23Z | 2015-12-07T06:42:49Z |
DOC: pd.read_csv doc-string clarification #11555 | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 36d4bd89261c4..0bf6d02ee3f3a 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -75,120 +75,199 @@ The two workhorse functions for reading text files (a.k.a. flat files) are
:func:`~pandas.io.parsers.read_csv` and :func:`~pandas.io.parsers.read_table`.
T... | closes #11555
Updated IO Tools documentation for read_csv() and read_table() to be consistent with the doc-string.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11756 | 2015-12-03T21:36:37Z | 2016-02-08T06:11:21Z | null | 2016-02-08T06:37:41Z |
Consolidate list-like checking to is_list_like | diff --git a/pandas/core/common.py b/pandas/core/common.py
index b3a42335e14da..61b689d05b9ea 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -2016,14 +2016,15 @@ def _asarray_tuplesafe(values, dtype=None):
def _index_labels_to_array(labels):
- if isinstance(labels, (compat.string_types, tuple... | Closes https://github.com/pydata/pandas/issues/11740
Let me know what tests would be helpful for these types of 'cleaning' PRs, and whether a "what's new" is needed.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11751 | 2015-12-03T05:52:31Z | 2016-01-06T17:21:07Z | null | 2016-12-22T05:57:03Z |
ENH : GH11729 added index parameter in series to_string | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index aa43ebd70320f..b1b9c46293a91 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -32,6 +32,7 @@ Other enhancements
^^^^^^^^^^^^^^^^^^
- Handle truncated floats in SAS xport files (:issue:`11713`)
+... | Fixes #11729
Please Review .
| https://api.github.com/repos/pandas-dev/pandas/pulls/11750 | 2015-12-03T04:46:43Z | 2015-12-12T14:04:00Z | 2015-12-12T14:04:00Z | 2015-12-13T03:09:33Z |
Improve(?) explanation of SettingWithCopy warning | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 80dc1be8ee2ea..af5087689ca4d 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -1522,23 +1522,58 @@ Contrast this to ``df.loc[:,('one','second')]`` which passes a nested tuple of `
``__getitem__``. This allows pandas to deal with ... | After playing with R a bunch, I started feeling like the explanation of `SettingWithCopy` wasn't getting to the core of the matter, which is actually an essential consequence of python slice assignment semantics. Here's how python handles chained assignment:
``` python
df['foo']['bar'] = quux
# becomes
df.__getitem__(... | https://api.github.com/repos/pandas-dev/pandas/pulls/11746 | 2015-12-02T23:32:45Z | 2015-12-04T23:02:59Z | 2015-12-04T23:02:59Z | 2015-12-04T23:03:27Z |
TST in .drop and .groupby for dataframes with multi-indexed columns | diff --git a/pandas/indexes/multi.py b/pandas/indexes/multi.py
index 1b7f057de9677..a9a40f584ea95 100644
--- a/pandas/indexes/multi.py
+++ b/pandas/indexes/multi.py
@@ -1092,7 +1092,7 @@ def drop(self, labels, level=None, errors='raise'):
elif is_bool_indexer(loc):
if self.lexsort_... | ## Bug 1 [edit: issues #11640 and #12078, fixed by PR #12158 but not entirely tested]
There was a bug deeply hidden in `pandas/core/index.py`, where it was assumed that the `.get_loc` method of an index would only return an integer or a slice, while it can also return a mask.
Simply correcting that bug has two conseq... | https://api.github.com/repos/pandas-dev/pandas/pulls/11717 | 2015-11-28T17:46:30Z | 2016-01-29T14:40:50Z | null | 2016-01-29T14:49:25Z |
Fix to BUG GH11698. added default value of mask | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index d4ed68b9f4343..a20ca31dfbdc0 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -108,7 +108,12 @@ Bug Fixes
-
+- Bug in ``Timedelta.round`` with negative values (:issue:`11690`)
- Bug in ``.loc... | closes #11698
Please review.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11715 | 2015-11-27T21:14:17Z | 2015-12-02T15:05:09Z | null | 2015-12-03T04:47:39Z |
ENH: Add support for s3 in read_excel #11447 | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index c517f89855601..6da7947d681c6 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -32,6 +32,7 @@ Other enhancements
^^^^^^^^^^^^^^^^^^
- Handle truncated floats in SAS xport files (:issue:`11713`)
+... | closes #11447
Updated excel.py to use pandas.io.common.get_filepath_or_buffer (handles s3 urls) instead of urlopen, only when _is_s3_url returns true. This was the minimally invasive change.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11714 | 2015-11-27T20:09:28Z | 2015-12-01T20:38:19Z | 2015-12-01T20:38:19Z | 2015-12-01T20:38:28Z |
Truncated float support for SAS Xport files | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 7e01303477f8f..e906d9e461541 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -31,6 +31,10 @@ New features
Other enhancements
^^^^^^^^^^^^^^^^^^
+- Handle truncated floats in SAS xport files (se... | SAS xport files allow floats to be stored with fewer than 8 bytes, with implicit zeros in the high order bytes. Currently we only handle full width (8 byte) floats. This PR adds support for truncated floats.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11713 | 2015-11-27T15:54:03Z | 2015-12-01T15:15:06Z | null | 2015-12-01T15:15:06Z |
BUG: work around for np.bincount with minlength=0 | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 926e191c96754..497ee2a8dbb4d 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -106,6 +106,7 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+- Bug in ``GroupBy.size`` when data-frame is empty. (... | closes https://github.com/pydata/pandas/issues/11699
xref https://github.com/pydata/pandas/issues/11189#issuecomment-152613636
| https://api.github.com/repos/pandas-dev/pandas/pulls/11709 | 2015-11-26T18:28:51Z | 2015-11-29T17:32:18Z | 2015-11-29T17:32:18Z | 2015-11-29T19:51:39Z |
BUG: GH11697 where memory allocation failed in rolling_median | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 7e01303477f8f..82249a86c36ad 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -190,3 +190,4 @@ Bug Fixes
- Bug in ``.loc`` result with duplicated key may have ``Index`` with incorrect dtype (:i... | closes #11697
thanks @ajspeck
| https://api.github.com/repos/pandas-dev/pandas/pulls/11706 | 2015-11-26T04:20:15Z | 2015-12-01T12:10:28Z | 2015-12-01T12:10:28Z | 2015-12-01T12:11:08Z |
BUG GH11693 Support NaT series concatenation | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 733e86e38e47a..384174f1fc5a0 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -345,3 +345,6 @@ Bug Fixes
- Bug in ``read_sql`` with pymysql connections failing to return chunked data (:issue:`115... | Please review .
Closes #11693
| https://api.github.com/repos/pandas-dev/pandas/pulls/11705 | 2015-11-26T02:30:13Z | 2016-02-01T18:59:22Z | null | 2016-02-01T18:59:22Z |
Doc: fix typo in style docs (collied->collide) | diff --git a/doc/source/html-styling.ipynb b/doc/source/html-styling.ipynb
index 2bead2e18e0e0..1881727001546 100644
--- a/doc/source/html-styling.ipynb
+++ b/doc/source/html-styling.ipynb
@@ -518,7 +518,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "The `row0_col2` is the identifier for th... | https://api.github.com/repos/pandas-dev/pandas/pulls/11702 | 2015-11-25T18:21:28Z | 2015-11-25T18:24:04Z | 2015-11-25T18:24:04Z | 2015-11-25T18:24:11Z | |
BUG/API: Index creation with different tz coerces DatetimeIndex | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index c1b7ff82f4c76..3e864918f06a5 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -187,7 +187,6 @@ Bug Fixes
- Bug in timezone info lost when broadcasting scalar datetime to ``DataFrame`` (:issue:`1168... | Closes #11488.
Based on the type check added in #11588, the change affects to fewer functions than I originally thought.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11696 | 2015-11-24T20:45:14Z | 2015-12-10T12:17:20Z | null | 2015-12-10T12:47:58Z |
BUG: Index does not inherit existing Index or DatatetimeIndex object … | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 5b8c282d3e4ed..ea5c3b6e4c7d0 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -238,4 +238,6 @@ Bug Fixes
- Bug in ``df.replace`` while replacing value in mixed dtype ``Dataframe`` (:issue:`11698`... | This PR is meant to fix issue #11193
The issue prevent, when creating a new `Index` object based on a passed `Index` or `DatetimeIndex` object, to inherit the existing `Index` name if a new name is not provided.
I've also created two unit test which test the new behaviour on both cases (passing an `Index` or `Dateti... | https://api.github.com/repos/pandas-dev/pandas/pulls/11695 | 2015-11-24T20:18:45Z | 2015-12-18T18:26:10Z | null | 2015-12-18T18:26:10Z |
ENH: rounding for datetimelike Indexes/Scalars | diff --git a/doc/source/api.rst b/doc/source/api.rst
index ac79528f31e04..c7f815914358b 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -526,6 +526,7 @@ These can be accessed like ``Series.dt.<property>``.
Series.dt.tz_convert
Series.dt.normalize
Series.dt.strftime
+ Series.dt.round
**Timed... | closes #4314
| https://api.github.com/repos/pandas-dev/pandas/pulls/11690 | 2015-11-24T13:07:34Z | 2015-11-29T18:03:36Z | 2015-11-29T18:03:36Z | 2020-05-31T03:23:24Z |
Use lower case to load jinja2 | diff --git a/pandas/util/print_versions.py b/pandas/util/print_versions.py
index 7f9840f73a583..0bdcbedee0900 100644
--- a/pandas/util/print_versions.py
+++ b/pandas/util/print_versions.py
@@ -89,7 +89,7 @@ def show_versions(as_json=False):
("sqlalchemy", lambda mod: mod.__version__),
("pymysql", lamb... | `import imp; imp.load_module("Jinja2", *imp.find_module("Jinja2"))`
raises `ImportError`, where as the lowercase version works fine.
Signed-off-by: Justin Lecher jlec@gentoo.org
| https://api.github.com/repos/pandas-dev/pandas/pulls/11689 | 2015-11-24T12:04:44Z | 2015-11-24T13:09:22Z | 2015-11-24T13:09:22Z | 2015-11-24T13:09:25Z |
Use tz.gettz() instead of zoneinfo.gettz() | diff --git a/pandas/util/print_versions.py b/pandas/util/print_versions.py
index 7f9840f73a583..0bdcbedee0900 100644
--- a/pandas/util/print_versions.py
+++ b/pandas/util/print_versions.py
@@ -89,7 +89,7 @@ def show_versions(as_json=False):
("sqlalchemy", lambda mod: mod.__version__),
("pymysql", lamb... | zoneinfo.gettz() seems to have problems (1 & 2) on system which do not install
the zoninfo tarball (e.g. Debian, Gentoo and Fedora) but rely on the system
zoneinfo files. This results in test failures (3 & 4)
tz.gettz() doesn't suffer from this problem.
1 https://github.com/dateutil/dateutil/issues/8
2 https://github.... | https://api.github.com/repos/pandas-dev/pandas/pulls/11688 | 2015-11-24T11:58:23Z | 2015-11-24T12:03:06Z | null | 2015-11-24T12:03:14Z |
API: DataFrame.to_csv formatting parameters for float indexes | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index b443bb74e98ea..4614ce9acf3d5 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -325,6 +325,7 @@ Bug Fixes
- Bug in timezone info lost when broadcasting scalar datetime to ``DataFrame`` (:issue:`... | Fix issue #11553
Two things:
1) I've created a `Float64Index._format_native_types` method which is a copy-paste of `FloatBlock.to_native_types`. I would have preferred to call the latter directly, but I'm not sure what the `placement` parameter of the `FloatBlock` constructor means. I guess I doesn't really matters... | https://api.github.com/repos/pandas-dev/pandas/pulls/11681 | 2015-11-23T17:38:21Z | 2015-12-27T17:24:32Z | 2015-12-27T17:24:32Z | 2015-12-27T17:25:29Z |
BUG: style.bar results in incorrect gradient using specific browser | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 3d000aa59c6d0..0710f65dc9a74 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -226,4 +226,7 @@ Bug Fixes
- Bug in ``.loc`` result with duplicated key may have ``Index`` with incorrect dtype (:issue... | It's not a bug on pandas side, but CSS `linear-gradient` with `0%` width seems not be rendered properly using specific browsers.
Below is the output using Mac OSX 10.10.5 / Firefox.

The fix s... | https://api.github.com/repos/pandas-dev/pandas/pulls/11678 | 2015-11-23T03:35:51Z | 2015-12-10T20:59:56Z | 2015-12-10T20:59:56Z | 2015-12-12T00:26:48Z |
ENH: Read from compressed data sources | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 5ccf829fd5a42..bd9707381190a 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -31,7 +31,7 @@ New features
Other enhancements
^^^^^^^^^^^^^^^^^^
-
+- `read_pickle` can now unpickle from compresse... | This is the start of an effort to address compression in `read_*` methods (at the moment, just `read_pickle`, as per #11666. So far, I've factored out the compression handling in the `_read` function of `pandas.io.parsers` and used that in the pickling read routine.
Tests on the way, along with actual testing that it ... | https://api.github.com/repos/pandas-dev/pandas/pulls/11677 | 2015-11-22T23:40:42Z | 2016-01-20T14:11:40Z | null | 2016-01-20T14:11:40Z |
DOC: minor fixes | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 15a840ff3c7ba..81bbbcc873107 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -584,7 +584,7 @@ def style(self):
See Also
--------
- pandas.core.Styler
+ pandas.core.style.Styler
"""
from pan... | Some minor fixes that went into the 0.17.1 docs
| https://api.github.com/repos/pandas-dev/pandas/pulls/11673 | 2015-11-22T10:07:03Z | 2015-11-22T10:09:15Z | 2015-11-22T10:09:15Z | 2015-11-22T10:09:15Z |
BUG: GH11616 fixes timezone selection error | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 5ccf829fd5a42..fa16a0513f4bb 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -105,3 +105,6 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+
+- Bug aggregating on UTC timestamps with selection ... | closes #11616
closes #11682
| https://api.github.com/repos/pandas-dev/pandas/pulls/11672 | 2015-11-22T03:18:43Z | 2015-11-27T13:40:00Z | null | 2015-11-27T14:43:04Z |
BLD: Change pytables to tables in the asv dependencies. | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index 6a739873a032f..0c20fb3cddc1a 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -41,7 +41,7 @@
"sqlalchemy": [],
"scipy": [],
"numexpr": [],
- "pytables": [],
+ "tables": [],
"openpy... | The asv benchmarks fails to build due to [PyTables PyPI package name being `tables` and not `pytables`](https://pypi.python.org/pypi/tables). This PR fixes the issue and the asv benchmarks now builds correctly.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11671 | 2015-11-22T00:37:58Z | 2015-11-22T02:31:36Z | null | 2015-11-22T18:35:09Z |
WIP: Better formatting for .set_precision | diff --git a/pandas/core/style.py b/pandas/core/style.py
index 6ee5befd4ec02..57348fb3c8955 100644
--- a/pandas/core/style.py
+++ b/pandas/core/style.py
@@ -6,6 +6,7 @@
from contextlib import contextmanager
from uuid import uuid1
import copy
+import numbers
from collections import defaultdict
try:
@@ -19,6 +20,7... | closes #11656
I found some extra time behind the sofa and started working on this. I made quite a few additions but by default everything should work as it did.
- just calling `.set_precision` with an `int` will truncate all columns to that many decimal places as before
- precision can be set per column as an extra `... | https://api.github.com/repos/pandas-dev/pandas/pulls/11667 | 2015-11-20T18:05:27Z | 2016-03-12T17:47:24Z | null | 2016-03-12T17:47:24Z |
DOC: add nbviewer link | diff --git a/doc/source/html-styling.ipynb b/doc/source/html-styling.ipynb
index 6f4569ab32f89..2bead2e18e0e0 100644
--- a/doc/source/html-styling.ipynb
+++ b/doc/source/html-styling.ipynb
@@ -8,6 +8,8 @@
"\n",
"<p style=\"color: red\">*Provisional: This is a new feature and still under development. We'll be ... | points to master.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11664 | 2015-11-20T15:58:22Z | 2015-11-20T16:38:49Z | 2015-11-20T16:38:49Z | 2016-11-03T12:38:42Z |
DOC: a few touchups | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 668e297dc8f18..ac79528f31e04 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -1710,7 +1710,7 @@ Style Export and Import
Styler.render
Styler.export
- Styler.set
+ Styler.use
.. currentmodule:: pandas
diff --git a/pandas/core/style... | Comments in https://github.com/pydata/pandas/pull/11660#issuecomment-158427446
@jorisvandenbossche
@jreback
I think we're ok to merge.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11663 | 2015-11-20T15:33:55Z | 2015-11-20T16:48:23Z | 2015-11-20T16:48:23Z | 2016-11-03T12:38:40Z |
COMPAT: compat of scalars on all platforms, xref #11638 | diff --git a/pandas/core/common.py b/pandas/core/common.py
index d8e21e8a7bc0c..43d018edb872c 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1037,16 +1037,16 @@ def _infer_dtype_from_scalar(val):
dtype = np.bool_
elif is_integer(val):
- if isinstance(val, int):
- dt... | https://api.github.com/repos/pandas-dev/pandas/pulls/11662 | 2015-11-20T14:45:04Z | 2015-11-20T15:16:14Z | 2015-11-20T15:16:14Z | 2015-11-20T15:16:15Z | |
DOC: whatsnew edits | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 757cff43f87e7..b80ac18a2ac51 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1725,6 +1725,7 @@ pass ``convert_numeric=True``. This will force strings and numbers alike to be n
they will be set to ``np.nan``.
.. ipython:: python
+ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/11661 | 2015-11-20T14:37:11Z | 2015-11-20T15:39:53Z | 2015-11-20T15:39:53Z | 2015-11-20T15:39:53Z | |
DOC: warnings and remove HTML | diff --git a/doc/source/html-styling.html b/doc/source/html-styling.html
deleted file mode 100644
index f751d9575ddb5..0000000000000
--- a/doc/source/html-styling.html
+++ /dev/null
@@ -1,21211 +0,0 @@
-
-<div class="cell border-box-sizing text_cell rendered">
-<div class="prompt input_prompt">
-</div>
-<div class="inn... | Couple comments in https://github.com/pydata/pandas/issues/11610#issuecomment-158411503
- warning in the whatsnew
- warning in the Styler docstring
- removes generated HTML version of the notebook, that's built as part of the doc build.
Building the docs now to double check, I'll merge when those are good.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11660 | 2015-11-20T14:24:12Z | 2015-11-20T14:44:28Z | 2015-11-20T14:44:28Z | 2016-11-03T12:38:39Z |
DOC: Clarify foramtting | diff --git a/doc/source/html-styling.ipynb b/doc/source/html-styling.ipynb
index fc59c3ca88100..6f4569ab32f89 100644
--- a/doc/source/html-styling.ipynb
+++ b/doc/source/html-styling.ipynb
@@ -2525,7 +2525,7 @@
"source": [
"Above we used `Styler.apply` to pass in each column one at a time.\n",
"\n",
- ... | Addresses [this comment](https://github.com/pydata/pandas/issues/11610#issuecomment-158326899) about the formatting being unclear.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11659 | 2015-11-20T13:45:15Z | 2015-11-20T13:56:04Z | 2015-11-20T13:56:04Z | 2016-11-03T12:38:38Z |
BUG: indexing with a range , #11652 | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index de6c20a292eac..c72334c5910a9 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -169,7 +169,7 @@ Bug Fixes
-
+- Bug in indexing with a ``range``, (:issue:`11652`)
- Bug in ``to_sql`` using ... | closes #11652
| https://api.github.com/repos/pandas-dev/pandas/pulls/11653 | 2015-11-19T22:47:48Z | 2015-11-20T00:38:08Z | 2015-11-20T00:38:08Z | 2015-11-20T00:38:08Z |
Fix link to numexpr | diff --git a/doc/source/install.rst b/doc/source/install.rst
index 9accc188d567f..fcf497c0146c2 100644
--- a/doc/source/install.rst
+++ b/doc/source/install.rst
@@ -224,7 +224,7 @@ Dependencies
Recommended Dependencies
~~~~~~~~~~~~~~~~~~~~~~~~
-* `numexpr <http://code.google.com/p/numexpr/>`__: for accelerating cer... | Numexpr was hosted on Google code, but moved to Github.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11651 | 2015-11-19T21:34:09Z | 2015-11-19T21:40:15Z | 2015-11-19T21:40:15Z | 2015-11-19T21:40:19Z |
DOC: sponsor notice | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index de6c20a292eac..5b2b316158c40 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -3,6 +3,12 @@
v0.17.1 (November 21, 2015)
---------------------------
+.. note::
+
+ We are proud to announce that... | cc @jorisvandenbossche
cc @cpcloud
cc @shoyer
cc @wesm
| https://api.github.com/repos/pandas-dev/pandas/pulls/11650 | 2015-11-19T20:39:41Z | 2015-11-20T12:43:54Z | 2015-11-20T12:43:54Z | 2015-11-20T15:19:21Z |
Bug#11637 fix to_csv | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index c4e8ae44011ec..6061fd42ebac2 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -164,6 +164,7 @@ Bug Fixes
- Bug in ``squeeze()`` with zero length arrays (:issue:`11230`, :issue:`8999`)
- Bug in ``d... | This is a fix to Bug #11637.
Error Description : incorrect output when a mix of integer and string column names passed as columns parameter in to_csv().
[format.py](https://github.com/pydata/pandas/blob/master/pandas/core/format.py#L1330) is the cause of this discrepancy.
Please review .
| https://api.github.com/repos/pandas-dev/pandas/pulls/11649 | 2015-11-19T20:02:39Z | 2015-11-20T00:40:45Z | null | 2015-11-20T01:41:16Z |
DOC: fix up doc-string creations in generic.py | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 072a9f0da5d11..3df81481f1e84 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -4589,162 +4589,23 @@ def _agg_by_level(self, name, axis=0, level=0, skipna=True, **kwargs):
def _add_numeric_operations(cls):
""" add the ope... | change in function locations, very minor corrections for functions like `DataFrame.sum`
| https://api.github.com/repos/pandas-dev/pandas/pulls/11646 | 2015-11-19T13:18:00Z | 2015-11-19T13:38:45Z | 2015-11-19T13:38:45Z | 2015-11-19T13:38:45Z |
BUG #11638 return correct dtype for int and float | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index c4e8ae44011ec..695c1078f06e1 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -164,6 +164,7 @@ Bug Fixes
- Bug in ``squeeze()`` with zero length arrays (:issue:`11230`, :issue:`8999`)
- Bug in ``d... | closes #11638
Please review.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11644 | 2015-11-19T03:27:19Z | 2015-11-20T00:59:20Z | null | 2015-11-20T01:41:08Z |
PERF: improves performance in remove_unused_categories | diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py
index be4b3f59bead4..456fedb272e18 100644
--- a/pandas/core/categorical.py
+++ b/pandas/core/categorical.py
@@ -816,16 +816,14 @@ def remove_unused_categories(self, inplace=False):
set_categories
"""
cat = self if inplace el... | on master:
``` python
In [1]: np.random.seed(2718281)
In [2]: n = 1 << 20
In [3]: ix = tm.makeCategoricalIndex(n, n // 10)
In [4]: %timeit ix.remove_unused_categories()
1 loops, best of 3: 527 ms per loop
```
on branch:
``` python
In [4]: %timeit ix.remove_unused_categories()
1 loops, best of 3: 216 ms per loop
`... | https://api.github.com/repos/pandas-dev/pandas/pulls/11643 | 2015-11-19T02:02:07Z | 2015-11-19T03:13:22Z | null | 2015-11-21T21:41:14Z |
TST: tests for outputing ambiguous times, #11619, fixed already in #11301 | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index fe712d8f0710f..c4e8ae44011ec 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -153,6 +153,7 @@ Bug Fixes
- Prevent adding new attributes to the accessors ``.str``, ``.dt`` and ``.cat``. Retrieving ... | closes #11619
| https://api.github.com/repos/pandas-dev/pandas/pulls/11641 | 2015-11-18T16:17:40Z | 2015-11-18T16:49:58Z | 2015-11-18T16:49:58Z | 2015-11-18T16:49:58Z |
BUG: remove_unused_categories with NaN values (GH11599) | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index fe712d8f0710f..eec400facffae 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -187,3 +187,4 @@ Bug Fixes
- Bug in ``DataFrame.join()`` with ``how='right'`` producing a ``TypeError`` (:issue:`11519`... | Closes #11599
| https://api.github.com/repos/pandas-dev/pandas/pulls/11639 | 2015-11-18T13:19:31Z | 2015-11-18T21:34:56Z | 2015-11-18T21:34:56Z | 2015-11-18T21:34:56Z |
CLN: Followup to HTML Formatting | diff --git a/ci/requirements_all.txt b/ci/requirements_all.txt
index 6a0b695c5de87..6a05f2db8901f 100644
--- a/ci/requirements_all.txt
+++ b/ci/requirements_all.txt
@@ -20,3 +20,4 @@ lxml
sqlalchemy
bottleneck
pymysql
+Jinja2
diff --git a/doc/make.py b/doc/make.py
index 6b424ce2814d5..c09514d758833 100755
--- a/doc/... | Partially closes https://github.com/pydata/pandas/issues/11610#issuecomment-157197629
- CSS update
- whatsnew example
- print_versions
- requirements_all
| https://api.github.com/repos/pandas-dev/pandas/pulls/11634 | 2015-11-18T03:15:27Z | 2015-11-18T11:52:12Z | 2015-11-18T11:52:12Z | 2016-11-03T12:38:36Z |
TST: Fix two failing tests on Windows #10631 | diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py
index 96f72c0fbb2d1..0cae8b356b517 100644
--- a/pandas/tests/test_frame.py
+++ b/pandas/tests/test_frame.py
@@ -11629,7 +11629,7 @@ def test_apply_mixed_dtype_corner(self):
result = df[:0].apply(np.mean, axis=1)
# the result here is ... | I spotted two failing tests with errors similar to what described @chris-b1 in #10631:
```
Attribute "dtype" are different
[left]: int32
[right]: int64
```
This PR fixes this on windows.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11632 | 2015-11-17T23:21:52Z | 2015-11-18T11:48:36Z | 2015-11-18T11:48:36Z | 2018-09-11T02:58:11Z |
ENH: Implement export of datetime64[ns, tz] dtypes with a fixed HDF5 #11411 | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 96f936c58c5d5..d32725449c49b 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -66,6 +66,7 @@ Enhancements
pd.Index([1, np.nan, 3]).fillna(2)
- ``pivot_table`` now has a ``margins_name`` arg... | closes #11411
| https://api.github.com/repos/pandas-dev/pandas/pulls/11628 | 2015-11-17T12:44:02Z | 2015-11-17T14:57:15Z | 2015-11-17T14:57:15Z | 2015-11-17T23:18:26Z |
BUG: date_range creation with an ambiguous endpoint, #11619 | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 046791d4287c9..02830e63ae81b 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -120,7 +120,8 @@ Bug Fixes
- Bug in ``HDFStore.append`` with strings whose encoded length exceded the max unencoded len... | TST: some tests for datetime tz aware serialized to/from csv/hdf
closes #11626
| https://api.github.com/repos/pandas-dev/pandas/pulls/11627 | 2015-11-17T11:38:13Z | 2015-11-17T12:18:23Z | 2015-11-17T12:18:23Z | 2015-11-17T12:18:23Z |
PERF: speed-up DateFrame.itertuples() with namedtuples | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index a04a9d0814a30..2c07c28066faf 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -653,6 +653,16 @@ def j(self):
self.df3[0]
+class frame_itertuples(object):
+
+... | - use [namedtuple._make()](https://docs.python.org/2/library/collections.html#collections.somenamedtuple._make)
Also:
- replace bare `except:` to avoid catching `SystemExit` and `KeyboardInterrupt`
- remove the generator `return` from the `try`-clause to an `else`
- more explicit fallback to regular tuples when `name=... | https://api.github.com/repos/pandas-dev/pandas/pulls/11625 | 2015-11-17T11:12:13Z | 2015-11-19T01:10:44Z | null | 2015-11-19T09:11:35Z |
CLN/COMPAT: Remove raise StopIteration syntax in SparseArray.__iter__ | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 62cec66cc22b0..d9bcbbf3d6c51 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -58,6 +58,7 @@ API changes
Legacy Python syntax (``set([x, y])``) (:issue:`11215`)
- Indexing with a null key will r... | closes #11108
| https://api.github.com/repos/pandas-dev/pandas/pulls/11622 | 2015-11-17T03:09:55Z | 2015-11-18T11:36:54Z | 2015-11-18T11:36:54Z | 2015-11-18T11:36:57Z |
Roll apply nonfloat dtypes | diff --git a/pandas/algos.pyx b/pandas/algos.pyx
index 8569209f2e946..45dc64d81c338 100644
--- a/pandas/algos.pyx
+++ b/pandas/algos.pyx
@@ -1820,9 +1820,11 @@ def roll_quantile(ndarray[float64_t, cast=True] input, int win,
return output
+
def roll_generic(ndarray[float64_t, cast=True] input,
... | Fixed issue [#4964](https://github.com/pydata/pandas/issues/4964) so rolling_apply works on non-numeric columns as well.
I followed instructions [here](https://github.com/pydata/pandas/blob/master/CONTRIBUTING.md) but I'm not sure where to add documentation in the [release notes](https://github.com/pydata/pandas/blob/... | https://api.github.com/repos/pandas-dev/pandas/pulls/11620 | 2015-11-16T23:27:04Z | 2015-11-18T22:25:16Z | null | 2015-11-18T22:25:16Z |
BUG: fix col iteration in DataFrame.round, #11611 | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index e4b4317c793f7..f1959e0fbb83e 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -177,3 +177,5 @@ Bug Fixes
- Bug in ``DataFrame.join()`` with ``how='right'`` producing a ``TypeError`` (:issue:`11519`... | Fixes #11611. The iterator now uses DataFrame.iteritems instead of direct indexing.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11618 | 2015-11-16T16:43:55Z | 2015-11-20T13:55:24Z | null | 2015-11-20T16:26:22Z |
Fix typo in the docstring of dropna | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 1e40d77839d3c..5447574c9ea4e 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2933,7 +2933,7 @@ def dropna(self, axis=0, how='any', thresh=None, subset=None,
subset : array-like
Labels along other axis to consider, e.g.... | It should be 'default' instead of 'defalt'.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11613 | 2015-11-16T15:10:23Z | 2015-11-16T16:18:59Z | 2015-11-16T16:18:59Z | 2015-11-16T16:19:04Z |
WARN: fix performance warning failure on numpy master | diff --git a/pandas/tseries/holiday.py b/pandas/tseries/holiday.py
index 90f6bff498e62..813354b2d0f86 100644
--- a/pandas/tseries/holiday.py
+++ b/pandas/tseries/holiday.py
@@ -1,3 +1,5 @@
+import warnings
+
from pandas import DateOffset, DatetimeIndex, Series, Timestamp
from pandas.compat import add_metaclass
from ... | https://api.github.com/repos/pandas-dev/pandas/pulls/11609 | 2015-11-15T18:36:20Z | 2015-11-16T17:48:49Z | 2015-11-16T17:48:49Z | 2015-11-16T17:48:49Z | |
BUG: loc against CategoricalIndex may results in normal Index | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 5ccf829fd5a42..ee0cd0bf3c5ff 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -105,3 +105,7 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+
+
+
+- Bug in ``.loc`` against ``CategoricalIndex`` ... | Closes #11586.
After the PR:
```
import pandas as pd
index = pd.CategoricalIndex(list('aabbca'), categories=list('cabe'))
df = pd.DataFrame({'A' : np.arange(6,dtype='int64')}, index=index)
# OK (not changed)
df.loc[['a', 'b']].index
# CategoricalIndex([u'a', u'a', u'a', u'b', u'b'], categories=[u'c', u'a', u'b', u'e... | https://api.github.com/repos/pandas-dev/pandas/pulls/11607 | 2015-11-14T22:12:57Z | 2015-11-23T01:20:25Z | 2015-11-23T01:20:25Z | 2015-11-23T01:37:17Z |
BUG GH11600 - MultiIndex column level names lost when to_sparse() called | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 046791d4287c9..8f8c142db67d3 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -156,3 +156,4 @@ Bug Fixes
- Bug in the link-time error caused by C ``inline`` functions on FreeBSD 10+ (with ``clang``... | closes #11600
Fixed problem with multi-index column level names not propagating into sparse frames or back out to dense on a round trip through sparse. Includes 4 new tests to cover some relevant scenarios. Problem fixed for the conventions to_sparse path, I'm not sure about other paths where something else is passed... | https://api.github.com/repos/pandas-dev/pandas/pulls/11606 | 2015-11-14T20:56:22Z | 2015-11-19T02:28:06Z | null | 2015-11-19T02:28:06Z |
CI: testing newer matplotlib with jinja | diff --git a/ci/requirements-2.6.run b/ci/requirements-2.6.run
index 5f8a2fde1409f..32d71beb24388 100644
--- a/ci/requirements-2.6.run
+++ b/ci/requirements-2.6.run
@@ -14,3 +14,4 @@ psycopg2=2.5.1
pymysql=0.6.0
sqlalchemy=0.7.8
xlsxwriter=0.4.6
+jinja2=2.8
diff --git a/ci/requirements-2.7.run b/ci/requirements-2.7.... | https://api.github.com/repos/pandas-dev/pandas/pulls/11605 | 2015-11-14T20:51:55Z | 2015-11-29T18:10:53Z | null | 2016-11-03T12:38:32Z | |
API: provide Rolling/Expanding/EWM objects for deferred rolling type calculations #10702 | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 12dc0b0cb50b9..3c7ca6d5c2326 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -194,65 +194,6 @@ Top-level evaluation
eval
-Standard moving window functions
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-.. autosummary::
- :toctree: generated/
-
- r... | closes #10702
closes #9052
xref #4950, removal of depr
So this basically takes all of the `pd.rolling_*`,`pd.expanding_*`,`pd.ewma_*` routines and allows an object oriented interface, similar to groupby.
Some benefits:
- nice tab completions on the Rolling/Expanding/EWM objects
- much cleaner code internally
- compl... | https://api.github.com/repos/pandas-dev/pandas/pulls/11603 | 2015-11-14T18:12:18Z | 2015-12-19T13:52:07Z | 2015-12-19T13:52:07Z | 2016-01-17T18:46:08Z |
PERF: Faster Series construction with no data and DatetimeIndex. | diff --git a/asv_bench/benchmarks/series_methods.py b/asv_bench/benchmarks/series_methods.py
index a40ed3f1d6482..4e368c6d7cde2 100644
--- a/asv_bench/benchmarks/series_methods.py
+++ b/asv_bench/benchmarks/series_methods.py
@@ -1,6 +1,20 @@
from .pandas_vb_common import *
+class series_constructor_no_data_datetim... | closes pydata/pandas#11433
Code. taken from @jreback comment on pydata/pandas#11433
asv benchmark:
```
before after ratio
[6c4d2c7d] [6439bd94]
- 1.68s 364.81μs 0.00 series_methods.series_constructor_no_data_datetime_index.time_series_constructor_no_data_datetime_index
SOME BENCHMARKS HAV... | https://api.github.com/repos/pandas-dev/pandas/pulls/11598 | 2015-11-13T21:40:37Z | 2015-11-15T16:55:16Z | 2015-11-15T16:55:16Z | 2015-11-15T16:55:19Z |
PERF/DOC: Option to .info() and .memory_usage() to provide for deep introspection of memory consumption #11595 | diff --git a/doc/source/api.rst b/doc/source/api.rst
index bfd1c92d14acd..6bee0a1ceafb8 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -284,6 +284,7 @@ Attributes
Series.itemsize
Series.base
Series.T
+ Series.memory_usage
Conversion
~~~~~~~~~~
@@ -772,6 +773,7 @@ Attributes and underlying... | closes #11595
| https://api.github.com/repos/pandas-dev/pandas/pulls/11596 | 2015-11-13T18:23:01Z | 2015-11-13T21:34:59Z | 2015-11-13T21:34:59Z | 2015-11-13T21:34:59Z |
BUG/PERF: Stata value labels | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 9ebed15c05246..a56d3469cd50e 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -416,10 +416,9 @@ Performance Improvements
~~~~~~~~~~~~~~~~~~~~~~~~
- Improved performance of ``andrews_curves`` (:i... | closes #12014
This PR fixes a minor bug and introduces some performance enhancements, all related to value label reading in Stata files.
The bug is that when reading a Stata file incrementally, the value labels will be read even when specifying convert_categoricals=False (this does not happen when reading the enti... | https://api.github.com/repos/pandas-dev/pandas/pulls/11591 | 2015-11-13T14:17:48Z | 2016-01-13T13:41:59Z | null | 2016-01-13T13:41:59Z |
Update Vizualisation.rst - Fixes #11589 | diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst
index 88ae4a227fe2a..30f91b495b8a9 100644
--- a/doc/source/visualization.rst
+++ b/doc/source/visualization.rst
@@ -1638,7 +1638,7 @@ Trellis plotting interface
.. note::
The tips data set can be downloaded `here
- <http://wesmckinney.com... | closes #11589
Fixes a bad url
| https://api.github.com/repos/pandas-dev/pandas/pulls/11590 | 2015-11-13T14:05:36Z | 2015-11-13T14:07:05Z | 2015-11-13T14:07:05Z | 2015-11-13T14:07:31Z |
TST: Enable Index dtype comparison by default | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 28819c522c696..609c14ad92fba 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -128,3 +128,6 @@ Bug Fixes
- Bug in the link-time error caused by C ``inline`` functions on FreeBSD 10+ (with ``clang``... | Enable `check_index_type` and `check_columns_type` by default to detect dtype related problems.
Fixed following 2 minor bugs at the same time, but I'm willing to split them to separate PR if required.
### 1. `Series.quantile` with empty list results in `object` index rather than `float`.
```
pd.Series([1, 2, 3]).qua... | https://api.github.com/repos/pandas-dev/pandas/pulls/11588 | 2015-11-13T13:45:17Z | 2015-11-17T12:17:29Z | 2015-11-17T12:17:29Z | 2015-11-17T13:19:12Z |
Make .str/.dt available for Series of type category with string/datetime | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index 4ba52694980d3..6207366b96f63 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -515,6 +515,50 @@ To get a single value `Series` of type ``category`` pass in a list with a single
df.loc[["h"],"cats"]
+String and... | If a series is a type category and the underlying Categorical has categories of type string or datetime, then make it possible to use the `.str`/`.dt` assessor on such a series.
The string/dt methods work on the categories (and therefore fast if we have
only a few categories), but return a Series with a dtype other th... | https://api.github.com/repos/pandas-dev/pandas/pulls/11582 | 2015-11-12T13:21:27Z | 2015-11-18T11:46:16Z | null | 2015-11-18T13:39:25Z |
ENH: #3335 Pivot table support for setting name of margins column. | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 3d10566e47075..3463435262692 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -46,6 +46,8 @@ Enhancements
pd.Index([1, np.nan, 3]).fillna(2)
+- ``pivot_table`` now has a ``margins_name`` arg... | closes #3335.
Adds margin_column parameter to pivot_table so that user can set it to
something other than 'All'.
Raises ValueError exception if there is a conflict between the value of
margin_column and one of the other values appearing in the indices of
the pivot table.
take into account notes from closed pull reque... | https://api.github.com/repos/pandas-dev/pandas/pulls/11581 | 2015-11-12T11:11:18Z | 2015-11-15T16:46:44Z | 2015-11-15T16:46:44Z | 2015-11-15T16:46:47Z |
CI: Ignore this | just trying from a different branch.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11577 | 2015-11-12T01:07:49Z | 2015-11-14T20:49:13Z | null | 2017-04-05T02:06:36Z | |
Prevent adding new attributes to the accessors .str, .dt and .cat | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 28819c522c696..2fde26451ad5c 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -76,6 +76,8 @@ Bug Fixes
- Bug in merging ``datetime64[ns, tz]`` dtypes (:issue:`11405`)
- Bug in ``HDFStore.select`` ... | assigning to `Series.str`, `Series.dt`, or `Series.cat` was not failing
although you couldn't get the value back:
```
In[10]: a = pandas.Series(pandas.Categorical(list("abc")))
In[11]: a.cat.labels = [1,2]
In[12]: a.cat.labels
Traceback (most recent call last):
File "C:\portabel\miniconda\envs\pandas_dev\lib\site-pa... | https://api.github.com/repos/pandas-dev/pandas/pulls/11575 | 2015-11-11T22:04:25Z | 2015-11-14T15:08:07Z | 2015-11-14T15:08:07Z | 2015-11-14T15:08:24Z |
Fixed typo in plotting documentation | diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst
index 4430dd6d38155..88ae4a227fe2a 100644
--- a/doc/source/visualization.rst
+++ b/doc/source/visualization.rst
@@ -109,7 +109,7 @@ You can plot one column versus another using the `x` and `y` keywords in
.. note::
- For more formatting and... | https://api.github.com/repos/pandas-dev/pandas/pulls/11572 | 2015-11-11T16:04:32Z | 2015-11-11T22:07:18Z | 2015-11-11T22:07:18Z | 2015-11-11T23:03:04Z | |
BUG: GH11349 where Series.apply and Series.map did not box timedelta64 | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index 4dd8a1d19c383..58d003b5c9dc7 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -167,6 +167,64 @@ Backwards incompatible API changes
- The parameter ``out`` has been removed from the ``Series.round()... | closes #11349
closes #11925
| https://api.github.com/repos/pandas-dev/pandas/pulls/11564 | 2015-11-10T05:53:32Z | 2015-12-31T13:46:31Z | 2015-12-31T13:46:31Z | 2016-01-05T18:44:24Z |
VIS: only apply shared axes handling on actual SubplotAxes | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index e8078accba176..5e38d3b81abb1 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -102,7 +102,8 @@ Bug Fixes
- Fix regression in setting of ``xticks`` in ``plot`` (:issue:`11529`).
-
+- Fix plottin... | closes #11556
closes #11520
| https://api.github.com/repos/pandas-dev/pandas/pulls/11561 | 2015-11-09T14:48:37Z | 2015-11-15T18:36:39Z | null | 2015-11-15T18:36:39Z |
BUG: Fix bug for kendall corr when in DF num and bool | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index ff45d28802885..1f6b17dac6632 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -123,6 +123,6 @@ Bug Fixes
- Bug in ``DataFrame.to_dict()`` produces a ``np.datetime64`` object instead of ``Timestam... | Hi,
1. When DataFrame contain Numerics and Booleans, than numpy will have type object,
so `np.isfinite(mat)` will raise Exception.
I've fixed this by using `com._ensure_float64` like for other correlation.
1. I've skipped half of computation, because correlation is symmetrical
| https://api.github.com/repos/pandas-dev/pandas/pulls/11560 | 2015-11-09T12:04:53Z | 2015-11-13T15:06:26Z | 2015-11-13T15:06:26Z | 2015-11-13T15:16:48Z |
Style2: ignore this, just for CI | diff --git a/ci/requirements-2.6.run b/ci/requirements-2.6.run
index 5f8a2fde1409f..52c12b80d0ec7 100644
--- a/ci/requirements-2.6.run
+++ b/ci/requirements-2.6.run
@@ -14,3 +14,5 @@ psycopg2=2.5.1
pymysql=0.6.0
sqlalchemy=0.7.8
xlsxwriter=0.4.6
+jinja2=2.8
+markupsafe=0.23
diff --git a/ci/requirements-2.7.run b/ci/... | https://api.github.com/repos/pandas-dev/pandas/pulls/11557 | 2015-11-09T01:35:53Z | 2015-11-09T13:18:51Z | null | 2015-11-12T01:08:46Z | |
BUG: multi-index to_native_types is not passing thru parameters | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 0d0f4c66c1fec..48eca9fd6f96d 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -120,3 +120,6 @@ Bug Fixes
- Bug in ``to_excel`` with openpyxl 2.2+ and merging (:issue:`11408`)
- Bug in ``DataFram... | closes #7791
xref #6797
| https://api.github.com/repos/pandas-dev/pandas/pulls/11551 | 2015-11-08T17:37:41Z | 2015-11-11T03:20:12Z | null | 2015-11-16T09:31:41Z |
ENH: allow dataframe get to take an axis argument | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index f46296bb6f70c..56511489c86f4 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1062,23 +1062,51 @@ def _indexer(self):
# add to our internal names set
cls._internal_names_set.add(iname)
- def get(self, k... | closes #6703
I would have like to have a solution also working for panels, but I've never used them, so I'm not sure how it should behave.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11550 | 2015-11-08T17:14:36Z | 2015-11-13T13:55:10Z | null | 2023-05-11T01:13:14Z |
BUG: to_sql with datetime.time values with sqlite | diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt
index b3bbc5cf5ef8c..f71421a2f43a6 100644
--- a/doc/source/whatsnew/v0.18.0.txt
+++ b/doc/source/whatsnew/v0.18.0.txt
@@ -1094,7 +1094,7 @@ Bug Fixes
- Bug in ``.plot`` potentially modifying the ``colors`` input when the number of columns... | I'm proposing a solution to #8341
As @jorisvandenbossche suggested, I use a sqlite3 adapter to transform `datetime.time` objects into string (`hh:mm:ss.ffffff`, as this what sqlalchemy... I think?)
I added a test in the class `_TestSQLApi`, so that the solution is tested with both sqlalchemy and the sqlite3 fallback.... | https://api.github.com/repos/pandas-dev/pandas/pulls/11547 | 2015-11-08T00:06:08Z | 2016-02-24T12:53:12Z | null | 2016-02-24T12:54:28Z |
BUG: GH11517 add multiindex column names after describe() | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 0d0f4c66c1fec..3c652aafd7d2a 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -95,6 +95,8 @@ Bug Fixes
- Bug in ``pd.eval`` where unary ops in a list error (:issue:`11235`)
- Bug in ``squeeze()`` ... | Hi,
This fixes the bug mentioned in https://github.com/pydata/pandas/issues/11517
I have added column names after the describe operation.
Request you to review the change and merge it.
Thanks
| https://api.github.com/repos/pandas-dev/pandas/pulls/11546 | 2015-11-07T22:30:01Z | 2015-11-10T02:27:23Z | 2015-11-10T02:27:22Z | 2015-11-10T04:52:18Z |
BUG: df.join(df2, how='right') TypeError | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 0d0f4c66c1fec..7bd9ea43abefb 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -120,3 +120,5 @@ Bug Fixes
- Bug in ``to_excel`` with openpyxl 2.2+ and merging (:issue:`11408`)
- Bug in ``DataFram... | Issue #11519
Somehow right joins had been forgotten in a previous bugfix. There were tests already written that should have seen the problem, but they had been commented out because the expected results were wrong, because of a subtlety in the way non-unique index are handled.
Thanks for the labels "difficulty novice... | https://api.github.com/repos/pandas-dev/pandas/pulls/11545 | 2015-11-07T22:14:36Z | 2015-11-11T03:23:40Z | null | 2015-11-16T09:31:54Z |
DOC: Clean up colons in CONTRIBUTING.md | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 284ac2fc5b169..9e85045d0be4b 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -40,7 +40,7 @@ Bug reports must:
1. Include a short, self-contained Python snippet reproducing the
problem. You can have the code formatted nicely by using [GitHub
Flavored... | Turn RST's :: and other variants like ': :' or '<word> :' into simple
colons.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11542 | 2015-11-07T10:49:42Z | 2015-11-07T14:49:52Z | null | 2015-11-07T14:49:56Z |
DOC: Document the args of DataFrame.apply in the same order as in the signature | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index b06f1b947bbe7..de74b70cdfaac 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -3882,6 +3882,11 @@ def apply(self, func, axis=0, broadcast=False, raw=False, reduce=None,
broadcast : boolean, default False
For aggregation ... | https://api.github.com/repos/pandas-dev/pandas/pulls/11541 | 2015-11-07T10:42:17Z | 2015-11-08T14:04:23Z | 2015-11-08T14:04:23Z | 2015-11-08T14:04:28Z | |
Remove useless semicolon | diff --git a/pandas/io/tests/test_json/test_ujson.py b/pandas/io/tests/test_json/test_ujson.py
index 8e8a798b2e792..9590dbb90e5c6 100644
--- a/pandas/io/tests/test_json/test_ujson.py
+++ b/pandas/io/tests/test_json/test_ujson.py
@@ -1004,7 +1004,7 @@ def testFloatMax(self):
assert_approx_equal(np.float64(ujson... | https://api.github.com/repos/pandas-dev/pandas/pulls/11539 | 2015-11-07T09:40:57Z | 2015-11-07T14:34:10Z | 2015-11-07T14:34:10Z | 2015-11-07T14:34:13Z | |
Fix dictionary declaration to litteral | diff --git a/pandas/_version.py b/pandas/_version.py
index 61e9f3ff187ea..26812a086c86d 100644
--- a/pandas/_version.py
+++ b/pandas/_version.py
@@ -205,10 +205,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
raise NotThisMethod("'git rev-parse' failed")
full_out = full_o... | https://api.github.com/repos/pandas-dev/pandas/pulls/11538 | 2015-11-07T09:40:31Z | 2015-11-20T18:42:15Z | null | 2015-11-20T18:42:15Z | |
improved cross-linking in computation.rst | diff --git a/doc/source/computation.rst b/doc/source/computation.rst
index dfb9fab19bf31..c49b477f3a498 100644
--- a/doc/source/computation.rst
+++ b/doc/source/computation.rst
@@ -212,28 +212,30 @@ mean, median, correlation, variance, covariance, standard deviation, skewness,
and kurtosis. All of these methods are in... | As discussed in _gitter_, I added a couple of cross-links to the _Computational tools_ section in the docs.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11535 | 2015-11-06T17:39:29Z | 2015-11-07T09:40:13Z | 2015-11-07T09:40:13Z | 2015-11-07T09:40:44Z |
PERF: Updated andrews_curves to use Numpy arrays for its samples | diff --git a/asv_bench/benchmarks/plotting.py b/asv_bench/benchmarks/plotting.py
index f46082ac6f288..dc84df8f45975 100644
--- a/asv_bench/benchmarks/plotting.py
+++ b/asv_bench/benchmarks/plotting.py
@@ -2,9 +2,9 @@
try:
from pandas import date_range
except ImportError:
-
def date_range(start=None, end=Non... | Hello,
I hope I've followed the contribution guidelines correctly, but am happy to change things if necessary.
I noticed that andrews_curves doesn't make use of numpy arrays in what I thought was a sensible use case: for generating its samples.
I added a test which uses variable length random data, so that I could c... | https://api.github.com/repos/pandas-dev/pandas/pulls/11534 | 2015-11-06T17:32:41Z | 2015-11-24T13:11:20Z | 2015-11-24T13:11:20Z | 2015-11-24T14:55:23Z |
BUG: fix incorrect xticklabels when specifying xticks (GH11529) | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 0d0f4c66c1fec..e8078accba176 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -101,7 +101,7 @@ Bug Fixes
-
+- Fix regression in setting of ``xticks`` in ``plot`` (:issue:`11529`).
diff -... | Fixes #11529
@sinhrks in PR #10717 you moved the setting of the ticklabels from `_adorn_subplots` to its own function `_post_plot_logic_common`. But this is called before `_adorn_subplots`, and the specified `xticks` are only set in `_adorn_subplots`, so now it does not use the new xticks to determine the xticklabels.... | https://api.github.com/repos/pandas-dev/pandas/pulls/11531 | 2015-11-06T10:50:01Z | 2015-11-09T21:11:09Z | 2015-11-09T21:11:09Z | 2015-11-09T21:11:09Z |
Updated read_excel docstring to include parse_dates and date_parser | diff --git a/pandas/io/excel.py b/pandas/io/excel.py
index ffd2768c78824..3c836d3a53f8f 100644
--- a/pandas/io/excel.py
+++ b/pandas/io/excel.py
@@ -127,6 +127,21 @@ def read_excel(io, sheetname=0, header=0, skiprows=None, skip_footer=0,
* If list of ints then indicates list of column numbers to be parsed
... | https://api.github.com/repos/pandas-dev/pandas/pulls/11527 | 2015-11-06T01:29:04Z | 2015-11-07T14:45:39Z | null | 2015-12-22T11:21:48Z | |
fix _is_view for multi-block frames | diff --git a/pandas/core/internals.py b/pandas/core/internals.py
index 1b08140ebec09..e509b3dfa55fd 100644
--- a/pandas/core/internals.py
+++ b/pandas/core/internals.py
@@ -2950,10 +2950,10 @@ def is_datelike_mixed_type(self):
@property
def is_view(self):
- """ return a boolean if we are a single blo... | _is_view previously only testing whether first block was a view, when should return `_is_view = True` if _any_ block is a view.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11518 | 2015-11-04T20:37:39Z | 2015-11-04T20:53:02Z | null | 2015-11-04T21:21:08Z |
BUG: GH10355 groupby std() doesnt sqrt grouping cols | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 3ca56ecc00d36..fd9d4a81833e8 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -75,6 +75,7 @@ Bug Fixes
- Bug in merging ``datetime64[ns, tz]`` dtypes (:issue:`11405`)
- Bug in ``HDFStore.select`` ... | New attempt at #10355 Hopefully should address the issues raised in #11300
Previously, grouping columns were square rooted when as_index=False
We now test whether the grouping keys are in the columns, and
if so don't square root those columns.
Note that we squash TypeError which occurs when self.keys is not
Hashable,... | https://api.github.com/repos/pandas-dev/pandas/pulls/11507 | 2015-11-03T08:17:46Z | 2016-01-06T17:20:51Z | null | 2019-02-14T05:24:07Z |
DOC: Link to IO Tools docs | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index 3cf91d36da2b3..bfe262a99cb76 100755
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -34,6 +34,9 @@ class ParserWarning(Warning):
_parser_params = """Also supports optionally iterating or breaking of the file
into chunks.
+Additional help can be... | Addressing issue #11464 - Provide links to help for iterator and chunksize usage (since there's no docstring help for TextFileReader).
| https://api.github.com/repos/pandas-dev/pandas/pulls/11505 | 2015-11-02T22:52:33Z | 2015-11-13T17:17:46Z | null | 2015-11-13T17:17:46Z |
Fixed typos | diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst
index 76f8f6aa59b71..b550f59b8c5e6 100644
--- a/doc/source/advanced.rst
+++ b/doc/source/advanced.rst
@@ -686,7 +686,7 @@ values NOT in the categories, similarly to how you can reindex ANY pandas index.
.. warning::
- Reshaping and Comparision operat... | Thanks to pypi.python.org/pypi/misspellings
| https://api.github.com/repos/pandas-dev/pandas/pulls/11504 | 2015-11-02T09:45:26Z | 2015-11-02T10:06:53Z | 2015-11-02T10:06:53Z | 2015-11-02T11:32:44Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.