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: Add missing docstring error to validate_docstrings.py | diff --git a/scripts/tests/test_validate_docstrings.py b/scripts/tests/test_validate_docstrings.py
index ca3efbfce20a7..0c88b7f684c49 100644
--- a/scripts/tests/test_validate_docstrings.py
+++ b/scripts/tests/test_validate_docstrings.py
@@ -407,6 +407,9 @@ def sections_in_wrong_order(self):
before Examples... | This is an update of a previous pull request -- https://github.com/pandas-dev/pandas/pull/23669
with all unrelated commits and merges removed and and updates added from code review of that pull request.
- [x] closes #23648
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --d... | https://api.github.com/repos/pandas-dev/pandas/pulls/23673 | 2018-11-13T19:01:40Z | 2018-12-07T12:49:41Z | 2018-12-07T12:49:40Z | 2018-12-07T12:49:44Z |
ENH: update pandas-gbq to 0.8.0, adds credentials arg | diff --git a/doc/source/install.rst b/doc/source/install.rst
index 89f7b580303f5..9a62c6a89457a 100644
--- a/doc/source/install.rst
+++ b/doc/source/install.rst
@@ -286,7 +286,9 @@ Optional Dependencies
`xsel <http://www.vergenet.net/~conrad/software/xsel/>`__, or
`xclip <https://github.com/astrand/xclip/>`__: ne... | - N/A closes #xxxx
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/23662 | 2018-11-13T05:50:21Z | 2018-11-17T23:47:21Z | 2018-11-17T23:47:21Z | 2018-11-18T05:00:51Z |
BUG: Fix read_excel w/parse_cols & empty dataset | diff --git a/doc/source/whatsnew/v0.24.0.txt b/doc/source/whatsnew/v0.24.0.txt
index 3938fba4648b1..9945629cbecd1 100644
--- a/doc/source/whatsnew/v0.24.0.txt
+++ b/doc/source/whatsnew/v0.24.0.txt
@@ -1263,9 +1263,6 @@ MultiIndex
I/O
^^^
-- Bug in :meth:`to_sql` when writing timezone aware data (``datetime64[ns, tz... | Closes #9208.
| https://api.github.com/repos/pandas-dev/pandas/pulls/23661 | 2018-11-13T04:56:45Z | 2018-11-13T17:32:53Z | 2018-11-13T17:32:52Z | 2018-11-13T17:34:30Z |
TST: IntervalTree.get_loc_interval should return platform int | diff --git a/pandas/_libs/intervaltree.pxi.in b/pandas/_libs/intervaltree.pxi.in
index aa53f5086b894..7be3bdbc1048a 100644
--- a/pandas/_libs/intervaltree.pxi.in
+++ b/pandas/_libs/intervaltree.pxi.in
@@ -116,7 +116,7 @@ cdef class IntervalTree(IntervalMixin):
enclosing = self.get_loc(0.5 * (key_left + key_rig... | One line change: missed this conversion in #23609 | https://api.github.com/repos/pandas-dev/pandas/pulls/23660 | 2018-11-13T02:52:53Z | 2018-11-13T13:48:58Z | 2018-11-13T13:48:58Z | 2018-11-14T06:17:30Z |
API/DEPR: replace "raise_conflict" with "errors" for df.update | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 44c467795d1ed..1441a84dfddc7 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -981,6 +981,7 @@ Deprecations
- The ``fastpath`` keyword of the different Index constructors is deprecated (:issue:`231... | - [x] closes #23585
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This is split off from #23192, as requested per review (because the PR was getting larger and larger).
| https://api.github.com/repos/pandas-dev/pandas/pulls/23657 | 2018-11-12T23:24:48Z | 2018-11-15T13:30:40Z | 2018-11-15T13:30:40Z | 2018-11-15T19:00:49Z |
CLN: Move to_excel to generic.py | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index f6f91ff5081f1..b23e76c8cd25c 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1829,24 +1829,6 @@ def to_panel(self):
return self._constructor_expanddim(new_mgr)
- @Appender(_shared_docs['to_excel'] % _shared_doc_kwargs)
- ... | No need to define the same method twice for `DataFrame` and `Series` if we can do it in one place. | https://api.github.com/repos/pandas-dev/pandas/pulls/23656 | 2018-11-12T22:42:06Z | 2018-11-13T13:50:46Z | 2018-11-13T13:50:46Z | 2018-11-13T17:34:37Z |
CI: Allow to compile docs with ipython 7.11 #22990 | diff --git a/ci/deps/travis-36-doc.yaml b/ci/deps/travis-36-doc.yaml
index ce095b887f189..6bf8cb38e0b7c 100644
--- a/ci/deps/travis-36-doc.yaml
+++ b/ci/deps/travis-36-doc.yaml
@@ -11,7 +11,7 @@ dependencies:
- html5lib
- hypothesis>=3.58.0
- ipykernel
- - ipython==6.5.0
+ - ipython
- ipywidgets
- lxml... | - [ ] closes #22990
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry | https://api.github.com/repos/pandas-dev/pandas/pulls/23655 | 2018-11-12T21:26:26Z | 2018-11-13T02:11:21Z | 2018-11-13T02:11:20Z | 2018-11-13T02:20:20Z |
DOC: Fix format of the See Also descriptions | diff --git a/pandas/core/accessor.py b/pandas/core/accessor.py
index 6694737737562..d178c66da2cc1 100644
--- a/pandas/core/accessor.py
+++ b/pandas/core/accessor.py
@@ -247,7 +247,7 @@ def plot(self):
>>> ds.geo.plot()
# plots data on a map
-See also
+See Also
--------
%(others)s
"""
diff --git a/pandas/... | - [ ] does not close, but partially contributes to #23630
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/23654 | 2018-11-12T21:22:09Z | 2018-11-14T20:56:58Z | 2018-11-14T20:56:57Z | 2018-11-14T23:24:11Z |
DOC: Fix docstring title sections | diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx
index a284d8fb544e7..d651e75674239 100644
--- a/pandas/_libs/tslibs/period.pyx
+++ b/pandas/_libs/tslibs/period.pyx
@@ -1739,7 +1739,7 @@ cdef class _Period(object):
-------
Timestamp
- See also
+ See Also
... | Changed "See also" section titles to "See Also" to fit with the new validator
- [x] closes #23640
- [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/23653 | 2018-11-12T21:07:59Z | 2018-11-13T00:45:51Z | 2018-11-13T00:45:50Z | 2018-11-13T00:45:51Z |
DOC: Improve error message to show correct order | diff --git a/scripts/tests/test_validate_docstrings.py b/scripts/tests/test_validate_docstrings.py
index c1bdab73c2671..254162b7d1ffb 100644
--- a/scripts/tests/test_validate_docstrings.py
+++ b/scripts/tests/test_validate_docstrings.py
@@ -738,8 +738,8 @@ def test_bad_generic_functions(self, func):
('BadGener... | - [x] closes #23644
- [x] Test udpated for `sections_in_wrong_order`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/23652 | 2018-11-12T21:01:26Z | 2018-11-17T23:26:02Z | 2018-11-17T23:26:02Z | 2018-11-17T23:26:05Z |
DOC: Delete trailing blank lines in docstrings. | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 20e4720a3bde7..e3b7c6b8d055b 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -314,7 +314,6 @@ def from_array(cls, arr, index=None, name=None, dtype=None, copy=False,
.. deprecated :: 0.23.0
Use pd.Series(..) const... | re: issue #23632
- [ ] refs #23632
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/23651 | 2018-11-12T20:55:02Z | 2018-11-14T23:27:26Z | 2018-11-14T23:27:26Z | 2018-11-16T13:49:37Z |
DOC: Add ignore-deprecate argument to validate_docstrings.py | diff --git a/scripts/tests/test_validate_docstrings.py b/scripts/tests/test_validate_docstrings.py
index 60b60603f0289..d71f91febc778 100644
--- a/scripts/tests/test_validate_docstrings.py
+++ b/scripts/tests/test_validate_docstrings.py
@@ -817,6 +817,20 @@ def test_bad_examples(self, capsys, klass, func, msgs):
... | - [X] closes #23631
- [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/23650 | 2018-11-12T20:22:35Z | 2018-11-18T09:37:03Z | 2018-11-18T09:37:03Z | 2018-11-18T09:37:03Z |
DOC: Improve GL03 message re: blank lines at end of docstrings. | diff --git a/scripts/tests/test_validate_docstrings.py b/scripts/tests/test_validate_docstrings.py
index a996cb35fb84f..ca3efbfce20a7 100644
--- a/scripts/tests/test_validate_docstrings.py
+++ b/scripts/tests/test_validate_docstrings.py
@@ -288,6 +288,34 @@ def astype3(self, dtype):
"""
pass
+ de... | re: conversation with @datapythonista in issue #23632
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/23649 | 2018-11-12T20:21:57Z | 2018-11-20T02:18:36Z | 2018-11-20T02:18:36Z | 2018-11-20T20:20:16Z |
DOC: Capitalize docstring summaries of Series | diff --git a/pandas/core/arrays/sparse.py b/pandas/core/arrays/sparse.py
index 672261c2a407e..24e33c32d0898 100644
--- a/pandas/core/arrays/sparse.py
+++ b/pandas/core/arrays/sparse.py
@@ -1861,6 +1861,10 @@ def _make_index(length, indices, kind):
'sp_values'],
typ='prope... | Updated documentation to resolve SS02 errors in pandas.Series
- [x] closes #23641
- [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/23647 | 2018-11-12T19:56:45Z | 2018-11-21T12:56:27Z | 2018-11-21T12:56:27Z | 2018-11-21T12:56:30Z |
Implement _most_ of the EA interface for DTA/TDA | diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py
index daf2dcccd284b..094c9c3df0bed 100644
--- a/pandas/core/arrays/datetimelike.py
+++ b/pandas/core/arrays/datetimelike.py
@@ -39,7 +39,7 @@
from pandas.core.dtypes.missing import isna
import pandas.core.common as com
-from pandas... | @TomAugspurger as promised, this implements a handful of tests, and a few more can be ported from #23415, but the EA-specific tests haven't been started.
The big missing piece is DatetimeArray._from_sequence, which I'm getting started on now in a new branch.
Closes #23586 | https://api.github.com/repos/pandas-dev/pandas/pulls/23643 | 2018-11-12T18:22:41Z | 2018-11-14T15:23:03Z | 2018-11-14T15:23:03Z | 2018-11-14T16:25:04Z |
TST: Extend timedelta64 arithmetic tests to TimedeltaArray | diff --git a/pandas/core/arrays/timedeltas.py b/pandas/core/arrays/timedeltas.py
index 38e28e8b77359..d1e6d979b554c 100644
--- a/pandas/core/arrays/timedeltas.py
+++ b/pandas/core/arrays/timedeltas.py
@@ -1,5 +1,8 @@
# -*- coding: utf-8 -*-
+from __future__ import division
+
from datetime import timedelta
+import ope... | A handful of non-test changes to make the tests pass, all non-test changes are strictly necessary.
Some of the tests are not yet extended, as making the TDA case work will require more invasive changes. | https://api.github.com/repos/pandas-dev/pandas/pulls/23642 | 2018-11-12T18:09:26Z | 2018-11-20T19:18:44Z | 2018-11-20T19:18:43Z | 2018-11-20T20:05:30Z |
DOC: Accessing files from a S3 bucket. | diff --git a/doc/source/io.rst b/doc/source/io.rst
index 34dc185c200e6..92fc28af0281a 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1580,12 +1580,19 @@ You can pass in a URL to a CSV file:
df = pd.read_csv('https://download.bls.gov/pub/time.series/cu/cu.item',
sep='\t')
-S3 URLs ... | Add some documentation about accessing files from a remote S3 bucket in pandas.
- [x] closes #12206
- [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/23639 | 2018-11-12T16:43:03Z | 2018-11-14T13:58:16Z | 2018-11-14T13:58:16Z | 2018-11-14T13:58:17Z |
DOC: avoid SparseArray.take error | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index 34921505a46bf..2445daebb580a 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -266,7 +266,7 @@ These changes conform sparse handling to return the correct types and work to ma
``SparseArray.take`... | Closes https://github.com/pandas-dev/pandas/issues/22215
SparseArray.take not accepting scalars is already in 0.24.0.txt | https://api.github.com/repos/pandas-dev/pandas/pulls/23637 | 2018-11-12T13:28:07Z | 2018-11-12T17:02:52Z | 2018-11-12T17:02:52Z | 2018-11-12T17:02:52Z |
DOC: clean-up recent doc errors/warnings | diff --git a/doc/source/advanced.rst b/doc/source/advanced.rst
index 24c117a534209..563c869eff54d 100644
--- a/doc/source/advanced.rst
+++ b/doc/source/advanced.rst
@@ -702,7 +702,7 @@ Index Types
We have discussed ``MultiIndex`` in the previous sections pretty extensively.
Documentation about ``DatetimeIndex`` and... | Fixing some sphinx errors / warnings.
We really should revive the PR to let travis fail on new warnings/errors... | https://api.github.com/repos/pandas-dev/pandas/pulls/23636 | 2018-11-12T13:01:54Z | 2018-11-12T20:54:49Z | 2018-11-12T20:54:49Z | 2018-11-12T20:54:52Z |
DEPR: Deprecate usecols as int in read_excel | diff --git a/doc/source/io.rst b/doc/source/io.rst
index beb1c1daba962..34dc185c200e6 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -2854,6 +2854,11 @@ It is often the case that users will insert columns to do temporary computations
in Excel and you may not want to read in those columns. ``read_excel`` tak... | Follow-up to https://github.com/pandas-dev/pandas/pull/23544#discussion_r232441155
Pretty standard, cut and dry deprecation. | https://api.github.com/repos/pandas-dev/pandas/pulls/23635 | 2018-11-12T05:42:14Z | 2018-11-12T13:04:41Z | 2018-11-12T13:04:41Z | 2018-11-12T19:43:13Z |
PERF: Datetime/Timestamp.normalize for timezone naive datetimes | diff --git a/asv_bench/benchmarks/timestamp.py b/asv_bench/benchmarks/timestamp.py
index 8eaf815eaa962..a0f3bfa6298f3 100644
--- a/asv_bench/benchmarks/timestamp.py
+++ b/asv_bench/benchmarks/timestamp.py
@@ -87,7 +87,7 @@ def time_microsecond(self, tz, freq):
class TimestampOps(object):
- params = [None, 'US/E... | - [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
```
before after ratio
[bb32564c] [ff171f75]
- 281±2μs 197±2μs 0.70 timeseries.DatetimeIndex.time_normalize('dst')
- 4.26±0.05ms ... | https://api.github.com/repos/pandas-dev/pandas/pulls/23634 | 2018-11-12T04:32:11Z | 2018-11-18T18:27:39Z | 2018-11-18T18:27:38Z | 2018-11-18T18:29:01Z |
More helpful Stata string length error. | diff --git a/pandas/io/stata.py b/pandas/io/stata.py
index df0d47b063411..66e996075f1ed 100644
--- a/pandas/io/stata.py
+++ b/pandas/io/stata.py
@@ -461,7 +461,8 @@ def parse_dates_safe(dates, delta=False, year=False, days=False):
excessive_string_length_error = """
Fixed width strings in Stata .dta files are limit... | The current error string when trying to write a string longer than 244 characters does not point users toward a solution that already exists: using the `version=117` parameter.
xref #23564
- [x] closes: no issue that I see
- [x] tests: not needed; error string change only
- [ ] passes `git diff upstream/master -u ... | https://api.github.com/repos/pandas-dev/pandas/pulls/23629 | 2018-11-11T21:53:39Z | 2018-11-12T12:31:45Z | 2018-11-12T12:31:45Z | 2018-11-12T13:26:54Z |
Ensure Index._data is an ndarray | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 2f449b4b33d8d..454d029c266f5 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -19,7 +19,7 @@
ABCSeries, ABCDataFrame,
ABCMultiIndex,
ABCPeriodIndex, ABCTimedeltaIndex, ABCDatetimeIndex,
- ABCDateO... | Split from https://github.com/pandas-dev/pandas/pull/23623, where it was
causing issues. | https://api.github.com/repos/pandas-dev/pandas/pulls/23628 | 2018-11-11T21:14:22Z | 2018-11-15T12:57:54Z | 2018-11-15T12:57:54Z | 2018-11-15T12:58:03Z |
CI: Check in the CI that assert_raises_regex is not being used | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index eba96f0c6c2fc..2eb3fabd04df2 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -119,6 +119,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
! grep -R --include="*.py" --include="*.pyx" --include="*.rst" -E "\.\. (autosummary|contents|curren... | Follow up of #23592.
As `assert_raises_regex`is now deprecated, add to the CI a check to fail if a PR uses it.
| https://api.github.com/repos/pandas-dev/pandas/pulls/23627 | 2018-11-11T20:18:56Z | 2018-11-12T05:31:09Z | 2018-11-12T05:31:09Z | 2018-11-12T05:31:09Z |
CLN: remove incorrect usages of com.AbstractMethodError | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 34f25c5634d5b..2c7f6ae8e3533 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -11,6 +11,8 @@
import pandas as pd
from pandas._libs import properties, Timestamp, iNaT
+from pandas.errors import AbstractMethodError
+
from pandas.co... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/23625 | 2018-11-11T18:42:32Z | 2018-11-12T16:58:52Z | 2018-11-12T16:58:52Z | 2018-11-12T18:10:25Z |
API: Public data for Series and Index: .array and .to_numpy() | diff --git a/doc/source/10min.rst b/doc/source/10min.rst
index ddcb9b5fc26c7..e04a8253e0bef 100644
--- a/doc/source/10min.rst
+++ b/doc/source/10min.rst
@@ -113,13 +113,40 @@ Here is how to view the top and bottom rows of the frame:
df.head()
df.tail(3)
-Display the index, columns, and the underlying NumPy da... | Closes https://github.com/pandas-dev/pandas/issues/19954.
TODO:
- [ ] update references to `.values` in the docs to use `.array` or `.to_numpy()`
- [ ] cross ref between `.values` and the rest | https://api.github.com/repos/pandas-dev/pandas/pulls/23623 | 2018-11-11T13:17:53Z | 2018-11-29T15:53:22Z | 2018-11-29T15:53:21Z | 2018-11-29T15:59:45Z |
DEPR: tz_convert in the Timestamp constructor | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 98941b6d353bb..a214ee41e99a7 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -1036,6 +1036,7 @@ Deprecations
- Constructing a :class:`TimedeltaIndex` from data with ``datetime64``-dtyped data is d... | - [x] closes #23579
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
To have consistent behavior with `DatetimeIndex`, deprecate the `tz_convert` behavior of the `Timestamp` constructor with the `tz` arg. | https://api.github.com/repos/pandas-dev/pandas/pulls/23621 | 2018-11-11T00:24:27Z | 2018-11-18T18:30:18Z | 2018-11-18T18:30:17Z | 2018-11-18T18:30:53Z |
TST: Fix xfailing DataFrame arithmetic tests by transposing | diff --git a/pandas/tests/arithmetic/conftest.py b/pandas/tests/arithmetic/conftest.py
index cf1abc6f79101..9ee5e05638978 100644
--- a/pandas/tests/arithmetic/conftest.py
+++ b/pandas/tests/arithmetic/conftest.py
@@ -158,19 +158,18 @@ def box_df_fail(request):
return request.param
-@pytest.fixture(params=[
- ... | - [ ] 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/23620 | 2018-11-10T22:37:02Z | 2018-11-12T00:15:18Z | 2018-11-12T00:15:18Z | 2018-11-12T00:24:40Z |
CLN: Remove a test case about Timestamp to TestTimestamp | diff --git a/pandas/tseries/tests/test_timedeltas.py b/pandas/tseries/tests/test_timedeltas.py
index 36ae479c3dfcc..659101cb4cad2 100644
--- a/pandas/tseries/tests/test_timedeltas.py
+++ b/pandas/tseries/tests/test_timedeltas.py
@@ -188,7 +188,6 @@ def test_construction(self):
self.assertEqual(Timedelta('').va... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13722 | 2016-07-20T17:00:07Z | 2016-07-20T17:25:33Z | 2016-07-20T17:25:33Z | 2016-07-20T17:27:38Z |
CLN: Removed the return_type param in StringMethods.split | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 57b0d8895f67b..05379a0fd3f55 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -544,6 +544,7 @@ Removal of prior version deprecations/changes
- ``pd.Categorical`` has dropped the ``levels`` attribut... | Continues where #10085 left off by removing the `return_type` parameter for good.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13701 | 2016-07-19T05:43:05Z | 2016-07-22T08:50:40Z | 2016-07-22T08:50:40Z | 2016-07-22T13:37:23Z |
Closes #13688: added scroll to top button to div.footer via doc/_temp… | diff --git a/doc/source/themes/nature_with_gtoc/layout.html b/doc/source/themes/nature_with_gtoc/layout.html
index fd0755e096023..ddf1e861f5f81 100644
--- a/doc/source/themes/nature_with_gtoc/layout.html
+++ b/doc/source/themes/nature_with_gtoc/layout.html
@@ -61,3 +61,37 @@ <h3 style="margin-top: 1.5em;">{{ _('Search'... | - [x] closes #13688
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
Added scroll to top feature to documentation div.footer using Sphinx template
| https://api.github.com/repos/pandas-dev/pandas/pulls/13689 | 2016-07-17T19:06:17Z | 2016-07-23T16:25:20Z | 2016-07-23T16:25:20Z | 2016-07-25T21:47:08Z |
DOC: Fix a name of option | diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx
index c681cebd84836..5624b84523705 100644
--- a/pandas/tslib.pyx
+++ b/pandas/tslib.pyx
@@ -3028,7 +3028,7 @@ cdef inline bint is_timedelta(object o):
def array_to_timedelta64(ndarray[object] values, unit='ns', errors='raise'):
""" convert an ndarray to an array ... | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13686 | 2016-07-17T14:02:42Z | 2016-07-17T18:32:25Z | 2016-07-17T18:32:25Z | 2016-07-17T18:32:35Z |
DOC: slight change in .cum* function descriptions | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index d6e6f571be53a..6c1676fbdd7f4 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -5504,7 +5504,7 @@ def _make_cum_function(cls, name, name1, name2, axis_descr, desc, accum_func,
mask_a, mask_b):
@Substitution... | closes #13682
I changed the template function to use the _desc_ instead of the _name_ in generic.py.
SIDENOTE: I accidentally committed to a branch with another PR, so I rebased without it and created a new branch with this commit.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13683 | 2016-07-17T08:21:38Z | 2016-07-17T18:30:19Z | 2016-07-17T18:30:19Z | 2016-12-14T05:10:47Z |
COMPAT: use mpl area legend if available | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index f93e8f4240787..4d6133a09ddae 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -849,6 +849,7 @@ Bug Fixes
- Bug in ``pd.read_csv()``, which caused BOM files to be incorrectly parsed by not ignoring ... | - [x] closes #9161, closes #13544
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Do not use area legend workaround if mpl >= 1.5.0 is available. Legends are now displayed properly if mpl >= 1.5.0.
#9161:
```
df = pd.DataFrame(np.random.rand(10, 3))
df... | https://api.github.com/repos/pandas-dev/pandas/pulls/13680 | 2016-07-16T22:54:06Z | 2016-08-10T12:25:06Z | 2016-08-10T12:25:06Z | 2017-03-04T11:11:00Z |
Add reference of DataFrame.rename_axis and Series.rename_axis to api.rst | diff --git a/doc/source/api.rst b/doc/source/api.rst
index 0dde341d820e3..e8fe26e8a525d 100644
--- a/doc/source/api.rst
+++ b/doc/source/api.rst
@@ -380,6 +380,7 @@ Reindexing / Selection / Label manipulation
Series.reindex
Series.reindex_like
Series.rename
+ Series.rename_axis
Series.reset_index
... | - [x] closes #13642
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13678 | 2016-07-16T19:58:39Z | 2016-07-17T12:40:27Z | 2016-07-17T12:40:27Z | 2016-07-17T12:42:24Z |
TST: assert message shows unnecessary diff | diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index 4442eed898b60..402613d3f1728 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -1010,14 +1010,15 @@ def raise_assert_detail(obj, message, left, right, diff=None):
if isinstance(right, np.ndarray):
right = pprint_thing(rig... | - [x] passes `git diff upstream/master | flake8 --diff`
removed unnecessary trailing `None`.
```
pd.util.testing.assert_index_equal(pd.Index([1, 2, 3]), pd.Index([1 ,2, 4]))
# AssertionError: Index are different
#
# Index values are different (33.33333 %)
# [left]: Int64Index([1, 2, 3], dtype='int64')
# [right]: I... | https://api.github.com/repos/pandas-dev/pandas/pulls/13676 | 2016-07-16T19:09:46Z | 2016-07-18T22:08:26Z | 2016-07-18T22:08:26Z | 2016-07-18T22:26:18Z |
CLN: Replace float64_t with int64_t in _ensure_components | diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx
index 650b4c7979d8d..8f3c4fb8c9a1e 100644
--- a/pandas/tslib.pyx
+++ b/pandas/tslib.pyx
@@ -2507,20 +2507,19 @@ cdef class _Timedelta(timedelta):
"""
compute the components
"""
- cdef int64_t sfrac, ifrac, ivalue = self.value
- cd... | - [x] passes `git diff upstream/master | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/13673 | 2016-07-16T16:18:31Z | 2016-07-20T22:16:28Z | 2016-07-20T22:16:28Z | 2016-07-20T22:16:32Z |
COMPAT/TST Matplotlib 2.0 compatability | diff --git a/ci/install_travis.sh b/ci/install_travis.sh
index 3d9651d4f579b..98ce36acc096e 100755
--- a/ci/install_travis.sh
+++ b/ci/install_travis.sh
@@ -138,5 +138,9 @@ else
fi
+if [ "$JOB_NAME" == "34_slow" ]; then
+ conda install -c conda-forge/label/rc -c conda-forge matplotlib
+fi
+
echo "done"
exit 0... | - [x] closes #13333
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
Just a WIP for now, I want to cleanup how I handle the errorbar changes.
Will wait for a matplotlib RC before changing the Travis matrix I suppose?
| https://api.github.com/repos/pandas-dev/pandas/pulls/13662 | 2016-07-15T01:39:21Z | 2016-08-22T20:35:12Z | 2016-08-22T20:35:12Z | 2017-04-05T02:07:03Z |
BUG: concat/append misc fixes | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 777bc01e71833..ca5f3dfc2a8f2 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -1356,6 +1356,13 @@ Bug Fixes
- Bug in ``DatetimeIndex``, which did not honour the ``copy=True`` (:issue:`13205`)
- Bu... | closes #13626
closes #7795
| https://api.github.com/repos/pandas-dev/pandas/pulls/13660 | 2016-07-14T23:51:28Z | 2016-09-03T09:20:29Z | 2016-09-03T09:20:29Z | 2017-01-08T06:28:26Z |
DOC/BLD: pin IPython version to 4.2.0 (#13639) | diff --git a/ci/requirements-2.7_DOC_BUILD.run b/ci/requirements-2.7_DOC_BUILD.run
index a07721c75cf34..cde0719aa027e 100644
--- a/ci/requirements-2.7_DOC_BUILD.run
+++ b/ci/requirements-2.7_DOC_BUILD.run
@@ -1,4 +1,4 @@
-ipython=4
+ipython=4.2.0
ipykernel
sphinx
nbconvert
| xref #13639
| https://api.github.com/repos/pandas-dev/pandas/pulls/13647 | 2016-07-13T21:24:04Z | 2016-07-14T07:12:52Z | 2016-07-14T07:12:52Z | 2016-07-14T07:13:01Z |
BF(TST): allow AttributeError being raised (in addition to TypeError) from matplotlib | diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py
index 3a5b0117948b7..5493eb37c358b 100644
--- a/pandas/tests/test_graphics.py
+++ b/pandas/tests/test_graphics.py
@@ -1330,7 +1330,8 @@ def test_plot(self):
self._check_axes_shape(axes, axes_num=4, layout=(4, 1))
df = DataFra... | Closes #13570
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry: imho not worth it?
origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827938
| https://api.github.com/repos/pandas-dev/pandas/pulls/13641 | 2016-07-13T15:01:57Z | 2016-07-14T08:44:19Z | 2016-07-14T08:44:19Z | 2016-07-14T08:44:27Z |
BLD: included pandas.api.* in setup.py | diff --git a/setup.py b/setup.py
index 8f8865ecc3b7a..650357588570a 100755
--- a/setup.py
+++ b/setup.py
@@ -547,6 +547,9 @@ def pxd(name):
maintainer=AUTHOR,
version=versioneer.get_version(),
packages=['pandas',
+ 'pandas.api',
+ 'pandas.api.tests',
+ '... | Lots of good refactoring in #13147 , but can't use them if they aren't included!
| https://api.github.com/repos/pandas-dev/pandas/pulls/13640 | 2016-07-13T14:25:13Z | 2016-07-13T14:38:09Z | 2016-07-13T14:38:09Z | 2016-07-13T14:44:54Z |
CLN: fix some issues in asv benchmark suite | diff --git a/asv_bench/asv.conf.json b/asv_bench/asv.conf.json
index 7b9fe353df2e3..f5fa849464881 100644
--- a/asv_bench/asv.conf.json
+++ b/asv_bench/asv.conf.json
@@ -77,11 +77,11 @@
// On conda install pytables, otherwise tables
{"environment_type": "conda", "tables": ""},
{"environment_ty... | Was trying to run benchmarks, and bumped into some issue (+ the DataMatrix, I just removed that as this is now removed from pandas, so not much sense having benchmarks for that)
| https://api.github.com/repos/pandas-dev/pandas/pulls/13630 | 2016-07-12T15:26:07Z | 2016-07-14T14:26:07Z | 2016-07-14T14:26:07Z | 2016-07-14T14:26:07Z |
CLN: Removed outtype in DataFrame.to_dict | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 4cc16aac15f8b..393a961d26909 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -443,6 +443,7 @@ Removal of prior version deprecations/changes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ``Dat... | Follows up from #8486 in `0.15.0` by removing `outtype` in `DataFrame.to_dict()`
Fortunately or unfortunately, no tests were written then to test the deprecation, so there was nothing to remove from the test suite this time around.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13627 | 2016-07-12T05:48:29Z | 2016-07-12T17:19:49Z | 2016-07-12T17:19:49Z | 2016-07-13T01:46:25Z |
TST: Move plotting related tests to tests/plotting | diff --git a/pandas/tests/plotting/__init__.py b/pandas/tests/plotting/__init__.py
new file mode 100644
index 0000000000000..e69de29bb2d1d
diff --git a/pandas/tests/plotting/common.py b/pandas/tests/plotting/common.py
new file mode 100644
index 0000000000000..d80eb891c5bd6
--- /dev/null
+++ b/pandas/tests/plotting/comm... | - [x] related to #13579
- [x] tests passed
- [x] passes `git diff upstream/master | flake8 --diff`
Because `test_graphics` is getting huge, split them based on data types under `tests/plotting` to make visualization related tests easier.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13621 | 2016-07-11T17:03:57Z | 2016-07-22T12:09:11Z | 2016-07-22T12:09:11Z | 2016-07-22T12:14:54Z |
TST: reorganize tools.tests | diff --git a/pandas/tools/tests/test_concat.py b/pandas/tools/tests/test_concat.py
index a8c86657a48cc..568cf63c02e30 100644
--- a/pandas/tools/tests/test_concat.py
+++ b/pandas/tools/tests/test_concat.py
@@ -17,7 +17,7 @@
assert_almost_equal)
-class TestConcatenate(tm.TestCase):
+... | - [x] tests passed
- [x] passes `git diff upstream/master | flake8 --diff`
`merge`, `join` and `concat` related tests are mixed each other. Cleaned up these tests.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13619 | 2016-07-11T17:00:02Z | 2016-07-14T08:15:23Z | 2016-07-14T08:15:23Z | 2016-07-14T09:17:09Z |
DOC: asfreq clarify original NaNs are not filled (GH9963) | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 7b271df4085cc..a42d2b5789aa7 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -3914,16 +3914,20 @@ def groupby(self, by=None, axis=0, level=None, as_index=True, sort=True,
def asfreq(self, freq, method=None, how=None, normalize... | Closes #9963
| https://api.github.com/repos/pandas-dev/pandas/pulls/13617 | 2016-07-11T13:42:11Z | 2016-07-12T07:07:41Z | 2016-07-12T07:07:41Z | 2016-07-12T07:07:41Z |
CLN: remove deprecated io.sql uquery and tquery functions | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index cdae0d5c27c7d..61ba29955bb16 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -615,6 +615,9 @@ Removal of prior version deprecations/changes
Now legacy time rules raises ``ValueError``. For the... | Were already deprecated since 0.14
| https://api.github.com/repos/pandas-dev/pandas/pulls/13616 | 2016-07-11T12:55:20Z | 2016-07-21T11:06:59Z | 2016-07-21T11:06:59Z | 2016-07-21T11:07:00Z |
ENH: Allow to_sql to recognize single sql type (GH11886) | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index bafb351b2f678..646e8822ed46f 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -310,6 +310,7 @@ Other enhancements
- ``pd.read_html()`` has gained support for the ``decimal`` option (:issue:`12907`)... | Rebase of PR https://github.com/pydata/pandas/pull/13252
Closes https://github.com/pydata/pandas/issues/11886
| https://api.github.com/repos/pandas-dev/pandas/pulls/13614 | 2016-07-11T10:18:00Z | 2016-07-23T19:28:48Z | 2016-07-23T19:28:48Z | 2016-07-23T19:28:48Z |
CLN: Removed the flavor parameter in DataFrame.to_sql | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index efa6e5575fa79..57b0d8895f67b 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -524,6 +524,7 @@ Deprecations
- ``Categorical.reshape`` has been deprecated and will be removed in a subsequent release... | Deprecated in `0.14.0`, so way, way overdue.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13611 | 2016-07-11T06:56:30Z | 2016-07-19T20:31:08Z | 2016-07-19T20:31:08Z | 2016-07-20T00:46:51Z |
ERR: Fix TimeDelta to Timedelta | diff --git a/pandas/tseries/tests/test_timedeltas.py b/pandas/tseries/tests/test_timedeltas.py
index e515ba624d203..1586d0385732f 100644
--- a/pandas/tseries/tests/test_timedeltas.py
+++ b/pandas/tseries/tests/test_timedeltas.py
@@ -137,12 +137,12 @@ def test_construction(self):
self.assertRaises(ValueError, l... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13600 | 2016-07-09T15:29:16Z | 2016-07-09T17:01:59Z | 2016-07-09T17:01:59Z | 2016-07-09T23:47:27Z |
BUG: Series/Index contains NaT with object dtype comparison incorrect | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 40ae38f12fccb..31ba2e1042547 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -520,6 +520,8 @@ Bug Fixes
- Bug in extension dtype creation where the created types were not is/identical (:issue:`132... | - [x] closes #9005
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
`Series` and `Index` compares `NaT == NaT` as `True` if it has `object` dtype.
```
pd.Series([pd.NaT])
#0 NaT
# dtype: datetime64[ns]
# OK
pd.Series([pd.NaT]) == pd.NaT
#0 False
# dtype: ... | https://api.github.com/repos/pandas-dev/pandas/pulls/13592 | 2016-07-09T12:26:50Z | 2016-07-11T01:37:09Z | 2016-07-11T01:37:08Z | 2016-07-11T02:29:02Z |
DOC: Add Fedora and Centos install instructions | diff --git a/doc/source/install.rst b/doc/source/install.rst
index b43d2b8aac517..82d2dcd1cc709 100644
--- a/doc/source/install.rst
+++ b/doc/source/install.rst
@@ -165,8 +165,9 @@ To install pandas for Python 3 you may need to use the package ``python3-pandas`
Debian & Ubuntu, unstable (latest packages), `NeuroDe... | Since Fedora and Centos use a different tools than OpenSuse, and
have their own packages in official repositories, it is better
to point to them than the one from OpenSuse.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13588 | 2016-07-08T19:24:13Z | 2016-07-24T18:13:43Z | 2016-07-24T18:13:43Z | 2016-07-24T18:13:43Z |
RLS: switch master from 0.18.2 to 0.19.0 | diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst
index e971f1f28903f..f0e01ddc3fc2d 100644
--- a/doc/source/categorical.rst
+++ b/doc/source/categorical.rst
@@ -653,7 +653,7 @@ The same applies to ``df.append(df_different)``.
Unioning
~~~~~~~~
-.. versionadded:: 0.18.2
+.. versionadded:: 0.19.0
... | xref #13562
| https://api.github.com/repos/pandas-dev/pandas/pulls/13586 | 2016-07-08T10:35:11Z | 2016-07-08T15:08:02Z | 2016-07-08T15:08:02Z | 2016-07-08T15:08:26Z |
BUG: groupby apply on selected columns yielding scalar (GH13568) | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 046690e28dba5..4cc16aac15f8b 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -491,6 +491,7 @@ Bug Fixes
- Bug in ``PeriodIndex`` construction returning a ``float64`` index in some circumstances (:... | - [x] closes #13568
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13585 | 2016-07-08T09:35:57Z | 2016-07-11T15:02:25Z | 2016-07-11T15:02:24Z | 2016-07-11T15:02:25Z |
ENH: Adding additional keywords to read_html for #13461 | diff --git a/doc/source/io.rst b/doc/source/io.rst
index da0444a8b8df9..113afa32d182e 100644
--- a/doc/source/io.rst
+++ b/doc/source/io.rst
@@ -1959,6 +1959,35 @@ Specify an HTML attribute
dfs2 = read_html(url, attrs={'class': 'sortable'})
print(np.array_equal(dfs1[0], dfs2[0])) # Should be True
+Specify va... | - [x] closes #13461
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13575 | 2016-07-07T06:47:15Z | 2016-07-21T14:16:50Z | 2016-07-21T14:16:49Z | 2016-07-21T14:21:08Z |
TST: Add tests for single group | diff --git a/pandas/tests/test_groupby.py b/pandas/tests/test_groupby.py
index bc25525f936ac..10362cbb24888 100644
--- a/pandas/tests/test_groupby.py
+++ b/pandas/tests/test_groupby.py
@@ -2085,8 +2085,8 @@ def test_groupby_head_tail(self):
assert_frame_equal(df.loc[[0, 2]], g_not_as.head(1))
assert_f... | - [x] closes #13530
- [x] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/13561 | 2016-07-04T23:19:43Z | 2016-07-05T08:39:35Z | 2016-07-05T08:39:35Z | 2016-07-05T08:45:43Z |
TST: confirm bug in partial string multi-index slicing is fixed (GH12685) | diff --git a/pandas/tests/indexes/test_multi.py b/pandas/tests/indexes/test_multi.py
index bec52f5f47b09..fb5576bed90b4 100644
--- a/pandas/tests/indexes/test_multi.py
+++ b/pandas/tests/indexes/test_multi.py
@@ -6,7 +6,7 @@
import re
import warnings
-from pandas import (date_range, MultiIndex, Index, CategoricalIn... | Closes #12685
| https://api.github.com/repos/pandas-dev/pandas/pulls/13559 | 2016-07-04T10:04:22Z | 2016-07-05T08:37:18Z | 2016-07-05T08:37:17Z | 2016-07-05T08:37:18Z |
TST: Move `test_crosstab_margins` to `TestPivotTable` | diff --git a/pandas/tools/tests/test_pivot.py b/pandas/tools/tests/test_pivot.py
index 7ec4018d301af..cda2343fbb842 100644
--- a/pandas/tools/tests/test_pivot.py
+++ b/pandas/tools/tests/test_pivot.py
@@ -801,6 +801,26 @@ def test_pivot_table_margins_name_with_aggfunc_list(self):
expected = pd.DataFrame(table.... | This test case assert `pivot_table` method.
So it should be defined on `TestPivotTable`.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13553 | 2016-07-03T13:39:28Z | 2016-07-04T16:01:16Z | 2016-07-04T16:01:16Z | 2016-07-04T16:15:49Z |
BUG: Fix .to_excel() for MultiIndex containing a NaN value #13511 | diff --git a/doc/source/whatsnew/v0.19.0.txt b/doc/source/whatsnew/v0.19.0.txt
index 317383e866464..1977548883e9e 100644
--- a/doc/source/whatsnew/v0.19.0.txt
+++ b/doc/source/whatsnew/v0.19.0.txt
@@ -767,3 +767,5 @@ Bug Fixes
- Bug where ``pd.read_gbq()`` could throw ``ImportError: No module named discovery`` as a re... | - [X] closes #13511
- [X] tests added / passed
- [X] passes `git diff upstream/master | flake8 --diff`
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13551 | 2016-07-03T01:46:10Z | 2016-07-25T15:07:00Z | 2016-07-25T15:07:00Z | 2016-07-25T15:07:12Z |
DOC: Update old Google Code and SourceForge links | diff --git a/LICENSES/ULTRAJSON_LICENSE b/LICENSES/ULTRAJSON_LICENSE
index defca46e7f820..3b2886eb9cfae 100644
--- a/LICENSES/ULTRAJSON_LICENSE
+++ b/LICENSES/ULTRAJSON_LICENSE
@@ -25,10 +25,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Portions of code from MODP_ASCII - Ascii transformations ... | https://api.github.com/repos/pandas-dev/pandas/pulls/13534 | 2016-06-30T03:38:02Z | 2016-07-05T08:38:26Z | 2016-07-05T08:38:26Z | 2016-07-05T08:38:32Z | |
Update documentation for rename | diff --git a/doc/source/basics.rst b/doc/source/basics.rst
index 917d2f2bb8b04..8145e9536a82a 100644
--- a/doc/source/basics.rst
+++ b/doc/source/basics.rst
@@ -1159,14 +1159,17 @@ mapping (a dict or Series) or an arbitrary function.
s.rename(str.upper)
If you pass a function, it must return a value when called ... | - [x] closes #13473
- [ ] tests added / passed
- [x] passes `git diff upstream/master | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13533 | 2016-06-30T01:26:49Z | 2016-06-30T22:59:11Z | 2016-06-30T22:59:11Z | 2016-06-30T22:59:17Z |
DOC: update sphinx requirements for doc building | diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst
index 6e0c747cd06fc..51fa2a9de953b 100644
--- a/doc/source/contributing.rst
+++ b/doc/source/contributing.rst
@@ -351,31 +351,33 @@ How to build the *pandas* documentation
Requirements
~~~~~~~~~~~~
-To build the *pandas* docs there are some extr... | Simplified the version requirement for sphinx (>= 1.3.2). In principle >= 1.2.2 but < 1.3.0 also works, but left it out for simplicity.
@cswarth Do you have other things that you find unclear about the requirements for the doc build environment?
| https://api.github.com/repos/pandas-dev/pandas/pulls/13532 | 2016-06-29T19:16:49Z | 2016-07-04T10:37:52Z | 2016-07-04T10:37:52Z | 2016-07-04T10:37:53Z |
DOC: update brief documentation on visualization projects | diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst
index 0d7315d20eac3..51e00d2e01fd0 100644
--- a/doc/source/ecosystem.rst
+++ b/doc/source/ecosystem.rst
@@ -77,8 +77,16 @@ more advanced types of plots then those offered by pandas.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The `Vincent <http... | - [ X] passes `git diff upstream/master | flake8 --diff`
Minor Documentaion change to note that Vincent project has intentionally been abandoned and is not longer maintained. Add a pointer to IPython Vega successor.
| https://api.github.com/repos/pandas-dev/pandas/pulls/13528 | 2016-06-29T01:54:32Z | 2016-06-29T10:15:56Z | 2016-06-29T10:15:56Z | 2016-06-29T10:16:18Z |
BUG: Can't store callables using __setitem__ | diff --git a/doc/source/whatsnew/v0.18.2.txt b/doc/source/whatsnew/v0.18.2.txt
index 40fec4d071f16..eae03b2a86661 100644
--- a/doc/source/whatsnew/v0.18.2.txt
+++ b/doc/source/whatsnew/v0.18.2.txt
@@ -421,6 +421,7 @@ Other API changes
- ``TimedeltaIndex.astype(int)`` and ``DatetimeIndex.astype(int)`` will now return `... | - [X] closes #13299
- [X] tests added / passed
- [X] passes `git diff upstream/master | flake8 --diff`
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/13516 | 2016-06-26T15:40:42Z | 2016-07-01T14:18:37Z | 2016-07-01T14:18:37Z | 2016-07-01T14:18:43Z |
BUG: date_range closed keyword with timezone aware start/end (GH12684) | diff --git a/doc/source/whatsnew/v0.18.1.txt b/doc/source/whatsnew/v0.18.1.txt
index ba14ac51012c7..7f74d8a769e4b 100644
--- a/doc/source/whatsnew/v0.18.1.txt
+++ b/doc/source/whatsnew/v0.18.1.txt
@@ -658,7 +658,7 @@ Bug Fixes
- Bug in ``CategoricalIndex.get_loc`` returns different result from regular ``Index`` (:issu... | closes #12684
| https://api.github.com/repos/pandas-dev/pandas/pulls/13510 | 2016-06-24T22:08:11Z | 2016-06-29T12:16:22Z | 2016-06-29T12:16:22Z | 2016-06-29T12:16:23Z |
TST: added a test case for special character in file name | diff --git a/pandas/tests/io/parser/test_common.py b/pandas/tests/io/parser/test_common.py
index 756463e9d8d33..3d657418e43cd 100644
--- a/pandas/tests/io/parser/test_common.py
+++ b/pandas/tests/io/parser/test_common.py
@@ -2167,7 +2167,7 @@ def test_suppress_error_output(all_parsers, capsys):
compat.is_platform_... | Added special character use case in the existing function "test_filename_with_special_chars"
- [x] closes #26074
- [x] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/28498 | 2019-09-18T14:19:29Z | 2019-09-19T05:17:22Z | 2019-09-19T05:17:22Z | 2019-09-19T09:58:03Z |
WEB: Deployment of development website with the docs | diff --git a/README.md b/README.md
index d5e71fc4740cf..7786eeb0ec5c7 100644
--- a/README.md
+++ b/README.md
@@ -225,7 +225,7 @@ Most development discussion is taking place on github in this repo. Further, the
All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome.
... | After this is merged, https://dev.pandas.io will have the new website, and the dev docs will be in https://dev.pandas.io/docs
| https://api.github.com/repos/pandas-dev/pandas/pulls/28497 | 2019-09-18T14:09:07Z | 2019-09-19T14:00:03Z | 2019-09-19T14:00:03Z | 2019-09-19T14:00:03Z |
DOC: add example of pyarrow usage favored over the deprecated to_msgpack | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 42de85945cbcb..728ececd59f6c 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -2524,6 +2524,17 @@ def to_msgpack(self, path_or_buf=None, encoding="utf-8", **kwargs):
It is recommended to use pyarrow for on-the-wire transmissi... | - [ ] closes #xxxx
- no issue opened
- [ ] tests added / passed
- no, only docs modified
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/28494 | 2019-09-18T06:22:12Z | 2019-09-18T13:48:44Z | 2019-09-18T13:48:44Z | 2019-09-19T11:55:04Z |
TST: parametrize test_expressions | diff --git a/pandas/tests/io/excel/test_xlsxwriter.py b/pandas/tests/io/excel/test_xlsxwriter.py
index 4dae3db2e7abd..63e41c59ecb89 100644
--- a/pandas/tests/io/excel/test_xlsxwriter.py
+++ b/pandas/tests/io/excel/test_xlsxwriter.py
@@ -50,7 +50,7 @@ def test_column_format(ext):
try:
read_num_fo... | and an unrelated excel test cleanup that slipped in somehow | https://api.github.com/repos/pandas-dev/pandas/pulls/28493 | 2019-09-18T03:20:36Z | 2019-09-20T12:51:24Z | 2019-09-20T12:51:24Z | 2019-09-20T14:14:37Z |
BUG: Raise when casting NaT to int | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 8755abe642068..4db4cab9ea91c 100755
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -781,6 +781,7 @@ Datetimelike
- Bug in :class:`Timestamp` subtraction when subtracting a :class:`Timestamp` from a ``np.dat... | - [x] tests added / passed
- [x] passes `black pandas`
- [x] whatsnew entry
Fixes a bug in `astype_nansafe` where `NaT` was ignored when casting a datetime or timedelta to `int`. I put the test in `pandas/tests/dtypes/test_common.py` since I couldn't find another place where `astype_nansafe` was tested. Also add... | https://api.github.com/repos/pandas-dev/pandas/pulls/28492 | 2019-09-18T03:17:27Z | 2020-01-01T17:02:11Z | 2020-01-01T17:02:11Z | 2020-01-01T18:52:11Z |
CI: Check for whitespaces before class | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index 07c99b39e83e8..ab7bd7895a596 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -190,6 +190,10 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
invgrep -R --include="*.rst" ".. ipython ::" doc/source
RET=$(($RET + $?)) ; echo $MSG "DONE"
... | xref #28209, https://github.com/python-sprints/pandas-mentoring/issues/161
Validate that we use
```python
class Foo:
"""
Doc.
"""
pass
```
instead of:
```python
class Bar:
"""
Doc.
"""
pass
```
(note the blank line between `class Bar:` and the docstring. | https://api.github.com/repos/pandas-dev/pandas/pulls/28489 | 2019-09-18T01:15:41Z | 2019-11-13T01:28:54Z | 2019-11-13T01:28:54Z | 2019-11-13T01:28:58Z |
REF: raise scalar_data_error to make mypy happy | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index 2dbd592fc6787..f3ee6450cc3bc 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -452,7 +452,7 @@ def __new__(
elif hasattr(data, "__array__"):
return Index(np.asarray(data), dtype=dtype, copy=co... | @simonjayhawkins do I need to update a config file or enable something? | https://api.github.com/repos/pandas-dev/pandas/pulls/28484 | 2019-09-17T15:30:02Z | 2019-09-17T16:10:43Z | 2019-09-17T16:10:43Z | 2019-09-17T16:22:15Z |
CLN: Clean up of CI scripts | diff --git a/ci/azure/posix.yml b/ci/azure/posix.yml
index 6093df46ffb60..281107559a38c 100644
--- a/ci/azure/posix.yml
+++ b/ci/azure/posix.yml
@@ -60,15 +60,21 @@ jobs:
echo "Creating Environment"
ci/setup_env.sh
displayName: 'Setup environment and build pandas'
+
- script: |
so... | Making the CI scripts simpler, and fixing typos (this was part of #26949, which couldn't be merged because `--dist=loadfile` was making the tests much slower).
| https://api.github.com/repos/pandas-dev/pandas/pulls/28482 | 2019-09-17T12:52:40Z | 2019-09-19T15:19:35Z | 2019-09-19T15:19:35Z | 2019-09-19T15:19:35Z |
TST: Parametrize and cleanup Exception | diff --git a/pandas/tests/arithmetic/test_datetime64.py b/pandas/tests/arithmetic/test_datetime64.py
index bc7b979d2c7d0..6f7222f523579 100644
--- a/pandas/tests/arithmetic/test_datetime64.py
+++ b/pandas/tests/arithmetic/test_datetime64.py
@@ -78,17 +78,6 @@ def assert_invalid_comparison(left, right, box):
ri... | https://api.github.com/repos/pandas-dev/pandas/pulls/28478 | 2019-09-17T03:34:29Z | 2019-09-17T16:42:31Z | 2019-09-17T16:42:31Z | 2019-09-17T18:23:18Z | |
BUG: Raise when casting infinity to int | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index a9140fa20ceef..da8d88fe6cbb1 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -174,6 +174,7 @@ Indexing
- Bug in assignment using a reverse slicer (:issue:`26939`)
- Bug in reindexing a :meth:`PeriodI... | - [x] tests added / passed
- [x] passes `black pandas`
- [x] whatsnew entry
Raises a `ValueError` when attempting to cast a `Float64Index` with infinite values to a (non-`ExtensionArray`) integer dtype. Currently this returns a garbage value:
```
idx ... | https://api.github.com/repos/pandas-dev/pandas/pulls/28475 | 2019-09-17T01:54:13Z | 2019-09-17T22:10:54Z | 2019-09-17T22:10:54Z | 2019-09-19T13:40:57Z |
pyperclip upgrade | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index b40a64420a0be..370e1c09d33aa 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -396,6 +396,7 @@ I/O
- Bug in :meth:`pandas.io.formats.style.Styler` formatting for floating values not displaying decimals... | - [x] closes https://github.com/pandas-dev/pandas/issues/22707
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry | https://api.github.com/repos/pandas-dev/pandas/pulls/28471 | 2019-09-16T21:49:44Z | 2019-11-07T15:41:30Z | 2019-11-07T15:41:30Z | 2019-11-07T18:27:25Z |
Pandas get_dummies validate `columns` input | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index ea52736cb11a7..e6c2db152d75c 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -346,6 +346,7 @@ Reshaping
- Bug in :func:`merge`, did not append suffixes correctly with MultiIndex (:issue:`28518`)
- :f... | - [x] closes #28383
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
The Test code is inspired from a similar tests in
`RaiseError`: https://github.com/pandas-dev/pandas/blob/master/pandas/tests/arrays/categorical/te... | https://api.github.com/repos/pandas-dev/pandas/pulls/28463 | 2019-09-16T15:16:31Z | 2019-10-22T01:31:32Z | 2019-10-22T01:31:31Z | 2019-10-22T13:29:41Z |
BUG: fix size()/count() when resamping empty series (#28427) | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 0027343a13b60..26d794045daa7 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -433,6 +433,7 @@ Groupby/resample/rolling
-
- Bug in :meth:`DataFrame.groupby` with multiple groups where an ``IndexErro... | - [X] closes #28427
- [X] tests added / passed
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/28459 | 2019-09-16T14:54:32Z | 2019-11-19T13:42:59Z | 2019-11-19T13:42:58Z | 2019-11-19T13:44:24Z |
Annotate DataFrame Part 2 (Rendering Methods) | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 44d3d840016fe..b7961b28f0252 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -15,7 +15,7 @@
import itertools
import sys
from textwrap import dedent
-from typing import FrozenSet, List, Optional, Set, Tuple, Type, Union
+from typing import... | - [x] part of #26792
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] annotate all rendering methods of `pandas.core.frame.DataFrame`
| https://api.github.com/repos/pandas-dev/pandas/pulls/28453 | 2019-09-16T09:08:55Z | 2019-09-20T14:32:33Z | 2019-09-20T14:32:33Z | 2019-09-20T14:38:51Z |
TST: Fix sqlite3 transactions test | diff --git a/pandas/tests/io/test_sql.py b/pandas/tests/io/test_sql.py
index 25727447b4c6f..89bc98b5a1006 100644
--- a/pandas/tests/io/test_sql.py
+++ b/pandas/tests/io/test_sql.py
@@ -26,8 +26,6 @@
import numpy as np
import pytest
-from pandas.compat import PY36
-
from pandas.core.dtypes.common import is_datetime... | The sqlite connection is already in transaction when the test starts, so
when the test intentionally raises an exception, the entire transaction,
including the table creation, gets rolled back, so there is no table
to query. Wrapping the table CREATE statement in its own transaction
avoids the issue.
- [x] clos... | https://api.github.com/repos/pandas-dev/pandas/pulls/28450 | 2019-09-14T19:05:54Z | 2019-09-15T13:14:00Z | 2019-09-15T13:14:00Z | 2019-09-15T15:23:56Z |
DOC: fix docstring of core.comon.pipe (PR02) | diff --git a/pandas/core/common.py b/pandas/core/common.py
index cf113c8aecbfe..565f5076fdddb 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -445,15 +445,15 @@ def pipe(obj, func, *args, **kwargs):
Parameters
----------
- func : callable or tuple of (callable, string)
+ func : calla... | Solves:
- Unknown parameters {kwargs, args}
- Parameter "func" type should use "str" instead of "string"
- Parameter "*args" description should start with a capital letter
- Parameter "**kwargs" description should start with a capital letter
- pandas.core.common.pipe : Unknown parameters {kwargs, args} in #27976
... | https://api.github.com/repos/pandas-dev/pandas/pulls/28449 | 2019-09-14T18:23:34Z | 2019-09-15T13:11:32Z | 2019-09-15T13:11:32Z | 2019-09-15T13:11:45Z |
[PERF] Vectorize select_dtypes | diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py
index 05f98c66faa2b..eb9a0e83271f1 100644
--- a/asv_bench/benchmarks/frame_methods.py
+++ b/asv_bench/benchmarks/frame_methods.py
@@ -609,4 +609,15 @@ def time_dataframe_describe(self):
self.df.describe()
+class Sele... | - [x] closes #28317
- [x] tests added / passed (no new tests added, test_dtypes.py, passes locally)
- [x] passes `black pandas` (passed locally)
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` (passed locally)
- [x] whatsnew entry
- [x] ASV Benchmark
- [x] final refactoring
I was able to ... | https://api.github.com/repos/pandas-dev/pandas/pulls/28447 | 2019-09-14T14:23:46Z | 2019-09-20T12:42:53Z | 2019-09-20T12:42:52Z | 2019-09-20T12:42:58Z |
DOC: fix the editable install command | diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst
index c66ae5e4bc36f..3cdf9b83e96f3 100644
--- a/doc/source/development/contributing.rst
+++ b/doc/source/development/contributing.rst
@@ -208,7 +208,7 @@ We'll now kick off a three-step process:
# Build and install pand... | See https://github.com/pandas-dev/pandas/pull/28374#discussion_r324367518 | https://api.github.com/repos/pandas-dev/pandas/pulls/28445 | 2019-09-14T08:24:24Z | 2019-09-14T09:00:44Z | 2019-09-14T09:00:44Z | 2019-09-14T09:00:57Z |
TST: Fix makeObjectSeries data as object type | diff --git a/pandas/tests/series/conftest.py b/pandas/tests/series/conftest.py
index f5b401398d6d6..18d3c87a01f87 100644
--- a/pandas/tests/series/conftest.py
+++ b/pandas/tests/series/conftest.py
@@ -26,7 +26,7 @@ def string_series():
@pytest.fixture
def object_series():
"""
- Fixture for Series of dtype dat... | - [x] closes #28378
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/28444 | 2019-09-14T04:39:40Z | 2019-09-17T12:59:25Z | 2019-09-17T12:59:25Z | 2019-09-17T13:02:26Z |
CLN: catch less in Block._astype | diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py
index 29d225443d18a..01399a23e810e 100644
--- a/pandas/core/internals/blocks.py
+++ b/pandas/core/internals/blocks.py
@@ -600,41 +600,42 @@ def _astype(self, dtype, copy=False, errors="raise", **kwargs):
return self.copy()
... | https://api.github.com/repos/pandas-dev/pandas/pulls/28443 | 2019-09-14T04:02:56Z | 2019-09-17T12:39:31Z | 2019-09-17T12:39:31Z | 2019-09-17T13:57:52Z | |
CLN: remove merge-pr script, clean Exception in tm, doc | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index f6b0c55d39f65..d5a30f98e07b1 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -4845,7 +4845,7 @@ The above example creates a partitioned dataset that may look like:
from shutil import rmtree
try:
... | I count 131 of these ATM, some of which we'll end up marking as intentionally non-specific. | https://api.github.com/repos/pandas-dev/pandas/pulls/28442 | 2019-09-14T03:28:24Z | 2019-09-16T20:13:33Z | 2019-09-16T20:13:33Z | 2019-09-16T20:56:09Z |
BUG: Don't cast categorical nan to int | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index bc77553924dfa..11a29fdf90f93 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -110,6 +110,7 @@ Categorical
^^^^^^^^^^^
- Added test to assert the :func:`fillna` raises the correct ValueError message... | - [x] closes #28406
- [x] passes `black pandas`
- [x] tests added / passed
- [x] whatsnew entry
This raises an error when attempting to cast a `Categorical` or `CategoricalIndex` containing `nans` to an integer dtype. Also had to remove the casting within `get_indexer_non_unique` since this won't always be possi... | https://api.github.com/repos/pandas-dev/pandas/pulls/28438 | 2019-09-13T21:42:13Z | 2019-09-18T12:35:04Z | 2019-09-18T12:35:04Z | 2019-09-19T13:41:08Z |
CLN: Exception in generic, series | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index 68308b2f83b60..801902a7aa4b7 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -33,7 +33,6 @@
from pandas.util._decorators import Appender, Substitution, rewrite_axis_style_signature
from pandas.util._validators import validate_bool_... | https://api.github.com/repos/pandas-dev/pandas/pulls/28434 | 2019-09-13T17:49:51Z | 2019-09-17T12:36:35Z | 2019-09-17T12:36:35Z | 2019-09-17T13:57:19Z | |
CLN: Exception in nanops | diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py
index 4db0f75586ead..fe88622a04bb4 100644
--- a/pandas/core/nanops.py
+++ b/pandas/core/nanops.py
@@ -1300,10 +1300,12 @@ def _ensure_numeric(x):
elif not (is_float(x) or is_integer(x) or is_complex(x)):
try:
x = float(x)
- exc... | https://api.github.com/repos/pandas-dev/pandas/pulls/28433 | 2019-09-13T16:30:03Z | 2019-09-17T12:35:52Z | 2019-09-17T12:35:52Z | 2019-09-17T13:58:44Z | |
BLD: clean-up sdist creation | diff --git a/MANIFEST.in b/MANIFEST.in
index d82e64d0a68b8..adaad1dc1c864 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -15,6 +15,7 @@ graft pandas
global-exclude *.bz2
global-exclude *.csv
global-exclude *.dta
+global-exclude *.feather
global-exclude *.gz
global-exclude *.h5
global-exclude *.html
@@ -24,7 +25,10... | I messed up in https://github.com/pandas-dev/pandas/pull/28374/files#diff-2eeaed663bd0d25b7e608891384b7298R531. I meant to revert the lines that excluded cythonized files in the sdist to save it for a followup.
So I'm using this to clean up the sdist logic a bit, and exclude a few test data files that have snuck int... | https://api.github.com/repos/pandas-dev/pandas/pulls/28432 | 2019-09-13T16:29:52Z | 2019-09-17T05:45:38Z | 2019-09-17T05:45:38Z | 2019-09-17T05:45:39Z |
REF: implement arithmetic, comparison, logical ops on arrays | diff --git a/pandas/core/ops/__init__.py b/pandas/core/ops/__init__.py
index f53b5045abff3..0c1e1e90c003b 100644
--- a/pandas/core/ops/__init__.py
+++ b/pandas/core/ops/__init__.py
@@ -9,14 +9,11 @@
import numpy as np
-from pandas._libs import Timedelta, Timestamp, lib, ops as libops
+from pandas._libs import Time... | Following #28413, #28396, and #28395, these are all pretty straightforward refactors.
`arithmetic_op`, `comparison_op`, and `logical_op` are going to become the ops that we call `Block`-wise. Hopefully also `PandasArray` will use them directly.
Other follow-ups I have in mind:
- Move `should_extension_dispatch`... | https://api.github.com/repos/pandas-dev/pandas/pulls/28431 | 2019-09-13T16:20:35Z | 2019-09-23T12:55:02Z | 2019-09-23T12:55:02Z | 2019-09-23T14:29:13Z |
BUG: Remove error raise to allow same input function on the same column in named aggregation | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 470209a7f4a33..38e3f1316302d 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -752,6 +752,8 @@ Groupby/resample/rolling
- Bug in :meth:`DataFrame.groupby` not offering selection by column name when ``a... | - [x] closes #28426
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
https://github.com/pandas-dev/pandas/pull/27921#issuecomment-521794197
this was kind of mentioned in the PR27921, and the case used in the iss... | https://api.github.com/repos/pandas-dev/pandas/pulls/28428 | 2019-09-13T15:57:42Z | 2019-12-08T18:01:22Z | 2019-12-08T18:01:22Z | 2019-12-08T18:01:25Z |
Remove SparseSeries and SparseDataFrame | diff --git a/doc/redirects.csv b/doc/redirects.csv
index a7886779c97d5..a1504f9175480 100644
--- a/doc/redirects.csv
+++ b/doc/redirects.csv
@@ -503,7 +503,6 @@ generated/pandas.DataFrame.to_parquet,../reference/api/pandas.DataFrame.to_parqu
generated/pandas.DataFrame.to_period,../reference/api/pandas.DataFrame.to_per... | As discussed on the dev call.
Closes https://github.com/pandas-dev/pandas/issues/28407
Closes https://github.com/pandas-dev/pandas/issues/28025
Closes https://github.com/pandas-dev/pandas/issues/26777
Closes https://github.com/pandas-dev/pandas/issues/26227
~Not https://github.com/pandas-dev/pandas/issues/26123~... | https://api.github.com/repos/pandas-dev/pandas/pulls/28425 | 2019-09-13T03:22:18Z | 2019-09-18T14:02:18Z | 2019-09-18T14:02:12Z | 2019-09-18T14:06:26Z |
CLN: Exception in dtypes.cast | diff --git a/pandas/_libs/tslib.pyx b/pandas/_libs/tslib.pyx
index 06525fbe98cf4..0f1657480e4b3 100644
--- a/pandas/_libs/tslib.pyx
+++ b/pandas/_libs/tslib.pyx
@@ -613,7 +613,7 @@ cpdef array_to_datetime(ndarray[object] values, str errors='raise',
# to check if all arguments have the same ... | There's a couple more in this file that aren't hit in tests but that I'm not yet ready to remove. | https://api.github.com/repos/pandas-dev/pandas/pulls/28420 | 2019-09-12T17:28:29Z | 2019-09-12T19:42:20Z | 2019-09-12T19:42:20Z | 2019-09-12T21:07:02Z |
ENH: MultiIndex.from_product infers names from inputs if not explicitly provided | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index bc77553924dfa..2a5d9286a7da2 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -27,6 +27,7 @@ Enhancements
Other enhancements
^^^^^^^^^^^^^^^^^^
+- :meth:`MultiIndex.from_product` infers level names ... | - [x] closes #27292
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Infers names in `MultiIndex.from_product` and normalizes handing of `names=None` between `from_arrays` and `from_product` | https://api.github.com/repos/pandas-dev/pandas/pulls/28417 | 2019-09-12T16:51:32Z | 2019-09-18T13:42:37Z | 2019-09-18T13:42:37Z | 2019-09-18T17:16:24Z |
Added version policy | diff --git a/doc/source/development/index.rst b/doc/source/development/index.rst
index c7710ff19f078..1228f00667f3a 100644
--- a/doc/source/development/index.rst
+++ b/doc/source/development/index.rst
@@ -16,4 +16,5 @@ Development
internals
extending
developer
+ policies
roadmap
diff --git a/doc/... | This tries to codify the discussion about versioning from yesterday. I tried to summarize the group's thoughts. Let me know if any of my biases slipped through.
cc @pandas-dev/pandas-core
| https://api.github.com/repos/pandas-dev/pandas/pulls/28415 | 2019-09-12T16:00:54Z | 2019-09-20T12:04:13Z | 2019-09-20T12:04:13Z | 2019-09-20T12:04:31Z |
REF: prepare Series arith op to be refactored to array op | diff --git a/pandas/core/ops/__init__.py b/pandas/core/ops/__init__.py
index 90fb3b8685c93..baa978c32b2c3 100644
--- a/pandas/core/ops/__init__.py
+++ b/pandas/core/ops/__init__.py
@@ -40,7 +40,11 @@
from pandas._typing import ArrayLike
from pandas.core.construction import array, extract_array
-from pandas.core.ops... | Companion to #28396 and #28395. | https://api.github.com/repos/pandas-dev/pandas/pulls/28413 | 2019-09-12T15:14:13Z | 2019-09-13T13:21:11Z | 2019-09-13T13:21:11Z | 2019-09-13T14:35:36Z |
BUG: Fix Series.append raises TypeError with tuple of Series | diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst
index 71374a3bff692..5f46a815c65dc 100644
--- a/doc/source/whatsnew/v1.0.0.rst
+++ b/doc/source/whatsnew/v1.0.0.rst
@@ -234,7 +234,7 @@ Other
- Trying to set the ``display.precision``, ``display.max_rows`` or ``display.max_columns`` using :me... | - [x] closes #28410
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry | https://api.github.com/repos/pandas-dev/pandas/pulls/28412 | 2019-09-12T14:41:37Z | 2019-09-13T01:05:32Z | 2019-09-13T01:05:32Z | 2019-09-13T01:05:38Z |
Backport PR #28391 on branch 0.25.x | diff --git a/ci/deps/azure-35-compat.yaml b/ci/deps/azure-35-compat.yaml
index 97c45b2be27d7..dd54001984ec7 100644
--- a/ci/deps/azure-35-compat.yaml
+++ b/ci/deps/azure-35-compat.yaml
@@ -18,13 +18,13 @@ dependencies:
- xlsxwriter=0.9.8
- xlwt=1.2.0
# universal
- - cython=0.28.2
- hypothesis>=3.58.0
- ... | https://api.github.com/repos/pandas-dev/pandas/pulls/28411 | 2019-09-12T12:59:38Z | 2019-09-12T17:13:41Z | 2019-09-12T17:13:41Z | 2019-09-12T17:13:46Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.