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 |
|---|---|---|---|---|---|---|---|
clarified the documentation for DF.drop_duplicates | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 78c9f2aa96472..ade05ab27093e 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -4625,7 +4625,8 @@ def dropna(self, axis=0, how='any', thresh=None, subset=None,
def drop_duplicates(self, subset=None, keep='first', inplace=False):
... | I hit an issue with a time series index where I wanted to keep duplicate data with different time values and only delete rows with the same time and columns. This documentation change would have saved me a lot of time.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py... | https://api.github.com/repos/pandas-dev/pandas/pulls/25056 | 2019-01-31T17:14:09Z | 2019-02-01T18:24:37Z | 2019-02-01T18:24:37Z | 2019-02-02T14:50:36Z |
Clarification of docstring for value_counts | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 58e1b2370c7c8..b23a0f10e9e2b 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -989,6 +989,36 @@ a single date rather than the entire array.
os.remove('tmp.csv')
+
+.. _io.csv.mixed_timezones:
+
+Parsing... | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/25055 | 2019-01-31T17:05:55Z | 2019-01-31T20:30:20Z | null | 2019-01-31T20:30:20Z |
Backport PR #25039 on branch 0.24.x (BUG: avoid usage in_qtconsole for recent IPython versions) | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 047404e93914b..521319c55a503 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -83,7 +83,7 @@ Bug Fixes
**Other**
--
+- Fixed AttributeError when printing a DataFrame's HTML repr after accessing... | Backport PR #25039: BUG: avoid usage in_qtconsole for recent IPython versions | https://api.github.com/repos/pandas-dev/pandas/pulls/25054 | 2019-01-31T16:03:27Z | 2019-01-31T20:17:47Z | 2019-01-31T20:17:47Z | 2019-01-31T20:17:47Z |
DEPR: remove PanelGroupBy, disable DataFrame.to_panel | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 09626be713c4f..a3fb1c575e7f1 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -51,7 +51,7 @@ Deprecations
Removal of prior version deprecations/changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | My understanding is that we're removing Panel in 0.25.0. A local attempt to do this all-at-once got messy quick (largely due to io.pytables and io.msgpack). This gets the ball rolling by removing only PanelGroupBy and DataFrame.to_panel, followed by all of the code+tests that rely on either of these. | https://api.github.com/repos/pandas-dev/pandas/pulls/25047 | 2019-01-31T03:50:28Z | 2019-02-06T03:47:26Z | 2019-02-06T03:47:26Z | 2019-02-09T08:53:29Z |
ENH: Support fold argument in Timestamp.replace | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index a9fa8b2174dd0..8e1fc352ba4f7 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -19,7 +19,7 @@ including other versions of pandas.
Other Enhancements
^^^^^^^^^^^^^^^^^^
--
+- :meth:`Timestamp.repl... | - [x] closes #25017
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Since `Timestamp` has its own `replace` method, I think we can still introduce this while still supporting PY3.5 (`datetime.replace` gained the `fold` argument in 3.6) while it ... | https://api.github.com/repos/pandas-dev/pandas/pulls/25046 | 2019-01-31T01:54:09Z | 2019-02-01T18:40:56Z | 2019-02-01T18:40:56Z | 2019-02-01T18:51:05Z |
PERF: use new to_records() argument in to_stata() | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 939fb8b9415bd..130477f588c26 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -23,14 +23,6 @@ Other Enhancements
-
-
-.. _whatsnew_0250.performance:
-
-Performance Improvements
-~~~~~~~~~~~~~~~~... | The `to_stata()` function spends ~25-50% of its time massaging string/different endian data and creating a `np.recarray` in a roundabout way. Using `column_dtypes` in `to_records()` allows some cleanup and for a decent performance bump:
```
$ asv compare upstream/master HEAD -s --sort ratio
Benchmarks that have im... | https://api.github.com/repos/pandas-dev/pandas/pulls/25045 | 2019-01-30T23:41:47Z | 2019-02-01T20:56:06Z | 2019-02-01T20:56:06Z | 2019-02-01T20:56:09Z |
CLN: to_pickle internals | diff --git a/pandas/compat/pickle_compat.py b/pandas/compat/pickle_compat.py
index 61295b8249f58..8f16f8154b952 100644
--- a/pandas/compat/pickle_compat.py
+++ b/pandas/compat/pickle_compat.py
@@ -201,7 +201,7 @@ def load_newobj_ex(self):
pass
-def load(fh, encoding=None, compat=False, is_verbose=False):
+def ... | - [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/25044 | 2019-01-30T23:27:07Z | 2019-02-01T18:50:36Z | 2019-02-01T18:50:36Z | 2019-02-01T18:51:56Z |
Backport PR #24993 on branch 0.24.x (Test nested PandasArray) | diff --git a/pandas/core/arrays/numpy_.py b/pandas/core/arrays/numpy_.py
index 47517782e2bbf..791ff44303e96 100644
--- a/pandas/core/arrays/numpy_.py
+++ b/pandas/core/arrays/numpy_.py
@@ -222,7 +222,7 @@ def __getitem__(self, item):
item = item._ndarray
result = self._ndarray[item]
- if ... | Backport PR #24993: Test nested PandasArray | https://api.github.com/repos/pandas-dev/pandas/pulls/25042 | 2019-01-30T21:18:28Z | 2019-01-30T22:28:45Z | 2019-01-30T22:28:45Z | 2019-01-30T22:28:46Z |
Backport PR #25033 on branch 0.24.x (BUG: Fixed merging on tz-aware) | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 57fdff041db28..047404e93914b 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -23,6 +23,7 @@ Fixed Regressions
- Bug in :meth:`DataFrame.itertuples` with ``records`` orient raising an ``AttributeEr... | Backport PR #25033: BUG: Fixed merging on tz-aware | https://api.github.com/repos/pandas-dev/pandas/pulls/25041 | 2019-01-30T21:17:40Z | 2019-01-30T22:27:20Z | 2019-01-30T22:27:20Z | 2019-01-30T22:27:20Z |
BUG: to_clipboard text truncated for Python 3 on Windows for UTF-16 text | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index a9fa8b2174dd0..880eaed3b5dfb 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -163,6 +163,7 @@ MultiIndex
I/O
^^^
+- Fixed bug in missing text when using :meth:`to_clipboard` if copying utf-16 c... | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
For windows users where Python is compiled with UCS-4 (Python 3 primarily), tables copied to clipboard are missing data from the end when there are any unicode characters in the ... | https://api.github.com/repos/pandas-dev/pandas/pulls/25040 | 2019-01-30T21:17:08Z | 2019-02-01T20:53:57Z | 2019-02-01T20:53:56Z | 2019-02-01T20:53:59Z |
BUG: avoid usage in_qtconsole for recent IPython versions | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 047404e93914b..521319c55a503 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -83,7 +83,7 @@ Bug Fixes
**Other**
--
+- Fixed AttributeError when printing a DataFrame's HTML repr after accessing... | I've verified this manually with qtconsole 4.4.0, but if others want to check that'd be helpful.

What release should this be done in? 0.24.1, 0.24.2 or 0.25.0?
Closes htt... | https://api.github.com/repos/pandas-dev/pandas/pulls/25039 | 2019-01-30T20:23:35Z | 2019-01-31T16:02:38Z | 2019-01-31T16:02:37Z | 2019-01-31T16:02:38Z |
DOC: fix error in documentation #24981 | diff --git a/doc/source/user_guide/groupby.rst b/doc/source/user_guide/groupby.rst
index 953f40d1afebe..2c2e5c5425216 100644
--- a/doc/source/user_guide/groupby.rst
+++ b/doc/source/user_guide/groupby.rst
@@ -15,7 +15,7 @@ steps:
Out of these, the split step is the most straightforward. In fact, in many
situations ... | Added "do" in the last sentence of the second paragraph.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/25038 | 2019-01-30T20:06:46Z | 2019-01-30T21:56:44Z | 2019-01-30T21:56:44Z | 2019-01-30T21:56:47Z |
DOC: Example from docstring was proposing wrong interpolation order | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index a351233a77465..cff685c2ad7cb 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -6601,7 +6601,7 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None,
'barycentric', 'polynomial': Passed to
... | Currently doctring explaining interpolation proposes using polynomial interpolation with order equal to 4. Unfortunately, scipy does not allow that value to be used, throwing an ValueError from here: https://github.com/scipy/scipy/blob/5875fd397eb4e6adcfa0c65f7b9006424c066cb0/scipy/interpolate/_bsplines.py#L583
Lookin... | https://api.github.com/repos/pandas-dev/pandas/pulls/25035 | 2019-01-30T17:55:28Z | 2019-01-31T12:25:55Z | 2019-01-31T12:25:55Z | 2019-01-31T12:25:57Z |
BUG: Fixed merging on tz-aware | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 57fdff041db28..047404e93914b 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -23,6 +23,7 @@ Fixed Regressions
- Bug in :meth:`DataFrame.itertuples` with ``records`` orient raising an ``AttributeEr... | Closes https://github.com/pandas-dev/pandas/issues/25014
| https://api.github.com/repos/pandas-dev/pandas/pulls/25033 | 2019-01-30T16:05:41Z | 2019-01-30T21:17:31Z | 2019-01-30T21:17:31Z | 2019-01-30T21:17:35Z |
(Closes #25029) Removed extra bracket from cheatsheet code example. | diff --git a/doc/cheatsheet/Pandas_Cheat_Sheet.pdf b/doc/cheatsheet/Pandas_Cheat_Sheet.pdf
index 696ed288cf7a6..d50896dc5ccc5 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... | Closes #25029
There was an additional bracket present under the "Create DataFrame with a MultiIndex" code example.
I removed this in both the English and Japanese versions of the cheatsheet. | https://api.github.com/repos/pandas-dev/pandas/pulls/25032 | 2019-01-30T15:58:02Z | 2019-02-09T17:26:39Z | 2019-02-09T17:26:39Z | 2019-02-09T17:26:42Z |
ENH: Support index=True for io.sql.get_schema | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 222963a7ff71a..0923b05d41479 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -31,7 +31,6 @@ Fixed Regressions
Enhancements
^^^^^^^^^^^^
-
.. _whatsnew_0241.bug_fixes:
Bug Fixes
diff --git a... | Closes pandas-dev/pandas#9084
- Decided to keep the default as `index=False` to keep the API consistent. `to_sql` has `index=True`.
- Tempted to name the parameter `include_dataframe_index` as "index" has
a different meaning in a SQL context.
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
... | https://api.github.com/repos/pandas-dev/pandas/pulls/25030 | 2019-01-30T15:46:49Z | 2019-05-03T05:37:19Z | null | 2019-05-03T05:37:20Z |
CLN: typo fixups | diff --git a/pandas/_libs/interval.pyx b/pandas/_libs/interval.pyx
index 3147f36dcc835..eb511b1adb28a 100644
--- a/pandas/_libs/interval.pyx
+++ b/pandas/_libs/interval.pyx
@@ -18,7 +18,6 @@ cnp.import_array()
cimport pandas._libs.util as util
-util.import_array()
from pandas._libs.hashtable cimport Int64Vector... | Also edit DatetimeLikeBlockMixin.get_values to be much simpler. | https://api.github.com/repos/pandas-dev/pandas/pulls/25028 | 2019-01-30T14:57:35Z | 2019-01-31T12:27:49Z | 2019-01-31T12:27:49Z | 2020-04-05T17:36:54Z |
DOC: 0.24.1 whatsnew | diff --git a/doc/source/index.rst.template b/doc/source/index.rst.template
index 51487c0d325b5..df2a29a76f3c5 100644
--- a/doc/source/index.rst.template
+++ b/doc/source/index.rst.template
@@ -39,7 +39,7 @@ See the :ref:`overview` for more detail about what's in the library.
{% endif %}
{% if not single_doc -%}... | This PR has the documentation changes that are just for 0.24.x. I'll have another PR later with changes to 0.24.1.rst that should go to master first, before being backported. | https://api.github.com/repos/pandas-dev/pandas/pulls/25027 | 2019-01-30T14:52:06Z | 2019-02-01T20:09:00Z | 2019-02-01T20:09:00Z | 2019-02-01T20:09:03Z |
DOC: Start 0.24.2.rst | diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst
new file mode 100644
index 0000000000000..cba21ce7ee1e6
--- /dev/null
+++ b/doc/source/whatsnew/v0.24.2.rst
@@ -0,0 +1,99 @@
+:orphan:
+
+.. _whatsnew_0242:
+
+Whats New in 0.24.2 (February XX, 2019)
+---------------------------------------
... | [ci skip]
| https://api.github.com/repos/pandas-dev/pandas/pulls/25026 | 2019-01-30T14:18:55Z | 2019-02-01T12:27:16Z | 2019-02-01T12:27:16Z | 2019-02-01T12:27:16Z |
Backport PR #24961 on branch 0.24.x (fix+test to_timedelta('NaT', box=False)) | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 8f4c3982c745f..82885f851e86b 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -65,7 +65,7 @@ Bug Fixes
-
**Timedelta**
-
+- Bug in :func:`to_timedelta` with `box=False` incorrectly returning a `... | Backport PR #24961: fix+test to_timedelta('NaT', box=False) | https://api.github.com/repos/pandas-dev/pandas/pulls/25025 | 2019-01-30T12:43:22Z | 2019-01-30T13:18:39Z | 2019-01-30T13:18:39Z | 2019-01-30T13:20:24Z |
REGR: fix read_sql delegation for queries on MySQL/pymysql | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 828c35c10e958..defb84f438e3a 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -22,6 +22,7 @@ Fixed Regressions
- Bug in :meth:`DataFrame.itertuples` with ``records`` orient raising an ``Attribute... | Closes #24988, see discussion there regarding lack of test. | https://api.github.com/repos/pandas-dev/pandas/pulls/25024 | 2019-01-30T09:49:43Z | 2019-01-31T21:24:58Z | 2019-01-31T21:24:57Z | 2019-01-31T21:24:58Z |
BUG: to_datetime(strs, utc=True) used previous UTC offset | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 867007b2ba7f5..24e3b42859416 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -103,7 +103,7 @@ Timedelta
Timezones
^^^^^^^^^
--
+- Bug in :func:`to_datetime` with ``utc=True`` and datetime strin... | - [x] closes #24992
- [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/25020 | 2019-01-30T07:04:27Z | 2019-01-31T12:29:33Z | 2019-01-31T12:29:32Z | 2019-01-31T15:59:28Z |
CLN: do not use .repeat asv setting for storing benchmark data | diff --git a/asv_bench/benchmarks/strings.py b/asv_bench/benchmarks/strings.py
index e9f2727f64e15..b5b2c955f0133 100644
--- a/asv_bench/benchmarks/strings.py
+++ b/asv_bench/benchmarks/strings.py
@@ -102,10 +102,10 @@ def setup(self, repeats):
N = 10**5
self.s = Series(tm.makeStringIndex(N))
... | `asv` uses `.repeat` to specify the number of times a benchmark should be repeated; our `strings.Replace` benchmark inadvertently uses this to store benchmark data. This doesn't cause issues until after the first parameter:
```
[ 99.87%] ··· strings.Repeat.time_repeat ... | https://api.github.com/repos/pandas-dev/pandas/pulls/25015 | 2019-01-29T23:21:55Z | 2019-01-30T05:48:52Z | 2019-01-30T05:48:52Z | 2019-01-30T05:48:59Z |
Backport PR #24967 on branch 0.24.x (REGR: Preserve order by default in Index.difference) | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 8f4c3982c745f..828c35c10e958 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -22,6 +22,7 @@ Fixed Regressions
- Bug in :meth:`DataFrame.itertuples` with ``records`` orient raising an ``Attribute... | Backport PR #24967: REGR: Preserve order by default in Index.difference | https://api.github.com/repos/pandas-dev/pandas/pulls/25013 | 2019-01-29T21:43:34Z | 2019-01-30T12:50:04Z | 2019-01-30T12:50:04Z | 2019-01-30T12:50:04Z |
BUG-24212 fix when other_index has incompatible dtype | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index b2a379d9fe6f5..bb7fdf97c9383 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -399,7 +399,7 @@ Reshaping
^^^^^^^^^
- Bug in :func:`pandas.merge` adds a string of ``None``, if ``None`` is assigne... | - [X] closes #25001
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Followup to #24916, addresses the case when the other index has an incompatible dtype, so we cannot take directly from it. Currently, this PR ~naively replaces the missing index... | https://api.github.com/repos/pandas-dev/pandas/pulls/25009 | 2019-01-29T19:32:15Z | 2019-05-05T21:21:55Z | 2019-05-05T21:21:55Z | 2019-05-05T21:22:00Z |
require Return section only if return is not None nor commentary | diff --git a/scripts/tests/test_validate_docstrings.py b/scripts/tests/test_validate_docstrings.py
index bb58449843096..6f78b91653a3f 100644
--- a/scripts/tests/test_validate_docstrings.py
+++ b/scripts/tests/test_validate_docstrings.py
@@ -229,6 +229,27 @@ def good_imports(self):
"""
pass
+ def ... | - [ ] closes #23488
Updated return lookup at source in validate_docstrings.py:
- ignore "return None"
- ignore empty return
- ignore the word "return" on commentaries
Updated test_validate_docstrings.py:
- added a test which contains the "returns" listed above and has a valid docstring with no Return section | https://api.github.com/repos/pandas-dev/pandas/pulls/25008 | 2019-01-29T18:23:09Z | 2019-03-11T12:02:05Z | 2019-03-11T12:02:04Z | 2019-03-11T12:02:05Z |
API: Change default for Index.union sort | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 047404e93914b..948350df140eb 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -15,10 +15,84 @@ Whats New in 0.24.1 (February XX, 2019)
These are the changes in pandas 0.24.1. See :ref:`release` for... | Closes https://github.com/pandas-dev/pandas/issues/24959
Haven't done MultiIndex yet, just opening for discussion on *if* we should do this for 0.24.1. | https://api.github.com/repos/pandas-dev/pandas/pulls/25007 | 2019-01-29T18:02:12Z | 2019-02-04T22:12:40Z | null | 2019-02-04T22:12:43Z |
Backport PR #24973: fix for BUG: grouping with tz-aware: Values falls… | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 7647e199030d2..8f4c3982c745f 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -70,6 +70,9 @@ Bug Fixes
-
-
+**Reshaping**
+
+- Bug in :meth:`DataFrame.groupby` with :class:`Grouper` when there i... | … after last bin
| https://api.github.com/repos/pandas-dev/pandas/pulls/25005 | 2019-01-29T16:12:28Z | 2019-01-29T16:46:52Z | 2019-01-29T16:46:52Z | 2019-01-29T16:46:56Z |
TST: Split out test_pytables.py to sub-module of tests | diff --git a/pandas/tests/io/pytables/__init__.py b/pandas/tests/io/pytables/__init__.py
new file mode 100644
index 0000000000000..e69de29bb2d1d
diff --git a/pandas/tests/io/pytables/base.py b/pandas/tests/io/pytables/base.py
new file mode 100644
index 0000000000000..0df4d2d1f5740
--- /dev/null
+++ b/pandas/tests/io/py... | Fixes pandas-dev/pandas#18498
Split test_pytables.py into:
- pytables/base.py
- pytables/test_complex_values.py
- pytables/test_pytables.py
- pytables/test_timezones.py | https://api.github.com/repos/pandas-dev/pandas/pulls/25004 | 2019-01-29T14:44:00Z | 2019-03-20T02:08:50Z | null | 2019-03-20T02:08:50Z |
Split out test_pytables.py to sub-module of tests | diff --git a/pandas/tests/io/pytables/__init__.py b/pandas/tests/io/pytables/__init__.py
new file mode 100644
index 0000000000000..e69de29bb2d1d
diff --git a/pandas/tests/io/pytables/base.py b/pandas/tests/io/pytables/base.py
new file mode 100644
index 0000000000000..0df4d2d1f5740
--- /dev/null
+++ b/pandas/tests/io/py... | Fixes pandas-dev/pandas#18498
Split test_pytables.py into:
- pytables/base.py
- pytables/test_complex_values.py
- pytables/test_pytables.py
- pytables/test_timezones.py
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/25003 | 2019-01-29T14:39:46Z | 2019-01-29T14:40:11Z | null | 2019-01-29T14:40:11Z |
BUG: Fix broken links | diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 21df1a3aacd59..faff68b636109 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -8,16 +8,16 @@ Our main contributing guide can be found [in this repo](https://github.com/panda
If you are looking to contribute to the *pandas* code... | The previous location of contributing.rst file was
/doc/source/contributing.rst but has been moved to
/doc/source/development/contributing.rst | https://api.github.com/repos/pandas-dev/pandas/pulls/25002 | 2019-01-29T14:09:04Z | 2019-01-29T15:09:38Z | 2019-01-29T15:09:38Z | 2019-01-29T15:11:19Z |
BUG: on .to_string(index=False) | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 76ee21b4c9a50..0203392d9fc5a 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -647,6 +647,7 @@ I/O
- Bug in :func:`DataFrame.to_html()` where values were truncated using display options instead o... | - [ ] closes #24980
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/25000 | 2019-01-29T13:37:31Z | 2019-07-15T01:08:55Z | null | 2019-07-15T01:08:55Z |
DOC: move whatsnew note of #24916 | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 78eba1fe5d025..85a2ba5bb03b6 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -72,7 +72,8 @@ Bug Fixes
**Reshaping**
-- Bug in :func:`merge` when merging by index name would sometimes result in... | See https://github.com/pandas-dev/pandas/pull/24951#issuecomment-458146101 | https://api.github.com/repos/pandas-dev/pandas/pulls/24999 | 2019-01-29T13:24:40Z | 2019-01-29T13:24:53Z | 2019-01-29T13:24:53Z | 2019-01-29T13:27:04Z |
DOC: move whatsnew | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 78eba1fe5d025..08d184f9df416 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -70,10 +70,6 @@ Bug Fixes
-
-
-**Reshaping**
-
-- Bug in :func:`merge` when merging by index name would sometimes re... | https://github.com/pandas-dev/pandas/pull/24951#issuecomment-458532222 | https://api.github.com/repos/pandas-dev/pandas/pulls/24998 | 2019-01-29T13:22:36Z | 2019-01-29T13:26:05Z | null | 2019-01-29T14:38:23Z |
Backport PR #24964 on branch 0.24.x (DEPR: Fixed warning for implicit registration) | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 16044fb00d4f5..7647e199030d2 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -71,6 +71,11 @@ Bug Fixes
-
+**Visualization**
+
+- Fixed the warning for implicitly registered matplotlib converte... | Backport PR #24964: DEPR: Fixed warning for implicit registration | https://api.github.com/repos/pandas-dev/pandas/pulls/24997 | 2019-01-29T12:23:51Z | 2019-01-29T13:26:30Z | 2019-01-29T13:26:30Z | 2019-01-29T13:26:30Z |
Backport PR #24989 on branch 0.24.x (DOC: Document breaking change to read_csv) | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 58e1b2370c7c8..b23a0f10e9e2b 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -989,6 +989,36 @@ a single date rather than the entire array.
os.remove('tmp.csv')
+
+.. _io.csv.mixed_timezones:
+
+Parsing... | Backport PR #24989: DOC: Document breaking change to read_csv | https://api.github.com/repos/pandas-dev/pandas/pulls/24996 | 2019-01-29T12:23:41Z | 2019-01-29T13:26:17Z | 2019-01-29T13:26:17Z | 2019-01-29T13:26:17Z |
STY: use pytest.raises context manager (indexes/datetimes) | diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py
index d7a8417a71be2..f9aef2401a4d3 100644
--- a/pandas/core/arrays/datetimes.py
+++ b/pandas/core/arrays/datetimes.py
@@ -2058,7 +2058,7 @@ def validate_tz_from_dtype(dtype, tz):
# tz-naive dtype (i.e. datetime64[ns])
... | xref #24332
| https://api.github.com/repos/pandas-dev/pandas/pulls/24995 | 2019-01-29T10:57:30Z | 2019-01-29T12:37:43Z | 2019-01-29T12:37:43Z | 2019-01-29T12:45:29Z |
Test nested PandasArray | diff --git a/pandas/core/arrays/numpy_.py b/pandas/core/arrays/numpy_.py
index 47517782e2bbf..791ff44303e96 100644
--- a/pandas/core/arrays/numpy_.py
+++ b/pandas/core/arrays/numpy_.py
@@ -222,7 +222,7 @@ def __getitem__(self, item):
item = item._ndarray
result = self._ndarray[item]
- if ... | May be easiest to view the commits individually.
https://github.com/pandas-dev/pandas/commit/38e7413f3f650230eca75ab50580630838930c34
has the commit fixing the actual issue in #24986. That one was easy.
https://github.com/pandas-dev/pandas/commit/558cdbec47c9d9e7862a3d3c688fcf51260d367d is just moving the numpy... | https://api.github.com/repos/pandas-dev/pandas/pulls/24993 | 2019-01-29T03:49:49Z | 2019-01-30T21:18:20Z | 2019-01-30T21:18:20Z | 2019-01-30T21:18:24Z |
DOC: Document breaking change to read_csv | diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst
index 58e1b2370c7c8..b23a0f10e9e2b 100644
--- a/doc/source/user_guide/io.rst
+++ b/doc/source/user_guide/io.rst
@@ -989,6 +989,36 @@ a single date rather than the entire array.
os.remove('tmp.csv')
+
+.. _io.csv.mixed_timezones:
+
+Parsing... | Closes https://github.com/pandas-dev/pandas/issues/24987 | https://api.github.com/repos/pandas-dev/pandas/pulls/24989 | 2019-01-28T23:47:59Z | 2019-01-29T12:22:40Z | 2019-01-29T12:22:40Z | 2019-01-29T12:22:46Z |
PERF: ~40x speedup in sparse init and ops by using numpy in check_integrity | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index d0ddb6e09d555..a9fa8b2174dd0 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -23,6 +23,13 @@ Other Enhancements
-
-
+.. _whatsnew_0250.performance:
+
+Performance Improvements
+~~~~~~~~~~~~~~~~... | A pretty significant regression was introduced into `SparseArray` operations around the release of v0.20.0:

A run of `asv find` identified https://github.com/pandas-dev/pandas/... | https://api.github.com/repos/pandas-dev/pandas/pulls/24985 | 2019-01-28T18:21:29Z | 2019-01-30T13:01:42Z | 2019-01-30T13:01:42Z | 2019-01-30T13:01:46Z |
API/ERR: allow iterators in df.set_index & improve errors | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 83ca93bdfa703..4ea5d935a6920 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -22,6 +22,7 @@ Other Enhancements
- Indexing of ``DataFrame`` and ``Series`` now accepts zerodim ``np.ndarray`` (:issue... | - [x] closes the parts of #22484 (resp. those worth keeping) that were reverted in #25085 due to #24969 ~closes #24969~
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
This is a quick fix for the regression - however, I think this should be immediately (i.e. 0.24.1) ... | https://api.github.com/repos/pandas-dev/pandas/pulls/24984 | 2019-01-28T17:52:56Z | 2019-02-24T03:34:20Z | 2019-02-24T03:34:19Z | 2019-02-24T10:09:38Z |
Backport PR #24965 on branch 0.24.x (Fixed itertuples usage in to_dict) | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index ee4b7ab62b31a..16044fb00d4f5 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -15,6 +15,13 @@ Whats New in 0.24.1 (February XX, 2019)
These are the changes in pandas 0.24.1. See :ref:`release` for ... | Backport PR #24965: Fixed itertuples usage in to_dict | https://api.github.com/repos/pandas-dev/pandas/pulls/24978 | 2019-01-28T15:32:55Z | 2019-01-28T16:17:37Z | 2019-01-28T16:17:36Z | 2019-01-28T16:17:37Z |
STY: use pytest.raises context manager (resample) | diff --git a/pandas/tests/resample/test_base.py b/pandas/tests/resample/test_base.py
index 911cd990ab881..48debfa2848e7 100644
--- a/pandas/tests/resample/test_base.py
+++ b/pandas/tests/resample/test_base.py
@@ -95,7 +95,10 @@ def test_resample_interpolate_all_ts(frame):
def test_raises_on_non_datetimelike_index():
... | xref #24332 | https://api.github.com/repos/pandas-dev/pandas/pulls/24977 | 2019-01-28T13:51:37Z | 2019-01-28T22:15:38Z | 2019-01-28T22:15:38Z | 2019-01-29T12:44:58Z |
fix for BUG: grouping with tz-aware: Values falls after last bin | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 85a2ba5bb03b6..8f4c3982c745f 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -72,8 +72,7 @@ Bug Fixes
**Reshaping**
--
--
+- Bug in :meth:`DataFrame.groupby` with :class:`Grouper` when there i... | - [ ] closes #24972
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24973 | 2019-01-28T00:59:40Z | 2019-01-29T15:54:38Z | 2019-01-29T15:54:38Z | 2019-01-29T16:47:23Z |
ENH: Expose symlog scaling in plotting API | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index ccf5c43280765..be208a434f77b 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -23,7 +23,7 @@ including other versions of pandas.
Other Enhancements
^^^^^^^^^^^^^^^^^^
-
+- :func:`DataFrame.plot`... | - [x] closes #24867
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24968 | 2019-01-27T22:20:37Z | 2019-04-12T11:54:20Z | 2019-04-12T11:54:20Z | 2019-04-12T11:54:26Z |
REGR: Preserve order by default in Index.intersection | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index de33ce64c1597..a9d13b556ce8b 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -22,6 +22,7 @@ Fixed Regressions
- Bug in :meth:`DataFrame.itertuples` with ``records`` orient raising an ``Attribute... | Closes https://github.com/pandas-dev/pandas/issues/24959 | https://api.github.com/repos/pandas-dev/pandas/pulls/24967 | 2019-01-27T22:16:04Z | 2019-01-29T21:43:08Z | 2019-01-29T21:43:08Z | 2019-01-31T14:34:42Z |
Fixed itertuples usage in to_dict | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 3ac2ed73ea53f..de33ce64c1597 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -15,6 +15,13 @@ Whats New in 0.24.1 (February XX, 2019)
These are the changes in pandas 0.24.1. See :ref:`release` for ... | Closes https://github.com/pandas-dev/pandas/issues/24940
Closes https://github.com/pandas-dev/pandas/issues/24939
| https://api.github.com/repos/pandas-dev/pandas/pulls/24965 | 2019-01-27T21:53:37Z | 2019-01-28T15:31:56Z | 2019-01-28T15:31:55Z | 2019-01-28T15:32:01Z |
DEPR: Fixed warning for implicit registration | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index de33ce64c1597..78eba1fe5d025 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -74,6 +74,11 @@ Bug Fixes
- Bug in :func:`merge` when merging by index name would sometimes result in an incorrectly ... | Reminder: We want people to explicitly call `pandas.plotting.register_matplotlib_converters()` when using a matplotlib plotting method with a pandas object. We implicitly call it as part of Series/Frame.plot.
```python
In [1]: import pandas as pd
In [2]: import matplotlib.pyplot as plt
In [3]: fig, ax = plt.sub... | https://api.github.com/repos/pandas-dev/pandas/pulls/24964 | 2019-01-27T21:31:00Z | 2019-01-29T12:23:33Z | 2019-01-29T12:23:33Z | 2019-05-31T11:11:50Z |
fix+test to_timedelta('NaT', box=False) | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index 828c35c10e958..57fdff041db28 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -66,7 +66,7 @@ Bug Fixes
-
**Timedelta**
-
+- Bug in :func:`to_timedelta` with `box=False` incorrectly returning a `... | - [x] closes #24957
- [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/24961 | 2019-01-27T20:21:43Z | 2019-01-30T12:42:50Z | 2019-01-30T12:42:50Z | 2019-01-30T14:39:46Z |
STY: use pytest.raises context syntax (indexing) | diff --git a/pandas/tests/indexing/multiindex/test_loc.py b/pandas/tests/indexing/multiindex/test_loc.py
index ea451d40eb5d3..073d40001a16b 100644
--- a/pandas/tests/indexing/multiindex/test_loc.py
+++ b/pandas/tests/indexing/multiindex/test_loc.py
@@ -123,10 +123,12 @@ def test_loc_multiindex(self):
tm.assert... | xref #24332 | https://api.github.com/repos/pandas-dev/pandas/pulls/24960 | 2019-01-27T20:00:01Z | 2019-01-28T12:38:30Z | 2019-01-28T12:38:30Z | 2019-01-29T12:44:27Z |
CLN: isort asv_bench/benchmark/algorithms.py | diff --git a/asv_bench/benchmarks/algorithms.py b/asv_bench/benchmarks/algorithms.py
index 34fb161e5afcb..74849d330f2bc 100644
--- a/asv_bench/benchmarks/algorithms.py
+++ b/asv_bench/benchmarks/algorithms.py
@@ -5,7 +5,6 @@
import pandas as pd
from pandas.util import testing as tm
-
for imp in ['pandas.util', 'pa... | - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
I deleted an empty line of code and removed the file from the isort skip list. Per issue #22947, made sure setup import was at the bottom of the file before committing. Small contribution but looking forward to contributing more!
Thanks everyone... | https://api.github.com/repos/pandas-dev/pandas/pulls/24958 | 2019-01-27T00:38:37Z | 2019-01-30T05:53:18Z | 2019-01-30T05:53:18Z | 2019-01-30T05:53:25Z |
BUG: Better handle larger numbers in to_numeric | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index a9fa8b2174dd0..383c9ffee8241 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -110,6 +110,8 @@ Timezones
Numeric
^^^^^^^
+- Bug in :meth:`to_numeric` in which large negative numbers were being i... | Fun edge case bug fixes for `to_numeric`:
* Warn about lossiness when passing really large numbers that exceed `(u)int64` ranges.
* Coerce negative numbers to float when requested instead of crashing and returning `object`.
* Consistently parse numbers as integers / floats, even if we know that the resulting c... | https://api.github.com/repos/pandas-dev/pandas/pulls/24956 | 2019-01-27T00:27:45Z | 2019-01-31T12:46:46Z | 2019-01-31T12:46:45Z | 2019-01-31T17:15:05Z |
ENH: Quoting column names containing spaces with backticks to use them in query and eval. | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 73eb6a15a1b47..700a7c0e72074 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -29,6 +29,7 @@ Other Enhancements
- :meth:`DataFrame.rename` now supports the ``errors`` argument to raise errors when ... | - [x] closes #6508
- [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/24955 | 2019-01-26T22:55:13Z | 2019-03-20T12:24:18Z | 2019-03-20T12:24:17Z | 2019-03-20T12:24:22Z |
Refactor groupby helper from tempita to fused types | diff --git a/pandas/_libs/groupby.pyx b/pandas/_libs/groupby.pyx
index e6036654c71c3..950ba3f89ffb7 100644
--- a/pandas/_libs/groupby.pyx
+++ b/pandas/_libs/groupby.pyx
@@ -2,6 +2,7 @@
import cython
from cython import Py_ssize_t
+from cython cimport floating
from libc.stdlib cimport malloc, free
@@ -382,5 +383... | Refactoring groupby_helper to use fused types instead of tempita for functions such as group_add.
@jbrockmendel if this is what you meant in the previous [PR](https://github.com/pandas-dev/pandas/pull/24932#discussion_r251094683) I'll do the refactoring for the rest of the functions in groupby_helper.pxi.in. | https://api.github.com/repos/pandas-dev/pandas/pulls/24954 | 2019-01-26T19:10:46Z | 2019-02-09T18:00:16Z | 2019-02-09T18:00:16Z | 2019-02-09T18:00:16Z |
pivot_table very slow on Categorical data; how about an observed keyword argument? #24923 | diff --git a/asv_bench/benchmarks/reshape.py b/asv_bench/benchmarks/reshape.py
index bead5a5996d1a..678403d837805 100644
--- a/asv_bench/benchmarks/reshape.py
+++ b/asv_bench/benchmarks/reshape.py
@@ -127,6 +127,10 @@ def setup(self):
'value1': np.random.randn(N),
... | - [x] closes #24923
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24953 | 2019-01-26T17:56:25Z | 2019-04-26T01:16:10Z | 2019-04-26T01:16:10Z | 2019-04-26T01:16:25Z |
DOC/CLN: Fix errors in DataFrame docstrings | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index 85aa13526e77c..242f4e7b605c2 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1065,7 +1065,7 @@ def from_dict(cls, data, orient='columns', dtype=None, columns=None):
Returns
-------
- pandas.DataFrame
+ Data... | A few small edits to `DataFrame` docstrings | https://api.github.com/repos/pandas-dev/pandas/pulls/24952 | 2019-01-26T16:13:28Z | 2019-02-14T07:05:41Z | 2019-02-14T07:05:41Z | 2019-02-14T14:52:02Z |
Backport PR #24916 on branch 0.24.x (BUG-24212 fix regression in #24897) | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index ee4b7ab62b31a..3ac2ed73ea53f 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -63,6 +63,9 @@ Bug Fixes
-
-
+**Reshaping**
+
+- Bug in :func:`merge` when merging by index name would sometimes res... | Backport PR #24916: BUG-24212 fix regression in #24897 | https://api.github.com/repos/pandas-dev/pandas/pulls/24951 | 2019-01-26T14:58:41Z | 2019-01-26T17:47:00Z | 2019-01-26T17:47:00Z | 2023-05-11T01:18:39Z |
[DOC] Fix issues with DataFrame.aggregate page | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index a239ff4b4d5db..b5bfb74ee24d2 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -6172,16 +6172,7 @@ def _gotitem(self,
# TODO: _shallow_copy(subset)?
return subset[key]
- _agg_summary_and_see_also_doc = dedent("""
- Th... | Fixed some formatting issues. Description was gettign rendered in the
wrong location.
Moved a line from generic.py to frame.py to help with the rendering.
Moved the description being clubbed with see also to doc string with the
function declaration in frame.py
- closes #24668
- passes `git diff upstream/ma... | https://api.github.com/repos/pandas-dev/pandas/pulls/24948 | 2019-01-26T13:24:08Z | 2019-03-28T05:33:45Z | null | 2019-03-28T05:33:45Z |
TST/REF: Add pytest idiom to test_numeric.py | diff --git a/pandas/tests/tools/test_numeric.py b/pandas/tests/tools/test_numeric.py
index 537881f3a5e85..3822170d884aa 100644
--- a/pandas/tests/tools/test_numeric.py
+++ b/pandas/tests/tools/test_numeric.py
@@ -5,436 +5,461 @@
import pytest
import pandas as pd
-from pandas import to_numeric
+from pandas import Da... | https://api.github.com/repos/pandas-dev/pandas/pulls/24946 | 2019-01-26T10:19:11Z | 2019-01-26T15:42:23Z | 2019-01-26T15:42:23Z | 2019-01-26T21:22:34Z | |
DOC/CLN: Fix errors in Series docstrings | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 427da96c5e1c4..db8a15932106a 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -129,7 +129,7 @@ class Series(base.IndexOpsMixin, generic.NDFrame):
sequence are used, the index will override the keys found in the
dict.
... | Fixes (or starts to fix) a few errors in `Series` docstrings. On a related note, it seems `validate_docstrings.py` yields this error for a large number of docstrings:
```
The first line of the Returns section should contain only the type, unless multiple values are being returned
```
which seems to happen when... | https://api.github.com/repos/pandas-dev/pandas/pulls/24945 | 2019-01-26T02:05:09Z | 2019-02-07T04:56:55Z | 2019-02-07T04:56:55Z | 2019-02-07T13:40:24Z |
DOC: State that we support scalars in to_numeric | diff --git a/pandas/core/tools/numeric.py b/pandas/core/tools/numeric.py
index 803723dab46ff..79d8ee38637f9 100644
--- a/pandas/core/tools/numeric.py
+++ b/pandas/core/tools/numeric.py
@@ -21,7 +21,7 @@ def to_numeric(arg, errors='raise', downcast=None):
Parameters
----------
- arg : list, tuple, 1-d arr... | We [support it](https://github.com/pandas-dev/pandas/blob/0c4113f/pandas/core/tools/numeric.py#L114-L120) and [test it](https://github.com/pandas-dev/pandas/blob/0c4113f/pandas/tests/tools/test_numeric.py#L174-L185) already.
xref #24910.
| https://api.github.com/repos/pandas-dev/pandas/pulls/24944 | 2019-01-26T01:56:07Z | 2019-01-26T08:01:00Z | 2019-01-26T08:01:00Z | 2019-01-26T10:18:16Z |
Remove py27 CI jobs | diff --git a/.travis.yml b/.travis.yml
index e478d71a5c350..f8302f4718ef2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,5 @@
sudo: false
language: python
-# Default Python version is usually 2.7
python: 3.5
# To turn off cached cython files and compiler cache
@@ -36,14 +35,6 @@ matrix:
env:
... | The start of a looooooooong process to get rid of the py2 compat code.
I kept most of the CI jobs that used to be 2.7 at the lower end of the various supported versions, with 2x 2.7->3.5, 1x 2.7->3.6 and only one real upgrade from 2.7->3.7 (first CI job for 3.7 & windows).
@jreback @TomAugspurger
| https://api.github.com/repos/pandas-dev/pandas/pulls/24942 | 2019-01-26T00:24:17Z | 2019-03-17T15:09:47Z | 2019-03-17T15:09:47Z | 2019-03-25T06:51:06Z |
DOC: switch headline whatsnew to 0.25 | diff --git a/doc/source/index.rst.template b/doc/source/index.rst.template
index 51487c0d325b5..d04e9194e71dc 100644
--- a/doc/source/index.rst.template
+++ b/doc/source/index.rst.template
@@ -39,7 +39,7 @@ See the :ref:`overview` for more detail about what's in the library.
{% endif %}
{% if not single_doc -%}... | @TomAugspurger
Not sure if the warning is still desired or necessary. I'm just thinking that "explicit is better than implicit".
| https://api.github.com/repos/pandas-dev/pandas/pulls/24941 | 2019-01-25T23:55:15Z | 2019-01-26T14:53:59Z | 2019-01-26T14:53:59Z | 2019-01-27T19:13:04Z |
TST: GH#23922 Add missing match params to pytest.raises | diff --git a/pandas/tests/arithmetic/test_datetime64.py b/pandas/tests/arithmetic/test_datetime64.py
index f97a1651163e8..405dc0805a285 100644
--- a/pandas/tests/arithmetic/test_datetime64.py
+++ b/pandas/tests/arithmetic/test_datetime64.py
@@ -124,14 +124,14 @@ def test_comparison_invalid(self, box_with_array):
... | - [ ] 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/24937 | 2019-01-25T20:50:38Z | 2019-01-26T14:49:31Z | 2019-01-26T14:49:31Z | 2019-01-28T22:23:56Z |
BUG: fix str.replace('.','') should replace every character | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 76ee21b4c9a50..bac5b95741dd0 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -495,7 +495,7 @@ Other Deprecations
Use the public attributes :attr:`~RangeIndex.start`, :attr:`~RangeIndex.stop` and... | - [ ] closes #24804
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| https://api.github.com/repos/pandas-dev/pandas/pulls/24935 | 2019-01-25T18:30:44Z | 2019-06-17T23:29:58Z | null | 2019-06-17T23:29:59Z |
DOC Minor what's new fix for v0.24 | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index fc963fce37a5b..16319a3b83ca4 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -6,7 +6,8 @@ What's New in 0.24.0 (January 25, 2019)
.. warning::
The 0.24.x series of releases will be the last ... | I think there is a word missing in the first sentence of the 0.24 what's new. Maybe it's just me but I was expecting some word after "See :ref:`install.dropping-27` for more.".
cc @TomAugspurger | https://api.github.com/repos/pandas-dev/pandas/pulls/24933 | 2019-01-25T16:49:26Z | 2019-01-26T08:01:55Z | 2019-01-26T08:01:55Z | 2019-01-26T14:59:04Z |
CLN: Refactor cython to use memory views | diff --git a/pandas/_libs/algos.pyx b/pandas/_libs/algos.pyx
index b3c519ab99b6e..663411ad984c2 100644
--- a/pandas/_libs/algos.pyx
+++ b/pandas/_libs/algos.pyx
@@ -76,7 +76,7 @@ class NegInfinity(object):
@cython.wraparound(False)
@cython.boundscheck(False)
-cpdef ndarray[int64_t, ndim=1] unique_deltas(ndarray[int... | Refactored cython files (.pxi.in, .pyx):
1. Made cdef usage consistent (using a cdef block instead of multiple cdef modifier when possible)
2. Replaced type hints with cython type declaration in function signatures
3. Replaced ndarray with memory view in function signatures
4. Added the const modifier to memory v... | https://api.github.com/repos/pandas-dev/pandas/pulls/24932 | 2019-01-25T15:28:27Z | 2019-01-26T17:48:41Z | 2019-01-26T17:48:41Z | 2019-01-26T17:48:45Z |
DOC: 0.24 release date | diff --git a/.gitignore b/.gitignore
index 9891883879cf1..816aff376fc83 100644
--- a/.gitignore
+++ b/.gitignore
@@ -101,6 +101,7 @@ asv_bench/pandas/
# Documentation generated files #
#################################
doc/source/generated
+doc/source/user_guide/styled.xlsx
doc/source/reference/api
doc/source/_sta... | Also some gitignore cleanup. | https://api.github.com/repos/pandas-dev/pandas/pulls/24930 | 2019-01-25T14:02:03Z | 2019-01-25T14:23:07Z | 2019-01-25T14:23:07Z | 2019-01-25T14:55:16Z |
DOC: Adding version to the whatsnew section in the home page | diff --git a/doc/source/index.rst.template b/doc/source/index.rst.template
index 55b95868c01dd..51487c0d325b5 100644
--- a/doc/source/index.rst.template
+++ b/doc/source/index.rst.template
@@ -39,7 +39,7 @@ See the :ref:`overview` for more detail about what's in the library.
{% endif %}
{% if not single_doc -%}... | @TomAugspurger @jorisvandenbossche
Not so important, but looking at the home, feels quite weird to have the "What's New" section first thing in the toctree, without specifying what's new of in which version.
May be it's just me, feel free to dismiss this, but wanted to open as it's a trivial change, and IMO make... | https://api.github.com/repos/pandas-dev/pandas/pulls/24929 | 2019-01-25T13:46:33Z | 2019-01-25T14:54:37Z | 2019-01-25T14:54:37Z | 2019-01-25T15:24:19Z |
DOC: Making home page links more compact and clearer | diff --git a/doc/source/index.rst.template b/doc/source/index.rst.template
index ab51911a610e3..93d74ece3115c 100644
--- a/doc/source/index.rst.template
+++ b/doc/source/index.rst.template
@@ -1,26 +1,21 @@
.. pandas documentation master file, created by
+.. module:: pandas
+
***************************************... | @TomAugspurger @jorisvandenbossche
Sharing in a minute a link so you can see this changes rendered.
| https://api.github.com/repos/pandas-dev/pandas/pulls/24928 | 2019-01-25T13:10:10Z | 2019-01-25T13:19:33Z | 2019-01-25T13:19:33Z | 2019-01-25T19:07:59Z |
API: Remove IntervalArray from top-level | diff --git a/doc/source/reference/arrays.rst b/doc/source/reference/arrays.rst
index 7281f4f748d6f..1dc74ad83b7e6 100644
--- a/doc/source/reference/arrays.rst
+++ b/doc/source/reference/arrays.rst
@@ -288,12 +288,12 @@ Properties
Interval.overlaps
Interval.right
-A collection of intervals may be stored in an ... | cc @jschendel @jreback @jorisvandenbossche
Originally, we put IntervalArray in the top-level since it has the special alternative constructors. But it's a bit inconsistent with all our new arrays, so this is a proposal to remove it from the top-level and just have it in `pandas.arrays`. I don't think the extra typi... | https://api.github.com/repos/pandas-dev/pandas/pulls/24926 | 2019-01-25T12:24:15Z | 2019-01-25T14:55:50Z | 2019-01-25T14:55:50Z | 2019-01-25T14:57:05Z |
ENH: indexing and __getitem__ of dataframe and series accept zerodim integer np.array as int | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index 686c5ad0165e7..658521803824b 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -19,6 +19,7 @@ including other versions of pandas.
Other Enhancements
^^^^^^^^^^^^^^^^^^
+- Indexing of ``DataFrame`... | - [ ] closes #24919
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
- Now the `df.iloc`, `df.loc`, `df.__getitem__` accepts zero dim integer numpy array, as follows:
```python
df.iloc[np.array(0)]
df.loc[np.array(0)]
df[np.array(0)]
```
... | https://api.github.com/repos/pandas-dev/pandas/pulls/24924 | 2019-01-25T06:03:36Z | 2019-02-20T10:28:44Z | 2019-02-20T10:28:44Z | 2019-02-20T10:28:50Z |
Add tests for NaT when performing dt.to_period | diff --git a/pandas/tests/series/test_period.py b/pandas/tests/series/test_period.py
index 0a86bb0b67797..7e0feb418e8df 100644
--- a/pandas/tests/series/test_period.py
+++ b/pandas/tests/series/test_period.py
@@ -164,3 +164,12 @@ def test_end_time_timevalues(self, input_vals):
result = s.dt.end_time
e... |
@mroeschke Here is a test that tests the functionality discussed in the issue. Please let me know if it needs to be done differently and if more tests should be added.
- [x] closes #21205
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| https://api.github.com/repos/pandas-dev/pandas/pulls/24921 | 2019-01-25T04:28:37Z | 2019-01-26T14:50:50Z | 2019-01-26T14:50:50Z | 2019-01-26T14:50:54Z |
BUG-24915 fix unhashble Series.name in df aggregation | diff --git a/pandas/core/base.py b/pandas/core/base.py
index c02ba88ea7fda..f306c9d9c3744 100644
--- a/pandas/core/base.py
+++ b/pandas/core/base.py
@@ -16,8 +16,8 @@
from pandas.core.dtypes.common import (
is_datetime64_ns_dtype, is_datetime64tz_dtype, is_datetimelike,
- is_extension_array_dtype, is_extensi... | - [x] closes #24915
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Before creating a pd.Series and pass {name} as argument, check if {name} is hashable. If not use default None. | https://api.github.com/repos/pandas-dev/pandas/pulls/24920 | 2019-01-25T03:44:19Z | 2019-02-28T00:34:12Z | null | 2019-02-28T00:34:13Z |
CLN: fix typo in asv benchmark of non_unique_sorted, which was not sorted | diff --git a/asv_bench/benchmarks/index_object.py b/asv_bench/benchmarks/index_object.py
index f76040921393f..bbe164d4858ab 100644
--- a/asv_bench/benchmarks/index_object.py
+++ b/asv_bench/benchmarks/index_object.py
@@ -138,7 +138,8 @@ def setup(self, dtype):
self.sorted = self.idx.sort_values()
half... | Our benchmark for sorted, non-unique indexes is not sorted. This PR sorts the test data, leading to significantly different benchmark results. Before:
```
[ 0.01%] ··· index_object.Indexing.time_get_loc_non_unique_sorted
... | https://api.github.com/repos/pandas-dev/pandas/pulls/24917 | 2019-01-24T23:18:46Z | 2019-01-25T02:26:45Z | 2019-01-25T02:26:45Z | 2019-01-25T02:50:37Z |
BUG-24212 fix regression in #24897 | diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst
index ee4b7ab62b31a..3ac2ed73ea53f 100644
--- a/doc/source/whatsnew/v0.24.1.rst
+++ b/doc/source/whatsnew/v0.24.1.rst
@@ -63,6 +63,9 @@ Bug Fixes
-
-
+**Reshaping**
+
+- Bug in :func:`merge` when merging by index name would sometimes res... | - [ ] closes #24897
- [x] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Use an extra take to ensure the `other_index` is arranged correctly for replacing values (in the original issue, the `other_index` would've taken from [0, 1, 2, 3] and be left u... | https://api.github.com/repos/pandas-dev/pandas/pulls/24916 | 2019-01-24T21:28:14Z | 2019-01-26T14:58:08Z | 2019-01-26T14:58:08Z | 2019-01-30T16:58:45Z |
TST/REF: collect DataFrame reduction tests | diff --git a/pandas/tests/frame/test_analytics.py b/pandas/tests/frame/test_analytics.py
index 386e5f57617cf..2d3431965bbf6 100644
--- a/pandas/tests/frame/test_analytics.py
+++ b/pandas/tests/frame/test_analytics.py
@@ -231,9 +231,9 @@ def assert_bool_op_api(opname, bool_frame_with_na, float_string_frame,
get... | NB: this retains all extant fixture usage.
Collect tests by method being tested. Collect all calls to assert_stat_op_api in one test (one test which can be usefully parametrized/fixturized in a follow-up), removing a ton of noise from other test function signatures. As a result, it becomes much easier to see place... | https://api.github.com/repos/pandas-dev/pandas/pulls/24914 | 2019-01-24T19:32:23Z | 2019-02-04T13:35:36Z | 2019-02-04T13:35:36Z | 2019-02-04T16:11:41Z |
CLN: reduce overhead in setup for categoricals benchmarks in asv | diff --git a/asv_bench/benchmarks/categoricals.py b/asv_bench/benchmarks/categoricals.py
index e5dab0cb066aa..4b5b2848f7e0f 100644
--- a/asv_bench/benchmarks/categoricals.py
+++ b/asv_bench/benchmarks/categoricals.py
@@ -223,12 +223,19 @@ class CategoricalSlicing(object):
def setup(self, index):
N = 10*... | The setup functions for the `categoricals.CategoricalSlicing` suite have ~40s of overhead that can be eliminated by two approaches:
- Use `pd.CategoricalIndex.from_codes()` instead of `pd.CategoricalIndex()`
- ~30s of the speedup comes from this
- Replace the dict of all cases with an `if`/`else` block to minimi... | https://api.github.com/repos/pandas-dev/pandas/pulls/24913 | 2019-01-24T19:29:45Z | 2019-01-26T15:08:51Z | 2019-01-26T15:08:51Z | 2019-01-26T15:08:55Z |
API/VIS: remove misc plotting methods from plot accessor (revert #23811) | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 3b3fad22ce949..e7c9a4752db06 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -429,7 +429,6 @@ Other Enhancements
- :meth:`MultiIndex.to_flat_index` has been added to flatten multiple levels into a... | To be clear: I am opening this for discussion, but directly as a PR instead of an issue so it is easier to merge it in case we agree.
https://github.com/pandas-dev/pandas/pull/23811 added the misc plotting methods (like 'andrew_curves', 'parallel_coordinates', .. see http://pandas.pydata.org/pandas-docs/stable/visua... | https://api.github.com/repos/pandas-dev/pandas/pulls/24912 | 2019-01-24T19:05:41Z | 2019-01-25T07:10:40Z | 2019-01-25T07:10:40Z | 2019-01-25T07:20:35Z |
DOC: some 0.24.0 whatsnew clean-up | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 9198c610f0f44..b0d3fead40ef0 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -10,27 +10,34 @@ What's New in 0.24.0 (January XX, 2019)
{{ header }}
-These are the changes in pandas 0.24.0. See ... | Did some proofreading on the train
cc @TomAugspurger | https://api.github.com/repos/pandas-dev/pandas/pulls/24911 | 2019-01-24T18:16:39Z | 2019-01-25T08:45:36Z | 2019-01-25T08:45:36Z | 2019-01-25T08:45:40Z |
DOC: Adding redirects to API moved pages | diff --git a/.gitignore b/.gitignore
index 4598714db6c6a..9891883879cf1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -101,7 +101,7 @@ asv_bench/pandas/
# Documentation generated files #
#################################
doc/source/generated
-doc/source/api/generated
+doc/source/reference/api
doc/source/_static
doc/... | - [X] closes #24451
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry | https://api.github.com/repos/pandas-dev/pandas/pulls/24909 | 2019-01-24T17:36:39Z | 2019-01-25T13:07:04Z | 2019-01-25T13:07:04Z | 2019-01-25T13:17:40Z |
Disable M8 in nanops | diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py
index cafd3a9915fa0..86c3c380636c9 100644
--- a/pandas/core/nanops.py
+++ b/pandas/core/nanops.py
@@ -14,7 +14,8 @@
_get_dtype, is_any_int_dtype, is_bool_dtype, is_complex, is_complex_dtype,
is_datetime64_dtype, is_datetime64tz_dtype, is_datetime_or_t... | Closes https://github.com/pandas-dev/pandas/issues/24752
xref https://github.com/pandas-dev/pandas/commit/fe696e453b9236b226a0656028be43b4706ce1a1#diff-12444145caa7d0c14da51377a05e46d6 | https://api.github.com/repos/pandas-dev/pandas/pulls/24907 | 2019-01-24T15:48:13Z | 2019-01-24T19:01:24Z | 2019-01-24T19:01:23Z | 2019-01-24T19:16:08Z |
DOC: also redirect old whatsnew url | diff --git a/doc/redirects.csv b/doc/redirects.csv
index 4f4b3d7fc0780..e0de03745aaa8 100644
--- a/doc/redirects.csv
+++ b/doc/redirects.csv
@@ -1,6 +1,10 @@
# This file should contain all the redirects in the documentation
# in the format `<old_path>,<new_path>`
+# whatsnew
+whatsnew,whatsnew/index
+release,whatsn... | The whatsnew was already splitted longer time ago, but I think we can also add a redirect for the main release page. | https://api.github.com/repos/pandas-dev/pandas/pulls/24906 | 2019-01-24T14:31:38Z | 2019-01-24T15:26:06Z | 2019-01-24T15:26:06Z | 2019-01-24T15:29:23Z |
BUG (output formatting): use fixed with for truncation column instead of inferring from last column | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 3dd345890881c..78bc4cf751c4f 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -1752,6 +1752,7 @@ I/O
- Bug in :meth:`DataFrame.to_stata` and :class:`pandas.io.stata.StataWriter117` that produced in... | Fixes https://github.com/pandas-dev/pandas/issues/24849
We were using the last column to infer the width of the truncation column (= the column with all the `...` if not all columns are shown). This gives wrong results in case the last column is very wide, and since the content of this columns is always fixed to `..... | https://api.github.com/repos/pandas-dev/pandas/pulls/24905 | 2019-01-24T14:22:18Z | 2019-01-24T15:25:30Z | 2019-01-24T15:25:30Z | 2019-01-24T15:25:35Z |
Revert BUG-24212 fix usage of Index.take in pd.merge | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 9198c610f0f44..4f297d376ec57 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -1826,7 +1826,6 @@ Reshaping
- Bug in :func:`DataFrame.unstack` where a ``ValueError`` was raised when unstacking timez... | xref https://github.com/pandas-dev/pandas/pull/24733/
closes https://github.com/pandas-dev/pandas/issues/24897
reopens https://github.com/pandas-dev/pandas/issues/24212
| https://api.github.com/repos/pandas-dev/pandas/pulls/24904 | 2019-01-24T14:14:05Z | 2019-01-24T16:45:07Z | 2019-01-24T16:45:06Z | 2019-01-25T12:02:29Z |
DOC: No clean in sphinx_build | diff --git a/doc/make.py b/doc/make.py
index eb4a33a569c5a..bc458d6b53cb0 100755
--- a/doc/make.py
+++ b/doc/make.py
@@ -121,8 +121,6 @@ def _sphinx_build(self, kind):
raise ValueError('kind must be html or latex, '
'not {}'.format(kind))
- self.clean()
-
cmd... | Closes https://github.com/pandas-dev/pandas/issues/24727 | https://api.github.com/repos/pandas-dev/pandas/pulls/24902 | 2019-01-24T13:26:50Z | 2019-01-24T14:44:12Z | 2019-01-24T14:44:11Z | 2019-01-25T12:02:22Z |
[WIP] Excel table output | diff --git a/ci/deps/azure-35-compat.yaml b/ci/deps/azure-35-compat.yaml
index 97c45b2be27d7..6597ceb0ef086 100644
--- a/ci/deps/azure-35-compat.yaml
+++ b/ci/deps/azure-35-compat.yaml
@@ -8,7 +8,7 @@ dependencies:
- jinja2=2.8
- numexpr=2.6.2
- numpy=1.13.3
- - openpyxl=2.4.8
+ - openpyxl=2.5.0
- pytable... | - [x] closes #24862
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This PR should allow writing excel table objects. Proof of concept implemented for XlsxWriter and OpenPyXL. Exactly which options of the `to_excel` api should be supported is up... | https://api.github.com/repos/pandas-dev/pandas/pulls/24899 | 2019-01-24T09:45:33Z | 2019-08-24T08:02:00Z | null | 2019-08-24T08:02:00Z |
BUG: support dtypes in column_dtypes for to_records() | diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst
index a9fa8b2174dd0..867007b2ba7f5 100644
--- a/doc/source/whatsnew/v0.25.0.rst
+++ b/doc/source/whatsnew/v0.25.0.rst
@@ -187,7 +187,7 @@ Reshaping
^^^^^^^^^
- Bug in :func:`merge` when merging by index name would sometimes result in an ... | Despite the name, the `column_dtypes` param in `DataFrame.to_records()` doesn't accept `np.dtype` objects:
```
In [3]: df = pd.DataFrame([[0, 1], [2, 3]])
In [4]: df.to_records(column_dtypes=df.dtypes)
---------------------------------------------------------------------------
ValueError ... | https://api.github.com/repos/pandas-dev/pandas/pulls/24895 | 2019-01-24T08:31:56Z | 2019-01-30T22:29:35Z | 2019-01-30T22:29:35Z | 2019-01-30T22:50:27Z |
CLN: fix typo in ctors.SeriesDtypesConstructors setup | diff --git a/asv_bench/benchmarks/ctors.py b/asv_bench/benchmarks/ctors.py
index 9082b4186bfa4..5715c4fb2d0d4 100644
--- a/asv_bench/benchmarks/ctors.py
+++ b/asv_bench/benchmarks/ctors.py
@@ -72,7 +72,7 @@ class SeriesDtypesConstructors(object):
def setup(self):
N = 10**4
- self.arr = np.random.... | Our benchmark for creating an `Index` from an array of floats does so from a **2-d** array, seemingly dating from when this benchmark tested `DataFrame` creation (see https://github.com/pandas-dev/pandas/commit/04db779d4c93d286bb0ab87780a85d50ec490266#diff-408a9d5de471447a365854703ca1856dL22).
Changing this to a 1-d... | https://api.github.com/repos/pandas-dev/pandas/pulls/24894 | 2019-01-24T07:19:39Z | 2019-01-24T12:44:55Z | 2019-01-24T12:44:55Z | 2019-01-24T12:44:55Z |
DOC: Final reorganization of documentation pages | diff --git a/doc/redirects.csv b/doc/redirects.csv
index 4f4b3d7fc0780..8c62ecc362ccd 100644
--- a/doc/redirects.csv
+++ b/doc/redirects.csv
@@ -4,6 +4,10 @@
# getting started
10min,getting_started/10min
basics,getting_started/basics
+comparison_with_r,getting_started/comparison/comparison_with_r
+comparison_with_sq... | - [X] xref #24499
You can see the changes here: https://datapythonista.github.io/pandas-doc-preview/
Pages moved:
- comparison_with_whatever -> getting_started/comparison/comparison_with_whatever
- ecosystem -> getting_started/ecosystem
- cookbook -> user_guide/cookbook
- rpy2 has been removed
Changes to t... | https://api.github.com/repos/pandas-dev/pandas/pulls/24890 | 2019-01-24T00:26:41Z | 2019-01-25T12:40:38Z | 2019-01-25T12:40:38Z | 2019-01-29T17:33:44Z |
DOC: fixups | diff --git a/doc/source/api/scalars.rst b/doc/source/api/scalars.rst
deleted file mode 100644
index e69de29bb2d1d..0000000000000
diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 3dd345890881c..9198c610f0f44 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.... | * Fixed heading on whatnew
* Remove empty scalars.rst
If you look at http://pandas-docs.github.io/pandas-docs-travis/whatsnew/v0.24.0.html, you'll see that the TOC-tree is messed up. It includes every "level-3" header, since the highlights aren't nested under a "level-2" header. | https://api.github.com/repos/pandas-dev/pandas/pulls/24888 | 2019-01-23T20:51:12Z | 2019-01-23T21:37:15Z | 2019-01-23T21:37:15Z | 2019-01-23T21:37:20Z |
TST: fixturize test_to_html alignment checks | diff --git a/pandas/tests/io/formats/conftest.py b/pandas/tests/io/formats/conftest.py
new file mode 100644
index 0000000000000..df0393d7ee71f
--- /dev/null
+++ b/pandas/tests/io/formats/conftest.py
@@ -0,0 +1,166 @@
+from io import open
+
+import numpy as np
+import pytest
+
+from pandas import DataFrame, Index, Multi... | https://github.com/pandas-dev/pandas/pull/24873#issuecomment-456641936
re-use of fixtures through indirect parametrization.
a hierarchy of fixtures to ultimately create a dataframe fixture containing 16 dataframes of combinations of named and unnamed, single level and multi index independently on the row and colu... | https://api.github.com/repos/pandas-dev/pandas/pulls/24887 | 2019-01-23T19:37:16Z | 2019-01-24T01:30:31Z | null | 2019-01-24T01:30:32Z |
TST: inline empty_frame = DataFrame({}) fixture | diff --git a/pandas/tests/frame/common.py b/pandas/tests/frame/common.py
index 2ea087c0510bf..5624f7c1303b6 100644
--- a/pandas/tests/frame/common.py
+++ b/pandas/tests/frame/common.py
@@ -85,7 +85,7 @@ def tzframe(self):
@cache_readonly
def empty(self):
- return pd.DataFrame({})
+ return pd.D... | broken off from #24873 | https://api.github.com/repos/pandas-dev/pandas/pulls/24886 | 2019-01-23T18:05:06Z | 2019-03-04T18:40:36Z | 2019-03-04T18:40:36Z | 2019-03-04T18:41:41Z |
TST: remove never-used singleton fixtures | diff --git a/pandas/tests/frame/conftest.py b/pandas/tests/frame/conftest.py
index 377e737a53158..69ee614ab8d2a 100644
--- a/pandas/tests/frame/conftest.py
+++ b/pandas/tests/frame/conftest.py
@@ -29,16 +29,6 @@ def float_frame_with_na():
return df
-@pytest.fixture
-def float_frame2():
- """
- Fixture fo... | The fact that these are never used would be obvious if these were in a file not ignored by coverage, i.e. not relying on pytest magic.
broken off of #24873. | https://api.github.com/repos/pandas-dev/pandas/pulls/24885 | 2019-01-23T17:30:28Z | 2019-02-24T03:45:29Z | 2019-02-24T03:45:28Z | 2019-02-25T21:11:23Z |
DOC: Add experimental note to DatetimeArray and TimedeltaArray | diff --git a/doc/source/user_guide/integer_na.rst b/doc/source/user_guide/integer_na.rst
index eb0c5e3d05863..c5667e9319ca6 100644
--- a/doc/source/user_guide/integer_na.rst
+++ b/doc/source/user_guide/integer_na.rst
@@ -10,6 +10,12 @@ Nullable Integer Data Type
.. versionadded:: 0.24.0
+.. note::
+
+ IntegerArr... | DOC: Mention PeriodArray and IntervalArray
Closes #24870 | https://api.github.com/repos/pandas-dev/pandas/pulls/24882 | 2019-01-23T13:31:28Z | 2019-01-24T16:48:55Z | 2019-01-24T16:48:55Z | 2019-01-24T16:48:59Z |
DOC: Improve the docsting of Series.iteritems | diff --git a/pandas/core/series.py b/pandas/core/series.py
index 04fe3b4407149..120dab3f7a7ae 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -1453,6 +1453,29 @@ def to_string(self, buf=None, na_rep='NaN', float_format=None, header=True,
def iteritems(self):
"""
Lazily iterate o... | - [ ] 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/24879 | 2019-01-22T22:31:40Z | 2019-03-19T03:48:17Z | 2019-03-19T03:48:17Z | 2019-03-19T03:48:23Z |
REF/CLN: Move private method | diff --git a/pandas/core/computation/expr.py b/pandas/core/computation/expr.py
index 9a44198ba3b86..d840bf6ae71a2 100644
--- a/pandas/core/computation/expr.py
+++ b/pandas/core/computation/expr.py
@@ -18,7 +18,6 @@
UndefinedVariableError, _arith_ops_syms, _bool_ops_syms, _cmp_ops_syms,
_mathops, _reductions, ... | Moved these two internal function to the only location where they are used in the codebase.
| https://api.github.com/repos/pandas-dev/pandas/pulls/24875 | 2019-01-22T09:44:14Z | 2019-01-22T14:49:33Z | 2019-01-22T14:49:33Z | 2019-01-24T20:17:23Z |
BUG: DataFrame respects dtype with masked recarray | diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst
index 69b59793f7c0d..d782e3d6858a4 100644
--- a/doc/source/whatsnew/v0.24.0.rst
+++ b/doc/source/whatsnew/v0.24.0.rst
@@ -1692,8 +1692,8 @@ Missing
- Bug in :func:`Series.hasnans` that could be incorrectly cached and return incorrect answer... | - [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Appeared that like `dtype` was simply not being passed into `arrays_to_mgr` | https://api.github.com/repos/pandas-dev/pandas/pulls/24874 | 2019-01-22T09:39:31Z | 2019-01-22T13:04:02Z | 2019-01-22T13:04:02Z | 2019-01-24T20:17:15Z |
TST: Remove subset of singleton fixtures | diff --git a/pandas/tests/frame/conftest.py b/pandas/tests/frame/conftest.py
index 377e737a53158..aaad4fd29804c 100644
--- a/pandas/tests/frame/conftest.py
+++ b/pandas/tests/frame/conftest.py
@@ -1,7 +1,7 @@
import numpy as np
import pytest
-from pandas import DataFrame, NaT, compat, date_range
+from pandas import... | Broken off of #24769 where we have learned that some test behavior depends on whether or not a fixture is being used.
I claim that this is another point in favor of not using fixtures if there is a regular-python alternative (in this case, a "function"). Whenever with-fixture behavior is different from without-fixt... | https://api.github.com/repos/pandas-dev/pandas/pulls/24873 | 2019-01-22T03:00:08Z | 2019-02-03T04:04:46Z | null | 2020-04-05T17:37:09Z |
POC: linting cython files | diff --git a/ci/code_checks.sh b/ci/code_checks.sh
index c8bfc564e7573..4c808a5b5ef55 100755
--- a/ci/code_checks.sh
+++ b/ci/code_checks.sh
@@ -69,6 +69,10 @@ if [[ -z "$CHECK" || "$CHECK" == "lint" ]]; then
flake8 --format="$FLAKE8_FORMAT" pandas/_libs --filename=*.pxi.in,*.pxd --select=E501,E302,E203,E111,E114,... | The edits in indexing.pyx are just to get the linting to pass for demonstration purposes.
| https://api.github.com/repos/pandas-dev/pandas/pulls/24872 | 2019-01-22T00:31:08Z | 2019-02-02T20:41:43Z | null | 2019-09-17T18:57:12Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.