title stringlengths 1 185 | diff stringlengths 0 32.2M | body stringlengths 0 123k ⌀ | url stringlengths 57 58 | created_at stringlengths 20 20 | closed_at stringlengths 20 20 | merged_at stringlengths 20 20 ⌀ | updated_at stringlengths 20 20 |
|---|---|---|---|---|---|---|---|
DOC: Adding parameters to frequencies, offsets (issue #2916) | diff --git a/pandas/tseries/frequencies.py b/pandas/tseries/frequencies.py
index e8dad6c85b2ac..3b66eba31fca1 100644
--- a/pandas/tseries/frequencies.py
+++ b/pandas/tseries/frequencies.py
@@ -746,6 +746,7 @@ def infer_freq(index, warn=True):
Parameters
----------
index : DatetimeIndex
+ warn : boolea... | My first PR...
| https://api.github.com/repos/pandas-dev/pandas/pulls/3420 | 2013-04-22T20:53:51Z | 2013-04-22T21:02:26Z | 2013-04-22T21:02:26Z | 2014-06-14T00:34:08Z |
Period.strftime should return unicode strings always | diff --git a/pandas/tseries/period.py b/pandas/tseries/period.py
index 14119dd94290a..a405fda1c4fe4 100644
--- a/pandas/tseries/period.py
+++ b/pandas/tseries/period.py
@@ -13,6 +13,7 @@
import pandas.core.common as com
from pandas.core.common import isnull
+from pandas.util import py3compat
from pandas.lib impo... | pending confirmed of fix to #3363
| https://api.github.com/repos/pandas-dev/pandas/pulls/3410 | 2013-04-21T13:37:50Z | 2013-04-21T16:54:11Z | 2013-04-21T16:54:11Z | 2014-06-27T18:12:06Z |
BUG: don't rely on sys.getdefaultencoding if we don't need to | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 1b362fb5c0562..fbab7472ba10b 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -165,7 +165,9 @@ def _encode_diff_func():
encoding = get_option("display.encoding")
def _encode_diff(x):
- return len(x) - len(x.... | pending confirm on fixing #3360.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3409 | 2013-04-21T07:22:08Z | 2013-04-21T15:13:08Z | 2013-04-21T15:13:08Z | 2014-07-23T06:58:59Z |
TST: added testing and error messages for passing datetimes with timezones | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index da4077165add2..be11732d7b3a2 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -1207,13 +1207,20 @@ def set_atom(self, block, existing_col, min_itemsize, nan_rep, **kwargs):
self.values = list(block.items)
dtype = block... | (not yet implemented, and error message was a little misleading)
CLN: better error messages on invalid appends
| https://api.github.com/repos/pandas-dev/pandas/pulls/3405 | 2013-04-20T16:26:09Z | 2013-04-20T16:51:42Z | 2013-04-20T16:51:42Z | 2014-06-25T07:53:00Z |
DOC: ref / val caveat, point at pandas methods | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index 9a3dc5f37934a..7ba7a315f7bae 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -121,8 +121,14 @@ Sorting by values
Selection
---------
-See the :ref:`Indexing section <indexing>`
+.. note::
+ While standard Python / Numpy expres... | This in part addresses #3340.
I added a few comments in the doc that point users ad using the pandas
at, iat, loc, iloc, etc. methods and included an example similar to
the one exposed in #3340 that addresses some of the reference / value
intricaies encountered with pandas and numpy objects.
To make things clear I se... | https://api.github.com/repos/pandas-dev/pandas/pulls/3399 | 2013-04-19T09:32:59Z | 2013-04-20T14:32:40Z | 2013-04-20T14:32:40Z | 2014-06-14T17:35:39Z |
BUG: GH3380 groupby will handle mutation on a DataFrame group's columns | diff --git a/RELEASE.rst b/RELEASE.rst
index 5fa0234041227..55fb085b7bdee 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -298,6 +298,8 @@ pandas 0.11.0
- Fix set_index segfault when passing MultiIndex (GH3308_)
- Ensure pickles created in py2 can be read in py3
- Insert ellipsis in MultiIndex summary repr (GH33... | and fallback to non-fast apply
fixes #3380
| https://api.github.com/repos/pandas-dev/pandas/pulls/3384 | 2013-04-17T14:54:52Z | 2013-04-20T14:32:53Z | 2013-04-20T14:32:53Z | 2014-06-24T18:14:36Z |
Travis-CI: Allow network cache opt-in for whitelisted forks | diff --git a/.travis.yml b/.travis.yml
index e8a9193f9b7c9..b48f6d834b62d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,20 +2,29 @@ language: python
python:
- 2.6
- - 3.3
env:
global:
- - NOSE_ARGS="not slow" # need at least this so travis page will show env column
+ - secure: "O04RU5QRKEDL/SrIWEs... | https://api.github.com/repos/pandas-dev/pandas/pulls/3383 | 2013-04-17T14:39:53Z | 2013-04-17T14:40:10Z | 2013-04-17T14:40:10Z | 2014-08-11T06:22:53Z | |
ENH/CLN: make Timestamp repr valid python code, like datetime does. | diff --git a/pandas/tseries/tests/test_period.py b/pandas/tseries/tests/test_period.py
index f34a237b55dd4..10a5e039b9fc6 100644
--- a/pandas/tseries/tests/test_period.py
+++ b/pandas/tseries/tests/test_period.py
@@ -1298,6 +1298,14 @@ def test_to_timestamp_preserve_name(self):
conv = index.to_timestamp('D')
... | In the same vein as #3038 , make `repr()` output valid python code where feasible. I find this not
being the case inconvenient for example when issues contain code examples,
and the data needs to be recreated by hand rather then merely copy pasted.
```
In [2]: zs=[Timestamp('99-04-17 00:00:00',tz='UTC'),
...: Time... | https://api.github.com/repos/pandas-dev/pandas/pulls/3379 | 2013-04-17T01:02:05Z | 2013-04-23T02:13:36Z | 2013-04-23T02:13:36Z | 2014-06-19T05:28:32Z |
multiindex xs slicing bug fix | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 5ffd81ec80157..2a1ee06984aa8 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2226,8 +2226,9 @@ def xs(self, key, axis=0, level=None, copy=True):
raise ValueError('Cannot retrieve view (copy=False)')
# level =... | #2903 solves the case for the first level but using the same variables from that issue, the following code raises a `TypeError` for the second level:
``` python
import pandas as pd
from numpy.random import rand
columns = pd.MultiIndex.from_tuples([('a', 'foo'), ('a', 'bar'), ('b', 'hello'), ('b', 'world')], names=['lv... | https://api.github.com/repos/pandas-dev/pandas/pulls/3378 | 2013-04-17T00:13:10Z | 2013-04-17T22:40:58Z | 2013-04-17T22:40:58Z | 2014-06-30T05:21:11Z |
DOC: Moved note about cursor position in TS plots out of changes to pd.data.io.Options in v0.11.0 | diff --git a/doc/source/v0.11.0.txt b/doc/source/v0.11.0.txt
index 834b23c92d3b5..2024b9a6598e4 100644
--- a/doc/source/v0.11.0.txt
+++ b/doc/source/v0.11.0.txt
@@ -309,7 +309,8 @@ Enhancements
only return forward looking data for options near the current stock
price. This just obtains the data from Optio... | Very simple formatting change.
Note about cursor position in time series plots should not have been a part of changes to Options class in data.io.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3365 | 2013-04-15T15:29:33Z | 2013-04-15T15:39:33Z | 2013-04-15T15:39:33Z | 2014-06-16T14:25:07Z |
CLN: remove some unicode hair from pre-pprint_thing days GH3360 | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 0f0029167ce64..dc79a1cbc762a 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -139,14 +139,9 @@ def to_string(self):
maxlen = max(len(x) for x in fmt_index)
pad_space = min(maxlen, 60)
- _encode_diff = _encode_d... | breaks no tests, and the code it removes resolved an issue
which now works even without it. even so, no sudden moves
a couple of days before a major release, so 0.12.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3364 | 2013-04-15T15:20:36Z | 2013-04-23T02:09:41Z | 2013-04-23T02:09:41Z | 2014-07-16T08:05:55Z |
PERF: get_numeric_data now a bit faster | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index ab7d23acf183e..bc39d4e4ff5d4 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -4930,25 +4930,10 @@ def _get_agg_axis(self, axis_num):
raise Exception('Must have 0<= axis <= 1')
def _get_numeric_data(self):
- if self... | CLN: cleaned up take in tseries/resample and core/internals to use interenals take
```
(which wasn't using the block level take)
```
This is not a big diff on get_numeric_data, about 5us on avg when I test it,
but its non-zero! (and there is some other code cleanups)
The other tests might be noise, not sure.
```
--... | https://api.github.com/repos/pandas-dev/pandas/pulls/3359 | 2013-04-14T16:18:01Z | 2013-04-14T16:31:55Z | 2013-04-14T16:31:55Z | 2014-06-16T23:22:22Z |
BLD: Add 2to3 caching, move the build cache logic into use_build_cache.py | diff --git a/scripts/use_build_cache.py b/scripts/use_build_cache.py
new file mode 100755
index 0000000000000..0b43e897df9d4
--- /dev/null
+++ b/scripts/use_build_cache.py
@@ -0,0 +1,288 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+import os
+
+"""
+This script should be run from the repo root dir, it rewrites s... | I tested this script all the way back to 0.7.0. The build cache code was a lot of noise
to shove into setup.py, I'm glad to pull it back out.
a "goto_ver.sh" script is now really easy to do, and very useful for benchmarking
and bisecting regressions.
.bashrc:
``` bash
# Use the pandas build cache
export BUILD_CACHE_... | https://api.github.com/repos/pandas-dev/pandas/pulls/3358 | 2013-04-14T14:11:56Z | 2013-04-14T14:58:21Z | 2013-04-14T14:58:21Z | 2013-04-14T15:04:13Z |
ENH: HDFStore now auto creates data_columns if they are specified in min_itemsize | diff --git a/RELEASE.rst b/RELEASE.rst
index 610e9254289aa..efa4950a36bb3 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -178,6 +178,7 @@ pandas 0.11.0
- added the method ``select_column`` to select a single column from a table as a Series.
- deprecated the ``unique`` method, can be replicated by ``select_... | DOC: created String Columns section, added cookbook example
| https://api.github.com/repos/pandas-dev/pandas/pulls/3357 | 2013-04-14T12:39:59Z | 2013-04-14T12:59:34Z | 2013-04-14T12:59:34Z | 2014-07-10T11:41:42Z |
TST: properly raise the quoted exception when trying to unpickle on py2 | diff --git a/pandas/core/common.py b/pandas/core/common.py
index c41784d015e7c..610477caddba8 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1584,6 +1584,8 @@ def load(path):
with open(path,'rb') as fh:
return pickle.load(fh)
except:
+ if not py3compat.PY3:
+ ... | should throw the error in the unpickle if on py2, rather than try to decode
as the try: except: is mainly to catch a decoding error
| https://api.github.com/repos/pandas-dev/pandas/pulls/3336 | 2013-04-13T01:10:29Z | 2013-04-13T01:10:36Z | 2013-04-13T01:10:36Z | 2013-04-13T01:10:36Z |
PERF: series construction perf enhancements, use a fast path based on dt... | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 4acaa3f421e3a..c41784d015e7c 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -42,6 +42,8 @@ class AmbiguousIndexError(PandasError, KeyError):
pass
+_POSSIBLY_CAST_DTYPES = set([ np.dtype(t) for t in ['M8[ns]','m8[ns]','O','int8'... | This is only 1us improvement, but non-zero
(I measure the existing one at 9us, this puts it at 10, before
this change was about 11)
difference is 3 function calls, so not much more we can do I think
(as this is handling more cases)
```
-------------------------------------------------------------------------------
Te... | https://api.github.com/repos/pandas-dev/pandas/pulls/3333 | 2013-04-12T18:50:22Z | 2013-04-12T19:07:36Z | 2013-04-12T19:07:36Z | 2014-06-21T22:22:12Z |
PERF/CLN: infer Period in infer_dtype, later index inference is faster | diff --git a/pandas/core/index.py b/pandas/core/index.py
index 57222d6a04c2f..43cb7734a1cc5 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -127,8 +127,8 @@ def __new__(cls, data, dtype=None, copy=False, name=None):
from pandas.tseries.index import DatetimeIndex
... | This was meant to fix the vbench: ctor_index_array_string
see #3326
not sure if this is that stable of a perf fix
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
---------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/3332 | 2013-04-12T16:18:05Z | 2013-04-12T16:18:14Z | 2013-04-12T16:18:14Z | 2013-04-12T16:18:14Z |
PERF: fixed int64 indexing perf issue when conversion to int64 | diff --git a/pandas/core/index.py b/pandas/core/index.py
index c30b5dca3a28a..57222d6a04c2f 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -1332,11 +1332,6 @@ def inferred_type(self):
def _constructor(self):
return Int64Index
- @cache_readonly
- def _engine(self):
- # prope... | fixes an issue I when using non-int64 Int64Indexes (which is very rare) anyhow
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
----------------------------------------------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/3331 | 2013-04-12T16:08:41Z | 2013-04-12T16:08:52Z | 2013-04-12T16:08:52Z | 2013-04-12T16:14:26Z |
PERF/CLN: infer Period in infer_dtype, later index inference is faster | diff --git a/pandas/core/index.py b/pandas/core/index.py
index 57222d6a04c2f..43cb7734a1cc5 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -127,8 +127,8 @@ def __new__(cls, data, dtype=None, copy=False, name=None):
from pandas.tseries.index import DatetimeIndex
... | This was meant to fix the vbench: ctor_index_array_string
see #3326
not sure if this is that stable of a perf fix
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
---------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/3329 | 2013-04-12T14:40:13Z | 2013-04-12T15:09:16Z | 2013-04-12T15:09:16Z | 2013-04-12T15:09:16Z |
PERF: fixed int64 indexing perf issue when conversion to int64 | diff --git a/pandas/core/index.py b/pandas/core/index.py
index c30b5dca3a28a..57222d6a04c2f 100644
--- a/pandas/core/index.py
+++ b/pandas/core/index.py
@@ -1332,11 +1332,6 @@ def inferred_type(self):
def _constructor(self):
return Int64Index
- @cache_readonly
- def _engine(self):
- # prope... | fixes an issue I when using non-int64 Int64Indexes (which is very rare) anyhow
```
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
----------------------------------------------------------------------------... | https://api.github.com/repos/pandas-dev/pandas/pulls/3327 | 2013-04-12T13:35:07Z | 2013-04-12T13:53:41Z | 2013-04-12T13:53:41Z | 2014-07-07T14:09:14Z |
BUG: ensure index casting works even in Int64Index | diff --git a/RELEASE.rst b/RELEASE.rst
index a542a406fcfaa..9016a9efdcae3 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -293,6 +293,7 @@ pandas 0.11.0
- fixed pretty priniting of sets (GH3294_)
- Panel() and Panel.from_dict() now respects ordering when give OrderedDict (GH3303_)
- DataFrame where with a dateti... | ```
df = DataFrame({'A' : [1.1,2.2,3.3], 'B' : [5.0,6.1,7.2]}, index = [2010, 2011, 2012])
df.index = df.index.astype(int)
df.ix[2010]
```
was failing - fixed up
from the mailing list
https://groups.google.com/forum/?fromgroups#!topic/pydata/ClJA5ldNQNQ
| https://api.github.com/repos/pandas-dev/pandas/pulls/3322 | 2013-04-11T21:48:58Z | 2013-04-12T04:14:37Z | 2013-04-12T04:14:37Z | 2013-04-12T04:14:49Z |
SCR: add a script for tracking down all commits touching a named method | diff --git a/scripts/find_commits_touching_func.py b/scripts/find_commits_touching_func.py
new file mode 100755
index 0000000000000..d23889ec80d05
--- /dev/null
+++ b/scripts/find_commits_touching_func.py
@@ -0,0 +1,201 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+# copryright 2013, y-p @ github
+
+from __futu... | New script to get a change hirsoty for a functions across the
code base.
Initially, I hope this well help define "golden" commits for the various
adhoc versions of pickled pandas objects, so we can finish off #3310
, get robust back-compat testing and feel easier about touching
the serialization code (which always sc... | https://api.github.com/repos/pandas-dev/pandas/pulls/3316 | 2013-04-11T01:19:57Z | 2013-04-11T05:03:16Z | 2013-04-11T05:03:16Z | 2014-07-08T12:01:29Z |
DOC add dayfirst to to_datetime | diff --git a/pandas/tseries/tools.py b/pandas/tseries/tools.py
index c93d9cd425eef..e35b80fff013f 100644
--- a/pandas/tseries/tools.py
+++ b/pandas/tseries/tools.py
@@ -58,9 +58,15 @@ def to_datetime(arg, errors='ignore', dayfirst=False, utc=None, box=True,
arg : string, datetime, array of strings (with possible N... | At the moment only some of the arguments are shown in the docstring for to_datetime, which can [lead to unnecessary confusion](http://stackoverflow.com/questions/15929861/pandas-to-datetime-inconsistent-time-string-format/15937890#15937890). This adds all of them to the docstring.
~~Also a cheeky enhancement to use pr... | https://api.github.com/repos/pandas-dev/pandas/pulls/3314 | 2013-04-10T23:47:41Z | 2013-04-13T00:21:54Z | 2013-04-13T00:21:54Z | 2013-04-13T00:21:55Z |
TST: test fix on GH3235 (failing because of system dtype on different sy... | diff --git a/pandas/tests/test_series.py b/pandas/tests/test_series.py
index 4f17135385748..20ff6e95b436c 100644
--- a/pandas/tests/test_series.py
+++ b/pandas/tests/test_series.py
@@ -1154,17 +1154,17 @@ def test_where(self):
self.assertRaises(Exception, s.__setitem__, tuple(mask), values)
# GH... | ...stems)
| https://api.github.com/repos/pandas-dev/pandas/pulls/3313 | 2013-04-10T15:08:27Z | 2013-04-10T18:24:33Z | 2013-04-10T18:24:33Z | 2014-06-17T19:53:14Z |
BUG: GH3311 Dataframe where with a datetimelike was not correctly selecting | diff --git a/RELEASE.rst b/RELEASE.rst
index e01ccad6db96a..a542a406fcfaa 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -292,6 +292,7 @@ pandas 0.11.0
spacing (GH3258_)
- fixed pretty priniting of sets (GH3294_)
- Panel() and Panel.from_dict() now respects ordering when give OrderedDict (GH3303_)
+ - DataFr... | closes #3311
| https://api.github.com/repos/pandas-dev/pandas/pulls/3312 | 2013-04-10T15:01:47Z | 2013-04-10T18:25:33Z | 2013-04-10T18:25:33Z | 2018-07-23T04:16:06Z |
TST/CLN: legacy pickle testing | https://github.com/pandas-dev/pandas/pull/3310.diff | CLN:
- standardized testing data to live under tests/data (for that set of tests),
- added method `util/testing.get_data_path` to give you this path
TST:
- added `io/tests/test_pickle.py` and `io/tests/generate_legacy_pickles.py`
to generate legacy pickle files and provide comparsions
just run `python path_to_gene... | https://api.github.com/repos/pandas-dev/pandas/pulls/3310 | 2013-04-10T13:59:18Z | 2013-04-12T05:07:46Z | 2013-04-12T05:07:46Z | 2014-08-06T13:12:24Z |
PR: Panel and Panel.from_dict() don't honor ordering when passed OrderedDict | diff --git a/RELEASE.rst b/RELEASE.rst
index a5f9a9aad9447..db68a9590f329 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -287,6 +287,7 @@ pandas 0.11.0
- Fix Python ascii file parsing when integer falls outside of floating point
spacing (GH3258_)
- fixed pretty priniting of sets (GH3294_)
+ - Panel() and Pan... | #3303
| https://api.github.com/repos/pandas-dev/pandas/pulls/3304 | 2013-04-09T22:19:50Z | 2013-04-09T23:03:06Z | 2013-04-09T23:03:06Z | 2014-06-16T07:12:33Z |
Work around mpl 1.2.1 regression re bar log plot GH3298, GH3254 | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 51b2676abb0ae..b130aabeb2fe6 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -404,6 +404,21 @@ def test_bar_center(self):
ax = df.plot(kind='bar', grid=True)
self.assertEqual(ax.xaxis.get... | #3298, #3254
added tests and Tested visually on 1.2.0 and 1.2.1.
y-p's 2nd rule of github - if you see an area in the codebase that you never ever want
to touch, you'll end up maintaining it.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3300 | 2013-04-09T19:34:39Z | 2013-04-09T20:39:25Z | 2013-04-09T20:39:25Z | 2013-04-09T20:39:25Z |
BUG: DataFrame.hist passes keyword arguments to mpl.hist; closes #3296 | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 51b2676abb0ae..eae2ea6bbc086 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -442,6 +442,7 @@ def test_kde(self):
@slow
def test_hist(self):
+ import matplotlib.pyplot as plt
df... | This is a fix for https://github.com/pydata/pandas/issues/3296 .
Now keyword arguments to `plotting.grouped_hist` are passed to `matplotlib.Axes.hist`. This allows you to create e.g. normalized, cumulative, or log scaled histograms::
```
df = pd.DataFrame(np.random.randn(500, 2), columns=['A', 'B'])
df['C'] = np.rand... | https://api.github.com/repos/pandas-dev/pandas/pulls/3299 | 2013-04-09T19:15:11Z | 2013-04-10T07:01:03Z | 2013-04-10T07:01:03Z | 2013-04-10T07:01:03Z |
BUG: fix unsafe dtype conversion in Series | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 49d3015a5c871..60d3e86e185fe 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -760,12 +760,27 @@ def _maybe_upcast_putmask(result, mask, other, dtype=None, change=None):
def changeit():
- # our type is wrong here, ... | fixes assignment to smaller itemsizes on dtype upcasting
| https://api.github.com/repos/pandas-dev/pandas/pulls/3292 | 2013-04-09T02:06:06Z | 2013-04-09T17:18:25Z | 2013-04-09T17:18:25Z | 2013-04-09T19:44:07Z |
BUG: suppress error raise by nonnumeric columns when plotting DataFrame ... | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index f18e862a30293..afe9065b4f9c2 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -234,6 +234,17 @@ def test_plot(self):
index=index)
_check_plot_works(df.plot, title=u'\u03A3')... | ...#3108
suppressing AttributeError here so you can plot the DataFrame and automatically exclude non-numeric columns. @y-p @wesm @jreback any thoughts on 1) whether it should raise instead of exclude and 2) whether catching the AttributeError here is too dangerously broad?
| https://api.github.com/repos/pandas-dev/pandas/pulls/3287 | 2013-04-08T16:16:53Z | 2013-04-12T04:14:13Z | 2013-04-12T04:14:13Z | 2014-07-02T01:57:24Z |
ENH/BUG: GH3283 allow pivot tables to downcast the output (e.g. float -> int) if possible | diff --git a/RELEASE.rst b/RELEASE.rst
index 7b36b11371737..a02fcd1e3f83d 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -171,6 +171,8 @@ pandas 0.11.0
- added the method ``select_column`` to select a single column from a table as a Series.
- deprecated the ``unique`` method, can be replicated by ``select_co... | closes #3283
| https://api.github.com/repos/pandas-dev/pandas/pulls/3286 | 2013-04-08T14:43:28Z | 2013-04-08T15:32:30Z | 2013-04-08T15:32:30Z | 2014-06-20T01:23:28Z |
ENH: Allow read_frame to use parameterized queries | diff --git a/pandas/io/sql.py b/pandas/io/sql.py
index 0caf83838fb2d..3002f2f620f5e 100644
--- a/pandas/io/sql.py
+++ b/pandas/io/sql.py
@@ -22,6 +22,15 @@ def execute(sql, con, retry=True, cur=None, params=None):
----------
sql: string
Query to be executed
+ con: database connection instance
+ ... | Added params argument to read_frame that is passed directly to the
execute method. This allows users to use a parameterized query
rather than having to pre-format the SQL themselves.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3285 | 2013-04-08T14:38:43Z | 2013-04-08T16:54:21Z | 2013-04-08T16:54:20Z | 2013-04-08T16:54:29Z |
ENH: add to_series() method to Index and subclasses GH3275 | diff --git a/RELEASE.rst b/RELEASE.rst
index 46f7c832ae149..291f1f8bf0f33 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -49,6 +49,8 @@ pandas 0.11.0
- Added support for expression evaluation using the ``numexpr`` library
- Added ``convert=boolean`` to ``take`` routines to translate negative
indices to positi... | #3275
``` python
In [10]: df=mkdf(10,5,r_idx_nlevels=2)
In [11]: df.index
Out[11]:
MultiIndex
[R_l0_g0 R_l1_g0, R_l0_g1 R_l1_g1, R_l0_g2 R_l1_g2, R_l0_g3 R_l1_g3, R_l0_g4 R_l1_g4, R_l0_g5 R_l1_g5, R_l0_g6 R_l1_g6, R_l0_g7 R_l1_g7, R_l0_g8 R_l1_g8, R_l0_g9 R_l1_g9]
In [12]: # new method
...: df.index.t... | https://api.github.com/repos/pandas-dev/pandas/pulls/3280 | 2013-04-08T11:29:06Z | 2013-04-09T20:05:09Z | 2013-04-09T20:05:09Z | 2014-06-21T14:58:26Z |
API: raise TypeError out of GroupBy.agg | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index cb0a03d306c53..1954321e55a81 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -438,7 +438,7 @@ def _try_cast(self, result, obj):
dtype = obj.dtype
if _is_numeric_dtype(dtype):
-
+
... | Fixes #3238
| https://api.github.com/repos/pandas-dev/pandas/pulls/3277 | 2013-04-08T06:51:51Z | 2013-04-08T07:12:24Z | 2013-04-08T07:12:24Z | 2014-08-12T07:30:23Z |
CLN: delete sandbox/stats, that's all statsmodels now | diff --git a/pandas/sandbox/stats/__init__.py b/pandas/sandbox/stats/__init__.py
deleted file mode 100644
index e69de29bb2d1d..0000000000000
diff --git a/pandas/sandbox/stats/rls.py b/pandas/sandbox/stats/rls.py
deleted file mode 100644
index 51166500c484f..0000000000000
--- a/pandas/sandbox/stats/rls.py
+++ /dev/null
... | https://api.github.com/repos/pandas-dev/pandas/pulls/3273 | 2013-04-08T01:07:04Z | 2013-04-08T05:06:40Z | 2013-04-08T05:06:40Z | 2013-04-08T05:06:40Z | |
CLN: remove stale TODO.rst | diff --git a/TODO.rst b/TODO.rst
deleted file mode 100644
index fc87174fd63bd..0000000000000
--- a/TODO.rst
+++ /dev/null
@@ -1,63 +0,0 @@
-DOCS 0.7.0
-----------
-- ??? no sort in groupby
-- DONE concat with dict
-- Gotchas re: integer indexing
-
-DONE
-----
-- SparseSeries name integration + tests
-- Refactor Series.... | any sentimental value there?
| https://api.github.com/repos/pandas-dev/pandas/pulls/3271 | 2013-04-07T20:20:33Z | 2013-04-08T05:06:11Z | 2013-04-08T05:06:11Z | 2013-04-08T05:06:12Z |
ENH: Fix for #1512, added StataReader and StataWriter to pandas.io.parsers | diff --git a/RELEASE.rst b/RELEASE.rst
index 1f5bd2591470b..8a3ab284b26a6 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -33,6 +33,7 @@ pandas 0.11.1
- pd.read_html() can now parse HTML string, files or urls and return dataframes
courtesy of @cpcloud. (GH3477_)
- Support for reading Amazon S3 files. (GH3504_)... | This pull request aims at fixing ticket #1512 and contains both a reader and a writer for Stata .dta files.
The code basically comes from th statsmodels project, however, I adapted it to the needs of pandas and implemented support for reading out stata value labels. The writer does not write those labels back.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3270 | 2013-04-07T19:57:24Z | 2013-05-16T11:31:47Z | 2013-05-16T11:31:47Z | 2014-06-13T17:39:52Z |
DOC: fix docstring for date_parser option | diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py
index 164422f7572bd..9b1be2a658a6a 100644
--- a/pandas/io/parsers.py
+++ b/pandas/io/parsers.py
@@ -87,8 +87,9 @@ class DateConversionError(Exception):
If True and parse_dates specifies combining multiple columns then
keep the original columns.
date_pa... | Just a small doc string fix, hopefully trivial to merge.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3266 | 2013-04-07T13:34:50Z | 2013-04-08T23:54:20Z | 2013-04-08T23:54:20Z | 2014-06-21T21:02:26Z |
ENH: update DataFrame to_latex for nicer typesetting | diff --git a/pandas/core/format.py b/pandas/core/format.py
index 862b09f5e84e3..f18a449fb604b 100644
--- a/pandas/core/format.py
+++ b/pandas/core/format.py
@@ -347,6 +347,12 @@ def to_latex(self, force_unicode=None, column_format=None):
"""
Render a DataFrame to a LaTeX tabular environment output.
... | https://api.github.com/repos/pandas-dev/pandas/pulls/3264 | 2013-04-06T22:38:24Z | 2013-04-12T04:13:19Z | 2013-04-12T04:13:19Z | 2014-02-03T12:47:12Z | |
DOC: update scipy.py #2916 | diff --git a/pandas/compat/scipy.py b/pandas/compat/scipy.py
index aab8bd89c5af4..59a9bbdfbdb9e 100644
--- a/pandas/compat/scipy.py
+++ b/pandas/compat/scipy.py
@@ -30,13 +30,13 @@ def scoreatpercentile(a, per, limit=(), interpolation_method='fraction'):
limit : tuple, optional
Tuple of two scalars, the l... | renamed interpolation -> interpolation_method.
| https://api.github.com/repos/pandas-dev/pandas/pulls/3262 | 2013-04-06T05:46:04Z | 2013-04-06T06:02:40Z | 2013-04-06T06:02:40Z | 2013-04-06T06:03:03Z |
ENH: In HDFStore, add select_column method, deprecate unique method | diff --git a/RELEASE.rst b/RELEASE.rst
index 87acddb74df8a..46f7c832ae149 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -163,6 +163,11 @@ pandas 0.11.0
when invalid shapes are passed
- Methods return None when inplace=True (GH1893_)
+ - ``HDFStore``
+
+ - added the method ``select_column`` to select a si... | https://api.github.com/repos/pandas-dev/pandas/pulls/3256 | 2013-04-04T11:49:15Z | 2013-04-04T12:11:15Z | 2013-04-04T12:11:15Z | 2014-06-15T00:21:31Z | |
BUG: pprint_thing should pprint and limit nested sequences in dicts GH3251 | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 01b6dde7d1ecc..f4485cbf1154c 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1867,9 +1867,16 @@ def _pprint_dict(seq, _nest_lvl=0):
pairs = []
pfmt = u"%s: %s"
- for k, v in seq.items():
- pairs.append(pfmt % (repr... | #3251
**before**
``` python
pd.options.display.max_seq_items= 5
print pd.core.common.pprint_thing(dict(foo=range(100)))
foo = range(5)
foo[0] = foo
print pd.core.common.pprint_thing(dict(foo=foo))
{'foo': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30... | https://api.github.com/repos/pandas-dev/pandas/pulls/3252 | 2013-04-03T19:58:04Z | 2013-04-23T02:12:54Z | 2013-04-23T02:12:54Z | 2014-07-04T22:23:57Z |
BOOK: keep code examples in wes's book current, until the 2nd ed. | diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py
index 692f5cfb85890..70f3fb045376e 100644
--- a/pandas/core/config_init.py
+++ b/pandas/core/config_init.py
@@ -184,7 +184,7 @@ def mpl_style_cb(key):
cf.register_option('precision', 7, pc_precision_doc, validator=is_int)
cf.register_option(... | ;)
| https://api.github.com/repos/pandas-dev/pandas/pulls/3250 | 2013-04-03T15:15:24Z | 2013-04-03T15:15:46Z | 2013-04-03T15:15:46Z | 2013-04-03T15:15:46Z |
DOC: io.rst cleanups | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 28572ae14d15e..8440f6f566659 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -35,7 +35,7 @@ CSV & Text files
The two workhorse functions for reading text files (a.k.a. flat files) are
:func:`~pandas.io.parsers.read_csv` and :func:`~pandas.io.parsers.r... | @jreback, I read through this today and did some tweaks as
I went along. Could you look this over and merge if these changes
look ok to you?
| https://api.github.com/repos/pandas-dev/pandas/pulls/3248 | 2013-04-03T11:41:55Z | 2013-04-03T12:24:36Z | 2013-04-03T12:24:36Z | 2013-04-03T12:24:36Z |
BUG: setitem with list elements in the indexer broken | diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py
index 5230bf20e60b4..b6a9034593a94 100644
--- a/pandas/core/indexing.py
+++ b/pandas/core/indexing.py
@@ -215,9 +215,9 @@ def _align_frame(self, indexer, df):
ax = self.obj.axes[i]
if com._is_sequence(ix) or isinstance(ix, ... | ```
In [4]: df = DataFrame(np.arange(9).reshape((3, 3)),
index=["A", "B", "C"], columns=["A", "B", "C"])
In [5]: df.iloc[[0,1],[1,2]] += 100
In [6]: df.iloc[[0,1],[1,2]]
Out[6]:
B C
A 101 102
B 104 105
In [7]: df
Out[7]:
A B C
A 0 101 102
B 3 104 105
C 6 7 8
```
| https://api.github.com/repos/pandas-dev/pandas/pulls/3246 | 2013-04-02T21:25:16Z | 2013-04-02T22:03:03Z | 2013-04-02T22:03:03Z | 2014-06-13T20:33:26Z |
BUG: GH3243 accept list of DataFrames as constructor input | diff --git a/pandas/core/common.py b/pandas/core/common.py
index 7a78539c10a98..e016d6f7ef3fc 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -1028,7 +1028,7 @@ def _possibly_convert_platform(values):
if isinstance(values, (list,tuple)):
values = lib.list_to_object_array(values)
- i... | closes #3243
| https://api.github.com/repos/pandas-dev/pandas/pulls/3245 | 2013-04-02T20:35:16Z | 2013-04-03T14:35:43Z | 2013-04-03T14:35:43Z | 2013-04-03T14:35:43Z |
ENH: support top-level read/write API for HDFStore using read_hdf/to_hdf | diff --git a/RELEASE.rst b/RELEASE.rst
index f870932aa0936..a4ccf64223da8 100644
--- a/RELEASE.rst
+++ b/RELEASE.rst
@@ -77,6 +77,7 @@ pandas 0.11.0
- New keywords ``iterator=boolean``, and ``chunksize=number_in_a_chunk``
are provided to support iteration on ``select`` and
``select_as_multiple`` (GH3... | closes #3222
| https://api.github.com/repos/pandas-dev/pandas/pulls/3244 | 2013-04-02T19:09:01Z | 2013-04-02T19:30:18Z | 2013-04-02T19:30:18Z | 2014-07-02T22:43:16Z |
CI: Check ASV for failed benchmarks | diff --git a/.travis.yml b/.travis.yml
index bd5cac8955c8d..4cbe7f86bd2fa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -73,6 +73,10 @@ matrix:
env:
- JOB="3.6_NUMPY_DEV" TEST_ARGS="--skip-slow --skip-network" PANDAS_TESTING_MODE="deprecate"
# In allow_failures
+ - dist: trusty
+ env:
+ ... | closes #19518
xref #19104
Not sure if this should belong in `ci/lint.sh`, but testing the possibility of running the asv benchmarks on ci for failed benchmarks. | https://api.github.com/repos/pandas-dev/pandas/pulls/19236 | 2018-01-14T07:25:32Z | 2018-02-08T01:17:25Z | 2018-02-08T01:17:25Z | 2018-02-08T07:36:06Z |
COMPAT: properly handle objects of datetimelike in astype_nansafe | diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py
index 672e60c9dcde5..5155662d2f97d 100644
--- a/pandas/core/dtypes/cast.py
+++ b/pandas/core/dtypes/cast.py
@@ -649,10 +649,12 @@ def astype_nansafe(arr, dtype, copy=True):
if issubclass(dtype.type, text_type):
# in Py3 that's str, in Py... | re-close #19116
| https://api.github.com/repos/pandas-dev/pandas/pulls/19232 | 2018-01-13T23:07:50Z | 2018-01-14T14:10:23Z | 2018-01-14T14:10:23Z | 2018-01-14T14:10:49Z |
ENH: Add IntervalDtype support to IntervalIndex.astype | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index a0205a8d64cb7..6fe15133914da 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -202,6 +202,7 @@ Other Enhancements
- ``Resampler`` objects now have a functioning :attr:`~pandas.core.resample.Resampl... | - [X] closes #19197
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
Summary:
- Added support for `IntervalIndex.astype(IntervalDtype(...))`
- Allows for subtype conversion, e.g. `interval[int64]` --> `interval[float64]`
- Created a... | https://api.github.com/repos/pandas-dev/pandas/pulls/19231 | 2018-01-13T21:46:52Z | 2018-01-14T21:27:25Z | 2018-01-14T21:27:25Z | 2018-01-15T18:26:12Z |
Fix no raise dup index when using drop with axis=0 | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 14949267fc37d..450afa01a576e 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -272,6 +272,7 @@ Other API Changes
- :class:`IntervalIndex` and ``IntervalDtype`` no longer support categorical, object... | - [x] closes #19186
- [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/19230 | 2018-01-13T19:58:42Z | 2018-01-18T00:53:08Z | 2018-01-18T00:53:07Z | 2018-01-18T16:59:24Z |
DOC: Exposed arguments in plot.kde | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 66e88e181ac0f..5feebe3ba2a22 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -536,7 +536,7 @@ Plotting
- :func: `DataFrame.plot` now raises a ``ValueError`` when the ``x`` or ``y`` argument is i... | The documentation for `plot.kde` did not show the `bw_method` and `ind` arguments, which are specific to `plot.kde` (and `plot.density`, which refers to the same method).
There is also a change in the actual code, and a corresponding test added. I added an option for `ind` to be an integer number of sample points, i... | https://api.github.com/repos/pandas-dev/pandas/pulls/19229 | 2018-01-13T18:47:14Z | 2018-02-02T12:50:47Z | 2018-02-02T12:50:47Z | 2018-02-02T12:50:54Z |
BUG/TST: assure conversions of datetimelikes for object, numeric dtypes | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 3a3c2bf0c5ae4..a0205a8d64cb7 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -385,6 +385,11 @@ Conversion
- Bug in localization of a naive, datetime string in a ``Series`` constructor with a ``dat... | closes #19223
closes #12425 | https://api.github.com/repos/pandas-dev/pandas/pulls/19224 | 2018-01-13T15:43:16Z | 2018-01-13T18:18:43Z | 2018-01-13T18:18:42Z | 2018-01-13T19:50:00Z |
Adding (DEPRECATED) prefix to deprecated objects summary in the documentation | diff --git a/doc/source/conf.py b/doc/source/conf.py
index 43c7c23c5e20d..8509460f8ca4e 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -16,6 +16,7 @@
import re
import inspect
import importlib
+from sphinx.ext.autosummary import _import_by_name
import warnings
@@ -47,6 +48,10 @@
])
+# numpydoc ... | - [ ] closes #xxxx
- [ ] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
In #18934, @jorisvandenbossche pointed out that replacing a "manual" DEPRECATED comment at the beginning of the docstrings by the `.. deprecated::` sphinx directive had a drawbac... | https://api.github.com/repos/pandas-dev/pandas/pulls/19220 | 2018-01-13T02:30:19Z | 2018-04-14T13:35:25Z | 2018-04-14T13:35:25Z | 2018-04-15T12:10:57Z |
API: Add compression argument to Series.to_csv | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index a0205a8d64cb7..61d79c943c0e4 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -271,6 +271,7 @@ Other API Changes
- :class:`IntervalIndex` and ``IntervalDtype`` no longer support categorical, object... | - [ ] closes #18958
- [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/19216 | 2018-01-13T00:05:22Z | 2018-01-15T14:11:25Z | 2018-01-15T14:11:24Z | 2018-01-16T19:10:19Z |
DOC: list default compression for to_parquet | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index a8c4053850548..974d5bc1ff113 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1670,8 +1670,8 @@ def to_parquet(self, fname, engine='auto', compression='snappy',
Parquet reader library to use. If 'auto', then the option
... | follow-up on GH19131
| https://api.github.com/repos/pandas-dev/pandas/pulls/19212 | 2018-01-12T19:30:10Z | 2018-01-13T14:47:36Z | 2018-01-13T14:47:36Z | 2018-01-13T14:47:50Z |
DOC: Fix documentation for read_csv's mangle_dupe_cols (GH19203) | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 3e1619d6e1578..b15d3918eb569 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -149,7 +149,7 @@ squeeze : boolean, default ``False``
prefix : str, default ``None``
Prefix to add to column numbers when no header, e.g. 'X' for X0, X1, ...
mangle_dupe_c... | - [ x] closes #19203 | https://api.github.com/repos/pandas-dev/pandas/pulls/19208 | 2018-01-12T14:32:43Z | 2018-01-15T14:17:42Z | 2018-01-15T14:17:42Z | 2018-01-15T14:17:50Z |
DOC: Update ASV benchmark example in contributing.rst | diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst
index dc07104f64c65..cdbbad6eb75d6 100644
--- a/doc/source/contributing.rst
+++ b/doc/source/contributing.rst
@@ -858,9 +858,9 @@ takes a regular expression. For example, this will only run tests from a
If you want to only run a specific group of ... | Updating the ASV example based on the cleaning that was done in `asv_bench/benchmarks/groupby.py` | https://api.github.com/repos/pandas-dev/pandas/pulls/19201 | 2018-01-12T06:02:19Z | 2018-01-12T08:40:48Z | 2018-01-12T08:40:48Z | 2018-01-12T18:00:32Z |
CI: move conda build tests back to allowed failures | diff --git a/.travis.yml b/.travis.yml
index ca1dfcae43e76..bd5cac8955c8d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -49,6 +49,7 @@ matrix:
apt:
packages:
- python-gtk2
+ # In allow_failures
- dist: trusty
env:
- JOB="3.5_CONDA_BUILD_TEST" TEST_ARGS="--skip-slow... | https://api.github.com/repos/pandas-dev/pandas/pulls/19196 | 2018-01-12T00:18:47Z | 2018-01-12T00:30:19Z | 2018-01-12T00:30:19Z | 2018-01-13T19:49:31Z | |
Hand written ISO parser for Timedelta construction | diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx
index 8dba8c15f0b81..b2c9c464c7cbf 100644
--- a/pandas/_libs/tslibs/timedeltas.pyx
+++ b/pandas/_libs/tslibs/timedeltas.pyx
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
# cython: profile=False
import collections
-import re
import sys
... | - [X] closes #19103
- [X] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
```
Running 16 total benchmarks (2 commits * 1 environments * 8 benchmarks)
[ 0.00%] · For pandas commit hash 76475dd8:
[ 0.00%] ·· Building for conda-py3.6-Cython-matplot... | https://api.github.com/repos/pandas-dev/pandas/pulls/19191 | 2018-01-11T21:06:39Z | 2018-01-12T11:36:14Z | 2018-01-12T11:36:14Z | 2018-02-27T01:32:15Z |
CLN: unify logic for form_blocks and make_blocks | diff --git a/pandas/core/internals.py b/pandas/core/internals.py
index 5a4778ae4e629..079f3113dc2da 100644
--- a/pandas/core/internals.py
+++ b/pandas/core/internals.py
@@ -2914,35 +2914,52 @@ def sparse_reindex(self, new_index):
placement=self.mgr_locs)
+def get_block_typ... | In the background part of the intention here is to make things like #19174 easier.
- [x] closes #19179
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/19189 | 2018-01-11T18:57:46Z | 2018-01-18T11:09:49Z | 2018-01-18T11:09:49Z | 2018-02-11T21:59:01Z |
DOC: Improve DataFrame.select_dtypes examples | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index a8c4053850548..43df2c48fcf58 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2417,17 +2417,18 @@ def select_dtypes(self, include=None, exclude=None):
Notes
-----
- * To select all *numeric* types use the numpy dty... | Greetings,
This is a minor change in the ``DataFrame.select_dtypes`` doc.
- Add formatting (such as in `np.number`), to illustrate better it is a piece of code.
- Add decimal place to the third column of the example to proper address it is a float column (maybe in the past float numbers didn't show decimal places ... | https://api.github.com/repos/pandas-dev/pandas/pulls/19188 | 2018-01-11T18:53:16Z | 2018-01-12T00:30:38Z | 2018-01-12T00:30:38Z | 2018-01-12T15:48:19Z |
CI: move location of setting non-blocking IO | diff --git a/.travis.yml b/.travis.yml
index 5cc6547968b7d..ca1dfcae43e76 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -95,6 +95,9 @@ matrix:
before_install:
- echo "before_install"
+ # set non-blocking IO on travis
+ # https://github.com/travis-ci/travis-ci/issues/8920#issuecomment-352661024
+ - python -c 'i... | https://api.github.com/repos/pandas-dev/pandas/pulls/19184 | 2018-01-11T11:42:53Z | 2018-01-11T13:21:54Z | 2018-01-11T13:21:54Z | 2018-01-11T13:22:25Z | |
CLN: Remove pandas.util | tools/hashing.py | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 92eeed89ada2a..dc305f36f32ec 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -317,6 +317,7 @@ Removal of prior version deprecations/changes
- The options ``display.line_with`` and ``display.height... | Deprecated in v0.20.0
xref #16223
| https://api.github.com/repos/pandas-dev/pandas/pulls/19181 | 2018-01-11T10:11:58Z | 2018-01-11T11:32:14Z | 2018-01-11T11:32:14Z | 2018-01-11T16:43:17Z |
remove unreachable states, assert they are unreachable just in case | diff --git a/pandas/core/internals.py b/pandas/core/internals.py
index ba90503e3bf40..5a4778ae4e629 100644
--- a/pandas/core/internals.py
+++ b/pandas/core/internals.py
@@ -2933,10 +2933,8 @@ def make_block(values, placement, klass=None, ndim=None, dtype=None,
elif dtype == np.bool_:
klass = BoolB... | No luck so far in tracking down the issue where this was discussed.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/19180 | 2018-01-11T02:59:16Z | 2018-01-12T00:33:09Z | 2018-01-12T00:33:09Z | 2018-02-11T21:59:18Z |
BUG: assign doesnt cast SparseDataFrame to DataFrame | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index acab9d0bbebf8..72f63a4da0f4d 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -822,6 +822,7 @@ Sparse
- Bug in which creating a ``SparseDataFrame`` from a dense ``Series`` or an unsupported type ra... | The problem here is that a SparseDataFrame that calls assign should cast
to a DataFrame mainly because SparseDataFrames are a special case.
- [x] closes #19163
- [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/19178 | 2018-01-11T02:46:38Z | 2018-02-12T12:06:12Z | 2018-02-12T12:06:12Z | 2018-02-12T12:06:26Z |
Fixed issue with read_json and partially missing MI names | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 3e1619d6e1578..59870ef9e7b0f 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2228,9 +2228,10 @@ round-trippable manner.
new_df
new_df.dtypes
-Please note that the string `index` is not supported with the round trip
-format, as it is used by d... | - [X] closes #19130
- [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/19177 | 2018-01-11T01:02:49Z | 2018-01-16T00:47:24Z | 2018-01-16T00:47:23Z | 2018-02-27T01:32:16Z |
COMPAT: make astype to datetime/timedelta types more robust | diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py
index 5fcb5f09dfae7..4b1cb9c20e465 100644
--- a/pandas/core/dtypes/cast.py
+++ b/pandas/core/dtypes/cast.py
@@ -690,7 +690,7 @@ def astype_nansafe(arr, dtype, copy=True):
raise ValueError('Cannot convert non-finite values (NA or inf) to '... | closes #19116 | https://api.github.com/repos/pandas-dev/pandas/pulls/19176 | 2018-01-11T00:37:39Z | 2018-01-11T11:09:13Z | 2018-01-11T11:09:13Z | 2018-01-11T11:09:34Z |
Split and parametrize test_operators | diff --git a/pandas/tests/frame/test_operators.py b/pandas/tests/frame/test_operators.py
index fd1eb23643c2b..0bc4a7df6a55b 100644
--- a/pandas/tests/frame/test_operators.py
+++ b/pandas/tests/frame/test_operators.py
@@ -28,6 +28,53 @@
_check_mixed_int)
+class TestDataFrameAr... | Orthogonal to #19166 since this does not touch `TestTimedeltaSeriesArithmetic`.
Fix (some) flake8 complaints about 1-letter variable names. | https://api.github.com/repos/pandas-dev/pandas/pulls/19173 | 2018-01-10T19:23:33Z | 2018-01-15T14:52:33Z | 2018-01-15T14:52:33Z | 2018-01-15T19:54:27Z |
CI: pin 2.7 build to numpy 1.13 for the moment | diff --git a/ci/requirements-2.7.build b/ci/requirements-2.7.build
index e24baa98d956e..17d34f3895c64 100644
--- a/ci/requirements-2.7.build
+++ b/ci/requirements-2.7.build
@@ -2,5 +2,5 @@ python=2.7*
python-dateutil=2.5.0
pytz=2013b
nomkl
-numpy
+numpy=1.13*
cython=0.24
diff --git a/ci/requirements-3.6_DOC.build b... | xref #19138 | https://api.github.com/repos/pandas-dev/pandas/pulls/19169 | 2018-01-10T10:53:32Z | 2018-01-10T12:23:38Z | 2018-01-10T12:23:38Z | 2018-01-10T12:23:38Z |
Parametrize tests for Series[timedelta64] integer arithmetic | diff --git a/pandas/tests/series/test_operators.py b/pandas/tests/series/test_operators.py
index dda2918bf7615..783fcddac1280 100644
--- a/pandas/tests/series/test_operators.py
+++ b/pandas/tests/series/test_operators.py
@@ -28,6 +28,11 @@
from .common import TestData
+@pytest.fixture
+def tdser():
+ return Ser... | Breaks up a few big tests, parametrizes, covers cases much more thoroughly including identifying a few new xfails.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/19166 | 2018-01-10T06:44:58Z | 2018-01-12T11:42:18Z | 2018-01-12T11:42:18Z | 2018-02-11T21:59:16Z |
CLN: ASV Timestamp | diff --git a/asv_bench/benchmarks/timestamp.py b/asv_bench/benchmarks/timestamp.py
index 62abaca17d22f..8c435c435aed3 100644
--- a/asv_bench/benchmarks/timestamp.py
+++ b/asv_bench/benchmarks/timestamp.py
@@ -1,10 +1,10 @@
+import datetime
+
from pandas import Timestamp
import pytz
-import datetime
class Timesta... | Just rearranged the import order and added some contructor benchmarks in a TODO comment:
```
[ 0.00%] ·· Building for existing-py_home_matt_anaconda_envs_pandas_dev_bin_python
[ 0.00%] ·· Benchmarking existing-py_home_matt_anaconda_envs_pandas_dev_bin_python
[ 3.57%] ··· Running ....TimestampAcrossDst.time_rep... | https://api.github.com/repos/pandas-dev/pandas/pulls/19164 | 2018-01-10T05:55:54Z | 2018-01-10T13:00:50Z | 2018-01-10T13:00:50Z | 2018-01-10T17:44:25Z |
CLN: ASV timedelta | diff --git a/asv_bench/benchmarks/timedelta.py b/asv_bench/benchmarks/timedelta.py
index 1897b0287ed19..3fe75b3c34299 100644
--- a/asv_bench/benchmarks/timedelta.py
+++ b/asv_bench/benchmarks/timedelta.py
@@ -1,12 +1,11 @@
import datetime
import numpy as np
-import pandas as pd
-
-from pandas import to_timedelta, T... | Cleaned up some setups and used `setup_cache` where applicable. Although the `time_from_iso_format` benchmark failed here, it looks like it passed in #19065.
```
[ 0.00%] ··· Setting up /home/matt/Projects/pandas-mroeschke/asv_bench/benchmarks/timedelta.py:111
[ 4.55%] ··· Running timedelta.DatetimeAccessor.tim... | https://api.github.com/repos/pandas-dev/pandas/pulls/19150 | 2018-01-09T05:45:00Z | 2018-01-09T12:54:03Z | 2018-01-09T12:54:03Z | 2018-01-09T17:45:27Z |
Followup Cleanup DTI test_arithmetic, ASV | diff --git a/asv_bench/benchmarks/timestamp.py b/asv_bench/benchmarks/timestamp.py
index 62abaca17d22f..8e05df4a05453 100644
--- a/asv_bench/benchmarks/timestamp.py
+++ b/asv_bench/benchmarks/timestamp.py
@@ -36,9 +36,6 @@ def setup(self, tz, freq):
def time_tz(self, tz, freq):
self.ts.tz
- def time_... | Remove ASV for Timestamp.offset since that attribute has been removed.
tests.indexes.datetimes.test_arithmetic has a giant offsets test that this splits up into reasonably sized pieces.
- one piece of that test currently only runs if `klass is Series`, but that sub-test is now valid for DatetimeIndex too, so this ... | https://api.github.com/repos/pandas-dev/pandas/pulls/19149 | 2018-01-09T05:14:39Z | 2018-01-10T13:02:11Z | 2018-01-10T13:02:11Z | 2018-01-23T04:40:34Z |
CLN: ASV timeseries | diff --git a/asv_bench/benchmarks/timeseries.py b/asv_bench/benchmarks/timeseries.py
index fe282df25e9c5..ea2f077f980d0 100644
--- a/asv_bench/benchmarks/timeseries.py
+++ b/asv_bench/benchmarks/timeseries.py
@@ -1,358 +1,330 @@
+from datetime import timedelta
+
+import numpy as np
+from pandas import to_datetime, date... | - [x] closes #8144 (benchmarks now have random seed where appropriate)
Split up the some benchmarks and utilized `param`s where available. I think `to_datetime(...,cache=True)` is tagged for v0.23 so that's probably why the `ToDatetimeCache` benchmarks don't work yet?
```
[ 0.00%] ·· Building for existing-py_h... | https://api.github.com/repos/pandas-dev/pandas/pulls/19148 | 2018-01-09T04:55:16Z | 2018-01-09T12:53:43Z | 2018-01-09T12:53:43Z | 2018-01-09T17:45:10Z |
Fix incorrect exception raised by Series[datetime64] + int | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index e40318bd65db2..880f9b73d6bc8 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -309,6 +309,7 @@ Other API Changes
- ``IntervalDtype`` now returns ``True`` when compared against ``'interval'`` regard... | Series[datetime64] +/- int is currently raising a ValueError when it should be raising a TypeError. This was introduced in #19024.
In the process of fixing this bug, this also goes most of the way towards fixing #19123 by raising on add/sub with integer arrays.
Setup:
```
dti = pd.date_range('2016-01-01', peri... | https://api.github.com/repos/pandas-dev/pandas/pulls/19147 | 2018-01-09T04:32:23Z | 2018-01-17T00:14:02Z | 2018-01-17T00:14:02Z | 2018-02-11T21:59:09Z |
simplify CBMonth.apply to remove roll_monthday | diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx
index 585c904a601ed..1dea41801003d 100644
--- a/pandas/_libs/tslibs/offsets.pyx
+++ b/pandas/_libs/tslibs/offsets.pyx
@@ -847,29 +847,6 @@ cpdef int roll_convention(int other, int n, int compare):
return n
-cpdef int roll_monthday(d... | The implementations of CustomBusinessMonthBegin.apply and CustomBusinessMonthEnd.apply are merged.
Simplify CustomBusinessMonth.apply so that it uses liboffsets.roll_convention instead of liboffsets.roll_monthday (the latter being much more of a footgun). This is the last place where roll_monthday was used, so this... | https://api.github.com/repos/pandas-dev/pandas/pulls/19146 | 2018-01-09T02:12:42Z | 2018-01-10T12:58:24Z | 2018-01-10T12:58:24Z | 2018-01-23T04:40:34Z |
Fix URL in FutureWarning for .loc[list-of-labels] with missing labels | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 4ebc8b82aaa47..750b260c7f228 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -640,6 +640,7 @@ For getting *multiple* indexers, using ``.get_indexer``:
dfd.iloc[[0, 2], dfd.columns.get_indexer(['A', 'B'])]
+.. _deprecate_lo... | - [X] closes #19143
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/19145 | 2018-01-09T01:40:11Z | 2018-01-09T12:54:27Z | 2018-01-09T12:54:27Z | 2018-01-09T19:23:16Z |
Fix offset __inits__, apply_index dtypes | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 8a760c5e5b0de..c903c3bfd122a 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -381,7 +381,9 @@ Conversion
- Fixed bug where comparing :class:`DatetimeIndex` failed to raise ``TypeError`` when attem... | This PR does two main things:
1) Change the default kwargs for offset `__init__` methods so that the defaults are valid; ATM `WeekOfMonth()` and `LastWeekOfMonth()` will both raise `ValueError`.
2) ATM `Week.apply_index` adds an int64 array to a `DatetimeIndex`. This happens to have the desired output because t... | https://api.github.com/repos/pandas-dev/pandas/pulls/19142 | 2018-01-08T22:22:25Z | 2018-01-12T11:45:21Z | 2018-01-12T11:45:21Z | 2018-02-11T22:01:15Z |
Make TimedeltaIndex +/- pd.NaT return TimedeltaIndex | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 14949267fc37d..9df7563d3b869 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -273,6 +273,7 @@ Other API Changes
- The default ``Timedelta`` constructor now accepts an ``ISO 8601 Duration`` string ... | - [x] closes #19124
- [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/19139 | 2018-01-08T17:45:00Z | 2018-01-16T00:02:43Z | 2018-01-16T00:02:43Z | 2018-01-23T04:40:29Z |
CI: Pin NumPy in 3.6 build | diff --git a/ci/requirements-3.6.build b/ci/requirements-3.6.build
index 1c4b46aea3865..94e1152450d87 100644
--- a/ci/requirements-3.6.build
+++ b/ci/requirements-3.6.build
@@ -2,5 +2,5 @@ python=3.6*
python-dateutil
pytz
nomkl
-numpy
+numpy=1.13.*
cython
| Closes #19137 | https://api.github.com/repos/pandas-dev/pandas/pulls/19138 | 2018-01-08T15:15:55Z | 2018-01-08T16:41:39Z | 2018-01-08T16:41:39Z | 2018-01-09T11:32:05Z |
BUG: read_parquet, to_parquet for s3 destinations | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index dc305f36f32ec..a0ce50b881915 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -415,6 +415,7 @@ I/O
- Bug in :func:`read_sas` where a file with 0 variables gave an ``AttributeError`` incorrectly. No... | - [x] closes #19134
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
closes #19134 | https://api.github.com/repos/pandas-dev/pandas/pulls/19135 | 2018-01-08T12:51:32Z | 2018-01-18T00:49:18Z | 2018-01-18T00:49:18Z | 2018-01-18T09:38:20Z |
DOC: Add documentation regarding no compression in to_parquet | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 62993a3d168db..a8c4053850548 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1670,8 +1670,8 @@ def to_parquet(self, fname, engine='auto', compression='snappy',
Parquet reader library to use. If 'auto', then the option
... | https://api.github.com/repos/pandas-dev/pandas/pulls/19131 | 2018-01-08T07:12:25Z | 2018-01-08T19:32:10Z | 2018-01-08T19:32:10Z | 2018-01-09T04:35:25Z | |
Parametrized test_json_table_schema module | diff --git a/pandas/tests/io/json/test_json_table_schema.py b/pandas/tests/io/json/test_json_table_schema.py
index 76748f30e639b..fc3790287d7da 100644
--- a/pandas/tests/io/json/test_json_table_schema.py
+++ b/pandas/tests/io/json/test_json_table_schema.py
@@ -88,82 +88,82 @@ def test_multiindex(self):
class TestTab... | - [X] closes #19070
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Could potentially consolidate all of the ``dtype`` tests further but didn't want to rock the boat too much | https://api.github.com/repos/pandas-dev/pandas/pulls/19128 | 2018-01-08T04:09:37Z | 2018-01-08T19:30:13Z | 2018-01-08T19:30:13Z | 2018-02-27T01:32:15Z |
TST: Add test for setting with loc on DataFrame with one row | diff --git a/pandas/tests/indexing/test_loc.py b/pandas/tests/indexing/test_loc.py
index fb5f094f9462b..433b0d87ac005 100644
--- a/pandas/tests/indexing/test_loc.py
+++ b/pandas/tests/indexing/test_loc.py
@@ -420,6 +420,13 @@ def test_loc_setitem_consistency(self):
df.loc[:, 'date'] = 1.0
tm.assert_fr... | - [X] closes #15494
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Issue appears to be have been fixed for a while, since 0.21.x at least, just added a test to ensure there's no regression.
| https://api.github.com/repos/pandas-dev/pandas/pulls/19127 | 2018-01-08T02:57:48Z | 2018-01-10T00:17:29Z | 2018-01-10T00:17:29Z | 2018-01-15T18:26:24Z |
Fix and test TimedeltaIndex.__rfloordiv__ bug | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 07e633ded942a..d7a3f0d077302 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -376,7 +376,8 @@ Conversion
- Bug in :class:`Series` with ``dtype='timedelta64[ns]`` where addition or subtraction of `... | I thought we were ready to get rid of _TimeOp, but doing so turned up a couple of new bugs.
Setup:
```
scalar_td = pd.Timedelta('10m7s')
tdi = TimedeltaIndex(['00:05:03', '00:05:03', pd.NaT], freq=None)
```
Before:
```
>>> tdi.__rfloordiv__(scalar_td)
Float64Index([0.0, 0.0, nan], dtype='float64')
```
... | https://api.github.com/repos/pandas-dev/pandas/pulls/19125 | 2018-01-07T20:24:11Z | 2018-01-07T22:22:33Z | 2018-01-07T22:22:33Z | 2018-01-07T22:26:39Z |
DEPR: Removing previously deprecated flavor parameter from SQLiteData… | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 07e633ded942a..11ac1a37e05a0 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -314,6 +314,7 @@ Removal of prior version deprecations/changes
- The ``Panel4D`` and ``PanelND`` classes have been remo... | …base (#6581)
- [X] related to #6581
- [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/19121 | 2018-01-07T16:02:53Z | 2018-01-10T12:58:38Z | 2018-01-10T12:58:38Z | 2018-01-10T12:58:40Z |
DEPR: Removing previously deprecated Categorical.labels (#6581) | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index ca48b5525369b..45c259a1cdf0b 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -314,6 +314,7 @@ Removal of prior version deprecations/changes
- The ``Panel4D`` and ``PanelND`` classes have been remo... | - [X] related to #6581
- [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/19120 | 2018-01-07T15:58:56Z | 2018-01-10T13:00:26Z | 2018-01-10T13:00:25Z | 2018-01-10T13:00:28Z |
DEPR: Removing previously deprecated datetools module (#6581) | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index 42e286f487a7d..2d0bd9aa0de39 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -391,7 +391,7 @@ Removal of prior version deprecations/changes
- The ``LongPanel`` and ``WidePanel`` classes have bee... | - [X] related to #6581
- [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/19119 | 2018-01-07T15:55:41Z | 2018-08-02T10:45:04Z | 2018-08-02T10:45:04Z | 2018-08-02T10:45:09Z |
DEPR: Changing default of str.extract(expand=False) to str.extract(expand=True) | diff --git a/doc/source/text.rst b/doc/source/text.rst
index 2b6459b581c1e..1e620acb1f88a 100644
--- a/doc/source/text.rst
+++ b/doc/source/text.rst
@@ -218,7 +218,8 @@ Extract first match in each subject (extract)
``DataFrame``, depending on the subject and regular expression
pattern (same behavior as pre-0.18... | …o str.extract(expand=True) (#6581)
- [X] related to #6581
- [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/19118 | 2018-01-07T15:52:01Z | 2018-02-05T08:39:43Z | 2018-02-05T08:39:43Z | 2018-02-05T11:02:29Z |
DEPR: Adding script to detect deprecated features by version (#6581) | diff --git a/scripts/list_future_warnings.sh b/scripts/list_future_warnings.sh
new file mode 100755
index 0000000000000..e100f305267c1
--- /dev/null
+++ b/scripts/list_future_warnings.sh
@@ -0,0 +1,46 @@
+#!/bin/bash
+
+# Check all future warnings in Python files, and report them with the version
+# where the FutureWar... | - [ ] closes #xxxx
- [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/19117 | 2018-01-07T15:44:01Z | 2018-01-07T16:09:51Z | 2018-01-07T16:09:51Z | 2018-01-07T16:21:19Z |
CLN: ASV long and broken benchmarks | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index 2b48168238ee8..4cecf12a27042 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -4,7 +4,7 @@
from pandas import (DataFrame, Series, MultiIndex, date_range, period_range,
... | [xref](https://github.com/pandas-dev/pandas/pull/19069#issuecomment-355761409)
Shortened the size of the data in `GroupbyMethods` since some benchmarks took +30 seconds on my machine, and additionally fixed some broken benchmarks
```
asv dev -b ^groupby.GroupByMethods
· Discovering benchmarks
· Running 1 total... | https://api.github.com/repos/pandas-dev/pandas/pulls/19113 | 2018-01-07T06:26:28Z | 2018-01-10T00:22:07Z | 2018-01-10T00:22:07Z | 2018-01-10T00:30:25Z |
BUG: IntervalIndex set op bugs for empty results | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index dc305f36f32ec..33ca394db47ca 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -405,6 +405,7 @@ Indexing
- Bug in :func:`MultiIndex.__contains__` where non-tuple keys would return ``True`` even if t... | - [X] closes #19101
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
Fixed bugs described in the issue:
- Set ops that result in an empty index no longer raises.
- For empty results, the return dtype now matches the dtype of the first index.
... | https://api.github.com/repos/pandas-dev/pandas/pulls/19112 | 2018-01-07T06:23:05Z | 2018-01-12T11:46:34Z | 2018-01-12T11:46:34Z | 2018-01-12T16:44:54Z |
BUG: show time values in repr of high precision DatetimeIndex | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index b1efd0dcb43e2..ebb9e5ad41a77 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -375,7 +375,8 @@ Conversion
- Bug in :class:`TimedeltaIndex` where division by a ``Series`` would return a ``TimedeltaI... | - [ ] closes #19030
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
On master:
```
In [2]: pd.DatetimeIndex(['2017-01-01 23:59:59.999999999'])
Out[2]: DatetimeIndex(['2017-01-01'], dtype='datetime64[ns]', freq=None)
```
On my branch:
```... | https://api.github.com/repos/pandas-dev/pandas/pulls/19109 | 2018-01-06T20:23:16Z | 2018-01-07T15:27:17Z | 2018-01-07T15:27:16Z | 2018-01-07T15:44:23Z |
DEPR: remove display.line_width and display.height as old prior deprecations | diff --git a/ci/lint.sh b/ci/lint.sh
index 54135bd551b69..35b39e2abb3c6 100755
--- a/ci/lint.sh
+++ b/ci/lint.sh
@@ -120,6 +120,10 @@ if [ "$LINT" ]; then
echo "Check for deprecated messages without sphinx directive"
grep -R --include="*.py" --include="*.pyx" -E "(DEPRECATED|DEPRECATE|Deprecated)(:|,|\.)" p... | https://api.github.com/repos/pandas-dev/pandas/pulls/19107 | 2018-01-06T18:23:44Z | 2018-01-07T02:37:47Z | 2018-01-07T02:37:47Z | 2018-01-07T02:38:23Z | |
COMPAT: empty IntervalIndexis np.int64 dtype | diff --git a/pandas/core/indexes/interval.py b/pandas/core/indexes/interval.py
index fd1980f9ab429..43bdc14106b00 100644
--- a/pandas/core/indexes/interval.py
+++ b/pandas/core/indexes/interval.py
@@ -114,7 +114,7 @@ def maybe_convert_platform_interval(values):
# GH 19016
# empty lists/tuples get obje... | xref #19022
32-bit wheel failure: https://travis-ci.org/MacPython/pandas-wheels/jobs/325678205 | https://api.github.com/repos/pandas-dev/pandas/pulls/19106 | 2018-01-06T17:50:55Z | 2018-01-07T00:48:10Z | 2018-01-07T00:48:10Z | 2018-01-07T01:01:12Z |
DOC: Fixed capitalization of NumFOCUS | diff --git a/doc/source/overview.rst b/doc/source/overview.rst
index 4443428ca6c9b..f86b1c67e6843 100644
--- a/doc/source/overview.rst
+++ b/doc/source/overview.rst
@@ -94,7 +94,7 @@ pandas possible. Thanks to `all of our contributors <https://github.com/pandas-d
If you're interested in contributing, please
visit `Co... | Closes https://github.com/pandas-dev/pandas/issues/19099 | https://api.github.com/repos/pandas-dev/pandas/pulls/19100 | 2018-01-05T22:06:24Z | 2018-01-05T22:18:40Z | 2018-01-05T22:18:39Z | 2018-01-05T22:18:50Z |
MAINT: Added Code of Conduct to .github folder | diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000000000..a1fbece3284ec
--- /dev/null
+++ b/.github/CODE_OF_CONDUCT.md
@@ -0,0 +1,63 @@
+# Contributor Code of Conduct
+
+As contributors and maintainers of this project, and in the interest of
+fostering an open and we... | https://help.github.com/articles/adding-a-code-of-conduct-to-your-project/
Github treats this file special in a few places. I think
https://github.com/pandas-dev/pandas-governance/blob/master/code-of-conduct.md
should always be considered the "official" home. Perhaps we could add
a note to the one added here abou... | https://api.github.com/repos/pandas-dev/pandas/pulls/19098 | 2018-01-05T21:34:05Z | 2018-01-05T23:34:19Z | 2018-01-05T23:34:19Z | 2018-05-02T13:09:37Z |
BUG: Fixed union_categoricals with unordered cats | diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt
index 800599f728de1..4f1e67bad9a54 100644
--- a/doc/source/whatsnew/v0.23.0.txt
+++ b/doc/source/whatsnew/v0.23.0.txt
@@ -453,8 +453,11 @@ Numeric
Categorical
^^^^^^^^^^^
-- Bug in ``Categorical.equals`` between two unordered categories ... | Closes https://github.com/pandas-dev/pandas/issues/19096 | https://api.github.com/repos/pandas-dev/pandas/pulls/19097 | 2018-01-05T21:18:48Z | 2018-01-07T00:48:51Z | 2018-01-07T00:48:51Z | 2018-01-09T20:06:31Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.