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 |
|---|---|---|---|---|---|---|---|
Use set literal syntax for set prettyprinting | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 543eea399f447..3099b1553325b 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -28,6 +28,9 @@ Other Enhancements
API changes
~~~~~~~~~~~
+- Prettyprinting sets (e.g. in DataFrame cells) now uses ... | https://api.github.com/repos/pandas-dev/pandas/pulls/11215 | 2015-10-01T13:29:08Z | 2015-10-11T15:23:04Z | null | 2015-10-12T08:59:00Z | |
BUG: GH11206 where pd.isnull did not consider numpy NaT null | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index 2c07c28066faf..9367c42f8d39a 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -582,7 +582,7 @@ def time_frame_interpolate_some_good_infer(self):
self.df.interpolate(... | closes #11206
| https://api.github.com/repos/pandas-dev/pandas/pulls/11212 | 2015-09-30T23:23:51Z | 2015-11-20T14:51:21Z | 2015-11-20T14:51:21Z | 2015-11-20T14:51:30Z |
err#8038: Index.shift() gives confusing error message when no Datetim… | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index c4e8ae44011ec..61282343f7667 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -98,7 +98,7 @@ Enhancements
API changes
~~~~~~~~~~~
-
+- raise ``NotImplementedError`` in ``Index.shift`` for non-su... | …eIndex
closes #8038
| https://api.github.com/repos/pandas-dev/pandas/pulls/11211 | 2015-09-30T22:59:02Z | 2015-11-18T20:12:21Z | null | 2017-01-18T13:36:08Z |
Add ability to set the allowLargeResults option in BigQuery #10474 | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 9def8be621aed..cf1ae24366fa8 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -4091,7 +4091,7 @@ destination DataFrame as well as a preferred column order as follows:
data_frame = pd.read_gbq('SELECT * FROM test_dataset.test_table',
... | - Modify `read_gbq()` to allow users to redirect the query results to a destination table via the `destination_table` parameter
- Modify `read_gbq()` to allow users to allow users to set the `'allowLargeResults'` option in the BigQuery job configuration via the `allow_large_results` parameter
cc @aaront
| https://api.github.com/repos/pandas-dev/pandas/pulls/11209 | 2015-09-30T21:35:26Z | 2015-10-02T15:25:42Z | null | 2015-10-02T15:25:42Z |
Copy on Write via weakrefs | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 9e1eda4714734..ba6d17997f0b1 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1894,7 +1894,9 @@ def __getitem__(self, key):
is_mi_columns = isinstance(self.columns, MultiIndex)
try:
if key in self.columns and n... | Aims to eventually close #10954 , alternative to #10973
In the interest of advancing the discussion on this, here's a skeleton of a different copy on write implementation.
**Currently**
When setting on a view, converts to copy.
```
df = pd.DataFrame({'col1':[1,2], 'col2':[3,4]})
intermediate = df.loc[1:1,]
in... | https://api.github.com/repos/pandas-dev/pandas/pulls/11207 | 2015-09-30T17:11:45Z | 2015-11-01T16:35:56Z | null | 2020-09-06T18:44:21Z |
PERF: vectorized DateOffset with months | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 03cac12436898..79d0788efad82 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1056,6 +1056,7 @@ Performance Improvements
- 2x improvement of ``Series.value_counts`` for float dtype (:issue:`10821`... | This is a follow-up to https://github.com/pydata/pandas/pull/10744. In that, vectorized versions of some offsets were implemented, mostly by changing to periods and back.
The case of shifting by years/months (which is actually most useful to me) required some extra hoops and had poorer performance - this PR impleme... | https://api.github.com/repos/pandas-dev/pandas/pulls/11205 | 2015-09-30T00:03:30Z | 2015-10-02T02:15:07Z | 2015-10-02T02:15:07Z | 2015-10-04T17:01:51Z |
Fixed pandas.DataFrame().join() function. | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 9e1eda4714734..5215df316147d 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -4175,7 +4175,7 @@ def append(self, other, ignore_index=False, verify_integrity=False):
return concat(to_concat, ignore_index=ignore_index,
... | Added on_right and on_left keywords.
Now a right.join(left,on=key) works as expected.
Old behavior is archived by right.join(left,left_on=key)
Tested multi-index funtionallity.
```
import pandas as pd
from copy import copy
print pd.__file__
left = pd.DataFrame({'A': ['A0', 'A1', 'A2', 'A3','A4'],
... | https://api.github.com/repos/pandas-dev/pandas/pulls/11203 | 2015-09-29T19:51:34Z | 2015-10-05T11:05:55Z | null | 2015-10-05T11:05:55Z |
BUG: groupby list of keys with same length as index | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index c8ab9599cd92a..11596fe5d4ee3 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1184,3 +1184,4 @@ Bug Fixes
- Bug in ``io.gbq`` when testing for minimum google api client version (:issue:`10652`)
-... | Fixes issue #11185
| https://api.github.com/repos/pandas-dev/pandas/pulls/11202 | 2015-09-29T19:06:15Z | 2015-10-01T10:45:44Z | 2015-10-01T10:45:44Z | 2015-10-01T10:45:52Z |
API: read_excel signature | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 94da87aef73e1..9def8be621aed 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1980,9 +1980,10 @@ Excel files
-----------
The :func:`~pandas.read_excel` method can read Excel 2003 (``.xls``) and
-Excel 2007 (``.xlsx``) files using the ``xlrd`` Python... | Replace the `**kwds` in `read_excel` with the actual list of supported keyword args. This doesn't
change any functionality, just nicer for interactive use. Also a bit of clarification on the `thousands`
arg in the docstring.
Additionally, `chunksize` was a parameter in the `ExcelFile.parse` signature, but didn't do a... | https://api.github.com/repos/pandas-dev/pandas/pulls/11198 | 2015-09-27T15:46:20Z | 2015-09-30T22:05:27Z | null | 2015-10-04T17:01:35Z |
CLN: GH11170, * import is removed from test_internals.py | diff --git a/pandas/tests/test_internals.py b/pandas/tests/test_internals.py
index 61966674bc104..00553102e172f 100644
--- a/pandas/tests/test_internals.py
+++ b/pandas/tests/test_internals.py
@@ -7,10 +7,13 @@
import numpy as np
import re
+import itertools
from pandas import Index, MultiIndex, DataFrame, Datetime... | closes #11170
| https://api.github.com/repos/pandas-dev/pandas/pulls/11197 | 2015-09-27T13:11:46Z | 2015-09-27T14:28:49Z | 2015-09-27T14:28:49Z | 2015-09-27T14:28:49Z |
PERF: compare freq strings (timeseries plotting perf) | diff --git a/pandas/src/period.pyx b/pandas/src/period.pyx
index 1dbf469a946b5..2a7c2135f8045 100644
--- a/pandas/src/period.pyx
+++ b/pandas/src/period.pyx
@@ -439,10 +439,12 @@ def extract_ordinals(ndarray[object] values, freq):
ndarray[int64_t] ordinals = np.empty(n, dtype=np.int64)
object p
+ ... | See overview in #11084
| https://api.github.com/repos/pandas-dev/pandas/pulls/11194 | 2015-09-26T13:25:31Z | 2015-10-01T11:20:29Z | 2015-10-01T11:20:29Z | 2015-10-01T11:20:29Z |
COMPAT: platform_int fixes in groupby ops, #11189 | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index e72f7c6c6a6bf..9748a594a9b6f 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -1379,8 +1379,9 @@ def size(self):
"""
ids, _, ngroup = self.group_info
+ ids = com._ensure_platform_int(ids)
out = np.b... | closes #11189
| https://api.github.com/repos/pandas-dev/pandas/pulls/11191 | 2015-09-25T22:57:53Z | 2015-09-25T23:51:09Z | 2015-09-25T23:51:09Z | 2015-09-25T23:51:09Z |
DOC: fix bunch of doc build warnings | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index bc4b463e52302..14d712c822bdb 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1090,7 +1090,7 @@ decreasing.
Note that the same result could have been achieved using
:ref:`fillna <missing_data.fillna>` (except for ``method='nearest'``... | Fixes mainly some linking errors
| https://api.github.com/repos/pandas-dev/pandas/pulls/11184 | 2015-09-24T09:33:39Z | 2015-09-24T21:58:27Z | 2015-09-24T21:58:27Z | 2015-09-24T21:58:27Z |
DOC: XportReader not top-level API | diff --git a/doc/source/api.rst b/doc/source/api.rst
index b1fe77c298d71..77c59ec70e8df 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -89,7 +89,6 @@ SAS
:toctree: generated/
read_sas
- XportReader
SQL
~~~
| @kshedden `XportReader` is not top-level API, so it was erroring in the doc build.
I now removed it from api.rst (the `TextFileReader` what you get back with chunksize for read_csv is also not included), but I can also adapt it to use `.. currentmodule:: pandas.io.sas` so it builds correctly if you want.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11183 | 2015-09-24T08:54:12Z | 2015-09-25T12:11:12Z | 2015-09-25T12:11:12Z | 2015-09-25T12:11:12Z |
API: raise on header=bool in parsers | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 6be913e1e5f51..3d4d113940dec 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -907,6 +907,23 @@ Changes to ``Categorical.unique``
cat
cat.unique()
+Changes to ``bool`` passed as ``header``... | closes #6113
Passing `header=True|False` to `read_csv` (and brethren), `read_excel`, and `read_html` will now raise a `TypeError`, rather than being coerced to an int.
I had thought about converting `False` to `None` but thought that could break someone's code in a very subtle way if they were somehow depending on t... | https://api.github.com/repos/pandas-dev/pandas/pulls/11182 | 2015-09-24T00:13:08Z | 2015-09-24T11:32:00Z | 2015-09-24T11:32:00Z | 2015-09-26T15:17:44Z |
improves groupby.get_group_index when shape is a long sequence | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index 98b0ec73fb23c..9bece56e15c90 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -293,6 +293,14 @@ def setup(self):
def time_frame_duplicated(self):
self.df.duplic... | closes #10161
xref https://github.com/pydata/pandas/issues/10161#issuecomment-142701582
``` python
In [5]: df = DataFrame(np.random.randn(5000, 100).astype(str))
In [6]: %timeit df.duplicated()
1 loops, best of 3: 151 ms per loop
In [7]: %timeit df.T.duplicated()
1 loops, best of 3: 1.39 s per loop
```
part of th... | https://api.github.com/repos/pandas-dev/pandas/pulls/11180 | 2015-09-23T22:56:20Z | 2015-09-25T12:19:03Z | null | 2015-09-26T13:15:50Z |
BUG: indexing with boolean-like Index, #11119 | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 9e1eda4714734..fa16e72760faf 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1941,8 +1941,8 @@ def _getitem_array(self, key):
warnings.warn("Boolean Series key will be reindexed to match "
"Da... | closes #11119
| https://api.github.com/repos/pandas-dev/pandas/pulls/11178 | 2015-09-23T17:29:37Z | 2016-01-11T13:45:22Z | null | 2016-01-11T14:15:44Z |
Update 10min.rst | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 359ec76533520..91e607757e4f1 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -30,7 +30,7 @@
This is a short introduction to pandas, geared mainly for new users.
You can see more complex recipes in the :ref:`Cookbook<cookbook>`
-Customari... | https://api.github.com/repos/pandas-dev/pandas/pulls/11177 | 2015-09-23T15:02:30Z | 2015-09-24T01:14:58Z | 2015-09-24T01:14:58Z | 2015-09-24T01:15:01Z | |
DOC: header=None in SAS docs | diff --git a/doc/source/comparison_with_sas.rst b/doc/source/comparison_with_sas.rst
index fd42c97c9cbc0..2b3a1b927cbbf 100644
--- a/doc/source/comparison_with_sas.rst
+++ b/doc/source/comparison_with_sas.rst
@@ -142,10 +142,10 @@ and did not have column names, the pandas command would be:
.. code-block:: python
-... | Fixed a typo where I had `header=False`
Side note, it might be nice to change the actual behavior, not the first time it's tripped me up. I guess there already is an issue, #6113
| https://api.github.com/repos/pandas-dev/pandas/pulls/11176 | 2015-09-23T11:35:04Z | 2015-09-23T11:53:01Z | 2015-09-23T11:53:01Z | 2015-09-23T23:19:53Z |
issue #11119 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index c2c7ca2410068..1a976bf0d921e 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -916,7 +916,7 @@ Other API Changes
- When constructing ``DataFrame`` with an array of ``complex64`` dtype previously me... | Closes #11119
| https://api.github.com/repos/pandas-dev/pandas/pulls/11175 | 2015-09-23T03:15:23Z | 2015-09-23T17:03:53Z | null | 2023-05-11T01:13:11Z |
ENH: Restore original convert_objects and add _convert | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 14d712c822bdb..e11c612a510db 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1711,36 +1711,26 @@ then the more *general* one will be used as the result of the operation.
object conversion
~~~~~~~~~~~~~~~~~
-.. note::
-
- The synt... | Restores the v0.16 behavior of convert_objects and moves the new
version of _convert
Adds to_numeric for directly converting numeric data
closes #11116
closes #11133
| https://api.github.com/repos/pandas-dev/pandas/pulls/11173 | 2015-09-22T21:28:43Z | 2015-10-02T14:13:52Z | 2015-10-02T14:13:52Z | 2016-02-16T16:29:59Z |
ENH: make Series.ptp ignore NaN values (GH11163) | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 0b2bb0b5a475c..9f943fa68e639 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -527,6 +527,7 @@ Other enhancements
- ``pd.read_csv`` is now able to infer compression type for files read from AWS S... | Closes [GH11163](https://github.com/pydata/pandas/issues/11163).
`Series.ptp` will now ignore missing values when calculating the peak to peak difference.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11172 | 2015-09-22T20:31:53Z | 2015-11-14T15:04:01Z | 2015-11-14T15:04:01Z | 2015-11-14T23:16:58Z |
Added density of a categorical #10949 | diff --git a/doc/source/api.rst b/doc/source/api.rst
index bfd1c92d14acd..28d7fee0f158f 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -643,6 +643,7 @@ following usable methods and properties:
Series.cat.categories
Series.cat.ordered
Series.cat.codes
+ Series.cat.density
.. autosummary::
... | Not sure if this is the correct approach to the problem
closes #10949.
Assuming it is I will go ahead and add some documentation for this enhancement. Let me know if you have any feedback.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11171 | 2015-09-22T18:48:51Z | 2015-10-20T17:49:06Z | null | 2015-10-20T17:49:06Z |
BF: for version comparison first arg should be the LooseVersion | diff --git a/pandas/io/tests/test_excel.py b/pandas/io/tests/test_excel.py
index 657789fe8ce9b..d44ce24cbefbc 100644
--- a/pandas/io/tests/test_excel.py
+++ b/pandas/io/tests/test_excel.py
@@ -1478,8 +1478,8 @@ def setUpClass(cls):
_skip_if_no_openpyxl()
import openpyxl
ver = openpyxl.__versi... | also enhanced skip test msg a bit
| https://api.github.com/repos/pandas-dev/pandas/pulls/11168 | 2015-09-22T16:25:27Z | 2015-09-24T01:20:47Z | 2015-09-24T01:20:47Z | 2015-09-24T01:20:51Z |
DOC: Stating to install NumPY | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index b5a382ce24342..21c6063d0725b 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -379,6 +379,7 @@ Or for an object grouped on multiple columns:
Aggregation
-----------
+Note the Aggregation section requires the installation of NumPY.... | https://api.github.com/repos/pandas-dev/pandas/pulls/11165 | 2015-09-22T06:05:44Z | 2015-09-22T07:46:46Z | null | 2015-09-22T07:46:46Z | |
DOC: minor doc formatting fixes | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 9d40cf3921b98..b513b767693bf 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -597,7 +597,7 @@ def iterrows(self):
Notes
-----
- 1. Because ``iterrows` returns a Series for each row,
+ 1. Because ``iterrows``... | Removes some warnings
| https://api.github.com/repos/pandas-dev/pandas/pulls/11161 | 2015-09-21T12:22:23Z | 2015-09-21T12:22:28Z | 2015-09-21T12:22:27Z | 2015-09-21T12:22:28Z |
PERF: Series.dropna with non-nan dtype blocks | diff --git a/asv_bench/benchmarks/series_methods.py b/asv_bench/benchmarks/series_methods.py
index 37969a6949157..a40ed3f1d6482 100644
--- a/asv_bench/benchmarks/series_methods.py
+++ b/asv_bench/benchmarks/series_methods.py
@@ -71,3 +71,23 @@ def setup(self):
def time_series_nsmallest2(self):
self.s2.nsm... | Minor improvement when `dropna` actually does nothing. If OK for 0.17, I'll add a release note.
```
import numpy as np
import pandas as pd
s = pd.Series(np.random.randint(0, 1000, 50000000))
# before
%timeit s.dropna()
#1 loops, best of 3: 1.58 s per loop
# after
%timeit s.dropna()
#1 loops, best of 3: 568 ms per l... | https://api.github.com/repos/pandas-dev/pandas/pulls/11159 | 2015-09-21T00:17:25Z | 2015-10-18T13:46:13Z | 2015-10-18T13:46:13Z | 2015-11-07T03:42:03Z |
PERF: nested dict DataFrame construction | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index f8efa8ec23300..22ab5c0236dca 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1032,6 +1032,7 @@ Performance Improvements
- Improved performance of ``to_datetime`` when specified format string is I... | Part of #11084
http://pydata.github.io/pandas/#frame_ctor.frame_ctor_nested_dict_int64.time_frame_ctor_nested_dict_int64
```
before after ratio
[d28fd70 ] [48c588 ]
- 325.06ms 72.25ms 0.22 frame_ctor.frame_ctor_nested_dict.time_frame_ctor_nested_dict
- 364.35ms 106.67ms 0.29 frame... | https://api.github.com/repos/pandas-dev/pandas/pulls/11158 | 2015-09-21T00:13:11Z | 2015-09-21T14:17:23Z | 2015-09-21T14:17:23Z | 2015-09-24T02:16:41Z |
DEPR: deprecate SparsePanel | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index f8efa8ec23300..c2c7ca2410068 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -964,6 +964,7 @@ Deprecations
``DataFrame.add(other, fill_value=0)`` and ``DataFrame.mul(other, fill_value=1.)``
(... | does not fit the current implementation; in theory a `Panel` could actually do this, but very little support (or issues related).
| https://api.github.com/repos/pandas-dev/pandas/pulls/11157 | 2015-09-20T21:13:13Z | 2015-09-20T23:19:08Z | 2015-09-20T23:19:08Z | 2015-09-20T23:19:08Z |
BLD: use python-dateutil in conda recipe | diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml
index 95c4aa084230d..e3495bc5bd04a 100644
--- a/conda.recipe/meta.yaml
+++ b/conda.recipe/meta.yaml
@@ -16,12 +16,12 @@ requirements:
- libpython # [py2k and win]
- setuptools
- pytz
- - dateutil
+ - python-dateutil
run:
- pytho... | https://api.github.com/repos/pandas-dev/pandas/pulls/11156 | 2015-09-20T21:12:11Z | 2015-09-20T23:18:11Z | 2015-09-20T23:18:11Z | 2015-09-20T23:18:11Z | |
BUG/API: GH11086 where freq is not inferred if both freq is None | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 2be7194af34b0..96a95bc03711d 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -916,7 +916,7 @@ Other API Changes
- When constructing ``DataFrame`` with an array of ``complex64`` dtype previously me... | closes #11086, and a typo
| https://api.github.com/repos/pandas-dev/pandas/pulls/11155 | 2015-09-20T16:39:58Z | 2015-09-21T02:35:53Z | 2015-09-21T02:35:53Z | 2015-09-21T02:35:57Z |
ENH: add merge indicator to DataFrame.merge | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 50fecf9b2886c..9d40cf3921b98 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -4265,12 +4265,12 @@ def _join_compat(self, other, on=None, how='left', lsuffix='', rsuffix='',
@Appender(_merge_doc, indents=2)
def merge(self, right, ho... | Follow-up to https://github.com/pydata/pandas/pull/10054
xref #8790
Adds new `indicator` keyword to `DataFrame.merge` as well
| https://api.github.com/repos/pandas-dev/pandas/pulls/11154 | 2015-09-20T13:38:25Z | 2015-09-20T19:07:28Z | 2015-09-20T19:07:28Z | 2015-09-20T19:10:54Z |
(WIP) BUG: DatetimeTZBlock.fillna raises TypeError | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 2be7194af34b0..27c8a66575747 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1157,3 +1157,4 @@ Bug Fixes
- Bug in ``Index`` dtype may not applied properly (:issue:`11017`)
- Bug in ``io.gbq`` wh... | ```
import pandas as pd
idx = pd.DatetimeIndex(['2011-01-01', pd.NaT, '2011-01-03'], tz='Asia/Tokyo')
s = pd.Series(idx)
s
#0 2011-01-01 00:00:00+09:00
#1 NaT
#2 2011-01-03 00:00:00+09:00
# dtype: datetime64[ns, Asia/Tokyo]
# NG, the result must be DatetimeTZBlock
s.fillna(pd.Timestamp('201... | https://api.github.com/repos/pandas-dev/pandas/pulls/11153 | 2015-09-19T23:01:47Z | 2015-09-20T18:52:13Z | 2015-09-20T18:52:13Z | 2015-09-26T00:27:01Z |
PERF: improves performance in groupby.size | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index 8e44480c0c09b..20c1140bbd80e 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -1378,12 +1378,9 @@ def size(self):
Compute group sizes
"""
- # TODO: better impl
- labels, _, ngroups = self.group_info
-... | on master:
``` python
In [1]: n = 100000
In [2]: np.random.seed(2718281)
In [3]: dr = date_range('2015-09-19', periods=n, freq='T')
In [4]: ts = Series(np.random.choice(n, n), index=np.random.choice(dr, n))
In [5]: %timeit ts.resample('5T', how='size')
1 loops, best of 3: 538 ms per loop
```
on branch:
``` pytho... | https://api.github.com/repos/pandas-dev/pandas/pulls/11152 | 2015-09-19T22:57:21Z | 2015-09-20T18:54:14Z | 2015-09-20T18:54:14Z | 2015-09-20T19:03:47Z |
BUG: axis kw not propogating on pct_change | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index cd3c3848523f0..c2f639e0099a8 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -91,6 +91,7 @@ Bug Fixes
- Bug in ``squeeze()`` with zero length arrays (:issue:`11230`, :issue:`8999`)
+- Bug in `... | axis option was not correctly set on fillna in pct_change
| https://api.github.com/repos/pandas-dev/pandas/pulls/11150 | 2015-09-19T19:31:05Z | 2015-11-13T16:41:57Z | null | 2015-11-13T16:41:57Z |
API: multi-line, not inplace eval | diff --git a/doc/source/enhancingperf.rst b/doc/source/enhancingperf.rst
index 946256d585c49..9503675af8681 100644
--- a/doc/source/enhancingperf.rst
+++ b/doc/source/enhancingperf.rst
@@ -570,18 +570,51 @@ prefix the name of the :class:`~pandas.DataFrame` to the column(s) you're
interested in evaluating.
In additi... | closes #9297
closes #8664
This is just a proof of concept at this point - the idea is to allow multiple assignments within an eval block, and also include an `inplace` argument (currently default True to match old behavior, although maybe that should be changed) for chaining.
```
In [15]: df = pd.DataFrame({'a': np.l... | https://api.github.com/repos/pandas-dev/pandas/pulls/11149 | 2015-09-19T18:45:31Z | 2016-01-04T02:17:23Z | null | 2016-01-15T01:02:47Z |
BUG: astype(str) on datetimelike index #10442 | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 25b22230e5f3d..64d04df06851f 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -17,6 +17,7 @@ Highlights include:
Enhancements
~~~~~~~~~~~~
+- ``DatetimeIndex`` now supports conversion to strings... | closes #10442
fix for the bug: Convert datetimelike index to strings with astype(str)
going to send pull request for test
| https://api.github.com/repos/pandas-dev/pandas/pulls/11148 | 2015-09-19T00:31:15Z | 2015-10-16T22:07:39Z | 2015-10-16T22:07:39Z | 2015-10-16T22:07:42Z |
PERF: improves performance in SeriesGroupBy.transform | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 2be7194af34b0..6ae67ab6eedb1 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1021,7 +1021,7 @@ Performance Improvements
- Development support for benchmarking with the `Air Speed Velocity library... | ```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
groupby_transform_series2 | 6.3464 | 167.3844 | 0.037... | https://api.github.com/repos/pandas-dev/pandas/pulls/11147 | 2015-09-18T23:07:27Z | 2015-09-20T18:53:34Z | 2015-09-20T18:53:34Z | 2015-09-20T19:03:42Z |
PERF: infer_datetime_format without padding #11142 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 2be7194af34b0..120be63edce72 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1031,6 +1031,7 @@ Performance Improvements
- 20x improvement in ``concat`` of Categoricals when categories are identic... | Closes #11142
| https://api.github.com/repos/pandas-dev/pandas/pulls/11146 | 2015-09-18T22:53:15Z | 2015-09-20T19:21:37Z | 2015-09-20T19:21:37Z | 2015-09-20T20:40:27Z |
COMPAT: Support for MPL 1.5 | diff --git a/ci/install_conda.sh b/ci/install_conda.sh
index c54f5494c12ee..8d99034a86109 100755
--- a/ci/install_conda.sh
+++ b/ci/install_conda.sh
@@ -72,6 +72,7 @@ bash miniconda.sh -b -p $HOME/miniconda || exit 1
conda config --set always_yes yes --set changeps1 no || exit 1
conda update -q conda || exit 1
+con... | closes https://github.com/pydata/pandas/issues/11111 (nice issue number)
Testing with tox locally I get 1 failure using either matplotlib 1.4 or 1.5. I may have messed up my tox config though. Still need to cleanup a bunch of stuff, I just threw in changes to get each test passing as I went.
release notes et. al com... | https://api.github.com/repos/pandas-dev/pandas/pulls/11145 | 2015-09-18T19:55:26Z | 2015-09-22T11:29:59Z | 2015-09-22T11:29:59Z | 2016-11-03T12:38:24Z |
Openpyxl22 | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 5ad9af310225d..aea9a80f86735 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2230,6 +2230,10 @@ Writing Excel Files to Memory
Pandas supports writing Excel files to buffer-like objects such as ``StringIO`` or
``BytesIO`` using :class:`~pandas.io.exce... | closes #10125
I've added preliminary tests for openpyxl >= 2.2 styles. Unfortunately, I don't know how to get a whole test class to be skipped so tests will only run with either the Openpyxl20 or Openpyxl22 test class disabled, depending upon which version is installed. I hope this can be fixed fairly easily. Some co... | https://api.github.com/repos/pandas-dev/pandas/pulls/11144 | 2015-09-18T17:29:52Z | 2015-09-22T14:12:37Z | null | 2017-11-28T11:37:59Z |
BUG: Issue in the gbq module when authenticating on remote servers #8489 | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 014daa3f68dbb..e04d2ae569d23 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -4059,6 +4059,7 @@ The key functions are:
.. autosummary::
:toctree: generated/
+ authorize
read_gbq
to_gbq
@@ -4066,6 +4067,22 @@ The key functions are:
... | Resolve issue where gbq authentication on remote servers fails silently.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11141 | 2015-09-18T02:10:10Z | 2015-10-16T23:29:05Z | null | 2015-10-16T23:33:49Z |
BUG: remove midrule in latex output with header=False | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 736554672a089..d27616ae12649 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -42,3 +42,5 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+
+- Bug in ``DataFrame.to_latex()`` produces an extra r... | This bug fix addresses issue #7124. If `to_latex` is called with option `header=False`, the output should not contain a `\midrule` which is used to separate the column headers from the data.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11140 | 2015-09-18T01:56:09Z | 2015-10-09T13:21:28Z | null | 2015-10-09T13:21:28Z |
TST: Verify fix for buffer overflow in read_csv with engine='c' | diff --git a/pandas/io/tests/test_parsers.py b/pandas/io/tests/test_parsers.py
index 6b7132aea3280..c9ae2f6029530 100755
--- a/pandas/io/tests/test_parsers.py
+++ b/pandas/io/tests/test_parsers.py
@@ -2293,6 +2293,13 @@ def test_chunk_begins_with_newline_whitespace(self):
result = self.read_csv(StringIO(data),... | Tests for the bug in GH #9735, which was previously fixed in GH #10023.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11138 | 2015-09-17T19:55:56Z | 2015-09-17T23:45:20Z | 2015-09-17T23:45:20Z | 2015-09-18T09:14:24Z |
DEPR: Series.is_timeseries | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 070d3bff42c92..2be7194af34b0 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -964,6 +964,7 @@ Deprecations
``DataFrame.add(other, fill_value=0)`` and ``DataFrame.mul(other, fill_value=1.)``
(... | Follow-up for #10890. Deprecate `Series.is_timeseries`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11135 | 2015-09-17T14:35:38Z | 2015-09-17T15:36:06Z | 2015-09-17T15:36:06Z | 2015-09-17T15:36:08Z |
BUG: nested construction with timedelta #11129 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 0b4acdc3e89bb..4d020c4fc768f 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1154,3 +1154,4 @@ Bug Fixes
- Remove use of some deprecated numpy comparison operations, mainly in tests. (:issue:`105... | Closes #11129
Per discussion in issue this adds similar hash equality to `_Timedelta` / `datetime.timedelta`
that exists for `_Timestamp` / `datetime.datime`.
I tried inlining `_Timedelta._ensure_components` and it actually hurt performance a bit, so I left it
as a plain `def` but did build a seperate `_has_ns` check... | https://api.github.com/repos/pandas-dev/pandas/pulls/11134 | 2015-09-17T01:34:38Z | 2015-09-17T11:45:05Z | 2015-09-17T11:45:05Z | 2015-09-17T22:31:12Z |
API: convert_objects, xref #11116, instead of warning, raise a ValueError | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 9189b0d89de4f..5784f7966d1f6 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -2,6 +2,7 @@
Misc tools for implementing data structures
"""
+import warnings
import re
import collections
import numbers
@@ -1868,7 +1869,12 @@ def _pos... | closes #11116
This is a lot more noisy that the current impl. It pretty much raises on the old-style input if it had `coerce` in it. This is correct as the actual behavior of `coerce` has changed (in that it now it much more strict).
errror on old-style input
- raise a ValueError for df.convert_objects('coerce')
- ra... | https://api.github.com/repos/pandas-dev/pandas/pulls/11133 | 2015-09-17T01:34:35Z | 2015-09-22T21:33:35Z | null | 2015-09-22T21:33:35Z |
ERR: make sure raising TypeError on invalid nanops reductions xref #10472 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 3d625c0299db5..622324155b551 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -915,6 +915,7 @@ Other API Changes
- ``groupby`` using ``Categorical`` follows the same rule as ``Categorical.unique`` ... | xref #https://github.com/blaze/dask/issues/693
| https://api.github.com/repos/pandas-dev/pandas/pulls/11131 | 2015-09-16T23:46:48Z | 2015-09-17T00:28:58Z | 2015-09-17T00:28:58Z | 2015-09-17T00:28:58Z |
BLD: install build deps when building | diff --git a/ci/install_conda.sh b/ci/install_conda.sh
index 1db1e7fa6f571..c54f5494c12ee 100755
--- a/ci/install_conda.sh
+++ b/ci/install_conda.sh
@@ -78,21 +78,13 @@ conda config --set ssl_verify false || exit 1
# Useful for debugging any issues with conda
conda info -a || exit 1
-REQ="ci/requirements-${TRAVIS_P... | closes #11122
dependency resolution in the `pandas` channel is a bit challenging as the current script tries to install all deps up front before building. But `statsmodels` requires pandas, so a current version is installed (e.g. the rc), and several of the deps are changed.
So fixed, but installing only the build ... | https://api.github.com/repos/pandas-dev/pandas/pulls/11127 | 2015-09-16T21:02:57Z | 2015-09-16T23:01:46Z | 2015-09-16T23:01:46Z | 2015-09-16T23:01:46Z |
BUG: Fix computation of invalid NaN indexes for interpolate. | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 0b4acdc3e89bb..3d625c0299db5 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -383,7 +383,7 @@ Other enhancements
- ``DataFrame`` has gained the ``nlargest`` and ``nsmallest`` methods (:issue:`10... | Fixes issue #11115.
This change fixes up a couple edge cases for the computation of invalid NaN indexes for interpolation limits.
I've also added a test explicitly for the reported bug (and similar behaviors at the opposite end of the series) in #11115.
/cc @jreback
| https://api.github.com/repos/pandas-dev/pandas/pulls/11124 | 2015-09-16T18:03:12Z | 2015-09-16T23:04:10Z | 2015-09-16T23:04:10Z | 2015-09-16T23:04:13Z |
ENH: Add ability to create datasets using the gbq module | diff --git a/doc/source/api.rst b/doc/source/api.rst
index b1fe77c298d71..3445f9263101e 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -110,10 +110,7 @@ Google BigQuery
read_gbq
to_gbq
- generate_bq_schema
- create_table
- delete_table
- table_exists
+
.. currentmodule:: pandas
diff ... | Removed the `bq` command line module from `test_gbq.py`, as it doesn't support python 3. In order to do this, I had to create functions for `create_dataset()`, `delete_dataset()` and `dataset_exists()`.
This change is required for #11110
At the same time, I also implemented the following list functions: `list_dataset... | https://api.github.com/repos/pandas-dev/pandas/pulls/11121 | 2015-09-16T04:27:04Z | 2015-09-24T23:02:30Z | null | 2015-09-24T23:37:55Z |
BF: do not assume that expanduser would replace all ~ | diff --git a/pandas/io/tests/test_common.py b/pandas/io/tests/test_common.py
index 34e7c94b64bcb..03d1e4fb1f365 100644
--- a/pandas/io/tests/test_common.py
+++ b/pandas/io/tests/test_common.py
@@ -3,6 +3,7 @@
"""
from pandas.compat import StringIO
import os
+from os.path import isabs
import pandas.util.testing as... | since it must not e.g. if there is ~ in some directory name along the path (awkward but possible/allowed).
Better to check either new path is absolute. Removed 1 test which had no value
| https://api.github.com/repos/pandas-dev/pandas/pulls/11120 | 2015-09-16T01:58:17Z | 2015-09-17T01:00:29Z | 2015-09-17T01:00:29Z | 2015-09-22T14:16:59Z |
COMPAT: compat for python 3.5, #11097 | diff --git a/.travis.yml b/.travis.yml
index 6460a9a726b48..4e46fb7ad85ca 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -43,13 +43,6 @@ matrix:
- CLIPBOARD_GUI=gtk2
- BUILD_TYPE=conda
- DOC_BUILD=true # if rst files were changed, build docs in parallel with tests
- - python: 3.3
- env:
- ... | closes #11097
- update install / compat docs for 3.5
- use visit_Call based on the version of python
- skip if html5lib is not installed in test_data
- bug in nose causes deprecation warning in some pytables tests
- remove superfluous socket timeout
| https://api.github.com/repos/pandas-dev/pandas/pulls/11114 | 2015-09-15T16:32:37Z | 2015-09-15T23:25:24Z | 2015-09-15T23:25:24Z | 2015-09-15T23:25:24Z |
COMPAT: Add Google BigQuery support for python 3 #11094 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 03cac12436898..c8ab9599cd92a 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -332,6 +332,7 @@ Google BigQuery Enhancements
- Added ability to replace an existing table and schema when calling the ... | closes #11094
Adds gbq support for python 3.4
| https://api.github.com/repos/pandas-dev/pandas/pulls/11110 | 2015-09-15T15:32:08Z | 2015-09-27T14:10:24Z | 2015-09-27T14:10:24Z | 2015-09-27T14:19:46Z |
DOC: fix ref to template for plot accessor | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 01634d7c02481..b1fe77c298d71 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -982,7 +982,7 @@ specific plotting methods of the form ``DataFrame.plot.<kind>``.
.. autosummary::
:toctree: generated/
- :template: autosummary/accessor_plot.rst
... | https://api.github.com/repos/pandas-dev/pandas/pulls/11104 | 2015-09-15T13:55:12Z | 2015-09-15T13:55:20Z | 2015-09-15T13:55:20Z | 2015-09-15T13:58:56Z | |
ENH: Data formatting with unicode length | diff --git a/doc/source/options.rst b/doc/source/options.rst
index fb57175f96eaa..46ff2b6e5c343 100644
--- a/doc/source/options.rst
+++ b/doc/source/options.rst
@@ -440,3 +440,56 @@ For instance:
pd.reset_option('^display\.')
To round floats on a case-by-case basis, you can also use :meth:`~pandas.Series.round` ... | Closes #2612. Added `display.unicode.east_asian_width` options, which calculate text width considering East Asian Width. Enabling this option affects to a performance as width must be calculated per characters.
#### Current results (captured)
:
raise StreamingInsertError
- def run_query(self, query, verbose=True):
+ def run_query(... | Added support for BigQuery's new user defined function (UDF) feature. See https://cloud.google.com/bigquery/user-defined-functions#api for details.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11099 | 2015-09-15T02:29:11Z | 2015-10-11T15:43:28Z | null | 2015-10-11T15:43:28Z |
DOC: Fixed outdated doc-string, added missing default values, added missing optional parameters for some io classes | diff --git a/pandas/io/data.py b/pandas/io/data.py
index 1a4c45628a256..310b165101bdf 100644
--- a/pandas/io/data.py
+++ b/pandas/io/data.py
@@ -53,12 +53,17 @@ def DataReader(name, data_source=None, start=None, end=None,
name : str or list of strs
the name of the dataset. Some data sources (yahoo, google... | Some doc-strings are outdated, in a sense that there are missing newly added optional parameters and default values.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11098 | 2015-09-14T23:54:06Z | 2015-09-17T17:27:23Z | 2015-09-17T17:27:23Z | 2015-09-17T17:34:49Z |
ERR/API: Raise NotImplementedError when method is not implemented (issue: 7692) | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 1a976bf0d921e..4ea4f0a5ab307 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1107,7 +1107,7 @@ Bug Fixes
- Bug causes memory leak in time-series line and area plot (:issue:`9003`)
- Bug when s... | Fixed #7692
| https://api.github.com/repos/pandas-dev/pandas/pulls/11095 | 2015-09-14T20:27:25Z | 2015-09-21T15:32:17Z | null | 2015-09-21T15:33:55Z |
TST: More thorough test to check correctness of to_html_unicode | diff --git a/pandas/tests/test_format.py b/pandas/tests/test_format.py
index 6c92bb7095d8b..d6abb00e55e7b 100644
--- a/pandas/tests/test_format.py
+++ b/pandas/tests/test_format.py
@@ -521,11 +521,12 @@ def test_to_html_with_empty_string_label(self):
self.assertTrue("rowspan" not in res)
def test_to_htm... | The current test for `test_to_html_unicode` only checks for whether the function works but does not check for its correctness.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11093 | 2015-09-14T15:25:50Z | 2015-09-16T23:02:08Z | 2015-09-16T23:02:08Z | 2015-09-16T23:02:45Z |
DOC: Update "enhancing perf" doc based on #10953 | diff --git a/doc/source/enhancingperf.rst b/doc/source/enhancingperf.rst
index 855a459f48cf4..028e6d064a561 100644
--- a/doc/source/enhancingperf.rst
+++ b/doc/source/enhancingperf.rst
@@ -449,12 +449,15 @@ These operations are supported by :func:`pandas.eval`:
- Attribute access, e.g., ``df.a``
- Subscript expressio... | Updated ["enhancing performance"](http://pandas.pydata.org/pandas-docs/stable/enhancingperf.html#enhancingperf-eval) doc based on #10953.
CC @sklam
| https://api.github.com/repos/pandas-dev/pandas/pulls/11092 | 2015-09-14T12:21:30Z | 2015-09-14T13:10:48Z | 2015-09-14T13:10:48Z | 2015-09-14T13:10:51Z |
TST: Fix skipped unit tests in test_ga. Install python-gflags using p… | diff --git a/ci/requirements-2.7.pip b/ci/requirements-2.7.pip
index ff1978a8d45ed..644457d69b37f 100644
--- a/ci/requirements-2.7.pip
+++ b/ci/requirements-2.7.pip
@@ -1,3 +1,4 @@
blosc
httplib2
google-api-python-client == 1.2
+python-gflags == 2.0
diff --git a/ci/requirements-2.7.txt b/ci/requirements-2.7.txt
inde... | closes #11090
This commit should resolve the following error in the travis build log.
```
-------------------------------------------------------------
#15 nose.failure.Failure.runTest: need httplib2 and auth libs
-------------------------------------------------------------
```
Valid Google credentials are require... | https://api.github.com/repos/pandas-dev/pandas/pulls/11091 | 2015-09-13T20:15:02Z | 2015-09-14T19:51:21Z | 2015-09-14T19:51:21Z | 2015-09-14T20:23:13Z |
TST: make sure to close stata readers | diff --git a/pandas/io/tests/test_stata.py b/pandas/io/tests/test_stata.py
index 29f0422c58ac8..8505150932c90 100644
--- a/pandas/io/tests/test_stata.py
+++ b/pandas/io/tests/test_stata.py
@@ -98,19 +98,19 @@ def test_read_empty_dta(self):
def test_data_method(self):
# Minimal testing of legacy data met... | https://api.github.com/repos/pandas-dev/pandas/pulls/11088 | 2015-09-13T15:27:25Z | 2015-09-13T18:27:40Z | 2015-09-13T18:27:40Z | 2015-09-13T18:27:40Z | |
DOC: Comparison with SAS | diff --git a/doc/source/comparison_with_sas.rst b/doc/source/comparison_with_sas.rst
new file mode 100644
index 0000000000000..fd42c97c9cbc0
--- /dev/null
+++ b/doc/source/comparison_with_sas.rst
@@ -0,0 +1,607 @@
+.. currentmodule:: pandas
+.. _compare_with_sas:
+
+Comparison with SAS
+********************
+For potent... | closes #11075
xref #4052
There doesn't seem to be a straightforward way to syntax highlight the SAS code, so it will format as generic code blocks.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11087 | 2015-09-13T14:17:11Z | 2015-09-13T19:10:41Z | 2015-09-13T19:10:41Z | 2015-09-13T21:43:33Z |
BUG: Fixed bug in groupby.std changing target column when as_index=False | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 3b3bf8cffe41b..d03bbf7291ab8 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1067,6 +1067,7 @@ Bug Fixes
- Bug in ``algos.outer_join_indexer`` when ``right`` array is empty (:issue:`10618`)
- ... | Fixed #10355
| https://api.github.com/repos/pandas-dev/pandas/pulls/11085 | 2015-09-13T00:28:26Z | 2015-09-14T02:01:07Z | null | 2019-02-14T05:23:07Z |
DOC: fix plot submethods whatsnew example | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 914c18a66af61..3f6da20c4a422 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -150,7 +150,7 @@ The Series and DataFrame ``.plot()`` method allows for customizing :ref:`plot ty
To alleviate this iss... | This was not building properly.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11083 | 2015-09-12T23:25:09Z | 2015-09-12T23:35:09Z | 2015-09-12T23:35:09Z | 2015-09-13T00:23:54Z |
CI: support *.pip for installations | diff --git a/ci/install_conda.sh b/ci/install_conda.sh
index 01b89807d164c..1db1e7fa6f571 100755
--- a/ci/install_conda.sh
+++ b/ci/install_conda.sh
@@ -78,16 +78,20 @@ conda config --set ssl_verify false || exit 1
# Useful for debugging any issues with conda
conda info -a || exit 1
+REQ="ci/requirements-${TRAVIS_P... | https://api.github.com/repos/pandas-dev/pandas/pulls/11081 | 2015-09-12T22:46:57Z | 2015-09-12T23:36:12Z | 2015-09-12T23:36:12Z | 2015-09-12T23:36:12Z | |
BUG: Fix Series nunique groupby with object dtype | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 9d8532aa3649a..7fe92b580536a 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1014,7 +1014,7 @@ Performance Improvements
- Development support for benchmarking with the `Air Speed Velocity library... | closes #11077
| https://api.github.com/repos/pandas-dev/pandas/pulls/11079 | 2015-09-12T18:31:35Z | 2015-09-14T22:09:02Z | 2015-09-14T22:09:01Z | 2015-09-14T22:11:28Z |
updateing my fork | diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py
index 9eab385a7a2a5..f78c6a1fc9235 100644
--- a/pandas/tools/plotting.py
+++ b/pandas/tools/plotting.py
@@ -2700,7 +2700,7 @@ def plot_group(group, ax):
return fig
-def hist_frame(data, column=None, by=None, grid=True, xlabelsize=None,
+def hist_... | https://api.github.com/repos/pandas-dev/pandas/pulls/11078 | 2015-09-12T18:18:15Z | 2015-09-12T18:20:20Z | null | 2015-09-12T18:20:20Z | |
ENH Add check for inferred compression before `get_filepath_or_buffer` | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 615bfc9e23253..a6e6c9f2f2b3c 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -481,6 +481,8 @@ Other enhancements
- Read CSV files from AWS S3 incrementally, instead of first downloading the enti... | When reading CSVs, if `compression='infer'`, check the input before calling `get_filepath_or_buffer` in the `_read` function. This way we can catch compresion extensions on S3 files. Partially resolves issue #11070 .
Checking for the file extension in the `_read` function should make the checks inside the parsers redu... | https://api.github.com/repos/pandas-dev/pandas/pulls/11074 | 2015-09-12T16:09:22Z | 2015-09-15T13:23:42Z | 2015-09-15T13:23:42Z | 2015-09-15T13:29:18Z |
ENH Enable streaming from S3 | diff --git a/asv_bench/benchmarks/io_bench.py b/asv_bench/benchmarks/io_bench.py
index a171641502d3c..0f15ab6e5e142 100644
--- a/asv_bench/benchmarks/io_bench.py
+++ b/asv_bench/benchmarks/io_bench.py
@@ -1,9 +1,10 @@
from .pandas_vb_common import *
-from pandas import concat, Timestamp
+from pandas import concat, Tim... | File reading from AWS S3: Modify the `get_filepath_or_buffer` function such that it only opens the connection to S3, rather than reading the entire file at once. This allows partial reads (e.g. through the `nrows` argument) or chunked reading (e.g. through the `chunksize` argument) without needing to download the entir... | https://api.github.com/repos/pandas-dev/pandas/pulls/11073 | 2015-09-12T13:51:09Z | 2015-09-14T22:24:49Z | 2015-09-14T22:24:49Z | 2015-09-14T22:32:55Z |
ENH Enable bzip2 streaming for Python 3 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 914c18a66af61..986af61414587 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -465,6 +465,8 @@ Other enhancements
- Improved error message when concatenating an empty iterable of dataframes (:iss... | This is the one modification related to issue #11070 which affects non-S3 interactions with `read_csv`. The Python 3 standard library has an improved capability for handling bz2 compression, so a simple change will let `read_csv` stream bz2-compressed files.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11072 | 2015-09-12T13:32:12Z | 2015-09-13T14:52:53Z | 2015-09-13T14:52:53Z | 2015-09-14T20:12:22Z |
ENH Recognize 's3n' and 's3a' as an S3 address | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 3b3bf8cffe41b..b45c843d28eb8 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -467,6 +467,7 @@ Other enhancements
- ``pd.read_csv`` can now read bz2-compressed files incrementally, and the C pars... | This PR allows `read_csv` to recognize that "s3n://" designates a valid AWS S3 address. Partially addresses issue #11070 .
| https://api.github.com/repos/pandas-dev/pandas/pulls/11071 | 2015-09-12T13:29:25Z | 2015-09-14T19:49:34Z | 2015-09-14T19:49:34Z | 2015-09-14T20:09:26Z |
DOC/CI: include api docs on travis | diff --git a/.travis.yml b/.travis.yml
index 4e46fb7ad85ca..bd3b3bad6b73f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,6 +18,7 @@ git:
matrix:
fast_finish: true
+ fail_fast: true
include:
- python: 2.6
env:
@@ -42,7 +43,6 @@ matrix:
- FULL_DEPS=true
- CLIPBOARD_GUI=gtk2
... | Continued in #12002
---
Closes #6100
Closes #3800
Just to check how this takes on travis
| https://api.github.com/repos/pandas-dev/pandas/pulls/11069 | 2015-09-12T10:14:21Z | 2015-11-20T18:44:08Z | null | 2016-01-08T23:59:46Z |
DOC: Re-organize whatsnew | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index c3b12f4e73b01..914c18a66af61 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -38,10 +38,12 @@ Highlights include:
- The sorting API has been revamped to remove some long-time inconsistencies, see ... | Reorganized release note for 0.17. There are some descriptions which looks the same level, but one in a highlights and the other is not.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11068 | 2015-09-12T09:05:48Z | 2015-09-12T09:22:34Z | 2015-09-12T09:22:34Z | 2015-09-12T10:45:07Z |
DOC: Missing Excel index images | diff --git a/doc/source/_static/new-excel-index.png b/doc/source/_static/new-excel-index.png
new file mode 100644
index 0000000000000..479237c3712d2
Binary files /dev/null and b/doc/source/_static/new-excel-index.png differ
diff --git a/doc/source/_static/old-excel-index.png b/doc/source/_static/old-excel-index.png
new... | Adds missing static files that didn't get pushed in https://github.com/pydata/pandas/pull/10967
@jreback
| https://api.github.com/repos/pandas-dev/pandas/pulls/11067 | 2015-09-11T22:33:26Z | 2015-09-11T23:00:48Z | 2015-09-11T23:00:48Z | 2015-09-11T23:05:56Z |
BUG: matplotlib inset-axis #10407 | diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py
index 9eab385a7a2a5..4fb46cf8e0ac6 100644
--- a/pandas/tools/plotting.py
+++ b/pandas/tools/plotting.py
@@ -3318,25 +3318,31 @@ def _handle_shared_axes(axarr, nplots, naxes, nrows, ncols, sharex, sharey):
if sharex or len(ax.get_share... | This is the issue: https://github.com/pydata/pandas/issues/10407
I just added a bunch of try-catch AttributeError around the offending code - it seemed to do the trick for me.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11065 | 2015-09-11T16:38:44Z | 2015-11-15T21:09:28Z | null | 2023-05-11T01:13:10Z |
Adds the option display.escape_notebook_repr_html | diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py
index 03eaa45582bef..08f3e68c28e2a 100644
--- a/pandas/core/config_init.py
+++ b/pandas/core/config_init.py
@@ -77,6 +77,12 @@
pandas objects (if it is available).
"""
+pc_esc_nb_repr_h_doc = """
+: boolean
+ When True, IPython notebook wil... | Adds the option `display.escape_notebook_repr_html` for controlling HTML escaping when rendering DataFrames in IPython notebooks. Unset, this argument does not change the default behaviour.
Fixes #11062
| https://api.github.com/repos/pandas-dev/pandas/pulls/11063 | 2015-09-11T14:59:20Z | 2015-11-02T12:08:44Z | null | 2017-01-30T20:55:09Z |
DOC: clean up 0.17 whatsnew | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 5d9e415b85acf..2c192ee33061b 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -21,9 +21,14 @@ users upgrade to this version.
After installing pandas-datareader, you can easily change your impo... | Mainly some rearranging (eg the datetime tz was somewhere in the middle of the API changes, moved it to in front of the new features)
| https://api.github.com/repos/pandas-dev/pandas/pulls/11059 | 2015-09-11T09:20:20Z | 2015-09-11T11:14:04Z | 2015-09-11T11:14:04Z | 2015-09-11T11:14:09Z |
DOC: Updated doc-string using new doc-string design for DataFrameFormatter | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 985b349273130..0c1a3dbadbd86 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -58,18 +58,13 @@
the print configuration (controlled by set_option), 'right' out
of the box."""
-force_unicode_docstring = """
- force_un... | `DataFrameFormatter` does not have this parameter: `force_unicode_docstring`. This change uses the doc-string re-design in #11011
| https://api.github.com/repos/pandas-dev/pandas/pulls/11057 | 2015-09-11T05:26:28Z | 2015-09-13T20:16:22Z | 2015-09-13T20:16:22Z | 2015-09-13T20:27:43Z |
BUG: Fixed bug in groupby(axis=1) with filter() throws IndexError, #11041 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 07f87ef9d8647..60214a40a446e 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -982,7 +982,7 @@ Bug Fixes
key (:issue:`10385`).
- Bug in ``groupby(sort=False)`` with datetime-like ``Categorical... | Fixed #11041
| https://api.github.com/repos/pandas-dev/pandas/pulls/11055 | 2015-09-11T02:15:01Z | 2015-09-11T14:12:16Z | null | 2015-09-11T14:15:01Z |
DOC: Deleted redundant/repetitive import statement | diff --git a/pandas/tests/test_groupby.py b/pandas/tests/test_groupby.py
index 7a552fb53e139..9aad9a972daf5 100644
--- a/pandas/tests/test_groupby.py
+++ b/pandas/tests/test_groupby.py
@@ -494,7 +494,6 @@ def test_groupby_dict_mapping(self):
assert_series_equal(result, expected2)
def test_groupby_bounds... | https://api.github.com/repos/pandas-dev/pandas/pulls/11054 | 2015-09-11T01:55:38Z | 2015-09-11T04:46:09Z | null | 2015-09-11T04:46:12Z | |
Add capability to handle Path/LocalPath objects | diff --git a/ci/requirements-2.7.pip b/ci/requirements-2.7.pip
index 644457d69b37f..9bc533110cea3 100644
--- a/ci/requirements-2.7.pip
+++ b/ci/requirements-2.7.pip
@@ -2,3 +2,5 @@ blosc
httplib2
google-api-python-client == 1.2
python-gflags == 2.0
+pathlib
+py
diff --git a/doc/source/conf.py b/doc/source/conf.py
in... | fixes #11033
| https://api.github.com/repos/pandas-dev/pandas/pulls/11051 | 2015-09-10T12:59:11Z | 2015-10-17T14:45:16Z | null | 2015-10-17T14:46:11Z |
BUG: GH10645 and GH10692 where operation on large Index would error | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 0b6f6522dfde0..1626ecbf98e80 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1033,7 +1033,7 @@ Bug Fixes
- Bug in ``Index.take`` may add unnecessary ``freq`` attribute (:issue:`10791`)
- Bug in ... | closes #10645
closes #10692
replaces #10675
Do I need `@slow` for these tests?
| https://api.github.com/repos/pandas-dev/pandas/pulls/11049 | 2015-09-10T11:42:38Z | 2015-09-10T22:11:55Z | 2015-09-10T22:11:55Z | 2015-09-10T22:12:02Z |
DOC/CLN: typo and redundant code | diff --git a/doc/README.rst b/doc/README.rst
index 7f001192f5d73..06d95e6b9c44d 100644
--- a/doc/README.rst
+++ b/doc/README.rst
@@ -114,7 +114,7 @@ Often it will be necessary to rebuild the C extension after updating::
Building the documentation
^^^^^^^^^^^^^^^^^^^^^^^^^^
-So how do you build the docs? Navigate to... | https://api.github.com/repos/pandas-dev/pandas/pulls/11048 | 2015-09-10T10:52:17Z | 2015-09-10T20:48:47Z | 2015-09-10T20:48:47Z | 2015-09-10T20:48:47Z | |
DOC: correct quoting constants order | diff --git a/doc/source/io.rst b/doc/source/io.rst
index f3d14b78bbf54..f95fdd502d306 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -149,7 +149,8 @@ They can take a number of arguments:
Quoted items can include the delimiter and it will be ignored.
- ``quoting`` : int,
Controls whether quotes s... | Small correction, QUOTE_NONE and QUOTE_NONNUMERIC have to be switched:
```
In [1]: import csv
In [2]: csv.QUOTE_NONNUMERIC
Out[2]: 2
In [3]: csv.QUOTE_NONE
Out[3]: 3
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/11046 | 2015-09-10T08:50:49Z | 2015-09-10T10:57:47Z | 2015-09-10T10:57:47Z | 2015-09-10T10:57:48Z |
PERF: improves performance in GroupBy.cumcount | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index c6642c5216262..5193231407f12 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -138,6 +138,47 @@ API changes
- Provide a proper ``__name__`` and ``__qualname__`` attributes for generic functions (:i... | closes #12839
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
groupby_ngroups_10000_cumcount ... | https://api.github.com/repos/pandas-dev/pandas/pulls/11039 | 2015-09-09T23:38:43Z | 2016-04-25T14:21:45Z | null | 2016-04-25T14:53:30Z |
DOC: Fix misspelling of max_colwidth in documentation. | diff --git a/doc/source/options.rst b/doc/source/options.rst
index 753c4cc52cab8..fb57175f96eaa 100644
--- a/doc/source/options.rst
+++ b/doc/source/options.rst
@@ -187,7 +187,7 @@ dataframes to stretch across pages, wrapped over the full column vs row-wise.
pd.reset_option('large_repr')
pd.reset_option('max_ro... | One location referencing `display.max_colwidth` was incorrectly spelled as `display.max_columnwidth`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11037 | 2015-09-09T20:14:32Z | 2015-09-09T21:10:44Z | 2015-09-09T21:10:44Z | 2015-09-09T21:37:01Z |
BUG: Fix Timestamp __ne__ comparison issue | diff --git a/pandas/core/ops.py b/pandas/core/ops.py
index 8a879a4de248b..5b3d6069f17ec 100644
--- a/pandas/core/ops.py
+++ b/pandas/core/ops.py
@@ -672,10 +672,7 @@ def na_op(x, y):
else:
y = y.view('i8')
- if name == '__ne__':
- mask = notnull(... | closes #11034
| https://api.github.com/repos/pandas-dev/pandas/pulls/11036 | 2015-09-09T17:05:23Z | 2015-09-09T21:09:17Z | null | 2015-09-09T21:09:17Z |
BUG: Fixed bug in len(DataFrame.groupby) causing IndexError when there's a NaN-only column (issue11016) | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 7100f78cb3c7a..6570306e79596 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -951,7 +951,7 @@ Bug Fixes
- Bug in ``to_datetime`` and ``to_timedelta`` causing ``Index`` name to be lost (:issue:... | This is the new PR for Fixed issue #11016
| https://api.github.com/repos/pandas-dev/pandas/pulls/11031 | 2015-09-09T01:51:42Z | 2015-09-09T11:16:52Z | 2015-09-09T11:16:52Z | 2015-09-09T12:40:45Z |
BUG: Fixed bug in len(DataFrame.groupby) causing IndexError when there's a NaN-only column (issue11016) | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 68d3861599cbd..e0d15aed05e0e 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -954,7 +954,7 @@ Bug Fixes
- Bug in ``Categorical.__iter__`` may not returning correct ``datetime`` and ``Period`` (:is... | Fixed #11016
| https://api.github.com/repos/pandas-dev/pandas/pulls/11030 | 2015-09-09T01:18:09Z | 2015-09-09T01:52:42Z | null | 2015-09-09T01:52:44Z |
Fix for DataFrame.hist() with by- and weights-keyword | diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py
index 9eab385a7a2a5..bee0817692bce 100644
--- a/pandas/tools/plotting.py
+++ b/pandas/tools/plotting.py
@@ -2700,7 +2700,7 @@ def plot_group(group, ax):
return fig
-def hist_frame(data, column=None, by=None, grid=True, xlabelsize=None,
+def hist_... | closes https://github.com/pydata/pandas/issues/9540
for example:
``` python
import pandas as pd
d = {'one' : ['A', 'A', 'B', 'C'],
'two' : [4., 3., 2., 1.],
'three' : [10., 8., 5., 7.]}
df = pd.DataFrame(d)
df.hist('two', by='one', weights='three', bins=range(0, 10))
```
does not seem to break anythin... | https://api.github.com/repos/pandas-dev/pandas/pulls/11028 | 2015-09-08T20:34:19Z | 2015-10-27T20:25:50Z | null | 2015-10-27T20:25:50Z |
Fix common typo in documentation | diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst
index 2eaf143a3e0b8..8785a8d092d48 100644
--- a/doc/source/visualization.rst
+++ b/doc/source/visualization.rst
@@ -375,7 +375,7 @@ For example, horizontal and custom-positioned boxplot can be drawn by
See the :meth:`boxplot <matplotlib.axes.... | documenation -> documentation
| https://api.github.com/repos/pandas-dev/pandas/pulls/11027 | 2015-09-08T17:22:31Z | 2015-09-08T17:27:36Z | 2015-09-08T17:27:36Z | 2015-09-08T17:28:01Z |
DOC: Add GroupBy.count | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index 0293fc655742e..7133a6b6d6baf 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -719,6 +719,12 @@ def irow(self, i):
FutureWarning, stacklevel=2)
return self.nth(i)
+ def count(self):
+ """ Co... | Related to #11013. Define `GroupBy.count` for API doc and added docstring.
| https://api.github.com/repos/pandas-dev/pandas/pulls/11025 | 2015-09-08T13:51:54Z | 2015-09-08T15:21:31Z | 2015-09-08T15:21:31Z | 2015-09-08T20:35:25Z |
BUG: DatetimeIndex.freq can defer by ufunc | diff --git a/pandas/tests/test_index.py b/pandas/tests/test_index.py
index 1ec73edbb82e5..80145df181756 100644
--- a/pandas/tests/test_index.py
+++ b/pandas/tests/test_index.py
@@ -3151,6 +3151,39 @@ def test_nat(self):
self.assertIs(DatetimeIndex([np.nan])[0], pd.NaT)
+ def test_ufunc_coercions(self):
... | Follow up of #10638. `DatetimeIndex.freq` also can be changed when other arg is an ndarray.
As the same as #10638, freq is re-infered only when it exists. Otherwise, leave it as `None` even if the result can be on specific freq. This is based on other functions behavior as below:
```
idx = pd.DatetimeIndex(['2011-01-... | https://api.github.com/repos/pandas-dev/pandas/pulls/11024 | 2015-09-08T13:07:49Z | 2015-09-09T08:47:32Z | 2015-09-09T08:47:32Z | 2015-09-09T08:47:50Z |
PERF: use NaT comparisons in int64/datetimelikes #11010 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index cbcee664d8be4..7100f78cb3c7a 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1009,11 +1009,10 @@ Bug Fixes
- Bug in ``to_json`` which was causing segmentation fault when serializing 0-rank ndarra... | closes #11010
```
In [10]: %timeit gr['3rd'].count()
100 loops, best of 3: 15.1 ms per loop
In [11]: %timeit gr['3rd'].min()
100 loops, best of 3: 8.4 ms per loop
In [12]: %timeit gr['3rd'].max()
100 loops, best of 3: 8.47 ms per loop
In [13]: %timeit gr['3rd'].first()
100 loops, best of 3: 10.5 ms per loop
In [1... | https://api.github.com/repos/pandas-dev/pandas/pulls/11023 | 2015-09-07T22:43:56Z | 2015-09-08T00:30:05Z | 2015-09-08T00:30:05Z | 2015-09-08T00:30:05Z |
BUG: Exception when setting a major- or minor-axis slice of a Panel with RHS a DataFrame | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index f88e5c0a11f9f..4e8cfdfa16a12 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -964,6 +964,8 @@ Bug Fixes
- Bug causes memory leak in time-series line and area plot (:issue:`9003`)
+- Bug when s... | Fixes GH #11014
This isn't actually a recent regression. The bug was introduced in 0.15.0 with this commit: https://github.com/pydata/pandas/commit/30246a7d2b113b7115fd0708655ae8e1c3f2e6c5; it was just made more common (i.e., it happens on panels without mixed dtype) in 0.16.2 by this commit: https://github.com/pydata... | https://api.github.com/repos/pandas-dev/pandas/pulls/11021 | 2015-09-07T18:33:05Z | 2015-09-07T20:16:06Z | 2015-09-07T20:16:06Z | 2015-09-19T00:38:09Z |
BUG: Unable to infer negative freq | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index f88e5c0a11f9f..b861bf51b80eb 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1009,4 +1009,6 @@ Bug Fixes
- Bug in ``.var()`` causing roundoff errors for highly similar values (:issue:`10242`)
- ... | Fixed 2 issues:
- `date_range` can't handle negative calendar-based freq (like `A`, `Q` and `M`).
```
import pandas as pd
# OK
pd.date_range('2011-01-01', freq='-1D', periods=3)
# DatetimeIndex(['2011-01-01', '2010-12-31', '2010-12-30'], dtype='datetime64[ns]', freq='-1D')
# NG
pd.date_range('2011-01-01', freq='-1M'... | https://api.github.com/repos/pandas-dev/pandas/pulls/11018 | 2015-09-07T15:44:46Z | 2015-09-07T20:19:58Z | 2015-09-07T20:19:58Z | 2015-09-07T20:23:10Z |
BUG: Index dtype may not be applied properly | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 2c192ee33061b..a8ff45cc25a6b 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -1100,3 +1100,4 @@ Bug Fixes
- Bug in ``date_range`` results in empty if freq is negative annualy, quarterly and monthl... | Fixed 2 problems:
- Specified `dtype` is not applied to other iterables.
```
import numpy as np
import pandas as pd
pd.Index([1, 2, 3], dtype=int)
# Index([1, 2, 3], dtype='object')
```
- Specifying `category` to ndarray-like results in `TypeError`
```
pd.Index(np.array([1, 2, 3]), dtype='category')
# TypeError: dat... | https://api.github.com/repos/pandas-dev/pandas/pulls/11017 | 2015-09-07T14:46:47Z | 2015-09-11T14:24:25Z | null | 2015-09-11T14:36:06Z |
BUG: .ix with PeriodIndex is fixed | diff --git a/pandas/core/index.py b/pandas/core/index.py
index c64e181f4c721..9344e849981c9 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -2,18 +2,18 @@
import datetime
import warnings
import operator
-
from functools import partial
-from pandas.compat import range, zip, lrange, lzip, u, reduce, f... | Solves https://github.com/pydata/pandas/issues/4125
It doesn't feel like an elegant solution, but I think it works.
I think when Period gets its own dtype, these will all go away?
| https://api.github.com/repos/pandas-dev/pandas/pulls/11015 | 2015-09-07T04:21:55Z | 2015-09-09T21:40:50Z | null | 2015-12-08T03:52:34Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.