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 |
|---|---|---|---|---|---|---|---|
TST/BLD: test 3.6 on appveyor | diff --git a/appveyor.yml b/appveyor.yml
index a8e5218ab2c9f..33b8be57eba62 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -17,20 +17,19 @@ environment:
matrix:
- # disable python 3.4 ATM
- #- PYTHON: "C:\\Python34_64"
- # PYTHON_VERSION: "3.4"
- # PYTHON_ARCH: "64"
- # CONDA_PY: "34"
- # ... | CLN: clean up appveyor.yml a bit
| https://api.github.com/repos/pandas-dev/pandas/pulls/15088 | 2017-01-09T17:52:17Z | 2017-01-09T17:52:23Z | 2017-01-09T17:52:23Z | 2017-01-09T19:52:50Z |
BUG: Value error aggregate item by item | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 0148a47068beb..fd522f2bcf91e 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -318,7 +318,7 @@ Bug Fixes
- Bug in ``Series.unique()`` in which unsigned 64-bit integers were causing overflow (:issue... | - [x] closes #15082
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15083 | 2017-01-08T08:51:44Z | 2017-01-09T18:22:22Z | null | 2017-01-09T18:22:35Z |
Allow indices to be mapped through through dictionaries or series | diff --git a/asv_bench/benchmarks/series_methods.py b/asv_bench/benchmarks/series_methods.py
index 3c0e2869357ae..5e8cf3a0350bb 100644
--- a/asv_bench/benchmarks/series_methods.py
+++ b/asv_bench/benchmarks/series_methods.py
@@ -123,6 +123,30 @@ def time_series_dropna_datetime(self):
self.s.dropna()
+class... | - [X] closes #12756
- [X] tests added / passed
- [X] passes ``git diff upstream/master | flake8 --diff``
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15081 | 2017-01-08T00:17:29Z | 2017-11-25T14:24:16Z | 2017-11-25T14:24:15Z | 2017-11-25T18:22:47Z |
Pypy fixes | diff --git a/pandas/lib.pyx b/pandas/lib.pyx
index 761969491cfc7..e3ee468e1a23b 100644
--- a/pandas/lib.pyx
+++ b/pandas/lib.pyx
@@ -26,9 +26,9 @@ from cpython cimport (PyDict_New, PyDict_GetItem, PyDict_SetItem,
PyBytes_GET_SIZE,
PyUnicode_GET_SIZE)
-try:
+IF PY_MAJOR_VE... | benign changes visa-vis CPython needed to build pandas for PyPy 2.7 | https://api.github.com/repos/pandas-dev/pandas/pulls/15080 | 2017-01-07T19:25:36Z | 2017-01-10T20:32:31Z | null | 2017-01-10T20:46:50Z |
PERF: improve perf of float-based timeseries plotting | diff --git a/asv_bench/benchmarks/plotting.py b/asv_bench/benchmarks/plotting.py
index 3350ddaccc496..757c3e27dd333 100644
--- a/asv_bench/benchmarks/plotting.py
+++ b/asv_bench/benchmarks/plotting.py
@@ -20,6 +20,9 @@ def setup(self):
def time_plot_regular(self):
self.df.plot()
+ def time_plot_regul... | xref #15071
`_dt_to_float_ordinal` was already vectorized, so no need to map it on the index.
So now is 'irregular' plotting even faster as period-based plotting:
```
$ asv continuous upstream/master HEAD -b TimeseriesPlotting
...
· Running 4 total benchmarks (2 commits * 1 environments * 2 benchmarks)
[ ... | https://api.github.com/repos/pandas-dev/pandas/pulls/15073 | 2017-01-06T11:45:05Z | 2017-01-09T19:03:48Z | 2017-01-09T19:03:48Z | 2017-01-10T00:35:45Z |
Adds custom plot formatting for TimedeltaIndex. | diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst
index 2b2012dbf0b8a..d864eec0db7a3 100644
--- a/doc/source/visualization.rst
+++ b/doc/source/visualization.rst
@@ -1245,6 +1245,16 @@ in ``pandas.plot_params`` can be used in a `with statement`:
plt.close('all')
+Automatic Date Tick Adjus... | Instead of hacking the PeriodIndex plotting code to work for TimedeltaIndex, this just creates a simple formatter unique to TimedeltaIndex. It does fine for regular intervals up to a day, then the labels and run into eachothter. If this happens, you can use plt.autofmt_xdate() to fix it.
- [x] closes #8711
- [ ] ... | https://api.github.com/repos/pandas-dev/pandas/pulls/15067 | 2017-01-05T08:20:50Z | 2017-02-22T16:06:33Z | null | 2018-09-06T13:25:02Z |
BUG: Patch missing data handling with usecols | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 9683fedb78303..dae97f7bc7f34 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1215,6 +1215,19 @@ You can elect to skip bad lines:
0 1 2 3
1 8 9 10
+You can also use the ``usecols`` parameter to eliminate extraneous column
+data that a... | Patch handling of cases when the first row of a CSV is incomplete and `usecols` is specified.
Closes #6710.
Closes #8985.
xref #14782. | https://api.github.com/repos/pandas-dev/pandas/pulls/15066 | 2017-01-05T05:05:57Z | 2017-01-11T07:57:21Z | 2017-01-11T07:57:21Z | 2017-01-11T08:02:49Z |
testing another pytest commit | diff --git a/.gitignore b/.gitignore
index a77e780f3332d..808d9fb73a631 100644
--- a/.gitignore
+++ b/.gitignore
@@ -56,6 +56,8 @@ dist
**/wheelhouse/*
# coverage
.coverage
+coverage.xml
+coverage_html_report
# OS generated files #
######################
diff --git a/.travis.yml b/.travis.yml
index b2a1a8a63cfe6... | Wondering if there's some strange caching on my other commit because [this](https://travis-ci.org/pandas-dev/pandas/jobs/189014114) failure doesn't make sense. Even nose is failing on those tests :/ | https://api.github.com/repos/pandas-dev/pandas/pulls/15065 | 2017-01-05T01:26:00Z | 2017-01-05T14:02:39Z | null | 2017-04-05T02:07:16Z |
pathlib support in pytables | diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py
index e474aeab1f6ca..7d66e1b4e1364 100644
--- a/pandas/io/pytables.py
+++ b/pandas/io/pytables.py
@@ -555,6 +555,8 @@ def open(self, mode='a', **kwargs):
"""
tables = _tables()
+ path_or_buf = _stringify_path(path_or_buf)
+
i... | - [ ] closes #14705
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
As we talked about on gitter, I added the line (https://github.com/pandas-dev/pandas/blob/master/pandas/io/pytables.py#L266) to the HDFStore.open function. Let me know if I misunderst... | https://api.github.com/repos/pandas-dev/pandas/pulls/15064 | 2017-01-05T00:46:41Z | 2017-03-28T18:03:08Z | null | 2017-03-29T09:32:42Z |
add the 'name' attribute to dataframes that go through apply_frame_axis0 | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index 03ff62568b405..4e66c96b82761 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -108,16 +108,34 @@ def setup(self):
self.N = 10000
self.labels = np.random.randint(0, 2000, size=self.... |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
Previously, if you did `group.name` in the applied function, it would fail and fall back to the slower path because the attribute did not exist.
`shape_before` was unused. | https://api.github.com/repos/pandas-dev/pandas/pulls/15062 | 2017-01-05T00:22:46Z | 2017-03-25T16:15:15Z | null | 2017-03-25T16:15:40Z |
ENH: Accept callable for skiprows in read_csv | diff --git a/doc/source/io.rst b/doc/source/io.rst
index dae97f7bc7f34..9f5e6f2331bc5 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -187,6 +187,16 @@ skipinitialspace : boolean, default ``False``
skiprows : list-like or integer, default ``None``
Line numbers to skip (0-indexed) or number of lines to ski... | Title is self-explanatory.
xref #10882. | https://api.github.com/repos/pandas-dev/pandas/pulls/15059 | 2017-01-04T18:36:32Z | 2017-01-14T17:05:52Z | null | 2017-01-14T19:47:32Z |
DOC: Small corrections to describe docstring | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 5f8be9632cbe1..1680c061ad7d3 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -5287,7 +5287,6 @@ def describe(self, percentiles=None, include=None, exclude=None):
--------
Describing a numeric ``Series``.
- ... | I've made a number of small changes to an earlier pull request revising the describe documentation to bring it closer to pandas official style. I learned this rules as part of a subsequent request expanding the concat documentation and it seemed right to loop back here.
| https://api.github.com/repos/pandas-dev/pandas/pulls/15057 | 2017-01-04T16:31:18Z | 2017-01-05T09:44:24Z | 2017-01-05T09:44:24Z | 2017-01-05T18:20:52Z |
BUG: Fix for .str.replace with repl function | diff --git a/doc/source/text.rst b/doc/source/text.rst
index 3a4a57ff4da95..52e05c5d511bc 100644
--- a/doc/source/text.rst
+++ b/doc/source/text.rst
@@ -146,6 +146,25 @@ following code will cause trouble because of the regular expression meaning of
# We need to escape the special character (for >1 len patterns)
... | .str.replace now accepts a callable (function) as replacement string. It now raises a TypeError when repl is not string like nor a callable. Docstring updated accordingly.
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
- [x] closes #15055
| https://api.github.com/repos/pandas-dev/pandas/pulls/15056 | 2017-01-04T15:30:09Z | 2017-01-23T18:11:50Z | null | 2017-01-24T08:04:48Z |
BUG: make sure that we are passing thru kwargs to groupby | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index c82dc370e3e71..e8a3f52975bc0 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -332,6 +332,7 @@ Bug Fixes
+- Bug in groupby operations with timedelta64 when passing ``numeric_only=False`` (:is... | BUG: allow timedelta64 to work in groupby with numeric_only=False
closes #5724
```
In [6]: df = pd.DataFrame(
...: {'group': [1, 1, 2],
...: 'int': [1, 2, 3],
...: 'float': [4., 5., 6.],
...: 'string': list('abc'),
...: ... | https://api.github.com/repos/pandas-dev/pandas/pulls/15054 | 2017-01-04T12:51:12Z | 2017-01-18T16:14:35Z | null | 2017-01-18T16:14:36Z |
PERF: Cythonize Groupby.cummin/cummax (#15048) | diff --git a/asv_bench/benchmarks/groupby.py b/asv_bench/benchmarks/groupby.py
index ad58cd0fc6d70..597b040b8075c 100644
--- a/asv_bench/benchmarks/groupby.py
+++ b/asv_bench/benchmarks/groupby.py
@@ -690,6 +690,3 @@ def time_shift(self):
def time_transform_dataframe(self):
# GH 12737
self.df_nan... | - [x] closes #15048
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
```
before after ratio
[6eb705f5] [e8115142]
- 1.08s 1.74ms 0.00 groupby.groupby_cummax_cummin.time_cummax
- 1.09s 1.73ms 0.00 groupby.... | https://api.github.com/repos/pandas-dev/pandas/pulls/15053 | 2017-01-04T08:25:44Z | 2017-01-11T13:22:03Z | null | 2017-12-20T02:04:03Z |
DOC: Add example of skipcols in read_csv | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 66296804cba5f..9683fedb78303 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -644,6 +644,15 @@ file, either using the column names, position numbers or a callable:
pd.read_csv(StringIO(data), usecols=[0, 2, 3])
pd.read_csv(StringIO(data), usec... | Illustrate how we can use the `usecols` argument to skip particular columns.
Closes #10882. | https://api.github.com/repos/pandas-dev/pandas/pulls/15052 | 2017-01-04T07:01:45Z | 2017-01-04T22:28:13Z | 2017-01-04T22:28:13Z | 2017-01-04T22:29:42Z |
TST: Add new test for flaky usecols | diff --git a/pandas/io/tests/parser/usecols.py b/pandas/io/tests/parser/usecols.py
index 4fb6ff00e2d7b..c654859f8dc7d 100644
--- a/pandas/io/tests/parser/usecols.py
+++ b/pandas/io/tests/parser/usecols.py
@@ -200,6 +200,26 @@ def test_usecols_with_parse_dates(self):
parse_dates=parse_dates)
... | Title is self-explanatory.
xref #14984.
Closes #13604. | https://api.github.com/repos/pandas-dev/pandas/pulls/15051 | 2017-01-04T06:51:20Z | 2017-01-04T08:24:51Z | 2017-01-04T08:24:51Z | 2017-01-04T08:34:46Z |
ERR: Disallow multi-char quotechar for C engine | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 2db03724e564d..23f2589adde89 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -246,6 +246,7 @@ Other API Changes
- ``DataFrame.applymap()`` with an empty ``DataFrame`` will return a copy of the emp... | Raise `ValueError` or issue `ParserWarning` (as we do with other unsupported features) when a multi-char `quotechar` is passed in, and the C engine is used.
Closes #11592. | https://api.github.com/repos/pandas-dev/pandas/pulls/15050 | 2017-01-04T06:22:54Z | 2017-01-05T22:20:25Z | 2017-01-05T22:20:24Z | 2017-01-05T23:34:46Z |
BF: define expected Series of correct for arch (eg i386) int | diff --git a/pandas/tests/indexes/common.py b/pandas/tests/indexes/common.py
index 1b373baf9b3c1..dd4e0869e9627 100644
--- a/pandas/tests/indexes/common.py
+++ b/pandas/tests/indexes/common.py
@@ -127,6 +127,13 @@ def test_ndarray_compat_properties(self):
values = idx.values
for prop in self._compat... | - [x] Closes #14866
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry (I believe it is nothing new ;) )
| https://api.github.com/repos/pandas-dev/pandas/pulls/15044 | 2017-01-03T17:11:11Z | 2017-04-03T15:22:26Z | null | 2017-04-03T15:22:35Z |
TST: Test empty method and simplify logic | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 96a13b0cb8aca..5f8be9632cbe1 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -909,7 +909,7 @@ def empty(self):
pandas.Series.dropna
pandas.DataFrame.dropna
"""
- return not all(len(self._get_axis(a))... | - [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
Since the docstring of `.empty` states
> True if NDFrame is entirely empty [no items], meaning any of the axes are of length 0.
I was wondering if the logic could be changed accordingly for code clarity. Unless it was set ... | https://api.github.com/repos/pandas-dev/pandas/pulls/15043 | 2017-01-03T07:59:46Z | 2017-01-04T14:36:58Z | 2017-01-04T14:36:58Z | 2017-12-20T02:04:03Z |
BUG: Indexing MultiIndex with Series failed. | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 49d0a6efe6781..c57d92755b129 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -297,7 +297,7 @@ Bug Fixes
- Bug in ``pd.to_numeric()`` in which float and unsigned integer elements were being imprope... | Previously, accessing elements of a MultiIndex-indexed DataFrame with a Series
failed. This changes that behavior so that it is possible to use a Series to
access elements from a MultiIndex-indexed DataFrame, just as one would use
a list.
- [x] closes #14730
- [x] tests added / passed
- [x] passes ``git diff... | https://api.github.com/repos/pandas-dev/pandas/pulls/15041 | 2017-01-03T01:38:35Z | 2017-01-04T00:00:09Z | null | 2017-01-04T00:00:28Z |
DOC: Typing error in ExcelFile class example | diff --git a/doc/source/io.rst b/doc/source/io.rst
index af05a89a54a62..3b8a97e3d189a 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2372,7 +2372,7 @@ read into memory only once.
.. code-block:: python
- xlsx = pd.ExcelFile('path_to_file.xls)
+ xlsx = pd.ExcelFile('path_to_file.xls')
df = pd.re... | - [x] closes #15037
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
- Tests with local build of documentation passed
- Flake8 seems to be relevant for source code changes, only
- Thought that a whatsnew entry is not relevant in this case | https://api.github.com/repos/pandas-dev/pandas/pulls/15040 | 2017-01-02T19:32:57Z | 2017-01-02T19:42:06Z | 2017-01-02T19:42:06Z | 2017-01-02T19:42:11Z |
WIP/ENH: add weights kw to numeric aggregation functions | diff --git a/pandas/compat/numpy/function.py b/pandas/compat/numpy/function.py
index adc17c7514832..6eee7e74a7df2 100644
--- a/pandas/compat/numpy/function.py
+++ b/pandas/compat/numpy/function.py
@@ -306,13 +306,16 @@ def validate_expanding_func(name, args, kwargs):
raise UnsupportedFunctionCall(msg)
... | closes #10030
alt to #15031
```
In [5]: df = DataFrame({'A': [1, 1, 2, 2],
...: 'B': [1, 2, 3, 4]})
In [6]: df
Out[6]:
A B
0 1 1
1 1 2
2 2 3
3 2 4
In [7]: df.mean()
Out[7]:
A 1.5
B 2.5
dtype: float64
In [8]: df.mean(weights='A')
Out[8]:
A 0.416667
B... | https://api.github.com/repos/pandas-dev/pandas/pulls/15039 | 2017-01-02T18:36:13Z | 2017-02-27T16:03:21Z | null | 2019-12-11T19:04:18Z |
[WIP]: Add quantile shortcut | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index 7eba32b4932d0..7f50434354ee0 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -1024,6 +1024,22 @@ def mean(self, *args, **kwargs):
f = lambda x: x.mean(axis=self.axis)
return self._python_agg_general(f)
+ ... | - [x] closes #15023
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15032 | 2017-01-01T19:15:46Z | 2017-03-28T18:01:45Z | null | 2017-04-28T16:10:39Z |
WIP/ENH: Weightby | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 272dfe72eafe7..ee05532e0ae3a 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -314,6 +314,8 @@ Function application, GroupBy & Window
:toctree: generated/
Series.apply
+ Series.aggregate
+ Series.transform
Series.map
Series.grou... | closes #10030
this is on top of #14483
provides a groupby-like API to weighted calculations. The weights are lazily calculated and cached.
Deprecates the ``weights`` parameter to ``.sample()``, and implements all of this logic inside ``.weightby``.
TODO:
- only sum/mean are implemented ATM, but logic for ot... | https://api.github.com/repos/pandas-dev/pandas/pulls/15031 | 2017-01-01T19:01:43Z | 2017-01-02T18:36:33Z | null | 2017-01-02T18:36:33Z |
COMPAT: py2.7 compat for Timestamp.replace | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index a947b4f3ca0ac..bbf528a50e1bb 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -305,7 +305,7 @@ Bug Fixes
- Bug in ``Series`` construction with a datetimetz (:issue:`14928`)
-
+- Bug in compat f... | compat in Timestamp.replace when passing longs (and not ints)
xref https://github.com/statsmodels/statsmodels/issues/3349 | https://api.github.com/repos/pandas-dev/pandas/pulls/15030 | 2017-01-01T17:53:14Z | 2017-01-01T18:51:24Z | 2017-01-01T18:51:24Z | 2017-01-01T18:51:24Z |
API: allow list-like to DataFrame rename | diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst
index 1ea6662a4edb0..9dd8b2d391782 100644
--- a/doc/source/indexing.rst
+++ b/doc/source/indexing.rst
@@ -1586,6 +1586,25 @@ If you create an index yourself, you can just assign it to the ``index`` field:
data.index = index
+.. versionadded:: 0.20.0... | - [x] closes #14829
- [ ] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/15029 | 2017-01-01T15:20:03Z | 2017-01-11T01:22:40Z | null | 2017-01-11T01:22:40Z |
DOC: Added examples to pandas.concat documentation | diff --git a/pandas/tools/merge.py b/pandas/tools/merge.py
index efae7c63a9d0e..4012629aa3c90 100644
--- a/pandas/tools/merge.py
+++ b/pandas/tools/merge.py
@@ -1398,9 +1398,11 @@ def concat(objs, axis=0, join='outer', join_axes=None, ignore_index=False,
copy=True):
"""
Concatenate pandas objects ... | I've added two simple examples to the ``pd.concat`` documentation. I've also done a very small amount of clean up on the rest of the docstring.
- [x] passes ``git diff upstream/master | flake8 --diff`` | https://api.github.com/repos/pandas-dev/pandas/pulls/15028 | 2017-01-01T02:20:26Z | 2017-01-04T13:51:35Z | 2017-01-04T13:51:35Z | 2017-01-04T13:51:46Z |
docs cheat sheet pandas Pd to pd | diff --git a/doc/cheatsheet/Pandas_Cheat_Sheet.pdf b/doc/cheatsheet/Pandas_Cheat_Sheet.pdf
index a2b222c683564..d504926d22580 100644
Binary files a/doc/cheatsheet/Pandas_Cheat_Sheet.pdf and b/doc/cheatsheet/Pandas_Cheat_Sheet.pdf differ
diff --git a/doc/cheatsheet/Pandas_Cheat_Sheet.pptx b/doc/cheatsheet/Pandas_Cheat_S... | Change pandas syntax from Pd to pd
Closes [issue 15017](https://github.com/pandas-dev/pandas/issues/15017#issuecomment-269871137) | https://api.github.com/repos/pandas-dev/pandas/pulls/15026 | 2016-12-31T23:13:06Z | 2017-01-01T18:50:48Z | 2017-01-01T18:50:48Z | 2017-01-01T18:50:55Z |
BUG: Patch float and uint handling in to_numeric | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 02c7ac150c6af..b0169dd8ac896 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -291,6 +291,7 @@ Bug Fixes
- Bug in ``describe()`` when passing a numpy array which does not contain the median to the ... | 1) Patches `float` handling by reducing the "closeness" level when checking conversions.
2) Patches `uint` handling by allowing casts to `uint` dtypes of equal or lesser size to `int64` (when values are less than `INT64_MAX`
Closes #14941.
Follow-up to #15005. | https://api.github.com/repos/pandas-dev/pandas/pulls/15024 | 2016-12-31T10:54:57Z | 2016-12-31T15:45:30Z | null | 2016-12-31T18:52:43Z |
BUG: Parse uint64 in read_csv | diff --git a/asv_bench/benchmarks/io_bench.py b/asv_bench/benchmarks/io_bench.py
index 2ce3c4726b783..52064d2cdb8a2 100644
--- a/asv_bench/benchmarks/io_bench.py
+++ b/asv_bench/benchmarks/io_bench.py
@@ -128,6 +128,29 @@ def time_read_parse_dates_iso8601(self):
read_csv(StringIO(self.data), header=None, names... | Adds behavior to allow for parsing of `uint64` data in `read_csv`. Also ensures
that they are properly handled along with `NaN` and negative values.
Closes #14983. | https://api.github.com/repos/pandas-dev/pandas/pulls/15020 | 2016-12-31T10:11:45Z | 2017-01-02T19:50:02Z | 2017-01-02T19:50:02Z | 2017-01-02T19:56:19Z |
MAINT: Refactor logic in maybe_convert_* | diff --git a/pandas/src/inference.pyx b/pandas/src/inference.pyx
index d1e264b06eccc..933fc8fb1cc9b 100644
--- a/pandas/src/inference.pyx
+++ b/pandas/src/inference.pyx
@@ -85,6 +85,128 @@ try:
except AttributeError:
pass
+
+cdef class Seen(object):
+ """
+ Class for keeping track of the types of elements... | Creates a Seen class to abstract objects encountered when doing type conversions.
Follow-up to #15005. | https://api.github.com/repos/pandas-dev/pandas/pulls/15018 | 2016-12-30T23:14:36Z | 2017-01-03T11:24:59Z | null | 2017-01-03T18:22:55Z |
TST: Series Division with zeros numpy array (#8674) | diff --git a/pandas/tests/series/test_operators.py b/pandas/tests/series/test_operators.py
index 086946d05d7a6..6650a171b818b 100644
--- a/pandas/tests/series/test_operators.py
+++ b/pandas/tests/series/test_operators.py
@@ -143,6 +143,19 @@ def test_div(self):
expected = Series([-inf, nan, inf])
... | - [x] closes #8674
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
This issue operates normally on master and relates to Python's 2.x division. Doesn't appear that any PRs in 0.20 addressed this issue. | https://api.github.com/repos/pandas-dev/pandas/pulls/15013 | 2016-12-30T07:35:45Z | 2016-12-30T09:39:39Z | 2016-12-30T09:39:39Z | 2017-12-20T02:04:02Z |
DOC/BLD: doc building with python 3 | diff --git a/.travis.yml b/.travis.yml
index becb347c3700f..b2a1a8a63cfe6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -182,9 +182,9 @@ matrix:
- CACHE_NAME="35_ascii"
- USE_CACHE=true
# In allow_failures
- - python: 2.7
+ - python: 3.5
env:
- - PYTHON_VERSION=2.7
+ - P... | Makes our doc building machinery (specific accessor stuff) python 3 compat + switches travis doc building to python 3.5 + preventing some other warnings (see individual commits) | https://api.github.com/repos/pandas-dev/pandas/pulls/15012 | 2016-12-29T22:23:39Z | 2016-12-30T14:46:18Z | 2016-12-30T14:46:18Z | 2017-03-05T11:48:08Z |
DOC: python 3 compatibility in code examples | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index 090998570a358..86d0c61398be1 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -129,8 +129,7 @@ To get back to the original Series or `numpy` array, use ``Series.astype(origina
s
s2 = s.astype('category')
... | Some changes to our code examples needed to make them all run with python 3.
(there are still problems with our accessor extensions to have doc building on py3 fully working) | https://api.github.com/repos/pandas-dev/pandas/pulls/15011 | 2016-12-29T15:01:28Z | 2016-12-29T21:57:16Z | 2016-12-29T21:57:16Z | 2016-12-29T21:57:16Z |
Fix gbq integration tests so that unique datasets/table names are used | diff --git a/pandas/io/tests/test_gbq.py b/pandas/io/tests/test_gbq.py
index 28820fd71af27..78891cae38bc0 100644
--- a/pandas/io/tests/test_gbq.py
+++ b/pandas/io/tests/test_gbq.py
@@ -1065,7 +1065,7 @@ def tearDown(self):
pass
def test_upload_data_as_service_account_with_key_path(self):
- destin... | This PR will resolve an issue where a gbq integration test was failing. The same dataset/table name was used twice in `test_gbq.py` which could result in a schema conflict if the previous table schema is cached and the new schema has not successfully propagated through Google's backend.
See https://github.com/panda... | https://api.github.com/repos/pandas-dev/pandas/pulls/15009 | 2016-12-29T14:28:40Z | 2016-12-30T18:45:21Z | 2016-12-30T18:45:21Z | 2016-12-30T18:46:50Z |
TST: fix tests catching unorderable errors for python 3.6 | diff --git a/pandas/tests/indexes/test_base.py b/pandas/tests/indexes/test_base.py
index 3536a52432b8c..0e6773fd83404 100644
--- a/pandas/tests/indexes/test_base.py
+++ b/pandas/tests/indexes/test_base.py
@@ -1807,8 +1807,7 @@ def test_order(self):
idx = self.create_index()
# 9816 deprecated
... | See also https://github.com/MacPython/pandas-wheels/pull/8, seems that the order of int and str is switched in some cases (eg https://travis-ci.org/MacPython/pandas-wheels/jobs/187223139). Therefore making the test here more robust.
Related to https://github.com/pandas-dev/pandas/pull/14684
| https://api.github.com/repos/pandas-dev/pandas/pulls/15007 | 2016-12-29T13:33:22Z | 2016-12-30T18:46:02Z | 2016-12-30T18:46:02Z | 2016-12-30T18:46:02Z |
BUG: Convert uint64 in maybe_convert_numeric | diff --git a/asv_bench/benchmarks/inference.py b/asv_bench/benchmarks/inference.py
index 6eda93c0a1dc8..3635438a7f76b 100644
--- a/asv_bench/benchmarks/inference.py
+++ b/asv_bench/benchmarks/inference.py
@@ -95,4 +95,23 @@ def setup(self, dtype, downcast):
self.data = self.data_dict[dtype]
def time_dow... | Add handling for `uint64` elements in an array with the follow behavior specifications:
1) If `uint64` and `NaN` are both detected, the original input will be returned if `coerce_numeric`
is `False`. Otherwise, an `Exception` is raised.
2) If `uint64` and negative numbers are both detected, the original input be... | https://api.github.com/repos/pandas-dev/pandas/pulls/15005 | 2016-12-28T19:54:53Z | 2016-12-30T18:53:09Z | null | 2016-12-30T18:54:26Z |
DOC: Fix df.resample docstring example | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 77c2699f5a432..8ce4c4b00454b 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -4229,11 +4229,11 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None,
Upsample the series into 30 second bins.
... | - [x] passes ``git diff upstream/master | flake8 --diff``
| https://api.github.com/repos/pandas-dev/pandas/pulls/15004 | 2016-12-28T16:56:10Z | 2016-12-28T23:43:47Z | 2016-12-28T23:43:47Z | 2016-12-28T23:43:59Z |
ERR: qcut uniquess checking (try 2) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 0873e4b34b0b1..64c5de6cb100a 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -105,6 +105,7 @@ Other enhancements
of sorting or an incorrect key. See :ref:`here <advanced.unsorted>`
- ``pd.cut... | - [x] closes #7751
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
Add option to drop non-unique bins. | https://api.github.com/repos/pandas-dev/pandas/pulls/15000 | 2016-12-27T22:56:15Z | 2016-12-30T19:02:01Z | null | 2016-12-30T19:02:08Z |
BUG: Fixed to_html with index=False and max_rows | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 0873e4b34b0b1..5e27c6e9cc293 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -313,6 +313,12 @@ Bug Fixes
+- Bug in ``DataFrame.to_html`` with ``index=False`` and ``max_rows`` raising in ``Ind... | closes https://github.com/pandas-dev/pandas/issues/14998
Previously raised an IndexError by assuming that
`len(fmt_values)` was always the same length as `len(self.data)`. | https://api.github.com/repos/pandas-dev/pandas/pulls/14999 | 2016-12-27T21:54:58Z | 2016-12-30T19:43:12Z | null | 2016-12-31T10:06:20Z |
DOC: consistent import timedeltas docs | diff --git a/doc/source/timedeltas.rst b/doc/source/timedeltas.rst
index 7d0fa61b1bdac..f7aa879fa7216 100644
--- a/doc/source/timedeltas.rst
+++ b/doc/source/timedeltas.rst
@@ -4,18 +4,17 @@
.. ipython:: python
:suppress:
- from datetime import datetime, timedelta
+ import datetime
import numpy as np
+ ... | Added consistent import for timedeltas docs, i.e.: `import pandas as pd`, `import datetime`.
See: https://github.com/pandas-dev/pandas/issues/9886
Didn't touch the `pandas.tseries.offsets` since no consensus has been made how to import those. | https://api.github.com/repos/pandas-dev/pandas/pulls/14997 | 2016-12-27T15:17:38Z | 2016-12-27T16:24:52Z | 2016-12-27T16:24:52Z | 2016-12-27T16:25:23Z |
BUG: fixed index power operation | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 0873e4b34b0b1..8bd794983375d 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -282,6 +282,7 @@ Performance Improvements
Bug Fixes
~~~~~~~~~
+- Bug in ``Index`` power operations with reversed ope... | * The power operation on a range of indexes was fixed. See issue #14973
- [ ] closes #14973
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14996 | 2016-12-27T05:37:58Z | 2016-12-30T19:14:33Z | null | 2016-12-30T19:14:38Z |
DOC: Clarified and expanded describe documentation | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 77c2699f5a432..bdb369810e5b3 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -5201,60 +5201,222 @@ def abs(self):
"""
return np.abs(self)
- _shared_docs['describe'] = """
- Generate various summary stati... | - [x] passes ``git diff upstream/master | flake8 --diff``
As discussed in #14483. | https://api.github.com/repos/pandas-dev/pandas/pulls/14995 | 2016-12-27T04:49:17Z | 2017-01-02T09:05:47Z | 2017-01-02T09:05:47Z | 2017-01-02T09:05:55Z |
Bug: Raise ValueError with interpolate & fillna limit = 0 (#9217) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 6fe066b08e255..bb0d6003c28b7 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -418,6 +418,7 @@ Other API Changes
- ``SparseArray.cumsum()`` and ``SparseSeries.cumsum()`` will now always return ``Sp... | - [x] closes #9217
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
Add similar logic to `fillna` | https://api.github.com/repos/pandas-dev/pandas/pulls/14994 | 2016-12-26T22:50:36Z | 2017-02-14T13:34:23Z | null | 2017-12-20T02:04:10Z |
BUG: Reindex with columns and method | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 40bd8bc4154a6..21091d87dbfd7 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -285,6 +285,7 @@ Bug Fixes
- Bug in ``DataFrame(..).apply(to_numeric)`` when values are of type decimal.Decimal. (:issu... | - [x] closes #14992
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14993 | 2016-12-26T20:47:20Z | 2016-12-30T19:41:22Z | null | 2017-09-21T15:17:33Z |
BLD: move + update build script | diff --git a/build_dist.sh b/scripts/build_dist.sh
similarity index 89%
rename from build_dist.sh
rename to scripts/build_dist.sh
index 9bd007e3e1c9f..c9c36c18bed9c 100755
--- a/build_dist.sh
+++ b/scripts/build_dist.sh
@@ -12,7 +12,7 @@ case ${answer:0:1} in
echo "Building distribution"
python setup.... | Only one source dist format to upload since https://www.python.org/dev/peps/pep-0527/ | https://api.github.com/repos/pandas-dev/pandas/pulls/14991 | 2016-12-26T13:47:02Z | 2016-12-26T13:47:45Z | 2016-12-26T13:47:45Z | 2016-12-26T14:34:35Z |
ERR: MultiIndex searchsorted | diff --git a/pandas/indexes/multi.py b/pandas/indexes/multi.py
index 132543e0e386c..1b1c30b8d0d6b 100644
--- a/pandas/indexes/multi.py
+++ b/pandas/indexes/multi.py
@@ -1470,6 +1470,9 @@ def get_indexer(self, target, method=None, limit=None, tolerance=None):
return _ensure_platform_int(indexer)
+ def se... | - [ ] closes #14833
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14990 | 2016-12-26T11:45:50Z | 2017-02-27T15:58:48Z | null | 2023-05-11T01:14:50Z |
MAINT: Abstract index helpers in pxi.in file | diff --git a/pandas/index.pyx b/pandas/index.pyx
index a245e85d80f96..d575defe17422 100644
--- a/pandas/index.pyx
+++ b/pandas/index.pyx
@@ -363,115 +363,6 @@ cdef class IndexEngine:
return result[0:count], missing[0:count_missing]
-cdef class Int64Engine(IndexEngine):
-
- cdef _get_index_values(self):
... | Title is self-explanatory. xref #14937. | https://api.github.com/repos/pandas-dev/pandas/pulls/14989 | 2016-12-26T10:24:53Z | 2016-12-26T17:17:57Z | 2016-12-26T17:17:57Z | 2016-12-26T18:33:44Z |
CLN: used np.__version__ and removed instantiation | diff --git a/pandas/compat/numpy/__init__.py b/pandas/compat/numpy/__init__.py
index f2d837a4c9908..358ac3c30b8e7 100644
--- a/pandas/compat/numpy/__init__.py
+++ b/pandas/compat/numpy/__init__.py
@@ -7,7 +7,7 @@
# numpy versioning
-_np_version = np.version.short_version
+_np_version = np.__version__
_nlv = Loose... | @rkern and others [recommend](http://stackoverflow.com/questions/1520234/how-to-check-which-version-of-numpy-im-using) using `np.__version__` instead of `np.version`. However I realize this is pandas "internals" so there may be some reason for using `np.version` over `np.__version__`. I could not find any such reason. ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14988 | 2016-12-26T03:42:19Z | 2016-12-26T17:16:23Z | 2016-12-26T17:16:23Z | 2016-12-26T17:16:23Z |
ENH: Added 'sum' to the set of statistics returned by df.field.describe() | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 77c2699f5a432..d58bc240790c0 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -5284,9 +5284,10 @@ def describe(self, percentiles=None, include=None, exclude=None):
formatted_percentiles = format_percentiles(percentiles)
... | I've added ``sum`` to the set of statistics returned by the ``describe`` method.
I believe it should be added because in my experience, the sum is just as commonly needed as the other values already returned by ``describe``. I have often found myself writing an additional line of code after ``describe`` to calculate... | https://api.github.com/repos/pandas-dev/pandas/pulls/14986 | 2016-12-26T00:25:01Z | 2016-12-26T17:12:46Z | null | 2023-05-11T01:14:50Z |
DOC: Refactor numeric index docs | diff --git a/pandas/indexes/base.py b/pandas/indexes/base.py
index 1cc546629589d..b44c261833383 100644
--- a/pandas/indexes/base.py
+++ b/pandas/indexes/base.py
@@ -1128,17 +1128,17 @@ def is_mixed(self):
def holds_integer(self):
return self.inferred_type in ['integer', 'mixed-integer']
- # validate ... | Refactor `NumericIndex` docs to avoid duplicate documentation. xref #14937. | https://api.github.com/repos/pandas-dev/pandas/pulls/14985 | 2016-12-25T23:48:25Z | 2016-12-30T19:05:34Z | null | 2016-12-30T19:23:46Z |
BUG: Avoid flaky usecols set in C engine | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 0873e4b34b0b1..1341ce2710f57 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -321,3 +321,4 @@ Bug Fixes
- Require at least 0.23 version of cython to avoid problems with character encodings (:issue... | Explanation of the bug can be found <a href="https://github.com/pandas-dev/pandas/issues/14792#issuecomment-269115098">here</a>.
Closes #14792.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14984 | 2016-12-25T19:42:36Z | 2016-12-30T19:27:40Z | null | 2016-12-30T19:28:46Z |
Fixed power operation on indicies | diff --git a/pandas/indexes/base.py b/pandas/indexes/base.py
index 1cc546629589d..363870f43c0c0 100644
--- a/pandas/indexes/base.py
+++ b/pandas/indexes/base.py
@@ -3534,7 +3534,9 @@ def _evaluate_numeric_binop(self, other):
operator.sub, '__sub__', reversed=True)
cls.__mul__ = cls.__rmul__ = _mak... | Fixed power operation on indicies to allow for power on rows. See #14973
- [ ] closes #14973
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14981 | 2016-12-25T00:28:57Z | 2016-12-27T05:38:47Z | null | 2016-12-27T11:39:31Z |
DOC: Adding repository pandas_exercises to tutorials.rst | diff --git a/doc/source/tutorials.rst b/doc/source/tutorials.rst
index c25e734a046b2..5ff4e955a9ed2 100644
--- a/doc/source/tutorials.rst
+++ b/doc/source/tutorials.rst
@@ -123,6 +123,33 @@ There are four sections covering selected topics as follows:
- `Time Series <http://wavedatalab.github.io/datawithpython/times... | https://api.github.com/repos/pandas-dev/pandas/pulls/14980 | 2016-12-24T19:26:05Z | 2017-01-02T10:12:44Z | 2017-01-02T10:12:44Z | 2017-01-02T10:14:11Z | |
Clean up py36 build | diff --git a/ci/requirements-3.6.run b/ci/requirements-3.6.run
index b9d543f557d06..684dab333648a 100644
--- a/ci/requirements-3.6.run
+++ b/ci/requirements-3.6.run
@@ -1,3 +1,4 @@
python-dateutil
pytz
numpy
+scipy
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index 950ad53abe5e0..7eba32b4932d0 100644... | - remove some deprecation warnings
- fix use of StopIteration in a generator
- add scipy to build | https://api.github.com/repos/pandas-dev/pandas/pulls/14979 | 2016-12-24T17:59:37Z | 2016-12-24T20:40:25Z | null | 2016-12-24T20:40:25Z |
BUG: applymap on empty DataFrame returns Series (#8222) | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 4799d2711231b..40bd8bc4154a6 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -237,6 +237,7 @@ Other API Changes
- ``CParserError`` has been renamed to ``ParserError`` in ``pd.read_csv`` and will... | - [x] closes #8222
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry for 0.20.0
Within `applymap`, the data is converted into a numpy array with `asobject` [here](https://github.com/pandas-dev/pandas/blob/master/pandas/core/frame.py#L4291) and evaluated ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14977 | 2016-12-24T04:18:10Z | 2016-12-24T20:53:51Z | 2016-12-24T20:53:51Z | 2017-12-20T02:03:40Z |
BUG: GH14882 Incorrect index label displayed on MultiIndex DataFrame | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 4799d2711231b..48375e9a8e0dd 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -318,3 +318,5 @@ Bug Fixes
- Require at least 0.23 version of cython to avoid problems with character encodings (:issue... | - [x] closes #14882
- [x] tests added / passed
Add `tests/formats/test_format.py:TestDataFrameFormatting.test_to_html_multiindex_odd_even_truncate`
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14975 | 2016-12-23T22:09:35Z | 2017-01-21T23:07:44Z | null | 2017-01-23T15:59:22Z |
DOC: Fix typo in docstring | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 3678168890444..77c2699f5a432 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -690,7 +690,7 @@ def f(x):
def rename_axis(self, mapper, axis=0, copy=True, inplace=False):
"""
Alter index and / or columns using in... | scaler->scalar | https://api.github.com/repos/pandas-dev/pandas/pulls/14970 | 2016-12-23T00:35:04Z | 2016-12-23T01:13:26Z | 2016-12-23T01:13:26Z | 2017-04-22T21:40:05Z |
[Depr] raise_on_error kwarg with errors kwarg in astype#14878 | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index e7b2fc5a6505d..4027edd6eb9eb 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -247,7 +247,7 @@ Deprecations
- ``Index.repeat()`` and ``MultiIndex.repeat()`` have deprecated the ``n`` parameter in f... | - [x] closes #14878
- [x] tests passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
Please check that the entry in `whatsnew/v0.20.0.txt`. Unsure that the update was in the
`_whatsnew_0200.deprecations` or `_whatsnew_0200.prior_deprecations` so put it in the
former. | https://api.github.com/repos/pandas-dev/pandas/pulls/14967 | 2016-12-22T20:43:29Z | 2017-01-03T20:53:59Z | 2017-01-03T20:53:59Z | 2017-01-04T10:13:23Z |
[DOC] typo correction | diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst
index 6de6abed9a681..e09d240ed91b7 100644
--- a/doc/source/timeseries.rst
+++ b/doc/source/timeseries.rst
@@ -494,13 +494,13 @@ For example, let us consider ``Series`` object which index has minute resolution
... | Follow-up to #14856. I believe that the word *timestamp* here should be de-capitalized at is not a name of object (like `Timestamp`), just a common noun. | https://api.github.com/repos/pandas-dev/pandas/pulls/14966 | 2016-12-22T20:21:10Z | 2016-12-23T00:18:02Z | 2016-12-23T00:18:02Z | 2016-12-23T18:02:00Z |
ERR: raise on missing values in pd.pivot_table | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index e7b2fc5a6505d..0b13d78f0377e 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -300,3 +300,4 @@ Bug Fixes
- Bug in ``Series.unique()`` in which unsigned 64-bit integers were causing overflow (:issue... | - [x] closes #14938
- [x] tests added - for #14938
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14965 | 2016-12-22T20:15:28Z | 2016-12-23T20:49:57Z | 2016-12-23T20:49:56Z | 2016-12-23T20:52:00Z |
DOC :Cheatsheet update. | diff --git a/doc/cheatsheet/Pandas_Cheat_Sheet.pdf b/doc/cheatsheet/Pandas_Cheat_Sheet.pdf
new file mode 100644
index 0000000000000..a2b222c683564
Binary files /dev/null and b/doc/cheatsheet/Pandas_Cheat_Sheet.pdf differ
diff --git a/doc/cheatsheet/Pandas_Cheat_Sheet.pptx b/doc/cheatsheet/Pandas_Cheat_Sheet.pptx
new fi... | Update to cheatsheet, from suggestions from a colleague.
1. Fix bug in example for outer join
2. Add head() and tail() and use space for nsmallest()
3. Formatting of logic table.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14963 | 2016-12-22T18:32:58Z | 2016-12-23T00:00:28Z | null | 2016-12-23T20:52:03Z |
BUG: Series.ffill() with mixed dtypes containing tz-aware datetimes f… | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index e7b2fc5a6505d..54824faf2c8e8 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -300,3 +300,4 @@ Bug Fixes
- Bug in ``Series.unique()`` in which unsigned 64-bit integers were causing overflow (:issue... | …ails. (GH14956)
Seems to work with all the datetime classes usually encountered, although 'tz' seems to be the idiom in the codebase (not sure why?). If both need to be supported I can replace `getattr(val, 'tzinfo', None)` with `getattr(val, 'tz', None) or getattr(val, 'tzinfo', None)`, thus also giving precedence... | https://api.github.com/repos/pandas-dev/pandas/pulls/14960 | 2016-12-22T17:12:15Z | 2016-12-23T20:59:22Z | null | 2016-12-23T20:59:55Z |
TST: matplotlib 2.0 fix in log limits for barplot (GH14808) | diff --git a/pandas/tests/plotting/test_series.py b/pandas/tests/plotting/test_series.py
index 73119fec88198..6878ca0e1bc06 100644
--- a/pandas/tests/plotting/test_series.py
+++ b/pandas/tests/plotting/test_series.py
@@ -216,15 +216,22 @@ def test_bar_log(self):
if not self.mpl_le_1_2_1:
expecte... | Closes #14808 | https://api.github.com/repos/pandas-dev/pandas/pulls/14957 | 2016-12-22T14:06:45Z | 2016-12-24T10:50:47Z | 2016-12-24T10:50:47Z | 2016-12-24T14:04:07Z |
TST: Groupby.groups of datetimeindex (#11442) | diff --git a/pandas/tests/groupby/test_groupby.py b/pandas/tests/groupby/test_groupby.py
index f8d9d73590a60..f86928ccec8bd 100644
--- a/pandas/tests/groupby/test_groupby.py
+++ b/pandas/tests/groupby/test_groupby.py
@@ -3933,6 +3933,27 @@ def test_groupby_groups_datetimeindex(self):
groups = grouped.groups
... | - [x] closes #11442
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
Doesn't look a PR in 0.19.2 and 0.20.0 addressed this, but it works on master 0.19.1 | https://api.github.com/repos/pandas-dev/pandas/pulls/14952 | 2016-12-22T06:45:33Z | 2016-12-23T11:16:25Z | 2016-12-23T11:16:24Z | 2017-12-20T02:03:40Z |
BUG: Patch maybe_convert_objects uint64 handling | diff --git a/pandas/src/inference.pyx b/pandas/src/inference.pyx
index 2f829417f9bb2..97d786bf82b7c 100644
--- a/pandas/src/inference.pyx
+++ b/pandas/src/inference.pyx
@@ -810,7 +810,7 @@ def maybe_convert_objects(ndarray[object] objects, bint try_float=0,
floats[i] = <float64_t> val
complexe... | Makes method robust against known `numpy` bug that you can't compare `uint64` against `int64`
because they are casted to `float64` during the comparison, causing truncation.
xref #14937.
Follow-up to #14916. | https://api.github.com/repos/pandas-dev/pandas/pulls/14951 | 2016-12-22T06:07:36Z | 2016-12-22T11:27:30Z | 2016-12-22T11:27:30Z | 2016-12-22T14:50:34Z |
ENH: GH14883: json_normalize now takes a user-specified separator | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 15566d207e31f..638044cee67bb 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -300,9 +300,9 @@ Other Enhancements
- ``pd.DataFrame.plot`` now prints a title above each subplot if ``suplots=True`` a... | - [x] closes #14883
- [ ] tests added / passed (added 3 tests: `test_simple_normalize_with_{default, user_specified, user_specified_unicode}_separator`)
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry (v0.20.0)
However, this doesn't work, even after making the fixes suggested in... | https://api.github.com/repos/pandas-dev/pandas/pulls/14950 | 2016-12-22T00:05:26Z | 2017-03-28T21:50:38Z | null | 2017-03-28T22:07:01Z |
added 'separator' argument to json_normalize | diff --git a/pandas/io/json.py b/pandas/io/json.py
index 0a6b8af179e12..fa123d5783958 100644
--- a/pandas/io/json.py
+++ b/pandas/io/json.py
@@ -24,8 +24,8 @@ def to_json(path_or_buf, obj, orient=None, date_format='epoch',
default_handler=None, lines=False):
if lines and orient != 'records':
- ... | - [x] closes #14883
- [ ] tests added / passed (added 3 tests: `test_simple_normalize_with_{default, user_specified, user_specified_unicode}_separator`)
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry (v0.20.0)
However, this doesn't work, even after making the fixes suggested in... | https://api.github.com/repos/pandas-dev/pandas/pulls/14949 | 2016-12-21T23:39:58Z | 2016-12-21T23:53:19Z | null | 2016-12-22T00:06:02Z |
Clarified error in read_sas method when buffer object provided withou… | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 27f8564ba16c2..b70b3c1cea2b5 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -271,6 +271,7 @@ Performance Improvements
- Improved performance of ``pd.wide_to_long()`` (:issue:`14779`)
- Increased... | …t format
- [x] closes #14947
- [x] tests added / passed
- [X] passes ``git diff upstream/master | flake8 --diff``
- [X] whatsnew entry
Added three lines to sasreader.py immediately following line 33 (if format==None:) to handle the case when a buffer object is provided without a format='sas7bdat' or forma... | https://api.github.com/repos/pandas-dev/pandas/pulls/14947 | 2016-12-21T22:01:26Z | 2017-01-09T18:33:06Z | null | 2017-01-09T18:33:10Z |
BUG: sorting with large float and multiple columns incorrect | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 83a70aa34fccf..9fa55964de1c1 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -246,6 +246,7 @@ Bug Fixes
- Bug in ``DataFrame`` construction in which unsigned 64-bit integer elements were being con... | Fixes https://github.com/pandas-dev/pandas/issues/14922
Having the `int` equivalent of `NaT` in an `int64` column caused wrong sorting because this special value was considered as "missing value".
- [ ] closes #xxxx
- [X] tests added / passed
- [X] passes ``git diff upstream/master | flake8 --diff``
- ... | https://api.github.com/repos/pandas-dev/pandas/pulls/14944 | 2016-12-21T17:36:44Z | 2016-12-23T21:04:14Z | null | 2016-12-23T21:04:14Z |
DOC: Pandas Cheat Sheet (GH13202) | diff --git a/doc/cheatsheet/Pandas_Cheat_Sheet.pdf b/doc/cheatsheet/Pandas_Cheat_Sheet.pdf
new file mode 100644
index 0000000000000..a0bff02d45f91
Binary files /dev/null and b/doc/cheatsheet/Pandas_Cheat_Sheet.pdf differ
diff --git a/doc/cheatsheet/Pandas_Cheat_Sheet.pptx b/doc/cheatsheet/Pandas_Cheat_Sheet.pptx
new fi... | - [x ] closes #13202
Pandas Cheat Sheet. Someone needs to figure out (or tell me the best way to do it!) how the PDF version gets integrated into the documentation tree.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14943 | 2016-12-21T16:50:47Z | 2016-12-21T17:23:05Z | null | 2016-12-21T17:24:42Z |
ENH: Create and propagate UInt64Index | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 2a825edd0e98a..0e682874b4b73 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -91,6 +91,25 @@ support for bz2 compression in the python 2 c-engine improved (:issue:`14874`).
df = pd.read_table(u... | 1) Introduces and propagates `UInt64Index`, an index specifically for `uint`. xref #14935
2) <strike> Patches bug from #14916 that makes `maybe_convert_objects` robust against the known `numpy` bug that `uint64` cannot be compared to `int64`. This bug was caught during testing of `UInt64Index`. </strike>
**UPDA... | https://api.github.com/repos/pandas-dev/pandas/pulls/14937 | 2016-12-21T08:03:45Z | 2017-01-17T13:53:58Z | null | 2017-01-18T05:10:19Z |
TST: Concat MultiIndex dataframes with deepcopy (#9967) | diff --git a/pandas/tools/tests/test_concat.py b/pandas/tools/tests/test_concat.py
index f541de316661a..172eee99b7c6b 100644
--- a/pandas/tools/tests/test_concat.py
+++ b/pandas/tools/tests/test_concat.py
@@ -2151,6 +2151,27 @@ def test_concat_multiindex_rangeindex(self):
exp = df.iloc[[2, 3, 4, 5], :]
... | - [x] closes #9967
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
Potentially related to #10638? Otherwise, don't think this was fixed recently | https://api.github.com/repos/pandas-dev/pandas/pulls/14936 | 2016-12-21T06:34:45Z | 2016-12-22T11:25:52Z | 2016-12-22T11:25:52Z | 2017-12-20T02:03:39Z |
BUG: Patch rank() uint64 behavior | diff --git a/pandas/algos.pyx b/pandas/algos.pyx
index 04f3ac70bdf5c..32955fd0f465b 100644
--- a/pandas/algos.pyx
+++ b/pandas/algos.pyx
@@ -67,499 +67,6 @@ tiebreakers = {
}
-# ctypedef fused pvalue_t:
-# float64_t
-# int64_t
-# object
-
-# from cython cimport floating, integral
-
-cdef _take_2d_float... | Adds `uint64` ranking functions to `algos.pyx` to allow for proper ranking with `uint64`.
Also introduces partial patch for `factorize()` by adding `uint64` hashtables and vectors for
usage. However, this patch is only partial because the larger bug of non-support for `uint64`
in `Index` has not been fixed (**UPDA... | https://api.github.com/repos/pandas-dev/pandas/pulls/14935 | 2016-12-21T04:25:45Z | 2016-12-24T22:04:45Z | null | 2016-12-24T22:05:33Z |
BUG, TST: Check uint64 behaviour in algorithms.py | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index b32b9fbbab04e..ffd2fa90dc9e6 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -298,5 +298,6 @@ Bug Fixes
- Bug in ``Series.unique()`` in which unsigned 64-bit integers were causing overflow (:i... | First of a series of PR's to patch and test `uint64` behaviour in `core/algorithms.py`. In this PR, the following functions are checked:
1. `duplicated()` : robust but now has test to confirm
2. `mode()` : robust but now has test to confirm
3. `unique()` : non-robust but patched and tested | https://api.github.com/repos/pandas-dev/pandas/pulls/14934 | 2016-12-20T22:40:55Z | 2016-12-23T11:15:24Z | null | 2016-12-23T13:46:27Z |
PERF: fix getitem unique_check / initialization issue | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index 8cbf5b8d97b70..adbe73aa5c5ef 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -68,6 +68,8 @@ class Iteration(object):
def setup(self):
self.df = DataFrame(randn... | closes #14930 | https://api.github.com/repos/pandas-dev/pandas/pulls/14933 | 2016-12-20T21:19:03Z | 2016-12-21T11:09:55Z | null | 2016-12-21T11:09:55Z |
PERF: PeriodIndex speed up | diff --git a/asv_bench/benchmarks/period.py b/asv_bench/benchmarks/period.py
index ff5a201057bcd..f9837191a7bae 100644
--- a/asv_bench/benchmarks/period.py
+++ b/asv_bench/benchmarks/period.py
@@ -49,3 +49,28 @@ def time_value_counts_pindex(self):
self.i.value_counts()
+class period_standard_indexing(objec... | - [x] closes #https://github.com/pandas-dev/pandas/issues/14822
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14931 | 2016-12-20T18:46:30Z | 2016-12-21T01:58:20Z | 2016-12-21T01:58:20Z | 2016-12-21T03:28:33Z |
BUG: bug in Series construction from UTC | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index dc06fbd159457..d42e8edc6dfe0 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -253,7 +253,7 @@ Bug Fixes
-
+- Bug in ``Series`` construction with a datetimetz (:issue:`14928`)
diff --git... | xref #14918 | https://api.github.com/repos/pandas-dev/pandas/pulls/14928 | 2016-12-20T16:44:32Z | 2016-12-20T17:48:14Z | null | 2016-12-20T17:48:14Z |
TST: Groupby.filter dropna=False with empty group (#10780) | diff --git a/pandas/tests/groupby/test_filters.py b/pandas/tests/groupby/test_filters.py
index 81bf977e924d8..fb0f52886ec31 100644
--- a/pandas/tests/groupby/test_filters.py
+++ b/pandas/tests/groupby/test_filters.py
@@ -596,6 +596,19 @@ def test_filter_non_bool_raises(self):
with tm.assertRaisesRegexp(TypeErr... | - [x] closes #10780
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
Didn't find a PR in 0.20 or 0.19.2 that closed this, but works on master 0.19.1 | https://api.github.com/repos/pandas-dev/pandas/pulls/14926 | 2016-12-20T06:36:18Z | 2016-12-20T20:44:26Z | 2016-12-20T20:44:26Z | 2016-12-21T04:23:14Z |
PERF: make all inference routines cpdef bint | diff --git a/pandas/lib.pyx b/pandas/lib.pyx
index 548a96780d37a..761969491cfc7 100644
--- a/pandas/lib.pyx
+++ b/pandas/lib.pyx
@@ -257,7 +257,7 @@ cdef double INF = <double> np.inf
cdef double NEGINF = -INF
-cpdef checknull(object val):
+cpdef bint checknull(object val):
if util.is_float_object(val) or util... | going to rebase after #14827 | https://api.github.com/repos/pandas-dev/pandas/pulls/14925 | 2016-12-19T23:33:29Z | 2016-12-20T14:11:33Z | null | 2016-12-20T14:11:33Z |
MAINT: Only output errors in C style check | diff --git a/ci/lint.sh b/ci/lint.sh
index d7df6215450b4..32ac606a4d30a 100755
--- a/ci/lint.sh
+++ b/ci/lint.sh
@@ -7,6 +7,8 @@ source activate pandas
RET=0
if [ "$LINT" ]; then
+ pip install cpplint
+
# pandas/rpy is deprecated and will be removed.
# pandas/src is C code, so no need to search there.
... | Title is self-explanatory. Follow-up to #14814.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14924 | 2016-12-19T16:12:12Z | 2016-12-19T19:20:52Z | 2016-12-19T19:20:52Z | 2016-12-19T19:22:21Z |
TST: Test empty input for read_csv (#14867) | diff --git a/pandas/io/tests/parser/test_textreader.py b/pandas/io/tests/parser/test_textreader.py
index 49b70fc5e8703..98cb09cd85480 100644
--- a/pandas/io/tests/parser/test_textreader.py
+++ b/pandas/io/tests/parser/test_textreader.py
@@ -392,6 +392,12 @@ def test_empty_field_eof(self):
nam... | - [x ] closes #14867
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [ ] whatsnew entry
LMK if it would be more suitable in a different test file. | https://api.github.com/repos/pandas-dev/pandas/pulls/14920 | 2016-12-19T14:25:24Z | 2016-12-20T16:03:24Z | 2016-12-20T16:03:23Z | 2017-01-26T01:19:17Z |
CLN: move unique1d to algorithms from nanops | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index b2702ea0acca7..6bcd3776867b6 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -113,6 +113,38 @@ def _unique_generic(values, table_type, type_caster):
return type_caster(uniques)
+def unique1d(values):
+ """
+ ... | TST: consolidate hashtable testing to test_algos.py
| https://api.github.com/repos/pandas-dev/pandas/pulls/14919 | 2016-12-19T11:31:18Z | 2016-12-19T14:03:00Z | 2016-12-19T14:03:00Z | 2016-12-19T14:03:00Z |
BUG: Properly read Categorical msgpacks | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 46d275df00431..165df1acf0ebf 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -278,6 +278,7 @@ Bug Fixes
+- Bug in ``pd.read_msgpack()`` in which ``Series`` categoricals were being improperly ... | Patches bug in `read_msgpack` in which `Series` categoricals were accidentally being constructed with a non-categorical dtype, resulting in an error.
Closes #14901. | https://api.github.com/repos/pandas-dev/pandas/pulls/14918 | 2016-12-19T09:20:50Z | 2016-12-21T11:28:03Z | 2016-12-21T11:28:03Z | 2016-12-21T15:46:19Z |
BUG: Don't convert uint64 to object in DataFrame init | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 76ba4a5f723fa..2acc1c9d67ec5 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -235,6 +235,7 @@ Bug Fixes
~~~~~~~~~
- Bug in ``TimedeltaIndex`` addition where overflow was being allowed without e... | The hack used to resolve #2355 is no longer needed. Removes the hack and patches several tests that relied on this hacky (and buggy) behavior.
Closes #14881. | https://api.github.com/repos/pandas-dev/pandas/pulls/14917 | 2016-12-19T07:46:34Z | 2016-12-19T16:59:50Z | 2016-12-19T16:59:50Z | 2016-12-19T18:18:00Z |
BUG: Convert uint64 in maybe_convert_objects | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 83a70aa34fccf..0dbd3ac6a2ba7 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -259,3 +259,4 @@ Bug Fixes
- Require at least 0.23 version of cython to avoid problems with character encodings (:i... | Adds handling for `uint64` objects during conversion. When negative numbers and `uint64` are detected, we then convert the result to `object`.
Picks up where #4845 left off. Closes #4471.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14916 | 2016-12-19T06:42:33Z | 2016-12-20T13:49:05Z | null | 2016-12-20T14:39:46Z |
BUG: Prevent uint64 overflow in Series.unique | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 83a70aa34fccf..a8421535636f9 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -258,4 +258,6 @@ Bug Fixes
+
+- Bug in ``Series.unique()`` in which unsigned 64-bit integers were causing overflow... | Introduces a `UInt64HashTable` class to hash `uint64` elements and prevent overflow in functions like `Series.unique`.
Closes #14721. | https://api.github.com/repos/pandas-dev/pandas/pulls/14915 | 2016-12-19T05:43:48Z | 2016-12-20T13:46:00Z | null | 2016-12-20T14:39:11Z |
BUG: Fixed DataFrame.describe percentiles are ndarray w/ no median | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 76ba4a5f723fa..e84c8beeadcc7 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -236,7 +236,7 @@ Bug Fixes
- Bug in ``TimedeltaIndex`` addition where overflow was being allowed without error (:issu... | Explicit conversion to list for `percentiles`. Fixes the case where `percentiles` is passed as a numpy with no median (0.5) present. Closes #14908.
| https://api.github.com/repos/pandas-dev/pandas/pulls/14914 | 2016-12-19T05:33:48Z | 2016-12-19T20:30:21Z | null | 2016-12-19T22:04:48Z |
TST:Test to_sparse with nan dataframe (#10079) | diff --git a/pandas/sparse/tests/test_frame.py b/pandas/sparse/tests/test_frame.py
index 5cc765a2c1cf3..ab12099b5624d 100644
--- a/pandas/sparse/tests/test_frame.py
+++ b/pandas/sparse/tests/test_frame.py
@@ -215,6 +215,21 @@ def test_constructor_preserve_attr(self):
self.assertEqual(df['x'].dtype, np.int64)
... | - [x] closes #10079
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
Possibly fixed with a PR that fixed one of #10627. Look like `to_dense` is fixed for 0.20.0, but should be unrelated to this. | https://api.github.com/repos/pandas-dev/pandas/pulls/14913 | 2016-12-18T23:04:24Z | 2016-12-19T11:20:43Z | 2016-12-19T11:20:43Z | 2016-12-21T04:22:32Z |
CLN: Resubmit of GH14700. Fixes GH14554. Errors other than Indexing… | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index ea59f3fbf493a..af8f561f39aac 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -96,3 +96,5 @@ Bug Fixes
- Bug in ``.plot(kind='kde')`` which did not drop missing values to generate the KDE Plot, ins... | …Error and KeyError now bubble up appropriately.
- [x] closes #14554
- [ ] tests added / passed (Not required per GH14700 discussion)
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/14912 | 2016-12-18T21:40:40Z | 2016-12-19T23:46:27Z | null | 2016-12-19T23:47:01Z |
BUG, DOC: Improve dialect handling in read_csv | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 8ddf4186eba25..af05a89a54a62 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -325,8 +325,11 @@ encoding : str, default ``None``
Python standard encodings
<https://docs.python.org/3/library/codecs.html#standard-encodings>`_.
dialect : str or :clas... | 1) Update documentation about how the `dialect` parameter is handled.
2) Verify that the `dialect` parameter passed in is valid before accessing the dialect attributes.
Closes #14898. | https://api.github.com/repos/pandas-dev/pandas/pulls/14911 | 2016-12-18T20:35:30Z | 2016-12-31T15:55:21Z | null | 2017-01-19T20:58:17Z |
BUG: select_dtypes now allows 'datetimetz' for generically selecting datetimes with timezones | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index 76ba4a5f723fa..3eb8acdd300b5 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -106,6 +106,7 @@ Other enhancements
- ``pd.Series.interpolate`` now supports timedelta as an index type with ``method='... | was missing a generic way to use select_dtypes to select *any* datetime with tz. | https://api.github.com/repos/pandas-dev/pandas/pulls/14910 | 2016-12-18T20:19:13Z | 2016-12-19T11:02:27Z | 2016-12-19T11:02:27Z | 2016-12-19T11:02:27Z |
CLN: remove simple _DATELIKE_DTYPES test and replace with is_datetimelike accessor | diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py
index b249cded39133..950ad53abe5e0 100644
--- a/pandas/core/groupby.py
+++ b/pandas/core/groupby.py
@@ -14,10 +14,10 @@
from pandas.compat.numpy import function as nv
from pandas.compat.numpy import _np_version_under1p8
-from pandas.types.common import (_... | this was some older code | https://api.github.com/repos/pandas-dev/pandas/pulls/14909 | 2016-12-18T20:17:55Z | 2016-12-18T20:29:36Z | null | 2016-12-18T20:29:36Z |
TST: Groupby/transform with grouped NaN (#9941) | diff --git a/pandas/tests/groupby/test_groupby.py b/pandas/tests/groupby/test_groupby.py
index 97e1f7dc94866..f8d9d73590a60 100644
--- a/pandas/tests/groupby/test_groupby.py
+++ b/pandas/tests/groupby/test_groupby.py
@@ -1374,6 +1374,15 @@ def test_groupby_transform_with_int(self):
expected = DataFrame(dict(B=... | - [x] closes #9941
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
The original issue works on 0.19.1 as expected (resulting value is `nan`). Doesn't look like this was fixed in a PR for 0.19.2 or 0.20 | https://api.github.com/repos/pandas-dev/pandas/pulls/14907 | 2016-12-18T07:12:07Z | 2016-12-18T20:24:12Z | 2016-12-18T20:24:12Z | 2016-12-21T04:21:29Z |
TST: Test timedelta arithmetic (#9396) | diff --git a/pandas/tseries/tests/test_timedeltas.py b/pandas/tseries/tests/test_timedeltas.py
index fc95b17b9b52d..1d07b4ab39a99 100644
--- a/pandas/tseries/tests/test_timedeltas.py
+++ b/pandas/tseries/tests/test_timedeltas.py
@@ -1203,6 +1203,28 @@ def test_implementation_limits(self):
with tm.assertRaises(... | - [x] closes #9396
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
Original issue was with using `div` with `datetime.timedelta`. Doesn't appear this was fixed recently. | https://api.github.com/repos/pandas-dev/pandas/pulls/14906 | 2016-12-18T05:12:17Z | 2016-12-18T20:22:25Z | 2016-12-18T20:22:25Z | 2016-12-21T04:20:39Z |
PR for Pandas issue #14872 / fillna() TZ datetime64 rounded | diff --git a/doc/source/whatsnew/v0.19.2.txt b/doc/source/whatsnew/v0.19.2.txt
index 4cd58f0148ae8..c9056054fb1d7 100644
--- a/doc/source/whatsnew/v0.19.2.txt
+++ b/doc/source/whatsnew/v0.19.2.txt
@@ -38,6 +38,7 @@ Other Enhancements
Bug Fixes
~~~~~~~~~
+- Bug in fillna() in which timezone aware datetime64 values w... | Hi Jeff,
The change adds a "datetime64[ns, UTC]" object to the _DATELIKE_DTYPES set in pandas/types/common.py.
No such object existed in this set and that is the reason the wrong method was executed on the inputs.
Object is created with "DatetimeTZDtype.__new__"
Thanks,
Rodolfo
- [X] closes #14872
-... | https://api.github.com/repos/pandas-dev/pandas/pulls/14905 | 2016-12-17T20:43:16Z | 2016-12-18T19:42:28Z | null | 2016-12-18T19:42:38Z |
ENH: Added to_json_schema | diff --git a/ci/requirements-2.7.pip b/ci/requirements-2.7.pip
index 08240184f2934..eb796368e7820 100644
--- a/ci/requirements-2.7.pip
+++ b/ci/requirements-2.7.pip
@@ -4,3 +4,5 @@ pathlib
backports.lzma
py
PyCrypto
+mock
+ipython
diff --git a/ci/requirements-3.5.run b/ci/requirements-3.5.run
index b07ce611c79a2..43... | Lays the groundwork for (but doesn't close) https://github.com/pandas-dev/pandas/issues/14386
This handles the schema part of the request there. We'll still need to
do the work to publish the data to the frontend, but that can be done
as a followup.
Usage:
```python
In [4]: df = pd.DataFrame(
...: {'A... | https://api.github.com/repos/pandas-dev/pandas/pulls/14904 | 2016-12-17T18:20:08Z | 2017-03-04T11:50:05Z | 2017-03-04T11:50:05Z | 2017-04-05T02:07:22Z |
Catch warning introduced by GH14432 in test case | diff --git a/pandas/tests/groupby/test_categorical.py b/pandas/tests/groupby/test_categorical.py
index d3c7bc2adbb4a..99bea3a10115b 100644
--- a/pandas/tests/groupby/test_categorical.py
+++ b/pandas/tests/groupby/test_categorical.py
@@ -349,9 +349,19 @@ def test_groupby_multi_categorical_as_index(self):
... | Follow on to #14432 to catch the newly introduced `FutureWarning` in the `test_groupby_multi_categorical_as_index` test case. | https://api.github.com/repos/pandas-dev/pandas/pulls/14902 | 2016-12-17T15:47:33Z | 2016-12-17T23:03:34Z | null | 2016-12-17T23:04:24Z |
BLD: swap 3.6-dev and 3.4 builds, reorg build order | diff --git a/.travis.yml b/.travis.yml
index be167451f3460..3e24f3798ca04 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -66,19 +66,6 @@ matrix:
apt:
packages:
- python-gtk2
- - python: 3.4
- env:
- - PYTHON_VERSION=3.4
- - JOB_NAME: "34_nslow"
- - NOSE_ARGS="n... | https://api.github.com/repos/pandas-dev/pandas/pulls/14899 | 2016-12-16T13:35:42Z | 2016-12-16T13:35:47Z | 2016-12-16T13:35:47Z | 2016-12-16T13:35:47Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.