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 |
|---|---|---|---|---|---|---|---|
Fix TimedeltaIndex +/- offset array | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index a62a737fbba31..389d167437909 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -308,7 +308,7 @@ Conversion
- Bug in :class:`WeekOfMonth` and class:`Week` where addition and subtraction did not roll ... | No issue specific to this, but analogus to #18849. There is a checkbox for this in #18824.
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/19095 | 2018-01-05T18:21:32Z | 2018-01-07T15:08:31Z | 2018-01-07T15:08:31Z | 2018-01-07T17:29:13Z |
TST: Finish groupby aggregate cleanup | diff --git a/pandas/tests/groupby/aggregate/test_aggregate.py b/pandas/tests/groupby/aggregate/test_aggregate.py
index caf2365a54ec8..7cc6c2fa7b88c 100644
--- a/pandas/tests/groupby/aggregate/test_aggregate.py
+++ b/pandas/tests/groupby/aggregate/test_aggregate.py
@@ -10,285 +10,298 @@
import pandas as pd
from pand... | Continuation of #18931
* Converted class-based setup fixtures to pytest fixtures
* Consolidated all imports at the top of the file
`test_aggregate_item_by_item` has an unused DataFrame in the test so cleaned that up as well
Please let me know if you need me to make any changes. | https://api.github.com/repos/pandas-dev/pandas/pulls/19094 | 2018-01-05T17:12:52Z | 2018-01-05T20:41:20Z | 2018-01-05T20:41:20Z | 2018-01-05T20:55:53Z |
TST: Add to_csv test when writing the single column CSV | diff --git a/pandas/tests/io/formats/test_to_csv.py b/pandas/tests/io/formats/test_to_csv.py
index e12a7196dce6b..dfa3751bff57a 100644
--- a/pandas/tests/io/formats/test_to_csv.py
+++ b/pandas/tests/io/formats/test_to_csv.py
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
+import sys
import numpy as np
import pandas as pd... | - [x] closes #18676
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/19091 | 2018-01-05T05:06:42Z | 2018-02-11T21:11:11Z | 2018-02-11T21:11:11Z | 2018-02-11T21:11:31Z |
TST: Avoid skipping common indexes tests | diff --git a/pandas/tests/indexes/interval/test_interval_new.py b/pandas/tests/indexes/interval/test_interval_new.py
index c8b30e19daa02..a0d11db46d316 100644
--- a/pandas/tests/indexes/interval/test_interval_new.py
+++ b/pandas/tests/indexes/interval/test_interval_new.py
@@ -4,14 +4,13 @@
import numpy as np
from p... | Closes https://github.com/pandas-dev/pandas/issues/19083 | https://api.github.com/repos/pandas-dev/pandas/pulls/19085 | 2018-01-04T20:50:01Z | 2018-01-05T00:24:21Z | 2018-01-05T00:24:21Z | 2018-02-22T15:27:33Z |
DOC: Add information on kind parameter to resample docstring | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 1ab7c50d86c98..2b5e4b912247e 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -5724,6 +5724,10 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None,
convention : {'start', 'end', 's', 'e'}
... | xref #5023
When working on another issue I couldn't find any information in the ``resample`` [docstring](https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.resample.html) on the ``kind`` parameter so I added it. There was some relevant information in the resample [section](http://pandas.pydata.o... | https://api.github.com/repos/pandas-dev/pandas/pulls/19084 | 2018-01-04T20:36:59Z | 2018-01-05T00:53:20Z | 2018-01-05T00:53:20Z | 2018-01-06T00:19:21Z |
DOC: Spellcheck of merging.rst, reshaping.rst and timeseries.rst | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index bd49b5b7c9b32..55c26e2186344 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -2220,7 +2220,7 @@ For example, to select ``bool`` columns:
df.select_dtypes(include=[bool])
-You can also pass the name of a dtype in the `numpy dtype ... | This PR is a continuation of my reading through the docs, see #19017, #18973, #18948, #18941.
The changes are:
* In `merging.rst`, `reshaping.rst` and `timeseries.rst`:
* Function references as links
* Backticks ` `` ` around Series, DataFrame
* Minor rephrasing of sentences, spelling, etc
* Replaced some... | https://api.github.com/repos/pandas-dev/pandas/pulls/19081 | 2018-01-04T18:57:32Z | 2018-01-05T00:32:05Z | 2018-01-05T00:32:04Z | 2018-01-05T00:33:03Z |
STYLE: deprecation linting | diff --git a/pandas/core/panel.py b/pandas/core/panel.py
index 1937a57939c87..1c401c4854306 100644
--- a/pandas/core/panel.py
+++ b/pandas/core/panel.py
@@ -34,7 +34,7 @@
from pandas.core.ops import _op_descriptions
from pandas.core.series import Series
from pandas.core.reshape.util import cartesian_product
-from pa... | xref #19067 | https://api.github.com/repos/pandas-dev/pandas/pulls/19079 | 2018-01-04T16:47:02Z | 2018-01-04T17:25:44Z | 2018-01-04T17:25:44Z | 2018-01-04T17:25:45Z |
str.extractall with no match returns appropriate MultIndex | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 6a48abb6c6592..a692d1e60fd24 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -325,7 +325,7 @@ Indexing
- Bug in indexing non-scalar value from ``Series`` having non-unique ``Index`` will return va... | Relates and fixes issue #19034. It's a small fix which creates empty MultiIndex instead of Index, with appropriate names, when `str.extractall` doesn't find any matches. Also, a related test in `pandas.tests.test_strings` has been updated to reflect the expected result. | https://api.github.com/repos/pandas-dev/pandas/pulls/19075 | 2018-01-04T13:16:39Z | 2018-01-05T19:13:44Z | 2018-01-05T19:13:44Z | 2018-01-05T21:30:29Z |
REF: codes-based MultiIndex engine | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 246eab386b2ab..efb4707649f08 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -380,6 +380,7 @@ Performance Improvements
- Improved performance of ``DatetimeIndex`` and ``Series`` arithmetic operati... |
closes #18519
closes #18818
closes #18520
closes #18485
closes #15994
closes #19086
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This PR provides a cleaner and more robust ``MultiIndex`` engine.
asv benchmarks
```
before... | https://api.github.com/repos/pandas-dev/pandas/pulls/19074 | 2018-01-04T10:41:25Z | 2018-01-28T11:53:06Z | 2018-01-28T11:53:05Z | 2018-01-29T02:51:24Z |
BUG: Allow merging on Index vectors | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index d53de30187156..22f9ebd8aab98 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -407,7 +407,7 @@ Reshaping
- Bug in :func:`Series.rank` where ``Series`` containing ``NaT`` modifies the ``Series`` inp... | This behavior used to work in v0.19.0 and
is consistent with the documentation.
Closes #19038
| https://api.github.com/repos/pandas-dev/pandas/pulls/19073 | 2018-01-04T07:46:36Z | 2018-01-06T17:11:29Z | 2018-01-06T17:11:29Z | 2018-01-06T19:26:35Z |
Tests for fixed issues in Series[datetime64] | diff --git a/pandas/tests/series/test_operators.py b/pandas/tests/series/test_operators.py
index c1e9a62d98fd3..2350477c2302a 100644
--- a/pandas/tests/series/test_operators.py
+++ b/pandas/tests/series/test_operators.py
@@ -1195,6 +1195,18 @@ def test_sub_single_tz(self):
expected = Series([Timedelta('-2days'... | - [x] closes #12534, closes #19071
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/19072 | 2018-01-04T06:59:31Z | 2018-01-05T00:45:31Z | 2018-01-05T00:45:31Z | 2018-01-05T01:59:09Z |
CLN: ASV string | diff --git a/asv_bench/benchmarks/pandas_vb_common.py b/asv_bench/benchmarks/pandas_vb_common.py
index 7b4fec0090701..c0d24afae4219 100644
--- a/asv_bench/benchmarks/pandas_vb_common.py
+++ b/asv_bench/benchmarks/pandas_vb_common.py
@@ -1,27 +1,29 @@
import os
-from pandas import *
-import pandas as pd
-from numpy.ran... | Cleaned up the `strings.py` benchmarks, `pandas_vb_common.py` of all the unnecessary imports, and linting all the `.py` files in `asv_bench` now.
```
asv dev -b ^strings
ยท Discovering benchmarks
ยท Running 25 total benchmarks (1 commits * 1 environments * 25 benchmarks)
[ 0.00%] ยทยท Building for existing-py_home_... | https://api.github.com/repos/pandas-dev/pandas/pulls/19069 | 2018-01-04T04:31:52Z | 2018-01-06T17:19:45Z | 2018-01-06T17:19:45Z | 2018-01-07T04:59:32Z |
TST: catch warnings on Panel | diff --git a/pandas/tests/generic/test_panel.py b/pandas/tests/generic/test_panel.py
index 720f471a0ebd4..4cbd5cb2aa69f 100644
--- a/pandas/tests/generic/test_panel.py
+++ b/pandas/tests/generic/test_panel.py
@@ -32,3 +32,26 @@ def test_to_xarray(self):
# idempotency
assert_panel_equal(resul... | xref #19059
| https://api.github.com/repos/pandas-dev/pandas/pulls/19068 | 2018-01-04T02:15:47Z | 2018-01-04T05:52:50Z | 2018-01-04T05:52:50Z | 2018-01-04T05:52:50Z |
DEPR: removing to_long and toLong, deprecated in 0.7.0 | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index ea4245cb3281e..c8fe00eb5521f 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -253,6 +253,7 @@ Removal of prior version deprecations/changes
- ``pandas.tseries.frequencies.get_standard_freq`` has b... | - [X] closes #19077
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/19067 | 2018-01-04T01:34:09Z | 2018-01-04T15:25:02Z | 2018-01-04T15:25:02Z | 2018-01-04T15:25:04Z |
DOC: Add clear and other parameter docs to assert_produces_warning | diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index b99f019a8e98f..cd9ebd3017256 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -2339,12 +2339,44 @@ def exception_matches(self, exc_type, exc_value, trace_back):
def assert_produces_warning(expected_warning=Warning, filter_level="alwa... | - [GH18996 ] closes #18996
- Added information on `clear` parameter
- Added information on other undocumented parameters (expected_warning, filter_level, check_stacklevel)
| https://api.github.com/repos/pandas-dev/pandas/pulls/19066 | 2018-01-03T23:22:42Z | 2018-01-10T00:26:31Z | 2018-01-10T00:26:31Z | 2018-01-10T16:29:51Z |
Added ISO 8601 Duration string constructor for Timedelta | diff --git a/asv_bench/benchmarks/timedelta.py b/asv_bench/benchmarks/timedelta.py
index f99f95678a0b7..1897b0287ed19 100644
--- a/asv_bench/benchmarks/timedelta.py
+++ b/asv_bench/benchmarks/timedelta.py
@@ -1,9 +1,40 @@
+import datetime
+
import numpy as np
import pandas as pd
from pandas import to_timedelta, Ti... | - [X] closes #19040
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
ASV results below
```
ยท Running 16 total benchmarks (2 commits * 1 environments * 8 benchmarks)
[ 0.00%] ยท For pandas commit hash 6eda5188:
[ 0.00%] ยทยท Building for con... | https://api.github.com/repos/pandas-dev/pandas/pulls/19065 | 2018-01-03T22:58:39Z | 2018-01-05T14:12:59Z | 2018-01-05T14:12:58Z | 2018-01-05T14:42:14Z |
Revert "CI: fix conda version (#19025)" | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index c92da8d4774e1..272e7f2e05d14 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -48,12 +48,7 @@ echo
echo "[update conda]"
conda config --set ssl_verify false || exit 1
conda config --set quiet true --set always_yes true --set changeps1 fals... | This reverts commit c19bdc98fa3f856e2e6b3495bbab88b587801987.
| https://api.github.com/repos/pandas-dev/pandas/pulls/19062 | 2018-01-03T20:38:15Z | 2018-01-03T23:54:51Z | 2018-01-03T23:54:51Z | 2018-01-03T23:55:12Z |
CLN: Remove the Panel4D and PanelND classes | diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst
index da54a6a5f5c02..b6690eff89836 100644
--- a/doc/source/cookbook.rst
+++ b/doc/source/cookbook.rst
@@ -411,16 +411,6 @@ Levels
`Flatten Hierarchical columns
<http://stackoverflow.com/questions/14507794/python-pandas-how-to-flatten-a-hierarchical-index-... | Deprecated back in v0.19.0
xref #13147 | https://api.github.com/repos/pandas-dev/pandas/pulls/19059 | 2018-01-03T17:08:13Z | 2018-01-03T23:56:32Z | 2018-01-03T23:56:32Z | 2018-01-04T05:15:43Z |
BUG: incorrect set_labels in MI | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 77de1851490b2..57aa947d27e3a 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -363,6 +363,7 @@ Indexing
- Bug in indexing non-scalar value from ``Series`` having non-unique ``Index`` will return va... | This fixes #19057
| https://api.github.com/repos/pandas-dev/pandas/pulls/19058 | 2018-01-03T16:57:40Z | 2018-01-06T17:25:23Z | 2018-01-06T17:25:23Z | 2018-01-06T17:25:28Z |
BUG: x in MultiIndex.drop(x) | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index c4fc222353738..23eae18c4c121 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -338,7 +338,7 @@ Conversion
- Bug in :class:`Series` floor-division where operating on a scalar ``timedelta`` raises an... | - [x] closes #19027
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/19054 | 2018-01-03T12:10:06Z | 2018-01-10T00:27:59Z | 2018-01-10T00:27:59Z | 2018-03-19T15:06:36Z |
TST: Remove clipboard-excel test warnings | diff --git a/pandas/tests/io/test_clipboard.py b/pandas/tests/io/test_clipboard.py
index b5d1435c29cb7..98c0effabec84 100644
--- a/pandas/tests/io/test_clipboard.py
+++ b/pandas/tests/io/test_clipboard.py
@@ -91,6 +91,8 @@ def test_round_trip_frame(self):
self.check_round_trip_frame(dt)
def test_rea... | Closes #19010. | https://api.github.com/repos/pandas-dev/pandas/pulls/19052 | 2018-01-03T10:04:41Z | 2018-01-03T11:15:11Z | 2018-01-03T11:15:11Z | 2018-01-03T17:00:18Z |
CLN: ASV stat_ops | diff --git a/asv_bench/benchmarks/stat_ops.py b/asv_bench/benchmarks/stat_ops.py
index 1e1eb167b46bf..c447c78d0d070 100644
--- a/asv_bench/benchmarks/stat_ops.py
+++ b/asv_bench/benchmarks/stat_ops.py
@@ -1,205 +1,114 @@
-from .pandas_vb_common import *
+import numpy as np
+import pandas as pd
+from .pandas_vb_common... | There were some old `pd.rolling_*` methods being tested in `stat_ops.py` that I moved to `rolling.py` (or should they just be removed?), otherwise the usual cleanup:
```
$ asv dev -b ^stat_ops
ยท Discovering benchmarks
ยท Running 7 total benchmarks (1 commits * 1 environments * 7 benchmarks)
[ 0.00%] ยทยท Building ... | https://api.github.com/repos/pandas-dev/pandas/pulls/19049 | 2018-01-03T05:41:26Z | 2018-01-06T17:19:13Z | 2018-01-06T17:19:13Z | 2018-01-07T01:22:21Z |
BUG: Index constructor does not maintain CategoricalDtype | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index bd3bee507baa3..1ba92f41edc89 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -300,6 +300,7 @@ Conversion
- Bug in :class:`FY5253` where ``datetime`` addition and subtraction incremented incorrectl... | - [X] closes #19032
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/19048 | 2018-01-03T05:36:50Z | 2018-01-03T11:13:16Z | 2018-01-03T11:13:16Z | 2018-01-03T15:20:48Z |
CLN: ASV sparse | diff --git a/asv_bench/benchmarks/sparse.py b/asv_bench/benchmarks/sparse.py
index a46205026481e..dcb7694abc2ad 100644
--- a/asv_bench/benchmarks/sparse.py
+++ b/asv_bench/benchmarks/sparse.py
@@ -1,211 +1,162 @@
import itertools
-from .pandas_vb_common import *
+import numpy as np
import scipy.sparse
-from pandas ... | Simplified and created a top level function that made sparse arrays (which was repeated throughout the file). Otherwise, simplified benchmarks with `param` where possible.
```
$ asv dev -b ^sparse
ยท Discovering benchmarks
ยท Running 15 total benchmarks (1 commits * 1 environments * 15 benchmarks)
[ 0.00%] ยทยท Bu... | https://api.github.com/repos/pandas-dev/pandas/pulls/19047 | 2018-01-03T04:54:05Z | 2018-01-03T11:16:35Z | 2018-01-03T11:16:35Z | 2020-02-19T18:46:25Z |
CLN: ASV series_methods | diff --git a/asv_bench/benchmarks/series_methods.py b/asv_bench/benchmarks/series_methods.py
index 0ce003d1a9277..478aba278029c 100644
--- a/asv_bench/benchmarks/series_methods.py
+++ b/asv_bench/benchmarks/series_methods.py
@@ -1,185 +1,119 @@
-from .pandas_vb_common import *
+from datetime import datetime
+import n... | Utilized `param` and cleaned up some benchmarks.
```
asv dev -b ^series_methods
ยท Discovering benchmarks
ยท Running 9 total benchmarks (1 commits * 1 environments * 9 benchmarks)
[ 0.00%] ยทยท Building for existing-py_home_matt_anaconda_envs_pandas_dev_bin_python
[ 0.00%] ยทยท Benchmarking existing-py_home_matt_an... | https://api.github.com/repos/pandas-dev/pandas/pulls/19046 | 2018-01-03T04:45:04Z | 2018-01-03T11:17:30Z | 2018-01-03T11:17:30Z | 2018-01-03T17:40:46Z |
TST: Add tests for Categorical.is_dtype_equal against Series | diff --git a/pandas/tests/categorical/test_dtypes.py b/pandas/tests/categorical/test_dtypes.py
index bad2c27026b31..8973d1196f6a9 100644
--- a/pandas/tests/categorical/test_dtypes.py
+++ b/pandas/tests/categorical/test_dtypes.py
@@ -6,7 +6,7 @@
import pandas.util.testing as tm
from pandas.core.dtypes.dtypes import ... | - [X] closes #16659
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Issue is already fixed on 0.22.0 (so really probably fixed in 0.21.x), just adding tests to ensure that there's not a regression. Didn't add a whatsnew entry since this behavio... | https://api.github.com/repos/pandas-dev/pandas/pulls/19045 | 2018-01-03T01:49:19Z | 2018-01-03T11:20:21Z | 2018-01-03T11:20:20Z | 2018-01-03T15:21:00Z |
Tests for TDI issues already fixed | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index a62a737fbba31..9f05f9e14125f 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -312,7 +312,11 @@ Conversion
- Bug in :class:`Series` floor-division where operating on a scalar ``timedelta`` raises a... | Fix a couple others caused by failing to return NotImplemented or to override names correctly.
closes #17250
xref #19042
closes #19043
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/19044 | 2018-01-03T01:04:07Z | 2018-01-05T19:16:23Z | 2018-01-05T19:16:23Z | 2018-01-05T19:20:34Z |
read_json support for orient="table" | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 2ef7e6d3b64f4..3e1619d6e1578 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1648,7 +1648,7 @@ with optional parameters:
DataFrame
- default is ``columns``
- - allowed values are {``split``, ``records``, ``index``, ``columns``, ``value... | - [X] closes #18912 and
closes #9146
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This is a starting point for ``read_json`` supporting ``orient='table'`` for basic types. I'm explicitly raising in the instances that don't work, namely time... | https://api.github.com/repos/pandas-dev/pandas/pulls/19039 | 2018-01-02T21:13:19Z | 2018-01-06T17:33:07Z | 2018-01-06T17:33:07Z | 2018-01-06T21:38:48Z |
Fix bugs in FY5253Quarter and LastWeekOfMonth | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index ea4245cb3281e..924c91ef09c97 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -307,6 +307,7 @@ Conversion
- Bug in :class:`FY5253` where ``datetime`` addition and subtraction incremented incorrectl... | Similar to [need to lookup reference], this fixes bugs in `LastWeekOfMonth` and `FY5253Quarter` to ensure that the fast implementation `offset.onOffset(ts)` matches the slow (base class) implementation `(ts + offset) - offset == ts`.
I haven't yet looked at BusinessHour and CustomBusinessHour, but other than that I ... | https://api.github.com/repos/pandas-dev/pandas/pulls/19036 | 2018-01-02T18:13:40Z | 2018-01-04T14:15:07Z | 2018-01-04T14:15:07Z | 2018-01-23T04:40:41Z |
ENH: Add matmul to DataFrame, Series | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index af5371b06192f..ce63cb2473bc4 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -403,6 +403,7 @@ Other Enhancements
``SQLAlchemy`` dialects supporting multivalue inserts include: ``mysql``, ``postg... | Fixes #10259. Not sure about the exact set of types that should be supported, for now I just copied the classes that are referenced in `dot`. | https://api.github.com/repos/pandas-dev/pandas/pulls/19035 | 2018-01-02T18:06:28Z | 2018-03-30T21:56:37Z | 2018-03-30T21:56:37Z | 2018-03-30T21:57:22Z |
CLN: ASV indexing | diff --git a/asv_bench/benchmarks/index_object.py b/asv_bench/benchmarks/index_object.py
index d73b216478ad5..970760373632a 100644
--- a/asv_bench/benchmarks/index_object.py
+++ b/asv_bench/benchmarks/index_object.py
@@ -1,7 +1,7 @@
import numpy as np
import pandas.util.testing as tm
-from pandas import (Series, date... | I moved some benchmarks to `index_object.py` that were testing method of (mostly) MultiIndexes. Otherwise mostly cleanup and now linting files that start with i.
```
$ asv dev -b ^indexing
ยท Discovering benchmarks
ยท Running 49 total benchmarks (1 commits * 1 environments * 49 benchmarks)
[ 0.00%] ยทยท Building f... | https://api.github.com/repos/pandas-dev/pandas/pulls/19031 | 2018-01-02T04:32:09Z | 2018-01-03T11:41:34Z | 2018-01-03T11:41:34Z | 2018-01-03T17:40:01Z |
ENH: StringMethods now supports ljust and rjust | diff --git a/doc/source/api.rst b/doc/source/api.rst
index a8097f2648c4b..f3843f26a9505 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -535,12 +535,14 @@ strings and apply several methods to it. These can be acccessed like
Series.str.get
Series.str.join
Series.str.len
+ Series.str.ljust
S... | Derived from #9111.
- Add `StringMethods.ljust` and `StringMethods.rjust` to be consistent with standard `str`.
- Add `fillchar` option to `StringMethods.pad` and `StringMethods.center` to be consistent with standard `str.center`
- https://docs.python.org/2/library/string.html#string.center
| https://api.github.com/repos/pandas-dev/pandas/pulls/9352 | 2015-01-25T13:12:41Z | 2015-01-29T11:12:01Z | 2015-01-29T11:12:01Z | 2015-01-29T23:28:30Z |
BUG: Fixes GH9311 groupby on datetime64 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 9e1546f5e50a9..cd7cdbb645686 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -187,6 +187,8 @@ Bug Fixes
- Bug in the returned ``Series.dt.components`` index was reset to the default index (:issue:... | datetime64 columns were changing at the nano-second scale when
applying a groupby aggregator.
closes #9311
closes #6620
| https://api.github.com/repos/pandas-dev/pandas/pulls/9345 | 2015-01-23T16:36:04Z | 2015-02-14T03:10:28Z | 2015-02-14T03:10:28Z | 2015-02-14T04:48:51Z |
GH 9016: Bitwise operation weirdness | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 9485ef18dbd6f..d9a4e3895c8b7 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -88,6 +88,35 @@ Backwards incompatible API changes
The prior style can be achieved with matplotlib's `axhline` or `axvl... | Series now supports bitwise op for integral types.
I have made the changes in wrapper() itself instead of na_op() because it looked to me like wrapper is controlling the input and output fill and dtype. Once that is taken care of, na_op() seems to be doing the right thing by itself and so I did not have to change any... | https://api.github.com/repos/pandas-dev/pandas/pulls/9338 | 2015-01-22T18:30:00Z | 2015-02-05T11:37:26Z | 2015-02-05T11:37:26Z | 2015-02-05T16:54:48Z |
Fix missing text on Index documentation page. | diff --git a/pandas/core/index.py b/pandas/core/index.py
index 1b4a691851a8a..9464e6de92721 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -1583,7 +1583,7 @@ def map(self, mapper):
def isin(self, values, level=None):
"""
Compute boolean array of whether each index value is found ... | https://api.github.com/repos/pandas-dev/pandas/pulls/9335 | 2015-01-22T15:16:03Z | 2015-03-05T23:29:43Z | 2015-03-05T23:29:43Z | 2022-03-15T10:04:21Z | |
Fix docs in groupby.tail | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index cb5dedc887bca..fe130dbd5736b 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -997,16 +997,16 @@ def tail(self, n=5):
Examples
--------
- >>> df = DataFrame([[1, 2], [1, 4], [5, 6]],
+ >>> df = DataFr... | The old docs is wrong where head() & tail() return the same result.
Change input of the example to see group data clearer.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9333 | 2015-01-22T11:06:37Z | 2015-02-04T07:34:03Z | 2015-02-04T07:34:03Z | 2015-02-04T14:57:51Z |
FIX: Fixed some issues around vb_suite | diff --git a/vb_suite/groupby.py b/vb_suite/groupby.py
index 26311920ec861..27a442ece1281 100644
--- a/vb_suite/groupby.py
+++ b/vb_suite/groupby.py
@@ -559,3 +559,6 @@ def inject_bmark_into_globals(bmark):
for func_name in no_arg_func_list:
bmark = make_large_ngroups_bmark(ngroups, func_name)
in... | I'm new to vb_suite, and ran following command according to [this document](https://github.com/pydata/pandas/wiki/Performance-Testing).
```
./test_perf.sh -b master -t HEAD
```
But I got some errors (`InvalidGitRepositoryError` and Benchmark duplication errors), and finally I got tests run by fixing following issues.... | https://api.github.com/repos/pandas-dev/pandas/pulls/9332 | 2015-01-22T06:29:13Z | 2015-01-22T23:54:43Z | 2015-01-22T23:54:43Z | 2015-01-22T23:55:04Z |
BUG: don't sort unique values from categoricals | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 238a838cf727e..d1bfb21769ab1 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -193,6 +193,8 @@ Bug Fixes
SQLAlchemy type (:issue:`9083`).
+- Items in ``Categorical.unique()`` (and ``s.unique... | This should resolve the inconsistency @mwaskom reported in #9148.
CC @jreback @TomAugspurger @JanSchulz
| https://api.github.com/repos/pandas-dev/pandas/pulls/9331 | 2015-01-22T02:36:03Z | 2015-02-13T00:42:02Z | 2015-02-13T00:42:02Z | 2015-02-13T00:42:40Z |
ENH/DOC: reimplement Series delegates/accessors using descriptors | diff --git a/doc/_templates/autosummary/accessor_attribute.rst b/doc/_templates/autosummary/accessor_attribute.rst
new file mode 100644
index 0000000000000..e38a9f22f9d99
--- /dev/null
+++ b/doc/_templates/autosummary/accessor_attribute.rst
@@ -0,0 +1,6 @@
+{{ fullname }}
+{{ underline }}
+
+.. currentmodule:: {{ modul... | Fixes #9184
This PR fixes the API docs to use `Series.str` and `Series.dt` instead of `StringMethods` and `DatetimeProperties`.
It will need a rebase once #9318 is merged.
CC @jorisvandenbossche @jreback
| https://api.github.com/repos/pandas-dev/pandas/pulls/9322 | 2015-01-21T07:51:49Z | 2015-01-25T20:06:58Z | 2015-01-25T20:06:58Z | 2015-03-10T06:47:48Z |
ENH: plot method accessors | diff --git a/doc/_templates/autosummary/accessor_callable.rst b/doc/_templates/autosummary/accessor_callable.rst
new file mode 100644
index 0000000000000..6f45e0fd01e16
--- /dev/null
+++ b/doc/_templates/autosummary/accessor_callable.rst
@@ -0,0 +1,6 @@
+{{ fullname }}
+{{ underline }}
+
+.. currentmodule:: {{ module.s... | Fixes #9124
This PR adds plotting sub-methods like `df.plot.scatter()` as an alternative to using `df.plot(kind='scatter')`.
I've added meaningful function signatures and documentation for a few of these methods, but I would greatly appreciate help to fill in the rest -- this is a lot of documentation to assemble/rec... | https://api.github.com/repos/pandas-dev/pandas/pulls/9321 | 2015-01-21T07:09:09Z | 2015-09-11T04:42:33Z | 2015-09-11T04:42:33Z | 2015-09-11T19:53:48Z |
DOC: delete removed Timedelta properties (see GH9257) from API overview | diff --git a/doc/source/api.rst b/doc/source/api.rst
index b6fd14f425bd0..9d40fe9114f97 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -498,10 +498,7 @@ Due to implementation details the methods show up here as methods of the
:toctree: generated/
TimedeltaProperties.days
- TimedeltaProperties.h... | Related to #9257. The removed TimedeltaProperties were not removed from the api.rst overview.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9318 | 2015-01-20T20:20:35Z | 2015-01-21T08:43:49Z | 2015-01-21T08:43:49Z | 2015-01-21T08:43:49Z |
Doc: API docstrings for indexers (GH6920) | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 7fa64e0b4ca91..6101d11e98b37 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1034,7 +1034,7 @@ def _indexer(self):
setattr(self, iname, i)
return i
- setattr(cls, name, property(_in... | WIP
Closes #6920
For now, I just copied the relevant parts of the tutorial docs (in indexing.rst).
I should also include `__getitem__` for `[]`
| https://api.github.com/repos/pandas-dev/pandas/pulls/9316 | 2015-01-20T19:35:04Z | 2015-03-05T23:30:27Z | 2015-03-05T23:30:26Z | 2015-03-05T23:31:16Z |
DOC: update install.rst, required version of dateutil is 1.5 or higher G... | diff --git a/doc/source/install.rst b/doc/source/install.rst
index 0331e8a47903c..dd9021d0439dc 100644
--- a/doc/source/install.rst
+++ b/doc/source/install.rst
@@ -248,7 +248,7 @@ Dependencies
------------
* `NumPy <http://www.numpy.org>`__: 1.7.0 or higher
-* `python-dateutil <http://labix.org/python-dateutil>`__... | Just show in the docs that required version of dateutil is >= 1.5 (#9305)
| https://api.github.com/repos/pandas-dev/pandas/pulls/9310 | 2015-01-20T15:12:16Z | 2015-01-20T15:14:55Z | 2015-01-20T15:14:55Z | 2015-01-20T20:03:54Z |
BUG: 0/frame numeric ops buggy (GH9144) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index cd7cdbb645686..3d82ba1f1b265 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -131,6 +131,37 @@ methods (:issue:`9088`).
dtype: int64
+- During division involving a ``Series`` or ``DataFram... | closes #9144
closes #8445
---
Here's the results from testing the vbenches related to DataFrames (I also added 6 vbenches).
```
Invoked with :
--ncalls: 10
--repeats: 10
-------------------------------------------------------------------------------
Test name | head[ms] | base[m... | https://api.github.com/repos/pandas-dev/pandas/pulls/9308 | 2015-01-20T07:28:48Z | 2015-02-16T12:35:24Z | 2015-02-16T12:35:23Z | 2018-01-21T09:03:00Z |
BUG: Fixes #9281: fixes to tseries.tests.test_tslib.TestTimestamp | diff --git a/pandas/tseries/tests/test_tslib.py b/pandas/tseries/tests/test_tslib.py
index 945458de22d2c..8140d289f8c8a 100644
--- a/pandas/tseries/tests/test_tslib.py
+++ b/pandas/tseries/tests/test_tslib.py
@@ -338,9 +338,11 @@ def test_now(self):
# Check that the delta between the times is less than 1s (a... | closes #9281
The last test of both test_now and test_today was passing for anyone with a timezone
of UTC-5 or greater (but failed, for example, in US/Pacific). The test was not
testing what the original author meant it to (which is that the times are very close
together) so I added abs(.) around the Timedeltas and a... | https://api.github.com/repos/pandas-dev/pandas/pulls/9296 | 2015-01-19T09:26:05Z | 2015-01-19T12:14:11Z | 2015-01-19T12:14:11Z | 2015-01-19T19:32:00Z |
Update plotting.py (issue #2916) | diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py
index 9919415b06546..34db4877d77f0 100644
--- a/pandas/tools/plotting.py
+++ b/pandas/tools/plotting.py
@@ -2906,6 +2906,7 @@ def boxplot_frame_groupby(grouped, subplots=True, column=None, fontsize=None,
fontsize : int or string
rot : label rota... | Added ax docstring.
Address issue generated by `scripts/find_undoc_args.py`:
[+2892 tools/plotting.py boxplot_frame_groupby()](https://github.com/pydata/pandas/blob/master/pandas/tools/plotting.py#L2892): Missing[1/9]=['ax']
| https://api.github.com/repos/pandas-dev/pandas/pulls/9293 | 2015-01-19T04:45:17Z | 2015-01-19T09:33:27Z | 2015-01-19T09:33:27Z | 2015-01-19T09:33:44Z |
TST: tests for GH4862, GH7401, GH7403, GH7405 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index b0c5b11079f31..6082a58687c2c 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -146,7 +146,7 @@ Bug Fixes
- Fixed bug on bug endian platforms which produced incorrect results in ``StataReader`` (:is... | closes https://github.com/pydata/pandas/issues/4862
closes https://github.com/pydata/pandas/issues/7401
closes https://github.com/pydata/pandas/issues/7403
closes https://github.com/pydata/pandas/issues/7405
minor code change to https://github.com/pydata/pandas/pull/9061; otherwise only tests. the code change is to av... | https://api.github.com/repos/pandas-dev/pandas/pulls/9292 | 2015-01-18T23:28:06Z | 2015-01-26T01:29:07Z | 2015-01-26T01:29:07Z | 2015-02-13T01:59:02Z |
BUG: Adding nano offset raises TypeError | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index b3ac58a9fb84a..16882c572f48e 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -152,6 +152,9 @@ Bug Fixes
+- Bug in adding ``offsets.Nano`` to other offets raises ``TypeError`` (:issue:`9284`)
... | Closes #9284.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9291 | 2015-01-18T13:34:15Z | 2015-01-25T18:41:40Z | 2015-01-25T18:41:40Z | 2015-01-31T02:57:19Z |
GH 9273: Timedelta constructor should accept nanoseconds keyword. | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 18c55e38ab7af..01e6170413187 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -101,6 +101,7 @@ Enhancements
- Added ``Timestamp.to_datetime64()`` to complement ``Timedelta.to_timedelta64()`` (:issu... | closes #9273
This patch adds nanoseconds keyword support in Timedelta constructor.
<pre>
In [1]: from pandas import Timedelta
In [2]: td = Timedelta(nanoseconds=1)
In [3]: td1 = Timedelta(microseconds=1)
In [4]: td.components
Out[4]: Components(days=0, hours=0, minutes=0, seconds=0, milliseconds=0, microseconds=0... | https://api.github.com/repos/pandas-dev/pandas/pulls/9289 | 2015-01-18T05:56:43Z | 2015-01-19T03:17:20Z | 2015-01-19T03:17:20Z | 2015-01-19T06:47:47Z |
BUG: where coerces numeric to str incorrectly | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 2db455272363b..d8fc10dd54e8c 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -187,6 +187,8 @@ Bug Fixes
- Bug in read_csv when using skiprows on a file with CR line endings with the c engine. (:is... | Closes #9280.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9283 | 2015-01-17T10:35:48Z | 2015-01-18T20:36:40Z | 2015-01-18T20:36:40Z | 2015-01-19T14:31:31Z |
ENH: StringMethods supports is_xxx methods | diff --git a/doc/source/api.rst b/doc/source/api.rst
index a8097f2648c4b..4fc9df52a4300 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -549,6 +549,13 @@ strings and apply several methods to it. These can be acccessed like
Series.str.strip
Series.str.title
Series.str.upper
+ Series.str.isalnum... | Derived from #9111.
Add following methods to be compat with standard `str`.
- StringMethods.isalnum
- StringMethods.isalpha
- StringMethods.isdigit
- StringMethods.isspace
- StringMethods.islower
- StringMethods.isupper
- StringMethods.istitle
| https://api.github.com/repos/pandas-dev/pandas/pulls/9282 | 2015-01-17T10:07:19Z | 2015-01-29T11:10:35Z | 2015-01-29T11:10:35Z | 2015-01-29T23:28:37Z |
BUG: Subplotting boxplot shows unnecessary warnings | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 2db455272363b..53ed040860269 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -172,7 +172,7 @@ Bug Fixes
-
+- Bug in boxplot, scatter and hexbin plot may show an unnecessary warning (:issue:`8... | Related to #8877 and 80a730c93717e7fc01ae2f880109bc752519cecf
Because `legend=True` is default, `DataFrame.plot(kind='box', subplots=True)` shows unnecessary warnings.
```
# OK, no legend / no warnings
df.plot(kind='box')
```
```
# NG: no legend and warnings
df.plot(kind='box', subplots=True)
# UserWarning: No label... | https://api.github.com/repos/pandas-dev/pandas/pulls/9278 | 2015-01-17T02:24:35Z | 2015-01-18T13:24:08Z | 2015-01-18T13:24:08Z | 2015-01-19T14:37:26Z |
TST: Remove tests using proprietary data | diff --git a/pandas/io/tests/test_stata.py b/pandas/io/tests/test_stata.py
index f0ebebc1f143f..f896b98fddf5b 100644
--- a/pandas/io/tests/test_stata.py
+++ b/pandas/io/tests/test_stata.py
@@ -20,14 +20,11 @@
PossiblePrecisionLoss, StataMissingValue)
import pandas.util.testing as tm
from pandas.tslib import NaT
... | Removes three tests that use proprietary data that is not available for testing.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9271 | 2015-01-16T15:10:36Z | 2015-01-18T20:41:28Z | 2015-01-18T20:41:27Z | 2015-01-18T22:42:19Z |
FIX: Add endianness missing flag when reading data | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index b221a7df373a4..f4b0024f5d5b8 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -99,7 +99,7 @@ Bug Fixes
-
+- Fixed bug on bug endian platforms which produced incorrect results in ``StataReader`... | Added endianess flat to data type to allow data to be read cross platforms
closes #8688
| https://api.github.com/repos/pandas-dev/pandas/pulls/9264 | 2015-01-15T20:14:19Z | 2015-01-16T15:10:44Z | 2015-01-16T15:10:44Z | 2015-01-18T22:42:19Z |
API/ENH: add method='nearest' to Index.get_indexer/reindex and method to get_loc | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 7ee82cd69a257..dc43c1177f8c3 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -948,15 +948,9 @@ chosen from the following table:
pad / ffill, Fill values forward
bfill / backfill, Fill values backward
+ nearest, Fill from t... | Fixes #8845
Currently only an index method; I'm open to ideas for how to expose it more
directly -- maybe `df.loc_nearest`?.
In particular, I think this is usually a more useful way to do indexing for
floats than pandas's reindex based `.loc`, because floats are inherently
imprecise.
CC @jreback @jorisvandenbossche ... | https://api.github.com/repos/pandas-dev/pandas/pulls/9258 | 2015-01-15T05:53:32Z | 2015-02-23T18:30:41Z | 2015-02-23T18:30:41Z | 2015-04-13T22:55:42Z |
API: restore full datetime.timedelta compat with Timedelta w.r.t. seconds/microseconds accessors (GH9185, GH9139) | diff --git a/doc/source/timedeltas.rst b/doc/source/timedeltas.rst
index 1ad5492efe61a..d6b99770ad4f9 100644
--- a/doc/source/timedeltas.rst
+++ b/doc/source/timedeltas.rst
@@ -251,8 +251,13 @@ yields another ``timedelta64[ns]`` dtypes Series.
Attributes
----------
-You can access various components of the ``Timede... | closes #9185
closes #9139
| https://api.github.com/repos/pandas-dev/pandas/pulls/9257 | 2015-01-15T02:34:37Z | 2015-01-16T16:54:46Z | 2015-01-16T16:54:45Z | 2015-01-16T17:01:13Z |
BUG: bug in multi-index where insert fails | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 5ec0e90383f4c..cd3a3f6e38d98 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -103,6 +103,7 @@ Bug Fixes
- Bug in ``MultiIndex.has_duplicates`` when having many levels causes an indexer overflow (:... | closes https://github.com/pydata/pandas/issues/9250
on master:
```
>>> df
3rd
1st 2nd
a b 0
b d 1
>>> df.loc[('b', 'x'), '3rd'] = 2 # this works!
>>> df
3rd
1st 2nd
a b 0
b d 1
x 2
>>> df.loc[('b', 'a'), '3rd'] = -1 # fails! sets everything to -1
>>> ... | https://api.github.com/repos/pandas-dev/pandas/pulls/9256 | 2015-01-15T01:16:58Z | 2015-01-16T12:51:42Z | 2015-01-16T12:51:42Z | 2015-01-17T11:33:53Z |
ENH: add Timestamp.to_datetime64 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 5ec0e90383f4c..1528747891c64 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -63,6 +63,7 @@ Enhancements
- Paths beginning with ~ will now be expanded to begin with the user's home directory (:iss... | This PR adds a `Timestamp.to_datetime64()` method to complement the `Timedelta.to_timedelta64()` method I added in #8884. It is a continuation of the aborted #8916.
Arguably, there should also be the alias `Timestamp.values` to complement the series property but I haven't added that yet.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9255 | 2015-01-15T00:47:10Z | 2015-01-15T04:43:11Z | 2015-01-15T04:43:11Z | 2015-01-15T04:43:16Z |
BUG: Bug in the returned Series.dt.components index was reset to the default index (GH9247) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 365b4ab7ac9d9..5ec0e90383f4c 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -86,7 +86,7 @@ Bug Fixes
- Fixed issue using `read_csv` on s3 with Python 3.
- Fixed compatibility issue in ``Datetime... | closes #9247
| https://api.github.com/repos/pandas-dev/pandas/pulls/9248 | 2015-01-14T13:55:39Z | 2015-01-14T14:39:57Z | 2015-01-14T14:39:57Z | 2015-01-14T14:39:57Z |
FIX: Fix encoding to allow StataReader to read urls | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 1528747891c64..b221a7df373a4 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -106,7 +106,7 @@ Bug Fixes
- Bug in left ``join`` on multi-index with ``sort=True`` or null values (:issue:`9210`).
... | Fix encoding so that StataReader can correctly read URLs
closes #9231
| https://api.github.com/repos/pandas-dev/pandas/pulls/9245 | 2015-01-14T03:43:56Z | 2015-01-16T12:48:10Z | 2015-01-16T12:48:10Z | 2015-01-18T22:42:19Z |
API: Add DataFrame.assign method | diff --git a/doc/source/_static/whatsnew_assign.png b/doc/source/_static/whatsnew_assign.png
new file mode 100644
index 0000000000000..0e39e161dc606
Binary files /dev/null and b/doc/source/_static/whatsnew_assign.png differ
diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index dc43c1177f8c3..8e78ac597479b 10... | Closes https://github.com/pydata/pandas/issues/9229
signature: `DataFrame.transform(**kwargs)`
- the keyword is the name of the new column (existing columns are overwritten if there's a name conflict, as in dplyr)
- the value is either
- called on self if it's callable. The callable should be a function of 1 argumen... | https://api.github.com/repos/pandas-dev/pandas/pulls/9239 | 2015-01-13T13:32:24Z | 2015-03-01T14:51:09Z | 2015-03-01T14:51:09Z | 2017-04-05T02:06:15Z |
DOC: Small syntax change to indexing.rst to address GH8686. | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index f56e0d22b25a7..5ab72f633f49b 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -71,8 +71,7 @@ Object selection has had a number of user-requested additions in order to
support more explicit location based indexing. pandas now supp... | Brings indexing.rst docs for .loc into line with .iloc. Closes https://github.com/pydata/pandas/issues/8686.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9238 | 2015-01-13T02:54:36Z | 2015-01-13T08:09:37Z | 2015-01-13T08:09:37Z | 2015-01-13T08:09:48Z |
DOC: update docstring of DataFrame.append | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index ea7896b0352a5..46f284f22c82e 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2726,8 +2726,8 @@ def duplicated(self, subset=None, take_last=False):
Only consider certain columns for identifying duplicates, by
defaul... | I always thought that `append` was for appending rows, not columns. So, unless I am completely missing something, the docstring was saying the wrong thing.
So I reworded it a bit, see below.
Apart from that, there were some other things that are not fully clear to me in the docstring:
- The docstring says that `other... | https://api.github.com/repos/pandas-dev/pandas/pulls/9234 | 2015-01-12T21:11:42Z | 2015-01-19T13:58:48Z | 2015-01-19T13:58:48Z | 2015-01-19T13:58:49Z |
COMPAT: Need to read Bytes on Python | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 6e93535451fbc..365b4ab7ac9d9 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -83,6 +83,7 @@ Bug Fixes
.. _whatsnew_0160.bug_fixes:
+- Fixed issue using `read_csv` on s3 with Python 3.
- Fixed... | Reading from s3 on Python 3 returns a Bytes object.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9230 | 2015-01-12T17:38:48Z | 2015-01-12T22:30:32Z | 2015-01-12T22:30:32Z | 2015-01-12T22:30:38Z |
TST: Clean test_format.py | diff --git a/pandas/tests/test_format.py b/pandas/tests/test_format.py
index 80f1733ab4be5..fef4778d4a5d5 100644
--- a/pandas/tests/test_format.py
+++ b/pandas/tests/test_format.py
@@ -20,8 +20,6 @@
import pandas.util.testing as tm
import pandas.core.common as com
from pandas.util.terminal import get_terminal_size
-... | Mostly just stylistic changes. The only substantive one is the test now on line 56 (`has_horizontally_truncated_repr`). I can't figure what the test was supposed to be doing. Suggestions?
Original Test:
``` python
def has_horizontally_truncated_repr(df):
try: # Check header row
fst_line = np.array(repr(df... | https://api.github.com/repos/pandas-dev/pandas/pulls/9227 | 2015-01-12T03:39:43Z | 2015-03-05T23:35:47Z | 2015-03-05T23:35:47Z | 2015-03-05T23:35:52Z |
ENH: add to_offset method to Timedelta #9064 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 2db455272363b..f12e5f1f9970e 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -99,6 +99,7 @@ Enhancements
- Added time interval selection in get_data_yahoo (:issue:`9071`)
- Added ``Series.str.sli... | Closes #9064
| https://api.github.com/repos/pandas-dev/pandas/pulls/9226 | 2015-01-12T03:39:28Z | 2015-01-18T20:53:40Z | 2015-01-18T20:53:40Z | 2015-01-19T02:18:33Z |
Fix randomly failing test in test_frame.py | diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py
index fcbfb21bd20e3..777fc6d68f3cd 100644
--- a/pandas/tests/test_frame.py
+++ b/pandas/tests/test_frame.py
@@ -1938,7 +1938,11 @@ def verify(df, level, idx, indexer):
'joe':['3rd'] * 2 + ['1st'] * 3 + ['2nd'] * 3 +
... | @jreback I noticed a randomly failing test while doing a full suite run a week or two ago. The test is using random integers as part of a `MultiIndex`, which randomly leads to a non-unique index. Attempting to re-index the `DataFrame` therefore randomly fails. The solution is to just sample without replacement.
The fo... | https://api.github.com/repos/pandas-dev/pandas/pulls/9225 | 2015-01-11T09:44:43Z | 2015-01-15T03:25:17Z | 2015-01-15T03:25:17Z | 2015-01-15T03:25:21Z |
BUG: Bug in using grouper functions that need passed thru arguments (GH9221) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index e58bb6f703b3d..e202bea960e12 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -142,7 +142,7 @@ Bug Fixes
-
+- Bug in using grouper functions that need passed thru arguments (e.g. axis), when u... | closes #9221
| https://api.github.com/repos/pandas-dev/pandas/pulls/9222 | 2015-01-10T15:48:22Z | 2015-01-10T17:23:12Z | 2015-01-10T17:23:12Z | 2015-01-10T17:23:12Z |
BUG: bug in left join on multi-index with sort=True or nulls | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 839a055bf2a63..e878851233be1 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -99,6 +99,7 @@ Bug Fixes
- Bug in ``MultiIndex.has_duplicates`` when having many levels causes an indexer overflow (:... | on master:
```
In [8]: left
Out[8]:
1st 2nd 3rd
0 c c 13
1 b b 79
2 a a 27
3 b b 27
4 c a 86
In [9]: right
Out[9]:
4th
1st 2nd
c a -86
b b -79
c c -13
b b -27
a a -27
```
`sort=True` is ignored, and the result is not sorted by the join key:
```
In [... | https://api.github.com/repos/pandas-dev/pandas/pulls/9210 | 2015-01-08T01:36:53Z | 2015-01-10T18:07:10Z | 2015-01-10T18:07:10Z | 2015-01-10T20:17:03Z |
added mising numeric_only option for DataFrame.std/var/sem | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index de15fa29de8dd..48a1924d84041 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -486,3 +486,5 @@ Bug Fixes
- Fixed bug with reading CSV files from Amazon S3 on python 3 raising a TypeError (:issue:`9... | closes https://github.com/pydata/pandas/issues/9201, the `numeric_only` option is missing for `DataFrame.std()` (and also `DataFrame.var()` and `DataFrame.sem()`), this is a fix for it
| https://api.github.com/repos/pandas-dev/pandas/pulls/9209 | 2015-01-07T23:36:46Z | 2015-03-12T12:08:53Z | 2015-03-12T12:08:53Z | 2015-04-29T15:31:04Z |
9203 SQUASHED - DOCS: doc string edited pandas/core/frame.duplicated() | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 8ee65949e6bc1..ea7896b0352a5 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2726,7 +2726,8 @@ def duplicated(self, subset=None, take_last=False):
Only consider certain columns for identifying duplicates, by
defaul... | Redefined `take_last` variable in doc string. Original definition only
made sense for drop_duplicates()
| https://api.github.com/repos/pandas-dev/pandas/pulls/9206 | 2015-01-07T16:16:56Z | 2015-01-07T16:25:16Z | 2015-01-07T16:25:16Z | 2015-01-07T16:33:34Z |
fixes division by zero error for kurt() | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 21b1ddea0e9da..528c32d84e898 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -141,3 +141,4 @@ Bug Fixes
- Bug in read_csv when using skiprows on a file with CR line endings with the c engine. (:is... | Currently if `kurt()` is called on a `Series` with equal values, it throws a `ZeroDivisionError`
```
In [1]: import pandas as pd
In [2]: import numpy as np
In [3]: s = pd.Series(np.ones(5))
In [4]: s.kurt()
ZeroDivisionError: float division by zero
```
This is not consistent with the case when `kurt()` is called on a... | https://api.github.com/repos/pandas-dev/pandas/pulls/9197 | 2015-01-04T06:33:03Z | 2015-01-05T06:37:52Z | 2015-01-05T06:37:52Z | 2015-04-29T15:32:55Z |
Documentations: Ecosystem/API - pydatastream (issue #5630) | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index e5afe1db9417f..4a0743b8be3e4 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -130,6 +130,13 @@ API
Quandl API for Python wraps the Quandl REST API to return
Pandas DataFrames with timeseries indexes.
+`pydatastream <https... | Following an old issue #5630 (Documentation / Remote Data Access - 3rd pary libraries).
Quandl was already described in Ecosystem / API section, so I've added link to pydatastream that targets Thomson Reuters Datastream.
closes #5630.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9195 | 2015-01-03T22:12:54Z | 2015-01-06T13:14:19Z | 2015-01-06T13:14:19Z | 2015-01-06T13:27:59Z |
Docstring: pd.to_datetime (issue #9107) | diff --git a/pandas/tseries/tools.py b/pandas/tseries/tools.py
index e680fa06a9c8e..db62fceaceef8 100644
--- a/pandas/tseries/tools.py
+++ b/pandas/tseries/tools.py
@@ -200,6 +200,8 @@ def to_datetime(arg, errors='ignore', dayfirst=False, utc=None, box=True,
If True, require an exact format match.
If ... | Following the issue "to_datetime returns NaT for old dates with coerce=True".
Do I understand correctly that online documentation is build automatically from docstrings? I.e. are there any other files to change?
Also it would be good to make a link to [this section of "Caveats and Gotchas"](http://pandas.pydata.org/p... | https://api.github.com/repos/pandas-dev/pandas/pulls/9189 | 2015-01-02T21:38:28Z | 2015-01-04T22:36:13Z | 2015-01-04T22:36:13Z | 2015-01-06T11:17:47Z |
FIX: Fix problems with Series text representation. | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 0eeee8ccfddf6..e61b7d18672f7 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -567,3 +567,39 @@ Bug Fixes
- Bug in ``Series.values_counts`` with excluding ``NaN`` for categorical type ``Series`` wi... | This PR harmonizes the way DataFrame and Series are printed.
closes #8532
closes #7508
Before
```
In [1]: import pandas as pd
In [2]: pd.options.display.max_rows = 10
In [3]: s = pd.Series([1,1,1,1,1,1,1,1,1,1,0.9999,1,1]*10)
In [4]: s
Out[4]:
0 1
1 1
2 1
...
127 0.9999
128 1.0000
129 1.0000
L... | https://api.github.com/repos/pandas-dev/pandas/pulls/9182 | 2015-01-02T03:08:18Z | 2015-03-17T00:18:39Z | 2015-03-17T00:18:39Z | 2015-03-17T00:19:21Z |
BUG: Fix not to reindex on non-Categorical groups (GH9049) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 0234a0dab8e28..3e9dcde6113b8 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -267,3 +267,4 @@ Bug Fixes
- ``SparseSeries`` and ``SparsePanel`` now accept zero argument constructors (same as their ... | closes #9049.
closes #9344
_self._was_factor_ is not appropriate to judge whether grouper is Categorical or not, because it can be "True" when we groupby indices (not columns). So, I added another flag _self._is_categorical_ to judge Categorical state.
Also, I added a GroupBy test for MultiIndexed data, which was fa... | https://api.github.com/repos/pandas-dev/pandas/pulls/9177 | 2014-12-31T16:16:37Z | 2015-02-10T14:52:04Z | 2015-02-10T14:52:04Z | 2015-02-11T01:49:04Z |
PERF: improves merge performance when key space exceeds i8 bounds | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 9a3a6bf319810..2a4d11413c6df 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -68,6 +68,7 @@ Performance
- Performance improvements in ``MultiIndex.duplicated`` by working with labels instead of va... | In join operations, current master switches to [a less efficient path](https://github.com/pydata/pandas/blob/def58c9bcabd5bda63696a30f25d4012ab1160ac/pandas/tools/merge.py#L471) if the key space exceeds `int64` bounds. This commit improves performance and memory usage:
on master:
```
In [1]: np.random.seed(2718281)
... | https://api.github.com/repos/pandas-dev/pandas/pulls/9151 | 2014-12-24T23:50:09Z | 2014-12-28T23:43:38Z | 2014-12-28T23:43:38Z | 2014-12-29T15:43:56Z |
BUG: Bug in Panel indexing with an object-like (GH9140) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index d7de5a7ac5979..14427dd8c453f 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -56,7 +56,7 @@ Bug Fixes
.. _whatsnew_0160.bug_fixes:
- Fixed compatibility issue in ``DatetimeIndex`` affecting arc... | closes #9140
| https://api.github.com/repos/pandas-dev/pandas/pulls/9143 | 2014-12-24T02:04:20Z | 2014-12-24T15:50:18Z | 2014-12-24T15:50:18Z | 2014-12-24T15:50:19Z |
FIX: to_sql dtype argument accepting SQLAlchemy type instance (GH9083) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 7433adaa4b738..55b35368215c4 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -60,7 +60,8 @@ Bug Fixes
- Fixed bug in ``to_sql`` when mapping a Timestamp object column (datetime
column with ti... | Closes #9083
| https://api.github.com/repos/pandas-dev/pandas/pulls/9138 | 2014-12-23T10:27:51Z | 2014-12-24T10:36:06Z | 2014-12-24T10:36:06Z | 2014-12-24T10:36:06Z |
TST: Fix failing test due to revision in WB data #9115 | diff --git a/pandas/io/tests/test_wb.py b/pandas/io/tests/test_wb.py
index e2a086e9dcdf4..51d6ac02f0f20 100644
--- a/pandas/io/tests/test_wb.py
+++ b/pandas/io/tests/test_wb.py
@@ -40,10 +40,14 @@ def test_wdi_download(self):
expected = {'NY.GDP.PCAP.CD': {('Canada', '2003'): 28026.006013044702, ('Mexico', '... | Closes #9115
I just round the expected and result data for the failing test. I have no idea why the WB would be revising 2003 and 2004 data, but they did.
I would have redesigned the test, but spending that time has minimal benefit.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9137 | 2014-12-23T01:41:05Z | 2014-12-23T03:13:20Z | 2014-12-23T03:13:20Z | 2015-02-09T00:37:14Z |
Remove codepath asymmetry in dataframe count() | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index d7de5a7ac5979..544ab27157a17 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -48,6 +48,7 @@ Performance
- Fixed a performance regression for ``.loc`` indexing with an array or list-like (:issue:`9... | @jreback I noticed a codepath asymmetry in core.frame.count that leads to a substantial difference in dropna() performance depending on the axis. Using the path `df.dropna(axis=0)` takes yields a 2.5-5x improvement.
```
$ python vb_suite/test_perf.py -b upstream/master -t HEAD -r "dropna" -S -n 30
Invoked with :
--nca... | https://api.github.com/repos/pandas-dev/pandas/pulls/9136 | 2014-12-22T23:05:39Z | 2014-12-24T15:55:19Z | 2014-12-24T15:55:19Z | 2014-12-24T15:55:26Z |
fixup unicode compat with 3.2 in test_index.py | diff --git a/pandas/tests/test_index.py b/pandas/tests/test_index.py
index fd2e83e9609c5..5c581b548e583 100644
--- a/pandas/tests/test_index.py
+++ b/pandas/tests/test_index.py
@@ -3452,24 +3452,24 @@ def test_has_duplicates(self):
self.assertTrue(index.has_duplicates)
# GH 9075
- t = [(u'x',... | fixes w.r.t. comment in #9101
| https://api.github.com/repos/pandas-dev/pandas/pulls/9135 | 2014-12-22T22:02:36Z | 2014-12-22T23:49:43Z | 2014-12-22T23:49:43Z | 2014-12-22T23:49:43Z |
PERF: use unique and isnull in nunique instead of value_counts. | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index d572835a76218..1b52ee2d08370 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -45,8 +45,12 @@ Performance
.. _whatsnew_0160.performance:
+
- Fixed a severe performance regression for ``.loc`` ... | closes #9129
Currently, `Series.nunique` [(source)](https://github.com/pydata/pandas/blob/master/pandas/core/base.py#L429) calls `Series.value_counts` [(source)](https://github.com/pydata/pandas/blob/master/pandas/core/base.py#L371), which by default, sorts the values.
Counting unique values certainly doesn't requir... | https://api.github.com/repos/pandas-dev/pandas/pulls/9134 | 2014-12-22T21:00:13Z | 2014-12-23T03:22:57Z | 2014-12-23T03:22:57Z | 2014-12-23T03:23:23Z |
PERF: json support for blocks GH9037 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 0e6fb94cf7273..4112ef81ba6d1 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -28,6 +28,22 @@ Backwards incompatible API changes
.. _whatsnew_0160.api_breaking:
- ``Index.duplicated`` now return... | This adds block support to the JSON serialiser, as per #9037. I also added code to directly cast and serialise numpy data, which replaces the previous use of intermediate Python objects.
Large performance improvement (~25x) for mixed frames containing datetimes / timedeltas.
```
-------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/9130 | 2014-12-22T16:13:48Z | 2014-12-24T15:53:17Z | 2014-12-24T15:53:17Z | 2014-12-24T18:27:30Z |
ENH: Expanduser in to_file methods GH9066 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 7433adaa4b738..32b79b4c8031f 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -40,6 +40,8 @@ Enhancements
.. _whatsnew_0160.enhancements:
+- Paths beginning with ~ will now be expanded to begin... | closes #9066
First time contributor, tried to follow all rules as good as possible.
If something is missing please let me know.
As specified in task 9066 tilde in a pathname get resolved into a absolute path.
In case the object is a buffer the buffer will be returned.
I did not add additional tests, since I could no... | https://api.github.com/repos/pandas-dev/pandas/pulls/9128 | 2014-12-22T11:57:36Z | 2014-12-24T19:11:56Z | 2014-12-24T19:11:56Z | 2014-12-25T07:33:06Z |
PERF: fix slow s.loc[[0]] | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 7433adaa4b738..c34218b434b1b 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -45,6 +45,7 @@ Performance
.. _whatsnew_0160.performance:
+- Fixed a severe performance regression for ``.loc`` ind... | Fixes #9126
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
series_loc_list_like | 0.2840 | 125.0... | https://api.github.com/repos/pandas-dev/pandas/pulls/9127 | 2014-12-22T07:49:35Z | 2014-12-23T01:24:17Z | 2014-12-23T01:24:17Z | 2014-12-24T01:57:20Z |
Use tz.gettz() instead of zoneinfo.gettz() | diff --git a/doc/source/whatsnew/v0.17.0.txt b/doc/source/whatsnew/v0.17.0.txt
index cc044bc35a707..785f35083a24e 100644
--- a/doc/source/whatsnew/v0.17.0.txt
+++ b/doc/source/whatsnew/v0.17.0.txt
@@ -26,6 +26,26 @@ New features
Other enhancements
^^^^^^^^^^^^^^^^^^
+- Add helper functions to check for OS running o... | zoneinfo.gettz() seems to have problems (1 & 2) on system which do not install
the zoninfo tarball (e.g. Debian, Gentoo and Fedora) but rely on the system
zoneinfo files. This results in test failures (3 & 4)
tz.gettz() doesn't suffer from this problem.
1 https://github.com/dateutil/dateutil/issues/8
2 https://github.... | https://api.github.com/repos/pandas-dev/pandas/pulls/9123 | 2014-12-21T18:45:24Z | 2015-05-15T20:26:37Z | 2015-05-15T20:26:36Z | 2015-06-02T19:26:59Z |
Remove bar line | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 6e93535451fbc..b17f8195d339e 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -49,6 +49,10 @@ Backwards incompatible API changes
- ``TimedeltaIndex.freqstr`` now output the same string format as ``... | Closes https://github.com/pydata/pandas/issues/9088
Closes https://github.com/pydata/pandas/issues/7128
Votes on whether we should
1. Remove the line entirely
2. Add a parameter to `.plot` control whether the line should be added.
I vote for 1, but I can go either way.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9122 | 2014-12-21T15:44:10Z | 2015-01-19T13:21:48Z | 2015-01-19T13:21:47Z | 2017-04-05T02:06:12Z |
fix an nbviewer link in tutorials | diff --git a/doc/source/tutorials.rst b/doc/source/tutorials.rst
index 2c913f8911066..7c1d1e345d273 100644
--- a/doc/source/tutorials.rst
+++ b/doc/source/tutorials.rst
@@ -26,7 +26,7 @@ repository <http://github.com/jvns/pandas-cookbook>`_. To run the examples in th
clone the GitHub repository and get IPython Noteboo... | some escape characters snuck in there that cause the URL to be invalid
| https://api.github.com/repos/pandas-dev/pandas/pulls/9120 | 2014-12-21T01:03:19Z | 2014-12-21T07:26:53Z | 2014-12-21T07:26:53Z | 2014-12-21T07:26:53Z |
API: Datetime-like indexes `summary` should output the same format | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 9b8382bd3f4c4..ee5ed49dfb5d1 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -29,6 +29,10 @@ Backwards incompatible API changes
- ``Index.duplicated`` now returns `np.array(dtype=bool)` rather t... | Related to #6469. Made all datetime-like indexes `summary` should output the same format.
#### Before
```
didx = pd.date_range('2014-12-20', freq='M', periods=3)
pidx = pd.period_range('2014-12-20', freq='M', periods=3)
tdidx = pd.timedelta_range(start='1 days', freq='D', periods=3)
didx.summary()
# DatetimeIndex: 3 ... | https://api.github.com/repos/pandas-dev/pandas/pulls/9116 | 2014-12-20T21:26:08Z | 2015-01-05T23:48:24Z | 2015-01-05T23:48:24Z | 2015-01-17T03:34:52Z |
API: Index.duplicated should return np.array | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 8122b60b736c9..244f15fdb1fbb 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -27,6 +27,8 @@ Backwards incompatible API changes
.. _whatsnew_0160.api_breaking:
+- ``Index.duplicated`` now retur... | For 2nd issue of #8875.
- Change `Index.duplicated` to return `np.array`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9112 | 2014-12-20T02:31:55Z | 2014-12-20T20:10:58Z | 2014-12-20T20:10:58Z | 2015-02-15T03:26:28Z |
TST: sql skip tests at class level if database is not available | diff --git a/pandas/io/tests/test_sql.py b/pandas/io/tests/test_sql.py
index c7b6b77ae7aea..dd456db0131de 100644
--- a/pandas/io/tests/test_sql.py
+++ b/pandas/io/tests/test_sql.py
@@ -868,24 +868,38 @@ class _TestSQLAlchemy(PandasSQLTest):
"""
flavor = None
+ @classmethod
+ def setUpClass(cls):
+ ... | Added a `SetUpClass` to skip the full class when no connection can be made to the database, and made some of the other methods class methods, to be able to use them in `SetUpClass`
Eg if you are testing locally and don't have one of the databases available, then it will test the connection and skip each individual tes... | https://api.github.com/repos/pandas-dev/pandas/pulls/9110 | 2014-12-19T15:39:55Z | 2014-12-20T22:05:18Z | 2014-12-20T22:05:18Z | 2014-12-20T22:05:18Z |
SQL: fix type conversion for Timestamp object typed columns (GH9085) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 9b8382bd3f4c4..7433adaa4b738 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -58,6 +58,8 @@ Bug Fixes
+- Fixed bug in ``to_sql`` when mapping a Timestamp object column (datetime
+ column wit... | Closes #9085
| https://api.github.com/repos/pandas-dev/pandas/pulls/9109 | 2014-12-19T15:37:22Z | 2014-12-20T22:30:13Z | 2014-12-20T22:30:13Z | 2014-12-20T22:30:13Z |
Refs BUG-9099: Support simultaneous copy and dtype args in DataFrame init | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 8720774b821a2..0389b829bf6c9 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -51,3 +51,4 @@ Bug Fixes
- Fixed compatibility issue in ``DatetimeIndex`` affecting architectures where ``numpy.int_`... | closes #9099
This is a somewhat brute-force fix for supporting copy and dtype arguments in DataFrame constructor. Some data might be copied twice if both arguments are set, but if I did the operations in a different order, one other unit test would fail.
| https://api.github.com/repos/pandas-dev/pandas/pulls/9105 | 2014-12-18T14:04:11Z | 2014-12-20T20:05:52Z | 2014-12-20T20:05:52Z | 2014-12-20T20:06:40Z |
BUG: Bug in DatetimeIndex iteration, related to (GH8890), fixed in (GH9100) | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 8720774b821a2..8122b60b736c9 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -51,3 +51,4 @@ Bug Fixes
- Fixed compatibility issue in ``DatetimeIndex`` affecting architectures where ``numpy.int_`... | closes #9100
| https://api.github.com/repos/pandas-dev/pandas/pulls/9104 | 2014-12-18T11:28:40Z | 2014-12-19T21:03:11Z | 2014-12-19T21:03:11Z | 2014-12-19T21:03:11Z |
BUG in read_csv when using skiprows on a file with CR line endings #9079 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index 8720774b821a2..6176555dea27e 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -51,3 +51,4 @@ Bug Fixes
- Fixed compatibility issue in ``DatetimeIndex`` affecting architectures where ``numpy.int_`... | closes #9079
Fix the read_csv bug introduced in 6bf83c5d when using skiprows on a file with CR line terminators
| https://api.github.com/repos/pandas-dev/pandas/pulls/9102 | 2014-12-18T03:09:51Z | 2014-12-20T20:31:45Z | 2014-12-20T20:31:45Z | 2014-12-20T20:31:55Z |
overflow bug in multi-index when checking for duplicates | diff --git a/doc/source/api.rst b/doc/source/api.rst
index d2f94c22f0335..b6fd14f425bd0 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -1176,6 +1176,7 @@ Attributes
Index.is_monotonic_increasing
Index.is_monotonic_decreasing
Index.is_unique
+ Index.has_duplicates
Index.dtype
Index.inf... | closes https://github.com/pydata/pandas/issues/9075
| https://api.github.com/repos/pandas-dev/pandas/pulls/9101 | 2014-12-18T01:10:15Z | 2014-12-18T11:40:22Z | 2014-12-18T11:40:22Z | 2014-12-21T13:52:03Z |
Closes #8943: COMPAT: periods needs coercion to np.int64 | diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt
index a377b9caadc0c..74fcf2e1fbf06 100644
--- a/doc/source/whatsnew/v0.16.0.txt
+++ b/doc/source/whatsnew/v0.16.0.txt
@@ -48,3 +48,6 @@ Bug Fixes
~~~~~~~~~
.. _whatsnew_0160.bug_fixes:
+
+- Fixed compatibility issue in ``DatetimeIndex`` ... | Let me know if this needs any work.
closes #8943
| https://api.github.com/repos/pandas-dev/pandas/pulls/9078 | 2014-12-15T08:11:15Z | 2014-12-17T22:14:26Z | 2014-12-17T22:14:26Z | 2014-12-18T02:06:30Z |
CLN (PY2): Remove DataFrame/Series.timetuple | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index a1857f7bd3f6b..272c6ef4f9267 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -258,10 +258,6 @@ class DatetimeArray(dtl.DatetimeLikeArrayMixin,
'normalize', 'strftime',... | I was looking at the sphinx doc build warnings, and of them was complaining about the `DataFrame/Series.timetuple` attribute. This dummy `timetuple` attribute was added in https://github.com/pandas-dev/pandas/pull/24056, to fix comparison with `datetime.datetime`.
Apart from the doc build problem (which can probabl... | https://api.github.com/repos/pandas-dev/pandas/pulls/26062 | 2019-04-12T11:10:34Z | 2019-04-15T12:14:25Z | 2019-04-15T12:14:24Z | 2019-04-15T12:14:33Z |
DOC: fix See Also constructs | diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py
index 2494cf55d2e0d..92cb4db2ac868 100644
--- a/pandas/core/groupby/groupby.py
+++ b/pandas/core/groupby/groupby.py
@@ -1097,7 +1097,8 @@ def count(self):
# defined here for API doc
raise NotImplementedError
- @Substitut... | I am testing the numpydoc master version (almost to be released as 0.9, see https://github.com/numpy/numpydoc/issues/203), and it got a bit more strict on misformatted See Also sections. This PR fixes that. | https://api.github.com/repos/pandas-dev/pandas/pulls/26059 | 2019-04-12T08:33:02Z | 2019-04-12T14:36:55Z | 2019-04-12T14:36:55Z | 2019-04-12T14:36:59Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.