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 |
|---|---|---|---|---|---|---|---|
Bug in read_csv when using nrows or chunksize on a file containing only a header | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 8320f3cbc8e76..582b7f90b75d5 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -653,6 +653,8 @@ Bug Fixes
- Bug in vectorised setting of timestamp columns with python ``datetime.date`` and numpy ``d... | Fixes GH #9535
| https://api.github.com/repos/pandas-dev/pandas/pulls/10827 | 2015-08-15T16:45:00Z | 2015-08-15T22:22:36Z | 2015-08-15T22:22:36Z | 2015-09-19T00:38:10Z |
BUG: Merge with empty dataframe may raise IndexError | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 7e69a8044a305..2e39ef5f0ce76 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -660,6 +660,8 @@ Bug Fixes
- Bug in ``io.common.get_filepath_or_buffer`` which caused reading of valid S3 files to fail... | Closes #10824.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10826 | 2015-08-15T14:25:10Z | 2015-08-20T12:54:55Z | 2015-08-20T12:54:55Z | 2015-08-20T13:48:48Z |
Fix handling of EOF in 'c' csv parser | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 18c39ccf820eb..6040cdbe70218 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -649,6 +649,7 @@ Bug Fixes
- Bug in ``Categorical`` may not representing properly when category contains ``tz`` or ``Pe... | Fixes GH #10728
fixes #10548.
Also fixes:
- '\r' followed by EOF should be considered a blank line
- Escape character followed by EOF should produce an exception
- Line containing only whitespace should be skipped if `skip_blank_lines` and `delim_whitespace` are both `True`
| https://api.github.com/repos/pandas-dev/pandas/pulls/10825 | 2015-08-15T14:23:49Z | 2015-08-17T11:09:50Z | 2015-08-17T11:09:50Z | 2015-09-19T00:38:10Z |
API: Series.sum() will now return 0.0 for all-NaN series | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 13764543ec665..8078e459f2ee2 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -551,6 +551,20 @@ Other API Changes
- Improved error message when concatenating an empty iterable of dataframes (:iss... | compat with `numpy` >= 1.8.2 and `bottleneck` >= 1.0, #9422
note that passing skipna=False will still return a NaN
| https://api.github.com/repos/pandas-dev/pandas/pulls/10815 | 2015-08-13T15:29:06Z | 2015-09-03T14:19:26Z | null | 2022-10-13T00:16:46Z |
Deprecate combineAdd and combineMult (GH10735) | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 1cbe55ddbacb6..d9a8cc0d7cde0 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -799,9 +799,7 @@ Binary operator functions
DataFrame.ne
DataFrame.eq
DataFrame.combine
- DataFrame.combineAdd
DataFrame.combine_first
- DataFrame.combin... | Closes #10735
| https://api.github.com/repos/pandas-dev/pandas/pulls/10812 | 2015-08-13T08:39:32Z | 2015-08-16T08:28:53Z | 2015-08-16T08:28:53Z | 2015-08-16T08:28:53Z |
DOC: Updated drop_duplicates doc | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 251d94cbdd911..38629ee7baaea 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -1180,28 +1180,43 @@ takes as an argument the columns to use to identify duplicated rows.
By default, the first observed row of a duplicate set is cons... | Closes #2825.
CC @patricktokeeffe @bilderbuchi
| https://api.github.com/repos/pandas-dev/pandas/pulls/10810 | 2015-08-12T21:36:16Z | 2015-08-18T10:48:47Z | 2015-08-18T10:48:47Z | 2015-08-18T11:23:04Z |
BUG: fix bounds for negative ints when using iloc (GH 10779) | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 2a00263f973e9..8320f3cbc8e76 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -658,3 +658,5 @@ Bug Fixes
- Bug in ``DatetimeIndex.take`` and ``TimedeltaIndex.take`` may not raise ``IndexError`` aga... | This fixes the issues raised in [GH 10779](https://github.com/pydata/pandas/issues/10779).
closes #10547
Previously, negative integers used in `iloc` were not stopped from going beyond the bounds of the Series. For instance, if `s = pd.Series([1,2,3])` then `s.iloc[-4]` returned bytes from memory outside `s`. This wi... | https://api.github.com/repos/pandas-dev/pandas/pulls/10808 | 2015-08-12T20:47:31Z | 2015-08-14T18:40:52Z | 2015-08-14T18:40:52Z | 2015-08-15T12:46:01Z |
BUG: Allow read_sql_table to read from views | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 70d616ca72c1b..dd8e1f89d7b38 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -142,6 +142,9 @@ Other enhancements
- ``pd.merge`` will now allow duplicate column names if they are not merged upon (:... | Solves #10750
Follow-up from #10771
'read_sql_table' will now allow reading from views.
Added also a note in whatsnew and a unit test to check the behaviour.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10803 | 2015-08-12T07:04:36Z | 2015-08-12T09:31:13Z | 2015-08-12T09:31:13Z | 2015-08-12T09:31:13Z |
PeriodIndex test keys that aren't strings | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 18c39ccf820eb..3af9c887bb82f 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -629,6 +629,7 @@ Bug Fixes
- Bug that caused segfault when resampling an empty Series (:issue:`10228`)
- Bug in ``Date... | Closes https://github.com/pydata/pandas/issues/10798
Not sure if the testing is done in a good way - I just copy & pasted code to test `PeriodIndex` & `DatetimeIndex` (it wouldn't work for `LikeDatetimeIndex` because of `TimeDeltaIndex`) - very open to feedback on better ways to do this.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10801 | 2015-08-11T22:50:49Z | 2015-08-26T01:23:14Z | null | 2015-11-22T09:02:08Z |
BUG: pd.Series.interpolate(method='spline') Errort Msg, #10633 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 13764543ec665..ad104303b9dbd 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -613,10 +613,15 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
- Bug in ``DataFrame.to_html(index=False)`` renders u... | Closes #10633
This a first attempt at the error messages mentioned. Not ready to merge yet but I wanted to start the conversation...
I think I might have the error message wrong - anyone got any ideas.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10800 | 2015-08-11T20:14:58Z | 2015-08-21T19:56:29Z | null | 2015-08-21T20:20:10Z |
Allows set_index() to take an Index as an argument (#10797) | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index fe9c9bece1f79..fd013eca10f82 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2628,7 +2628,7 @@ def set_index(self, keys, drop=True, append=False, inplace=False,
-------
dataframe : DataFrame
"""
- if not is... | Simple change, closes #10797
| https://api.github.com/repos/pandas-dev/pandas/pulls/10799 | 2015-08-11T20:12:01Z | 2015-11-10T01:27:28Z | null | 2015-11-10T01:27:28Z |
TST: Suppress warnings of drop_duplicates tests | diff --git a/pandas/tests/test_base.py b/pandas/tests/test_base.py
index 066b359d72b5c..c9e4285d8b684 100644
--- a/pandas/tests/test_base.py
+++ b/pandas/tests/test_base.py
@@ -683,10 +683,6 @@ def test_factorize(self):
def test_duplicated_drop_duplicates(self):
# GH 4060
-
- import warnings
- ... | Follow-up of #10236. Suppress unnecessary warnings during the test.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10795 | 2015-08-11T09:21:38Z | 2015-08-12T09:55:47Z | 2015-08-12T09:55:47Z | 2015-08-12T13:51:24Z |
DOC: add guideline to use versionadded directive to contributing docs (GH10215) | diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst
index 7df5a18959ba7..4ec2258df56f2 100644
--- a/doc/source/contributing.rst
+++ b/doc/source/contributing.rst
@@ -247,6 +247,8 @@ just checked out. There are two primary methods of doing this.
from your development directory. Thus, you can alwa... | Closes #10215
| https://api.github.com/repos/pandas-dev/pandas/pulls/10794 | 2015-08-11T09:13:41Z | 2015-08-12T11:37:32Z | 2015-08-12T11:37:32Z | 2015-08-12T11:37:32Z |
BUG: Index.take may add unnecessary freq attribute | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 70d616ca72c1b..68a7c105be138 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -548,6 +548,7 @@ Performance Improvements
- 4x improvement in ``timedelta`` string parsing (:issue:`6755`, :issue:`1042... | `Index.freq` should raise `AttributeError` in non-datetime-like index. But `Index.take` adds `freq=None` and broke the behavior.
```
import pandas as pd
idx = pd.Index([1, 2, 3])
idx.freq
# AttributeError: 'Int64Index' object has no attribute 'freq'
idx.take([True, False, True]).freq
# None
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/10791 | 2015-08-10T23:30:11Z | 2015-08-12T13:51:50Z | 2015-08-12T13:51:50Z | 2015-08-12T13:51:53Z |
Update install.rst | diff --git a/doc/source/install.rst b/doc/source/install.rst
index aaa39dd383e2e..1e2f76042623a 100644
--- a/doc/source/install.rst
+++ b/doc/source/install.rst
@@ -153,6 +153,8 @@ and can take a few minutes to complete.
Installing using your Linux distribution's package manager.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | closes #10782
- Added hint regarding pip install on low memory machines.
- Added hint to python 3 version of pandas from distributon repos.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10784 | 2015-08-10T12:51:02Z | 2015-08-11T10:35:34Z | null | 2015-08-11T10:35:34Z |
BUG: GH10747 where cast_to_nanoseconds from NaT fails | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 70d616ca72c1b..f32028fe7b2f5 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -629,4 +629,5 @@ Bug Fixes
- Bug in ``pd.DataFrame`` when constructing an empty DataFrame with a string dtype (:issue:`... | related to first of #10747
| https://api.github.com/repos/pandas-dev/pandas/pulls/10776 | 2015-08-09T06:52:20Z | 2015-08-12T13:44:32Z | 2015-08-12T13:44:32Z | 2015-08-12T13:44:37Z |
BUG: `read_sql_table` can't find views | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 70d616ca72c1b..c679f53270ed1 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -137,11 +137,15 @@ Other enhancements
- ``.as_blocks`` will now take a ``copy`` optional argument to return a copy of t... | closes #10750
Add ability to 'read_sql_table' to read views and implement an unit test to check its behaviour
| https://api.github.com/repos/pandas-dev/pandas/pulls/10771 | 2015-08-08T21:31:09Z | 2015-08-12T06:46:14Z | null | 2015-08-12T09:30:03Z |
BUG: Fix dtypes order when ordering is different from original file in pandas.io.stata.read_stata | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 9a9054fcf0489..aa96aacd6f0dd 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -598,7 +598,7 @@ Bug Fixes
- Bug in ``DataFrame.plot`` raises ``ValueError`` when color name is specified by multiple c... | This fixes http://stackoverflow.com/questions/31783392/pandas-adding-columns-to-filter-will-mess-with-data-structure
The dtypes of the DataFrame returned by read_stata have the same order as the original stata file, even if columns are specified with a different order.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10757 | 2015-08-06T12:27:07Z | 2015-08-06T15:16:59Z | 2015-08-06T15:16:59Z | 2015-08-06T15:17:07Z |
Add kwargs for kde in scatter_matrix | diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py
index c16e2686c5a3a..7330089d14bbc 100644
--- a/pandas/tools/plotting.py
+++ b/pandas/tools/plotting.py
@@ -236,7 +236,7 @@ def use(self, key, value):
def scatter_matrix(frame, alpha=0.5, figsize=None, ax=None, grid=False,
diagonal=... | Minor change to allow customizing the kde through the pandas api.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10752 | 2015-08-04T22:04:23Z | 2015-10-13T21:03:11Z | null | 2015-10-13T21:03:11Z |
Fix docstring spelling | diff --git a/pandas/core/strings.py b/pandas/core/strings.py
index e73fa207152c1..7837fb60da9d6 100644
--- a/pandas/core/strings.py
+++ b/pandas/core/strings.py
@@ -193,7 +193,7 @@ def str_contains(arr, pat, case=True, flags=0, na=np.nan, regex=True):
See Also
--------
- match : analagous, but stricter, ... | "analagous" -> "analogous"
| https://api.github.com/repos/pandas-dev/pandas/pulls/10751 | 2015-08-04T21:32:38Z | 2015-08-05T06:44:58Z | 2015-08-05T06:44:58Z | 2015-08-05T06:45:09Z |
DOC: fix some doc build errors/warnings | diff --git a/doc/source/install.rst b/doc/source/install.rst
index 31fee45eb0266..aaa39dd383e2e 100644
--- a/doc/source/install.rst
+++ b/doc/source/install.rst
@@ -267,11 +267,11 @@ Optional Dependencies
installation.
* Google's `python-gflags <http://code.google.com/p/python-gflags/>`__
and `google-api-python-... | This should get the sphinx doc build again warning/error free (apart from the one handled in #10602)
| https://api.github.com/repos/pandas-dev/pandas/pulls/10749 | 2015-08-04T18:47:49Z | 2015-08-04T21:15:44Z | 2015-08-04T21:15:44Z | 2015-08-04T21:15:44Z |
Allow DateOffset addition with Series | diff --git a/doc/source/api.rst b/doc/source/api.rst
index a1284a3ff7bc9..f0c79fc7d567f 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -1444,6 +1444,7 @@ Conversion
DatetimeIndex.to_datetime
DatetimeIndex.to_period
+ DatetimeIndex.to_perioddelta
DatetimeIndex.to_pydatetime
DatetimeIndex... | Addresses #10699 - allowing relative offsets like `DateOffset(years=1)` to to be added to a `Series` containing datetimes for element-wise addition.
Previously only non-relative offsets that could be mapped to a time_delta (`Tick`, `Day`, etc) worked.
Some performance numbers are below - `Tick` based offsets should b... | https://api.github.com/repos/pandas-dev/pandas/pulls/10744 | 2015-08-04T04:31:26Z | 2015-08-13T13:07:42Z | 2015-08-13T13:07:42Z | 2015-08-19T00:50:58Z |
TST: test_packers.TestMsgpack checks for minimum structure and extra … | diff --git a/pandas/io/tests/test_packers.py b/pandas/io/tests/test_packers.py
index 33b7cc79083db..b71fd32a29e1e 100644
--- a/pandas/io/tests/test_packers.py
+++ b/pandas/io/tests/test_packers.py
@@ -532,14 +532,30 @@ class TestMsgpack():
http://stackoverflow.com/questions/6689537/nose-test-generators-inside-clas... | …keys
closes #10732
I wasn't able to reproduce the odd behavior. Let's see if this passes on Travis.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10743 | 2015-08-04T03:38:57Z | 2015-08-04T11:47:19Z | 2015-08-04T11:47:19Z | 2015-08-04T11:47:20Z |
ENH: Fixed DF.apply for functions returning a dict, #8735 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 9049d8de550d0..b6b55a92e774f 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -218,6 +218,8 @@ Other enhancements
- Support pickling of ``Period`` objects (:issue:`10439`)
+- ``DataFrame.apply`... | closes #8735
Previously, when the function argument to DataFrame.apply returned a dict, the reduction code would mistake its "values" property for the values of a Pandas Series, and return a Series of "values" instance methods. The new check ensures that the "values" property is an np.ndarray.
Previous behavior:
``... | https://api.github.com/repos/pandas-dev/pandas/pulls/10740 | 2015-08-03T20:05:56Z | 2015-08-28T18:17:41Z | null | 2015-08-28T18:17:41Z |
BUG: Fix dtypes order when ordering is different from original file in pandas.io.stata.read_stata | diff --git a/doc/source/api.rst b/doc/source/api.rst
index a1284a3ff7bc9..1cbe55ddbacb6 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -904,6 +904,8 @@ Reshaping, sorting, transposing
DataFrame.sort
DataFrame.sort_index
DataFrame.sortlevel
+ DataFrame.nlargest
+ DataFrame.nsmallest
Data... | This fixes http://stackoverflow.com/questions/31783392/pandas-adding-columns-to-filter-will-mess-with-data-structure
The dtypes of the DataFrame returned by `read_stata` have the same order as the original stata file, even if `columns` are specified with a different order.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10739 | 2015-08-03T19:25:04Z | 2015-08-06T12:17:29Z | null | 2015-08-06T12:17:42Z |
amend sample to return copy and align weight axis | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 71feddc1a8b7c..f45ed9eeeaeee 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -628,6 +628,8 @@ Bug Fixes
- Bug in ``stack`` when index or columns are not unique. (:issue:`10417`)
- Bug in setting ... | Two bug fixes:
- Makes sure to return copies, not views.
- makes sure if a separate series is passed as weights that the axis are aligned before arguments get converted into numpy arrays and handled positionally
closes #10736
| https://api.github.com/repos/pandas-dev/pandas/pulls/10738 | 2015-08-03T19:21:25Z | 2015-08-19T20:52:33Z | 2015-08-19T20:52:33Z | 2015-08-19T20:52:38Z |
DOC: to_datetime outdated example | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 1b5a4586e59e7..b00b1d2baaac3 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -208,21 +208,13 @@ Pass ``errors='coerce'`` to convert invalid data to ``NaT`` (not a time):
:okexcept:
# this is the default, raise w... | With the new default of `errors='raise'`, the following section in the docs is not fully correctly phrased anymore: http://pandas-docs.github.io/pandas-docs-travis/timeseries.html#invalid-data.
So I just removed that example of `to_datetime([1, '1'])` (as it now raises, which is less unexpected, and the new example a... | https://api.github.com/repos/pandas-dev/pandas/pulls/10733 | 2015-08-03T12:58:13Z | 2015-08-05T08:12:32Z | 2015-08-05T08:12:32Z | 2015-08-05T08:12:35Z |
TST: better testing for io/data | diff --git a/pandas/io/tests/test_data.py b/pandas/io/tests/test_data.py
index 7072031b09098..96bac2c45340b 100644
--- a/pandas/io/tests/test_data.py
+++ b/pandas/io/tests/test_data.py
@@ -291,13 +291,11 @@ def setUpClass(cls):
# aapl has monthlies
cls.aapl = web.Options('aapl', 'yahoo')
- to... | https://api.github.com/repos/pandas-dev/pandas/pulls/10731 | 2015-08-03T11:08:13Z | 2015-08-03T12:09:19Z | 2015-08-03T12:09:19Z | 2015-08-03T12:09:19Z | |
API: CategoricalIndex for value_counts | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 16c6c639a489e..87a3042061b16 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -457,6 +457,8 @@ Other API Changes
^^^^^^^^^^^^^^^^^
- Line and kde plot with ``subplots=True`` now uses default col... | Closes https://github.com/pydata/pandas/issues/10704
Changes `Categorical.value_counts` to return
a Series with a CategoricalIndex. Previously
the Series and an Index.
Just some random observations on the convenience of working with categoricals:
The code here could be simplified if
1. `Categorical.categories` was al... | https://api.github.com/repos/pandas-dev/pandas/pulls/10729 | 2015-08-03T02:26:59Z | 2015-08-04T17:38:52Z | 2015-08-04T17:38:52Z | 2015-08-18T12:44:38Z |
DOC: limit error traceback to one line for expected exceptions (GH10715) | diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst
index 850f59c2713eb..1888345e1055c 100644
--- a/doc/source/advanced.rst
+++ b/doc/source/advanced.rst
@@ -661,18 +661,14 @@ values NOT in the categories, similarly to how you can reindex ANY pandas index.
Reshaping and Comparision operations on a ``Cate... | Closes #10715
This gives you an output like
```
In [4]: s = pd.Series([1,3,5,np.nan,6,8])
In [5]: s.iloc[11]
---------------------------------------------------------------------------
IndexError: single positional indexer is out-of-bounds
```
for input
```
.. ipython:: python
:okexcept:
s = pd.Series([1,3,... | https://api.github.com/repos/pandas-dev/pandas/pulls/10727 | 2015-08-02T21:58:32Z | 2015-08-21T07:33:44Z | 2015-08-21T07:33:44Z | 2015-09-06T08:52:00Z |
API/WIP: .sorted | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 6b188deb9eb42..2f4fd860f270a 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -434,9 +434,8 @@ Reshaping, sorting
:toctree: generated/
Series.argsort
- Series.order
Series.reorder_levels
- Series.sort
+ Series.sort_values
Seri... | closes #9816
closes #8239
```
Changes to sorting API
^^^^^^^^^^^^^^^^^^^^^^
The sorting API has had some longtime inconsistencies. (:issue:`9816`,:issue:`8239`).
Here is a summary of the **prior** to 0.17.0 API
- ``Series.sort`` is **INPLACE** while ``DataFrame.sort`` returns a new object.
- ``Series.order`` retur... | https://api.github.com/repos/pandas-dev/pandas/pulls/10726 | 2015-08-02T17:00:55Z | 2015-08-21T14:02:20Z | 2015-08-21T14:02:20Z | 2015-08-22T20:23:48Z |
BUG: pd.unique should respect datetime64 and timedelta64 dtypes (GH9431) | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 9a9054fcf0489..16c6c639a489e 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -606,3 +606,4 @@ Bug Fixes
- Bug in vectorised setting of timestamp columns with python ``datetime.date`` and numpy ``d... | To fix [GH9431](https://github.com/pydata/pandas/issues/9431).
Previously `pd.unique` would return an array of `object` dtype when passed a 1D array, Series or Index with a `datetime64` or `timedelta64` dtype. This PR should remedy that behaviour.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10724 | 2015-08-02T12:05:21Z | 2015-08-03T22:03:11Z | 2015-08-03T22:03:11Z | 2015-08-04T17:58:00Z |
BUG: concat of Series w/o names #10698 | diff --git a/doc/source/merging.rst b/doc/source/merging.rst
index c62647010a131..5cb786d77cd1e 100644
--- a/doc/source/merging.rst
+++ b/doc/source/merging.rst
@@ -352,7 +352,24 @@ Passing ``ignore_index=True`` will drop all name references.
More concatenating with group keys
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Le... | closes #10698
Let the result of 'concat' to inherit the parent Series' names. The Series' name (if present) will be used as the resulting DataFrame column name. When only one of the Series has a valid name, the resulting DataFrame will inherit the name only, and use a column name for the other columns the column inde... | https://api.github.com/repos/pandas-dev/pandas/pulls/10723 | 2015-08-02T11:42:29Z | 2015-09-02T11:54:14Z | 2015-09-02T11:54:14Z | 2015-09-02T11:54:22Z |
Clarify docstring: Series.sort_index() creates new instance (rather than sorting in-place) | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 506aa1a6eb51e..3c4ccb131ffff 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1582,7 +1582,8 @@ def update(self, other):
def sort_index(self, ascending=True):
"""
- Sort object by labels (along an axis)
+ So... | https://api.github.com/repos/pandas-dev/pandas/pulls/10721 | 2015-08-01T20:42:22Z | 2015-08-01T21:00:21Z | null | 2015-08-01T21:14:03Z | |
DEPR: deprecate irow,icol,iget_value,iget in Series/DataFrame, #10711 | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 76e03ce70342f..2781ed170b889 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -1558,7 +1558,6 @@ application to columns of a specific data type.
DataFrameGroupBy.hist
DataFrameGroupBy.idxmax
DataFrameGroupBy.idxmin
- DataFrameGroupBy.ir... | closes #10711
| https://api.github.com/repos/pandas-dev/pandas/pulls/10719 | 2015-08-01T15:57:29Z | 2015-08-02T17:07:09Z | 2015-08-02T17:07:09Z | 2015-08-02T21:17:47Z |
BUG: Categorical doesn't show tzinfo properly | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 13d61957eea00..d7b16eda3495b 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -606,6 +606,9 @@ Bug Fixes
- Bug in ``read_stata`` when reading a file with a different order set in ``columns`` (:... | Closes #10713.
- [x] Check timedelta
- [x] Refactor not to import `DatetimeIndex` and `PeriodIndex` if possible.
- [x] Fix `categories` line break location
- [x] Check `Categorical` `Series` formatting
- [x] Check `Categorical` `DataFrame` formatting
- [x] Fix `CategoricalIndex` formatting
## CategoricalIndex problem... | https://api.github.com/repos/pandas-dev/pandas/pulls/10718 | 2015-08-01T14:48:50Z | 2015-08-08T19:43:55Z | 2015-08-08T19:43:55Z | 2015-08-08T19:44:00Z |
CLN: plotting cleanups for groupby plotting | diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py
index de35894b017be..1f799c23c5396 100644
--- a/pandas/tools/plotting.py
+++ b/pandas/tools/plotting.py
@@ -774,7 +774,12 @@ class MPLPlot(object):
data :
"""
- _kind = 'base'
+
+ @property
+ def _kind(self):
+ """Specify kind ... | Related to #8018. Because it touches lots of codes, I've split some cleanups required for #8018 which does NOT changes current functionality.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10717 | 2015-08-01T10:52:31Z | 2015-08-31T13:53:59Z | 2015-08-31T13:53:59Z | 2015-08-31T13:54:03Z |
BUG: Series.align with MultiIndex may be inverted | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index de2261a79da47..3f5976903418f 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -603,6 +603,8 @@ Bug Fixes
- Bug in line and kde plot cannot accept multiple colors when ``subplots=True`` (:issue:`989... | Closes #10665. Closes #10741.
I'm adding some more tests for `Index.join`, and found a skeptic behavior.
For `right` join, all levels / labels of right side remains (OK).
```
import pandas as pd
midx = pd.MultiIndex.from_product([[0, 1], [0, 1, 2]], names=['a', 'b'])
idx = pd.Index([1, 2 ,3], name='b')
idx.join(mid... | https://api.github.com/repos/pandas-dev/pandas/pulls/10716 | 2015-08-01T01:56:20Z | 2015-08-18T10:51:57Z | 2015-08-18T10:51:57Z | 2015-08-18T11:22:55Z |
updating account info | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index 6b91a3aa5b484..762656ba05bd6 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -83,7 +83,7 @@ for pandas data objects.
`Plotly <https://plot.ly/python>`__
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-`Plotly’s <https... | https://api.github.com/repos/pandas-dev/pandas/pulls/10714 | 2015-07-31T23:45:51Z | 2015-07-31T23:48:23Z | 2015-07-31T23:48:23Z | 2015-08-07T22:54:09Z | |
added axvlines_color parameter to parallel_coordinates | diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt
index 3ca56ecc00d36..f19da7d7ab5d8 100755
--- a/doc/source/whatsnew/v0.17.1.txt
+++ b/doc/source/whatsnew/v0.17.1.txt
@@ -25,6 +25,7 @@ Enhancements
objects for the ``filepath_or_buffer`` argument. (:issue:`11033`)
- ``DataFrame`` now us... | parallel_coordinates are in pandas.tools.plotting
'black' color was hard-coded for vertical lines, I suggest to make it an option
| https://api.github.com/repos/pandas-dev/pandas/pulls/10709 | 2015-07-31T05:04:05Z | 2015-11-13T17:13:47Z | null | 2015-11-13T17:13:48Z |
adding plotly to ecosystem | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index 26ff9ec536c45..6b91a3aa5b484 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -80,6 +80,10 @@ The `Vincent <https://github.com/wrobstory/vincent>`__ project leverages `Vega <
(that in turn, leverages `d3 <http://d3js.org/>`__... | https://api.github.com/repos/pandas-dev/pandas/pulls/10706 | 2015-07-30T18:08:28Z | 2015-07-30T21:19:39Z | 2015-07-30T21:19:39Z | 2015-07-31T23:48:38Z | |
ENH: Index optional pivot | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index c97f143cb63c2..4cf4c51f75fbb 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -110,6 +110,8 @@ Other enhancements
- ``pd.merge`` will now allow duplicate column names if they are not merged upon ... | Closes #3962.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10705 | 2015-07-30T16:45:26Z | 2015-07-31T11:14:36Z | 2015-07-31T11:14:36Z | 2015-07-31T18:14:04Z |
BUG: Bug in Index construction with a mixed list of tuples #10697) | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index aa8241e3cc272..c97f143cb63c2 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -367,7 +367,7 @@ Bug Fixes
- Bug in ``Index.drop_duplicates`` dropping name(s) (:issue:`10115`)
- Bug in ``pd.Series``... | closes #10697
| https://api.github.com/repos/pandas-dev/pandas/pulls/10703 | 2015-07-30T12:25:15Z | 2015-07-30T14:36:19Z | 2015-07-30T14:36:19Z | 2015-07-30T14:36:19Z |
ENH: Add the moment function as DataFrame and Series method WITH namespacing | diff --git a/pandas/stats/moments.py b/pandas/stats/moments.py
index 586d507b27493..70b6bcb5c4de9 100644
--- a/pandas/stats/moments.py
+++ b/pandas/stats/moments.py
@@ -122,7 +122,7 @@
When ignore_na is True (reproducing pre-0.15.0 behavior), weights are based on
relative positions. For example, the weights of x an... | This makes the usage of those methods more object oriented
Also, delete some trailing whitespaces.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10702 | 2015-07-30T10:47:07Z | 2015-11-15T16:29:49Z | null | 2015-11-15T16:29:49Z |
TST: fix usage of assert_produces_warning | diff --git a/pandas/io/tests/test_stata.py b/pandas/io/tests/test_stata.py
index cc9ab977241f9..ca05eda20b0a8 100644
--- a/pandas/io/tests/test_stata.py
+++ b/pandas/io/tests/test_stata.py
@@ -464,7 +464,7 @@ def test_timestamp_and_label(self):
data_label = 'This is a data file.'
with tm.ensure_clean(... | @jreback I just notices some tests were not using `assert_produces_warning` as a context manager, therefore these would never fail (you could put whatever in there).
I changed it to using `with`, as I don't think there is way to use that function not as a context?
@bashtage I also changed some of your tests. I am not... | https://api.github.com/repos/pandas-dev/pandas/pulls/10701 | 2015-07-30T09:21:07Z | 2015-07-31T07:23:04Z | 2015-07-31T07:23:04Z | 2015-07-31T07:23:04Z |
Allow interpolate() to fill backwards as well as forwards | diff --git a/doc/source/missing_data.rst b/doc/source/missing_data.rst
index 51293ca4240c6..96ae46621dca2 100644
--- a/doc/source/missing_data.rst
+++ b/doc/source/missing_data.rst
@@ -329,6 +329,10 @@ Interpolation
:meth:`~pandas.DataFrame.interpolate`, and :meth:`~pandas.Series.interpolate` have
revamped interp... | closes #9218
closes #10420
**Edit: changed approach, see the rest of the thread**
Currently, interpolate() has a "limit" kwarg that, when set to n,
prevents interpolated values from propagating more than n rows forward.
This change adds a "backward_limit" kwarg that, when set to n, prevents
interpolated values from... | https://api.github.com/repos/pandas-dev/pandas/pulls/10691 | 2015-07-28T19:26:37Z | 2015-09-01T12:04:25Z | 2015-09-01T12:04:25Z | 2015-09-15T16:39:18Z |
Empty subtypes of Index return their type, rather than Index | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 322f431a37a79..b50ac38d81ade 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -372,6 +372,7 @@ Bug Fixes
- Bug in ``pd.get_dummies`` with `sparse=True` not returning ``SparseDataFrame`` (:issue:`10... | Resolves #10596
Prior was in #10599 FYI
I think this has a PyTables error which I need to resolve
| https://api.github.com/repos/pandas-dev/pandas/pulls/10687 | 2015-07-28T15:13:49Z | 2015-07-28T21:44:23Z | null | 2015-07-28T22:15:32Z |
BUG: GH10581 where read_msgpack does not respect encoding | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 7e69a8044a305..7e4bd302a4f0a 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -172,6 +172,8 @@ Other enhancements
- ``drop_duplicates`` and ``duplicated`` now accept ``keep`` keyword to target fi... | Close #10581 by upgrading to `msgpack` 0.4.6
| https://api.github.com/repos/pandas-dev/pandas/pulls/10686 | 2015-07-28T07:11:55Z | 2015-08-18T11:09:49Z | 2015-08-18T11:09:49Z | 2015-08-18T11:09:58Z |
Fix Visual Studio 2015 compile errors | diff --git a/pandas/src/headers/math.h b/pandas/src/headers/math.h
index 8ccf11d07c3fe..34ad9f24a58f9 100644
--- a/pandas/src/headers/math.h
+++ b/pandas/src/headers/math.h
@@ -1,7 +1,7 @@
#ifndef _PANDAS_MATH_H_
#define _PANDAS_MATH_H_
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && (_MSC_VER < 1800)
#include <m... | Together with #10681 this allows building Pandas for Python 3.5b4 using Visual Studio 2015.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10683 | 2015-07-27T02:39:31Z | 2015-07-27T13:10:34Z | null | 2015-07-27T13:10:34Z |
Remove duplicate code | diff --git a/pandas/src/parser/tokenizer.h b/pandas/src/parser/tokenizer.h
index d3777e858b6ca..eef94e0616769 100644
--- a/pandas/src/parser/tokenizer.h
+++ b/pandas/src/parser/tokenizer.h
@@ -27,11 +27,7 @@ See LICENSE for the license
#define ERROR_INVALID_CHARS 3
#define ERROR_MINUS_SIGN 4
-#if defined(_MSC_... | Use pandas internal [stdint.h](https://github.com/pydata/pandas/blob/master/pandas/src/headers/stdint.h).
| https://api.github.com/repos/pandas-dev/pandas/pulls/10681 | 2015-07-27T02:19:49Z | 2015-07-27T13:10:49Z | null | 2015-07-27T13:11:20Z |
DOC: improve docs on iteration | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index aae931a4b8319..d415db88b9cb6 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1151,24 +1151,81 @@ parameter that is by default ``False`` and copies the underlying data. Pass
The Panel class has a related :meth:`~Panel.rename_axis` class... | As this comes up once in a while, I tried to improve/clarify the docs somewhat.
Further suggestions to add or make it clearer are welcome!
xref #10334
closes #7194
| https://api.github.com/repos/pandas-dev/pandas/pulls/10680 | 2015-07-26T23:14:34Z | 2015-08-02T21:46:24Z | 2015-08-02T21:46:24Z | 2015-08-02T21:46:24Z |
BUG: Use stable algorithm for _nanvar. | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 3f4a13a09e5e6..cafb7eb1d8446 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -923,3 +923,5 @@ Bug Fixes
- Bug in plotting functions may raise ``IndexError`` when plotted on ``GridSpec`` (:issue:`1... | closes #10242
This PR replaces the sum-of-squares algorithm used to compute the variance by a more stable algorithm. The algorithm here is essentially the same as used in numpy 1.8 and up, and I've added a TODO to replace the implementation with a direct call to numpy when that version is the default.
Somewhat counte... | https://api.github.com/repos/pandas-dev/pandas/pulls/10679 | 2015-07-26T18:00:31Z | 2015-09-04T12:15:22Z | null | 2015-09-04T19:14:29Z |
DEPR: add stacklevel to FutureWarnings (GH9584) | diff --git a/pandas/computation/align.py b/pandas/computation/align.py
index 9834dd1a9e7fc..b5f730378c3cf 100644
--- a/pandas/computation/align.py
+++ b/pandas/computation/align.py
@@ -101,7 +101,8 @@ def _align_core(terms):
'than an order of magnitude on term {1!r}, '
... | Closes #9584
| https://api.github.com/repos/pandas-dev/pandas/pulls/10676 | 2015-07-26T16:29:27Z | 2015-09-04T09:33:57Z | 2015-09-04T09:33:56Z | 2015-09-04T09:33:57Z |
BUG: #10645 in using MultiIndex.__contains__ | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 322f431a37a79..a5bd0dbe95808 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -404,4 +404,5 @@ Bug Fixes
- Bug in ``io.common.get_filepath_or_buffer`` which caused reading of valid S3 files to fail... | This PR fix a BUG #10645
@sinhrks would you review my PR?
| https://api.github.com/repos/pandas-dev/pandas/pulls/10675 | 2015-07-26T14:26:58Z | 2015-09-10T11:59:39Z | null | 2015-10-12T02:45:53Z |
API: #10636, changing default of to_datetime to raise, deprecating coerce in favor of errors | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index a07991d69d48b..1b5a4586e59e7 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -197,18 +197,30 @@ or ``format``, use ``to_datetime`` if these are required.
Invalid Data
~~~~~~~~~~~~
-Pass ``coerce=True`` to convert inva... | closes #10636
changes `to_timedelta` API as well to similar effect.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10674 | 2015-07-26T01:31:52Z | 2015-07-31T22:35:22Z | 2015-07-31T22:35:22Z | 2015-08-01T00:23:50Z |
read_sql/to_sql can accept database URI as con parameter | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index face3a1002bae..ff6759730da8f 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -36,6 +36,8 @@ New features
Other enhancements
^^^^^^^^^^^^^^^^^^
+- `read_sql` and `to_sql` can accept database URI... | It should fix https://github.com/pydata/pandas/issues/10654
| https://api.github.com/repos/pandas-dev/pandas/pulls/10666 | 2015-07-24T11:58:54Z | 2015-07-27T08:32:22Z | 2015-07-27T08:32:22Z | 2015-07-27T08:32:23Z |
Small doc update for Stata 118 support | diff --git a/doc/source/io.rst b/doc/source/io.rst
index d8b6a43f684f4..65f887288cc6d 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -3989,8 +3989,11 @@ missing values are represented as ``np.nan``. If ``True``, missing values are
represented using ``StataMissingValue`` objects, and columns containing miss... | https://api.github.com/repos/pandas-dev/pandas/pulls/10662 | 2015-07-23T14:13:10Z | 2015-07-24T23:09:30Z | 2015-07-24T23:09:30Z | 2015-11-12T23:44:01Z | |
BUG: #10565 Series.name lost in rolling_* funcions | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index d59b6120163ff..3c89bb3b78c07 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -348,8 +348,7 @@ Bug Fixes
- Bug in ``ExcelReader`` when worksheet is empty (:issue:`6403`)
- Bug in ``Table.select_co... | Addresses #10565
| https://api.github.com/repos/pandas-dev/pandas/pulls/10659 | 2015-07-23T00:21:58Z | 2015-07-23T11:16:39Z | 2015-07-23T11:16:39Z | 2015-08-17T23:42:53Z |
BUG: GH9428 promote string dtype to object dtype for empty DataFrame | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 8048b5fea9e66..47b331adea362 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -395,4 +395,5 @@ Bug Fixes
- Bug in `read_msgpack` where DataFrame to decode has duplicate column names (:issue:`9618`)... | Addresses [GH9428](https://github.com/pydata/pandas/issues/9428).
When constructing an empty DataFrame with a string dtype (e.g. `str`, `np.unicode_`, `U5`), the dtype is now promoted to the `object` dtype. This is now consistent with Series and avoids the confusing behaviour described in the original issue.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10658 | 2015-07-22T22:13:01Z | 2015-07-25T14:52:12Z | 2015-07-25T14:52:12Z | 2015-07-27T20:45:02Z |
BUG: #10652 google-api-python-client minimum version check | diff --git a/ci/requirements-2.7.txt b/ci/requirements-2.7.txt
index 951c8798bef15..d2a3a8ea3cf03 100644
--- a/ci/requirements-2.7.txt
+++ b/ci/requirements-2.7.txt
@@ -22,4 +22,4 @@ html5lib=1.0b2
beautiful-soup=4.2.1
httplib2=0.8
python-gflags=2.0
-google-api-python-client=1.2
+google-api-python-client=1.2.0
diff ... | Fixes [bug](https://github.com/pydata/pandas/issues/10652) with version check for google-api-python-client
| https://api.github.com/repos/pandas-dev/pandas/pulls/10656 | 2015-07-22T19:20:42Z | 2015-09-13T16:16:13Z | null | 2015-09-13T16:16:13Z |
BUG: to_dense now preserves dtype in SparseArray | diff --git a/pandas/sparse/array.py b/pandas/sparse/array.py
index b765fdb8d67be..a5a911700577d 100644
--- a/pandas/sparse/array.py
+++ b/pandas/sparse/array.py
@@ -242,7 +242,7 @@ def values(self):
"""
Dense values
"""
- output = np.empty(len(self), dtype=np.float64)
+ output =... | Also fixes values and get_values.
fixes #10648
| https://api.github.com/repos/pandas-dev/pandas/pulls/10655 | 2015-07-22T17:23:09Z | 2015-11-10T01:21:15Z | null | 2022-10-13T00:16:43Z |
ENH: allow gzip de-compression for files specified by a url | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index b2a1e10469a0f..f0dd787654e67 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -29,6 +29,7 @@ New features
- SQL io functions now accept a SQLAlchemy connectable. (:issue:`7877`)
- Enable writing... | Address #8685 . The file in the test `test_url_gz` currently points to my fork to demonstrate that the tests pass, but should be changed to point to the real pydata master after merging.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10649 | 2015-07-21T22:01:53Z | 2015-07-24T18:43:40Z | 2015-07-24T18:43:40Z | 2015-07-24T19:27:54Z |
BUG: (GH10408, GH10412) in vectorised setting of timestamp columns | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 8e03fe02bcc97..447a42c43d24e 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -393,5 +393,6 @@ Bug Fixes
- Bug in operator equal on Index not being consistent with Series (:issue:`9947`)
- Reading... | closes #10408
closes #10412
Fix setting values with python datetime.date and numpy datetime64.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10644 | 2015-07-21T07:26:53Z | 2015-07-24T13:50:18Z | 2015-07-24T13:50:18Z | 2015-07-24T13:50:22Z |
CLN: Remove duplicate implementations of bind_method; typo in compat | diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py
index 20d71de28d2e2..2ac81f15a6d6c 100644
--- a/pandas/compat/__init__.py
+++ b/pandas/compat/__init__.py
@@ -14,7 +14,7 @@
* Uses the original method if available, otherwise uses items, keys, values.
* types:
* text_type: unicode in Python 2, ... | #10566 removed one of the implementations of `bind_method` and fixed a typo
| https://api.github.com/repos/pandas-dev/pandas/pulls/10643 | 2015-07-21T06:17:08Z | 2015-07-21T11:37:51Z | 2015-07-21T11:37:51Z | 2015-07-21T11:37:54Z |
BUG: Fixed typo-related bug to resolve #9266 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 206c5e2e22711..8b8ea0c38f613 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -390,3 +390,5 @@ Bug Fixes
- Reading "famafrench" data via ``DataReader`` results in HTTP 404 error because of the webs... | Resubmitting pull request #10576 to resolve issue #9266 .
@jreback — This should be good to merge.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10642 | 2015-07-21T06:13:46Z | 2015-07-21T10:53:01Z | null | 2015-07-21T17:33:46Z |
ENH: allow duplicate column names if they are not merged upon | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index b2a1e10469a0f..66edd6216e83e 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -80,6 +80,8 @@ Other enhancements
- ``regex`` argument to ``DataFrame.filter`` now handles numeric column names inste... | Currently merge columns are not automatically inferred when there are duplicate column names. Instead a `MergeError` is raised. This pull request enables merging with duplicate column names as long as they are not merged upon.
```
df = DataFrame({'key': [1, 2, 3],
'v1': [4, 5, 6],
'v2':... | https://api.github.com/repos/pandas-dev/pandas/pulls/10639 | 2015-07-20T13:20:42Z | 2015-07-28T10:08:42Z | null | 2015-07-28T10:08:42Z |
CLN: Make ufunc works for Index | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index c0b26ad0c03d7..f88e5c0a11f9f 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -309,6 +309,8 @@ Other enhancements
- ``DataFrame.apply`` will return a Series of dicts if the passed function return... | closes #9966, #9974 (PR)
I understand these are never used because `Index` is no longer the subclass of `np.array`. Correct?
- [x] Add tests for ~~all~~ almost ufuncs
- http://docs.scipy.org/doc/numpy/reference/ufuncs.html
- ~~CategoricalIndex~~: Needs to be done separately to fix `Categorical`, because number of ca... | https://api.github.com/repos/pandas-dev/pandas/pulls/10638 | 2015-07-20T13:16:06Z | 2015-09-06T16:31:07Z | 2015-09-06T16:31:07Z | 2015-09-06T17:31:30Z |
BUG: made behavior of operator equal for CategoricalIndex consistent,… | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index d59b6120163ff..d311e9e8c7338 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -155,7 +155,7 @@ in the method call.
Changes to Index Comparisons
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Operator equal on In... | … improved unit tests
this is a follow-up to https://github.com/pydata/pandas/pull/9947
@jreback
| https://api.github.com/repos/pandas-dev/pandas/pulls/10637 | 2015-07-20T13:09:31Z | 2015-07-24T13:44:14Z | 2015-07-24T13:44:14Z | 2015-07-24T13:46:23Z |
Remove Categorical.name | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index b2a1e10469a0f..75314debe4c63 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -270,6 +270,7 @@ Other API Changes
- Enable serialization of lists and dicts to strings in ExcelWriter (:issue:`8188`)
... | Probably work in progress... Up to now only tests locally with 'not slow' (whoever wrote `nosetests --with-id --failed` should be praised! :-) )
See here: https://github.com/pydata/pandas/issues/10482
| https://api.github.com/repos/pandas-dev/pandas/pulls/10632 | 2015-07-19T21:29:41Z | 2015-07-26T01:54:21Z | 2015-07-26T01:54:21Z | 2015-07-26T01:54:28Z |
TST: windows compat for testing / msgpack | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 8c582f2618882..d703fa7bb54a1 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -370,7 +370,7 @@ Bug Fixes
- Bug in ``DatetimeIndex`` and ``PeriodIndex.value_counts`` resets name from its result, but... | - skipping a couple of parsing routines that cause odd test failures on windows
- msgpack compat for windows (not tested before, prob not working correctly). Slight internal API change where writing the `dtype.name` rather than `dtype.num`, but back-compat is ok on this. (and forward compat is better).
- skipping a bug... | https://api.github.com/repos/pandas-dev/pandas/pulls/10630 | 2015-07-19T20:26:50Z | 2015-07-21T12:39:44Z | 2015-07-21T12:39:43Z | 2015-07-21T12:39:44Z |
DOC Add more examples to Series.Resample docstring | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 273c444b30b80..ce6e66c4bc209 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3274,7 +3274,107 @@ def resample(self, rule, how=None, axis=0, fill_method=None,
For frequencies that evenly subdivide 1 day, the "origin" of ... | Partial fix for https://github.com/pydata/pandas/issues/5023
flake8 doesn't do a very good job at checking code in the docstrings for PEP8 compliance, so I'm just eyeballing it at the moment and my PEP8 knowledge leaves something to be desired. Apologies if I missed something really obvious.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10628 | 2015-07-19T10:16:42Z | 2015-09-01T12:07:44Z | 2015-09-01T12:07:44Z | 2015-09-01T12:08:42Z |
BUG: GH10536 in concat for SparseSeries | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index b2a1e10469a0f..52e4c1f4e7d03 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -388,3 +388,5 @@ Bug Fixes
- Reading "famafrench" data via ``DataReader`` results in HTTP 404 error because of the webs... | To address #10536, but it's clearly not enough. What should be done for `SparseSeries` of different `kind`s and different `fill` values?
| https://api.github.com/repos/pandas-dev/pandas/pulls/10626 | 2015-07-19T06:54:19Z | 2015-11-10T01:27:48Z | null | 2023-05-11T01:13:05Z |
BUG: Fix issue with incorrect groupby handling of NaT | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 31b6bb0d5575d..4acd77222efd7 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -865,4 +865,5 @@ Bug Fixes
- Bug in ``to_json`` which was causing segmentation fault when serializing 0-rank ndarray (:... | closes #10590
For groupby the time stamps gets converted to integervalue `tslib.iNaT`
which is -9223372036854775808. The aggregation is then done using this
value with incorrect result as a consequence. The solution proposed here
is to replace its value by np.nan in case it is a `datetime64[ns]`
| https://api.github.com/repos/pandas-dev/pandas/pulls/10625 | 2015-07-19T06:51:30Z | 2015-09-03T13:09:57Z | 2015-09-03T13:09:57Z | 2016-02-14T22:15:10Z |
Very minor refactoring and edits to code comments | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 08fc8483762ab..57c1667dca0c3 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -52,7 +52,7 @@
with open("index.rst") as f:
- lines = f.readlines()
+ index_rst_lines = f.readlines()
# only include the slow autosummary feature if we're bui... | Just some miscellaneous improvements on things that tripped me up a bit.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10622 | 2015-07-19T03:10:37Z | 2015-07-28T11:03:50Z | null | 2015-07-28T17:42:19Z |
Drop & insert on subtypes of index return their subtypes | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index c947758b8e8b1..f9888137d096b 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -401,4 +401,5 @@ Bug Fixes
- Bug in ``io.common.get_filepath_or_buffer`` which caused reading of valid S3 files to fail... | Current behavior:
``` python
In [32]:
period_index=pd.PeriodIndex(start='2015-01-01',end='2015-01-07',freq='B')
period_index
Out[32]:
PeriodIndex(['2015-01-01', '2015-01-02', '2015-01-05', '2015-01-06',
'2015-01-07'],
dtype='int64', freq='B')
In [33]:
period_index.drop(period_index[:2])
Out[3... | https://api.github.com/repos/pandas-dev/pandas/pulls/10620 | 2015-07-19T01:46:06Z | 2015-07-28T10:05:34Z | null | 2015-07-28T14:47:17Z |
Fix bug in outer_indexer where the special case of an empty right array resulted in bogus return data. | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 83e5ec5b1d107..610a1dbc65c6e 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -389,6 +389,7 @@ Bug Fixes
- Bug in ``MultiIndex.get_level_values`` including ``Categorical`` raises ``AttributeError``... | Fixes bug described in issue #10618.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10619 | 2015-07-19T00:11:26Z | 2015-07-30T15:49:15Z | 2015-07-30T15:49:15Z | 2015-07-31T06:42:06Z |
support sql transactions | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index ef8360f0ff459..f0f8897db3f26 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -62,7 +62,11 @@ def compile_big_int_sqlite(type_, compiler, **kw):
if _SQLALCHEMY_INSTALLED:
import sqlalchemy
- return isinstance(con, sqlalchemy.engine.Con... | this allows the `con` argument of `pd.read_sql`/`pd.read_sql_query` to be a sqlalchemy [`Session`](http://docs.sqlalchemy.org/en/rel_1_0/orm/session.html) object.
this allows for the use of temporary tables.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10617 | 2015-07-18T20:59:43Z | 2015-07-20T03:21:57Z | null | 2015-07-20T05:37:35Z |
PERF: Improve perf of to_datetime with ISO format | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 6ab299eb70eb5..206c5e2e22711 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -328,6 +328,7 @@ Performance Improvements
- Significantly improved performance of indexing ``MultiIndex`` with slicers ... | Closes #10178
Closes #8154
Using the example data from the issue:
```
In [2]: df = DataFrame({'date_text':["2015-05-18" for i in range(10**6)]})
```
Before:
```
In [3]: %timeit pd.to_datetime(df['date_text'],format="%Y-%m-%d", box=False).values.view('i8')/10**9
1 loops, best of 3: 3.14 s per loop
In [4]: %timeit p... | https://api.github.com/repos/pandas-dev/pandas/pulls/10615 | 2015-07-18T17:34:33Z | 2015-07-20T23:24:49Z | 2015-07-20T23:24:49Z | 2015-10-06T03:19:45Z |
Extended docs on numba | diff --git a/doc/source/enhancingperf.rst b/doc/source/enhancingperf.rst
index 4ada4d4bbdfe5..456ac5e79ac4b 100644
--- a/doc/source/enhancingperf.rst
+++ b/doc/source/enhancingperf.rst
@@ -307,6 +307,10 @@ Numba works by generating optimized machine code using the LLVM compiler infrast
You will need to install `... | Added more explicit note about the fact numba does not yet recognize pandas objects so one must always use `.values`, and added example of `numba.vectorize`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10614 | 2015-07-18T04:40:51Z | 2015-07-22T10:52:51Z | 2015-07-22T10:52:51Z | 2015-07-22T10:52:57Z |
ENH: add StataReader context manager to ensure closing of the path | diff --git a/pandas/io/stata.py b/pandas/io/stata.py
index 53f2ff455d32e..db9362c5c821e 100644
--- a/pandas/io/stata.py
+++ b/pandas/io/stata.py
@@ -949,6 +949,21 @@ def __init__(self, path_or_buf, convert_dates=True,
self._read_header()
+ def __enter__(self):
+ """ enter context manager """
+ ... | tests were not closing on windows properly
| https://api.github.com/repos/pandas-dev/pandas/pulls/10613 | 2015-07-17T23:51:25Z | 2015-07-18T15:00:58Z | 2015-07-18T15:00:58Z | 2015-07-18T15:00:58Z |
TST: test_read_famafrench fails with HTTP 404 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index e77532b2fe432..5e5b906be3433 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -327,3 +327,5 @@ Bug Fixes
- Bug in ``Series.plot(kind='hist')`` Y Label not informative (:issue:`10485`)
- Bug in o... | Closes #10591. The same fix as pydata/pandas-datareader#53.
Though it is not a bug, added it to the bug section because users likely to check it when they meet 404.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10609 | 2015-07-17T16:40:37Z | 2015-07-17T21:03:49Z | 2015-07-17T21:03:49Z | 2015-07-17T21:03:53Z |
DOC: 9789 Added missing letter, fixed link and Examples formatting. | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index df788f806eda6..3e86527c3ec63 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -167,9 +167,10 @@ class Grouper(object):
groupby key, which selects the grouping column of the target
level : name/number, defaults to None
... | Fix for https://github.com/pydata/pandas/issues/9789.
How do you feel about direct URLs in the doctrings?
I saw them in a few other docstrings. Pandas maintainers, any preferences?
Still need to fix the Examples at the bottom of the page.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10605 | 2015-07-16T20:38:02Z | 2015-07-21T11:40:02Z | 2015-07-21T11:40:02Z | 2015-07-21T11:40:06Z |
ENH: More permissive S3 reading | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 6ab299eb70eb5..b6e166619c1e8 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -389,3 +389,5 @@ Bug Fixes
- Reading "famafrench" data via ``DataReader`` results in HTTP 404 error because of the webs... | When calling `get_bucket`, boto will by default try to establish that the S3 bucket exists by listing all of the keys that exist in it. This behavior is controlled by the "validate" keyword, which defaults to True. If your access key doesn't have permission to read everything in a bucket (even if you do have permission... | https://api.github.com/repos/pandas-dev/pandas/pulls/10604 | 2015-07-16T19:33:45Z | 2015-07-21T12:59:38Z | 2015-07-21T12:59:38Z | 2015-07-21T12:59:42Z |
BUG: Fix issue with old-style usage in convert_objects | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index ba4e8b0c88358..e363ab8e68408 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3,6 +3,7 @@
import operator
import weakref
import gc
+
import numpy as np
import pandas.lib as lib
@@ -27,6 +28,7 @@
from pandas.util.decorators im... | Fix to temporary allow passing 'coerce' to variables
closes #10601
| https://api.github.com/repos/pandas-dev/pandas/pulls/10602 | 2015-07-16T15:00:18Z | 2015-09-06T17:14:50Z | 2015-09-06T17:14:50Z | 2016-02-16T16:30:00Z |
DOC: some formatting fixes in whatsnew | diff --git a/doc/source/whatsnew/v0.11.0.txt b/doc/source/whatsnew/v0.11.0.txt
index befdf848ad23b..50b74fc5af090 100644
--- a/doc/source/whatsnew/v0.11.0.txt
+++ b/doc/source/whatsnew/v0.11.0.txt
@@ -103,6 +103,7 @@ Conversion
Mixed Conversion
.. ipython:: python
+ :okwarning:
df3['D'] = '1.'
df3['E'] ... | https://api.github.com/repos/pandas-dev/pandas/pulls/10600 | 2015-07-16T09:02:32Z | 2015-07-17T13:46:29Z | 2015-07-17T13:46:29Z | 2015-07-18T14:51:28Z | |
Empty subtypes of Index return their type, rather than Index | Resolves #10596
| https://api.github.com/repos/pandas-dev/pandas/pulls/10599 | 2015-07-16T00:25:13Z | 2015-07-24T07:34:42Z | null | 2015-07-24T07:34:42Z | |
Improve categorical concat speed by ~20x | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index e77532b2fe432..39ed153376e66 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -276,6 +276,7 @@ Performance Improvements
- 8x improvement in ``timedelta64`` and ``datetime64`` ops (:issue:`6755`)
-... | closes #10587
before (current master):
``` python
In [1]: s = pd.Series(list('aabbcd')*1000000).astype('category')
In [2]: timeit pd.concat([s,s])
1 loops, best of 3: 573 ms per loop
```
after (this PR):
``` python
In [1]: s = pd.Series(list('aabbcd')*1000000).astype('category')
In [2]: timeit pd.concat([s,s])
10... | https://api.github.com/repos/pandas-dev/pandas/pulls/10597 | 2015-07-15T23:38:26Z | 2015-07-17T13:05:06Z | 2015-07-17T13:05:06Z | 2015-07-17T13:05:22Z |
DOC-10371 Add note regarding supported interpolation methods for Series/DF | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 1656b306a0ddb..c792309e83ecb 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2876,6 +2876,9 @@ def interpolate(self, method='linear', axis=0, limit=None, inplace=False,
"""
Interpolate values according to different... | Closes #10371
Suggested improvement for https://github.com/pydata/pandas/issues/10371
| https://api.github.com/repos/pandas-dev/pandas/pulls/10593 | 2015-07-15T22:24:57Z | 2015-07-15T23:36:26Z | 2015-07-15T23:36:26Z | 2015-07-16T08:28:28Z |
DOC: Small improvement to convert_objects doc | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index f739d89295ac1..6c6fda48fb649 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1528,12 +1528,14 @@ object conversion
:ref:`API changes <whatsnew_0170.api_breaking.convert_objects>`
for more details.
-:meth:`~DataFrame.convert_... | Fix small issues in convert_objects doc
[skip ci]
| https://api.github.com/repos/pandas-dev/pandas/pulls/10589 | 2015-07-15T21:09:35Z | 2015-07-15T23:37:23Z | 2015-07-15T23:37:23Z | 2016-02-16T16:30:00Z |
Fixed bug where read_csv ignores dtype arg if input is empty. | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 77adbfc41b97a..9672066197969 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -357,7 +357,8 @@ Bug Fixes
- Bug in ``DatetimeIndex`` and ``PeriodIndex.value_counts`` resets name from its result, but... | The `CParser` implementation for `pd.read_csv` ignores argument `dtype` if the input is empty. This pull request fixes this so that a DataFrame with the expected column types is returned.
``` Python
import pandas as pd
import c... | https://api.github.com/repos/pandas-dev/pandas/pulls/10577 | 2015-07-15T06:38:56Z | 2015-07-18T11:20:37Z | 2015-07-18T11:20:37Z | 2015-07-18T11:20:49Z |
BUG: Fix typo-related bug to resolve #9266 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 2dbed08aa02f3..592855cc89f3b 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -135,8 +135,13 @@ Bug Fixes
- Bug in ``DatetimeIndex`` and ``PeriodIndex.value_counts`` resets name from its result, bu... | closes #9266
Tried replicating the test case provided in the original issue. Let me know if it needs any changes or fixes.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10576 | 2015-07-15T04:31:58Z | 2015-07-21T05:27:32Z | null | 2015-07-21T06:09:49Z |
Add Python 3 support and optional parameter "silent" for read_gbq | diff --git a/pandas/io/gbq.py b/pandas/io/gbq.py
index 06ad8827a5642..87157205591a2 100644
--- a/pandas/io/gbq.py
+++ b/pandas/io/gbq.py
@@ -15,9 +15,6 @@
def _check_google_client_version():
- if compat.PY3:
- raise NotImplementedError("Google's libraries do not support Python 3 yet")
-
try:
... | Google's libraries support Python 3 since version 1.4.0, so we could add support for Python 3 in read_gbq method.
Also it is not always useful to see "Job not yet complete" printings, so I've added optional parameter that allows disable it.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10572 | 2015-07-14T22:21:28Z | 2015-09-14T19:41:30Z | null | 2015-09-15T01:12:12Z |
COMPAT: Allow multi-indexes to be written to excel | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 7e69a8044a305..76efa6592877e 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -501,6 +501,7 @@ Other API Changes
- Enable serialization of lists and dicts to strings in ExcelWriter (:issue:`8188`)
... | (Even though they cannot be read back in)
Closes #10564
| https://api.github.com/repos/pandas-dev/pandas/pulls/10570 | 2015-07-14T18:12:46Z | 2015-08-20T20:33:14Z | 2015-08-20T20:33:14Z | 2016-03-31T15:59:29Z |
ERR: Boolean comparisons of a Series vs None will now be equivalent to null comparisons | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 45f1412c65e3d..c7e08910a5924 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -34,6 +34,7 @@ New features
Other enhancements
^^^^^^^^^^^^^^^^^^
+
- Enable `read_hdf` to be used without specifyi... | xref, #1079
numpy 1.10 shows a deprecation warning for this. this should eliminate a bunch of these.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10569 | 2015-07-14T17:43:09Z | 2015-07-17T13:58:58Z | 2015-07-17T13:58:58Z | 2015-07-17T14:46:09Z |
ENH: Added DataFrame.round and associated tests | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 2f4fd860f270a..38c2c1091469b 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -853,6 +853,7 @@ Computations / Descriptive Stats
DataFrame.prod
DataFrame.quantile
DataFrame.rank
+ DataFrame.round
DataFrame.sem
DataFrame.skew
... | I've found myself doing a lot of `DataFrame.to_latex` because I'm using pandas to write an academic paper.
I'm constantly messing about with the number of decimal places displayed by doing `np.round(df, 2)` so thought this flexible `round`, with different numbers of decimals per column, should be part of the `DataFram... | https://api.github.com/repos/pandas-dev/pandas/pulls/10568 | 2015-07-14T16:34:04Z | 2015-09-03T13:41:10Z | 2015-09-03T13:41:10Z | 2015-09-03T13:45:36Z |
BUG: #8243 Change unary - to ~. Fixes numpy warning in ols. | diff --git a/pandas/stats/ols.py b/pandas/stats/ols.py
index 9d22068c1612f..e1951135914e9 100644
--- a/pandas/stats/ols.py
+++ b/pandas/stats/ols.py
@@ -818,7 +818,7 @@ def _calc_betas(self, x, y):
betas[i] = math.solve(xx, xy)
- mask = -np.isnan(betas).any(axis=1)
+ mask = ~np.isnan(beta... | https://api.github.com/repos/pandas-dev/pandas/pulls/10562 | 2015-07-13T17:16:49Z | 2015-08-16T00:04:19Z | null | 2015-08-18T13:47:43Z | |
DOC: consistent imports (GH9886) part IV | diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst
index bb424e29cfc21..acddf1bb3fe30 100644
--- a/doc/source/groupby.rst
+++ b/doc/source/groupby.rst
@@ -6,18 +6,16 @@
import numpy as np
np.random.seed(123456)
- from pandas import *
- options.display.max_rows=15
- randn = np.random.randn
... | Further work on #9886
| https://api.github.com/repos/pandas-dev/pandas/pulls/10561 | 2015-07-13T07:53:35Z | 2015-07-13T13:12:02Z | 2015-07-13T13:12:02Z | 2015-07-13T13:12:02Z |
BUG: pd.eval with numexpr engine coerces 1 element numpy array to scalar | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index b2a1e10469a0f..6ab299eb70eb5 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -366,6 +366,7 @@ Bug Fixes
- Bug that caused segfault when resampling an empty Series (:issue:`10228`)
- Bug in ``Da... | Closes #10546. Used `assert_numpy_atray_equivalent` to guarantee array comparison, not scalar. This should be prior to #10542 and being changed to use `assert_numpy_array_equal` in #10542.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10558 | 2015-07-12T21:35:36Z | 2015-07-20T21:19:08Z | 2015-07-20T21:19:08Z | 2015-07-20T21:19:12Z |
Pickle subclass metadata | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 05b69bae42c28..939a5b9dd1d42 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -51,6 +51,7 @@ Other API Changes
- Enable writing Excel files in :ref:`memory <_io.excel_writing_buffer>` using StringI... | Fixes #10553
| https://api.github.com/repos/pandas-dev/pandas/pulls/10557 | 2015-07-12T20:17:27Z | 2015-07-13T02:40:09Z | 2015-07-13T02:40:09Z | 2015-07-13T11:31:29Z |
ENH: Added functionality in resample to resolve #10530 | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index 70d616ca72c1b..643226b84baff 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -94,6 +94,8 @@ Other enhancements
- Enable `read_hdf` to be used without specifying a key when the HDF file contains ... | closes #10530
I'm not 100% sure that I implemented this per the documentation or that my tests are complete but I'd be glad to make any necessary changes.
| https://api.github.com/repos/pandas-dev/pandas/pulls/10543 | 2015-07-11T04:41:10Z | 2015-08-15T22:41:23Z | null | 2015-08-15T22:41:23Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.