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
Backport PR #27767 on branch 0.25.x (BUG: Fix windowing over read-only arrays)
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index 943a6adb7944e..66b760a76dad3 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -118,6 +118,7 @@ Groupby/resample/rolling ^^^^^^^^^^^^^^^^^^^^^^^^ - Bug in :meth:`pandas.core.groupby.DataFrameGrou...
Backport PR #27767: BUG: Fix windowing over read-only arrays
https://api.github.com/repos/pandas-dev/pandas/pulls/27782
2019-08-06T15:39:47Z
2019-08-06T20:52:55Z
2019-08-06T20:52:55Z
2019-08-06T20:52:56Z
DOC: Add CoC to the README
https://github.com/pandas-dev/pandas/pull/27780.diff
- [ ] closes # xxx - [ ] 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/27780
2019-08-06T14:26:35Z
2019-08-10T04:17:14Z
null
2019-08-10T07:52:36Z
Avoid calling S3File.s3
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index 943a6adb7944e..7d78a8fe6dd84 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -103,7 +103,7 @@ MultiIndex I/O ^^^ -- +- Avoid calling ``S3File.s3`` when reading parquet, as this was removed in s...
When reading from S3 using fastparquet. This attribute was removed in s3fs 0.3.0. This change avoids accessing it by using a new method `get_file_and_filesystem` which returns the filesystem in addition to the file. - [x] closes #27756 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git di...
https://api.github.com/repos/pandas-dev/pandas/pulls/27777
2019-08-06T12:48:03Z
2019-08-12T19:10:50Z
2019-08-12T19:10:50Z
2019-08-12T19:10:55Z
DEPR: Removed the previously deprecated ExtensionArray._formatting_values
diff --git a/doc/source/reference/extensions.rst b/doc/source/reference/extensions.rst index 407aab4bb1f1b..78e8734e9b5ff 100644 --- a/doc/source/reference/extensions.rst +++ b/doc/source/reference/extensions.rst @@ -34,7 +34,6 @@ objects. api.extensions.ExtensionArray._concat_same_type api.extensions.E...
and revert #17143, see https://github.com/pandas-dev/pandas/pull/17143#issuecomment-505080265
https://api.github.com/repos/pandas-dev/pandas/pulls/27774
2019-08-06T10:31:33Z
2019-08-07T06:23:26Z
2019-08-07T06:23:26Z
2019-08-08T14:20:03Z
BUG: _can_use_numexpr fails when passed large Series
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index dfa216b1db56e..21f8f33e2b439 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -54,7 +54,7 @@ Numeric ^^^^^^^ - Bug in :meth:`Series.interpolate` when using a timezone aware :class:`DatetimeIndex` ...
This fixes a regression introduced in #27145 where _can_use_numexpr would fail if passed a Series and not a DataFrame. I decided not to use run_arithmetic in the test_suite because there is a separate issue when running floordiv that is out of the scope of the fix. I will open a separate issue in improving the test cov...
https://api.github.com/repos/pandas-dev/pandas/pulls/27773
2019-08-06T10:27:57Z
2019-08-19T17:20:24Z
2019-08-19T17:20:24Z
2019-08-19T17:20:29Z
[BLD] Add script that fails build if git tags do not exist
diff --git a/.travis.yml b/.travis.yml index 9be4291d10874..79fecc41bec0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ env: git: # for cloning - depth: 2000 + depth: false matrix: fast_finish: true @@ -63,7 +63,7 @@ before_install: - pwd - uname -a - git --version - - git...
The Travis build process can fail in hard to decipher ways if git tags are not synced between `upstream` and a developer's repo. This failure mode would occur in the main repo if we go 2000 commits (current clone depth, ~9 months) without tagging a release. This PR explicitly fails the build with instructions of how to...
https://api.github.com/repos/pandas-dev/pandas/pulls/27770
2019-08-06T03:53:13Z
2019-08-07T13:27:04Z
2019-08-07T13:27:04Z
2019-08-07T13:27:04Z
REF: Make CategoricalIndex comparison defer to Categorical comparison
diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py index d22b4bd4d3f2b..984f1835bd078 100644 --- a/pandas/core/arrays/categorical.py +++ b/pandas/core/arrays/categorical.py @@ -89,6 +89,9 @@ def f(self, other): return NotImplemented other = lib.item_from_zerodim(o...
Partially addresses #19513. After this, CategoricalIndex will be defining comparison ops identically to DTA/TDA/PA, could share some code.
https://api.github.com/repos/pandas-dev/pandas/pulls/27769
2019-08-06T02:22:00Z
2019-08-13T12:05:44Z
2019-08-13T12:05:44Z
2019-08-14T21:37:58Z
CLN: short-circuit case in Block.replace
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 9f3aa699cfaf4..8779bf8ca5b54 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -772,8 +772,11 @@ def replace( # If we cannot replace with own dtype, convert to ObjectBlock and # ret...
Running out of try/excepts to get rid of
https://api.github.com/repos/pandas-dev/pandas/pulls/27768
2019-08-06T01:23:57Z
2019-08-12T18:58:43Z
2019-08-12T18:58:43Z
2019-08-12T19:04:19Z
BUG: Fix windowing over read-only arrays
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index 943a6adb7944e..66b760a76dad3 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -118,6 +118,7 @@ Groupby/resample/rolling ^^^^^^^^^^^^^^^^^^^^^^^^ - Bug in :meth:`pandas.core.groupby.DataFrameGrou...
- [x] closes #27766 - [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/27767
2019-08-06T00:42:26Z
2019-08-06T15:39:20Z
2019-08-06T15:39:20Z
2019-08-06T15:39:34Z
TYPING: more type hints for io.formats.printing
diff --git a/pandas/io/formats/printing.py b/pandas/io/formats/printing.py index 4ec9094ce4abe..ead51693da791 100644 --- a/pandas/io/formats/printing.py +++ b/pandas/io/formats/printing.py @@ -3,12 +3,14 @@ """ import sys -from typing import Callable, Dict, Iterable, List, Optional, Sequence, Tuple, Union +from typ...
xref #27568 ``` $ mypy pandas/io/formats/printing.py --check-untyped-defs --follow-imports skip pandas\io\formats\printing.py:194: error: "str" has no attribute "decode"; maybe "encode"? ```
https://api.github.com/repos/pandas-dev/pandas/pulls/27765
2019-08-05T21:37:03Z
2019-08-23T22:36:59Z
2019-08-23T22:36:59Z
2019-08-24T07:45:54Z
CLN/REF: Remove _try_cast_result, _try_coerce_and_cast_result
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 2ad85903b916b..ea2bd22cccc3d 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -21,7 +21,11 @@ from pandas.errors import AbstractMethodError from pandas.util._decorators import Appender, Substitution ...
This finishes getting the post-call casting/coersion out of the Blocks. Pre-call coercion is still in there, exclusively for TimedeltaBlock and DatetimeBlock, i.e. will not be necessary if/when those are backed by EA.
https://api.github.com/repos/pandas-dev/pandas/pulls/27764
2019-08-05T21:37:00Z
2019-08-06T15:40:40Z
2019-08-06T15:40:40Z
2019-08-06T16:03:44Z
Backport PR #27733 on branch 0.25.x (BUG: fix to_datetime(dti, utc=True))
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index 4d9ee4c676759..943a6adb7944e 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -31,7 +31,7 @@ Categorical Datetimelike ^^^^^^^^^^^^ - +- Bug in :func:`to_datetime` where passing a timezone-naive ...
Backport PR #27733: BUG: fix to_datetime(dti, utc=True)
https://api.github.com/repos/pandas-dev/pandas/pulls/27763
2019-08-05T20:29:30Z
2019-08-06T15:33:38Z
2019-08-06T15:33:38Z
2019-08-06T15:33:38Z
BUG: right merge not preserve row order (#27453)
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index ec6ad38bbc7cf..a4b32e453d9d2 100755 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -300,6 +300,30 @@ New repr for :class:`~pandas.arrays.IntervalArray` pd.arrays.IntervalArray.from_tuples([(0, 1), (2, ...
- [ ] closes #27453 - [ ] 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/27762
2019-08-05T19:13:16Z
2020-01-23T03:48:40Z
null
2020-01-24T17:15:10Z
TST: missed from #27720
diff --git a/pandas/tests/indexing/test_coercion.py b/pandas/tests/indexing/test_coercion.py index ed80e249220fd..05b58b0eca9b8 100644 --- a/pandas/tests/indexing/test_coercion.py +++ b/pandas/tests/indexing/test_coercion.py @@ -1038,10 +1038,6 @@ def test_replace_series(self, how, to_key, from_key): "from_key...
pointed out by @simonjayhawkins
https://api.github.com/repos/pandas-dev/pandas/pulls/27759
2019-08-05T14:20:16Z
2019-08-05T15:03:45Z
2019-08-05T15:03:45Z
2019-08-05T16:44:44Z
Added diff testing file
diff --git a/pandas/tests/series/test_diff.py b/pandas/tests/series/test_diff.py new file mode 100644 index 0000000000000..d6c443d2c5b62 --- /dev/null +++ b/pandas/tests/series/test_diff.py @@ -0,0 +1,17 @@ +from pandas import ( + Series +) + +from numpy import nan + +def test_diff(): + data = Series([0,-1,-2,-3,...
Should test the diff for a specific series. - [ ] closes #xxxx - [ ] 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/27757
2019-08-05T13:55:19Z
2019-08-05T14:05:53Z
null
2019-08-05T14:05:53Z
BUG: Fix numpy boolean subtraction error in Series.diff
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 6912d15abf3d6..944ce9b4fb1f6 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +1,2 @@ custom: https://pandas.pydata.org/donate.html +tidelift: pypi/pandas diff --git a/.github/SECURITY.md b/.github/SECURITY.md new file mode 100644 index 00000...
This fixes #27755, for more than three years now NumPy has not allowed the subtraction of boolean series. TypeError Traceback (most recent call last) <ipython-input-46-3da3b949c6bd> in <module> 1 data = pd.Series([0,-1,-2,-3,-4,-3,-2,-1,0,-1,-1,0,-1,-2,-3,-2,0]) 2 filt...
https://api.github.com/repos/pandas-dev/pandas/pulls/27755
2019-08-05T12:34:44Z
2019-09-02T18:44:21Z
null
2019-09-30T11:25:24Z
Slightly rephrase SPSS doc
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 8e5352c337072..947bf15a49c7a 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -5491,30 +5491,29 @@ The top-level function :func:`read_spss` can read (but not write) SPSS `sav` (.sav) and `zsav` (.zsav) format...
As a follow-up to #27594 (which I couldn't review in due time), here are some minor improvements for the SPSS user guide text.
https://api.github.com/repos/pandas-dev/pandas/pulls/27754
2019-08-05T12:15:09Z
2019-08-05T13:27:42Z
2019-08-05T13:27:42Z
2019-08-05T13:29:11Z
Backport PR #27720 on branch 0.25.x (BUG: fix replace_list)
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index b5bd83fd17530..4d9ee4c676759 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -152,7 +152,7 @@ ExtensionArray Other ^^^^^ - +- Bug in :meth:`Series.replace` and :meth:`DataFrame.replace` when re...
Backport PR #27720: BUG: fix replace_list
https://api.github.com/repos/pandas-dev/pandas/pulls/27753
2019-08-05T11:58:58Z
2019-08-05T12:56:44Z
2019-08-05T12:56:44Z
2019-08-05T12:56:44Z
Backport PR #27715 on branch 0.25.x (TST: troubleshoot inconsistent xfails)
diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py index c9597505fa596..5ecd641fc68be 100644 --- a/pandas/compat/__init__.py +++ b/pandas/compat/__init__.py @@ -11,6 +11,7 @@ import struct import sys +PY35 = sys.version_info[:2] == (3, 5) PY36 = sys.version_info >= (3, 6) PY37 = sys.version_info >...
Backport PR #27715: TST: troubleshoot inconsistent xfails
https://api.github.com/repos/pandas-dev/pandas/pulls/27752
2019-08-05T11:55:58Z
2019-08-05T12:56:32Z
2019-08-05T12:56:32Z
2019-08-05T12:56:32Z
REF: combine dispatch_to_index_op into dispatch_to_extension_op
diff --git a/pandas/core/ops/__init__.py b/pandas/core/ops/__init__.py index 01bfbed1aab4c..261660dda6fdd 100644 --- a/pandas/core/ops/__init__.py +++ b/pandas/core/ops/__init__.py @@ -37,6 +37,7 @@ from pandas.core.dtypes.generic import ( ABCDataFrame, ABCDatetimeArray, + ABCDatetimeIndex, ABCIndex,...
Took a couple of preliminaries, but now we can merge these two together and we're within striking distance of being able to collapse all of the Series ops into much simpler functions.
https://api.github.com/repos/pandas-dev/pandas/pulls/27747
2019-08-04T23:48:14Z
2019-08-05T11:44:37Z
2019-08-05T11:44:37Z
2019-08-05T14:29:57Z
CLN: Move base.StringMixin to computations.common
diff --git a/pandas/core/base.py b/pandas/core/base.py index 38a8bf7171521..7d2a62318232c 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -46,30 +46,6 @@ ) -class StringMixin: - """ - Implements string methods so long as object defines a `__str__` method. - """ - - # side note - this coul...
``StringMixin`` should be removed, but I can't figure out how to remove it without breaking tests, so this moves ``StringMixin`` to core.computation, which is the only module, where it is currently used. This makes ``core.base.py`` a bit cleaner.
https://api.github.com/repos/pandas-dev/pandas/pulls/27746
2019-08-04T23:17:33Z
2019-08-05T11:41:53Z
2019-08-05T11:41:53Z
2019-08-05T13:25:11Z
Backport PR #27702 on branch 0.25.x (BUG: Concatenation warning still appears with sort=False)
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index c80195af413f7..01e4046e8b743 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -125,7 +125,7 @@ Reshaping ^^^^^^^^^ - A ``KeyError`` is now raised if ``.unstack()`` is called on a :class:`Series`...
Backport PR #27702: BUG: Concatenation warning still appears with sort=False
https://api.github.com/repos/pandas-dev/pandas/pulls/27743
2019-08-04T21:59:22Z
2019-08-05T06:35:41Z
2019-08-05T06:35:41Z
2019-08-05T06:35:41Z
Backport PR #27712 on branch 0.25.x (BUG: partial string indexing with scalar)
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index c80195af413f7..3097bfa21f9e1 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -82,7 +82,7 @@ Interval Indexing ^^^^^^^^ -- +- Bug in partial-string indexing returning a NumPy array rather than a...
Backport PR #27712: BUG: partial string indexing with scalar
https://api.github.com/repos/pandas-dev/pandas/pulls/27742
2019-08-04T21:55:22Z
2019-08-05T06:35:59Z
2019-08-05T06:35:59Z
2019-08-05T06:35:59Z
CLN: deprivatize names in pd.core.common
diff --git a/pandas/core/common.py b/pandas/core/common.py index c12bfecc46518..a507625ccfa01 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -165,51 +165,39 @@ def cast_scalar_indexer(val): return val -def _not_none(*args): +def not_none(*args): """ Returns a generator consisting o...
Some clean-up, as these functions don't need to start with a "_".
https://api.github.com/repos/pandas-dev/pandas/pulls/27741
2019-08-04T20:06:22Z
2019-08-04T21:26:43Z
2019-08-04T21:26:43Z
2019-08-04T21:26:47Z
BUG: Fix NaT +/- DTA/TDA
diff --git a/pandas/_libs/tslibs/nattype.pyx b/pandas/_libs/tslibs/nattype.pyx index 7f35a11e57b71..6fab1b5c02be1 100644 --- a/pandas/_libs/tslibs/nattype.pyx +++ b/pandas/_libs/tslibs/nattype.pyx @@ -123,7 +123,9 @@ cdef class _NaT(datetime): return c_NaT elif getattr(other, '_typ', None) in ['da...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry After this bugfix, we can change all existing uses of `dispatch_to_index_op` in `core.ops.__init__` to use `dispatch_to_extension_op`. Once we do th...
https://api.github.com/repos/pandas-dev/pandas/pulls/27740
2019-08-04T16:28:31Z
2019-08-04T23:01:03Z
2019-08-04T23:01:02Z
2019-08-04T23:08:43Z
BUG: fix+test PA+all-NaT TDA
diff --git a/pandas/core/arrays/period.py b/pandas/core/arrays/period.py index 91dd853e78c77..6203cfdf6df6b 100644 --- a/pandas/core/arrays/period.py +++ b/pandas/core/arrays/period.py @@ -714,7 +714,12 @@ def _add_delta_tdi(self, other): """ assert isinstance(self.freq, Tick) # checked by calling fu...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry In conjunction with one more branch coming up, we're going to simplify the tar out of Series arithmetic ops.
https://api.github.com/repos/pandas-dev/pandas/pulls/27739
2019-08-04T16:05:31Z
2019-08-04T21:40:45Z
2019-08-04T21:40:45Z
2019-08-04T23:11:29Z
DOC: update docstrings following refactor of buffer handling
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 1d87a6937ca34..d09d11d20e137 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -68,6 +68,7 @@ from pandas.core.internals import BlockManager from pandas.core.ops import _align_method_FRAME +from pandas.io.formats import format as f...
xref https://github.com/pandas-dev/pandas/pull/27598#discussion_r310128723
https://api.github.com/repos/pandas-dev/pandas/pulls/27738
2019-08-04T11:08:54Z
2019-08-04T21:28:23Z
2019-08-04T21:28:23Z
2019-08-05T09:35:04Z
REF: pandas/core/window.py into multiple files
diff --git a/doc/source/reference/window.rst b/doc/source/reference/window.rst index 9e1374a3bd8e4..2f6addf607877 100644 --- a/doc/source/reference/window.rst +++ b/doc/source/reference/window.rst @@ -5,7 +5,6 @@ ====== Window ====== -.. currentmodule:: pandas.core.window Rolling objects are returned by ``.rollin...
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Splits `pandas/core/window.py` into more logical division of: `pandas/core/window/rolling.py` `pandas/core/window/expanding.py` `pandas/core/window/ewm.py` `pandas/core/window/common.py...
https://api.github.com/repos/pandas-dev/pandas/pulls/27736
2019-08-04T05:33:41Z
2019-08-07T13:32:48Z
2019-08-07T13:32:47Z
2019-08-07T16:53:20Z
REF: separate out invalid ops
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index 2747b1d7dd9f1..770870a466aa9 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -44,9 +44,10 @@ from pandas.core.dtypes.missing import is_valid_nat_for_dtype, isna from pandas._typing ...
We moved ops.py to `ops.__init__` a while back, still need to get the bulk of it out of `__init__`. This separates out templated invalid operations, which are the main things that outside modules import (this helps us move towards getting rid of the `import pandas as pd` in the main file)
https://api.github.com/repos/pandas-dev/pandas/pulls/27735
2019-08-04T00:35:40Z
2019-08-05T15:52:11Z
2019-08-05T15:52:11Z
2019-08-05T16:38:29Z
TYPING: type hints for io.formats.latex
diff --git a/pandas/io/formats/latex.py b/pandas/io/formats/latex.py index dad099b747701..c60e15b733f0a 100644 --- a/pandas/io/formats/latex.py +++ b/pandas/io/formats/latex.py @@ -1,11 +1,13 @@ """ Module for formatting output data in Latex. """ +from typing import IO, List, Optional, Tuple + import numpy as np ...
https://api.github.com/repos/pandas-dev/pandas/pulls/27734
2019-08-03T20:58:05Z
2019-08-04T21:21:56Z
2019-08-04T21:21:56Z
2019-08-05T09:34:26Z
BUG: fix to_datetime(dti, utc=True)
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index b5bd83fd17530..51307d6771559 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -31,7 +31,7 @@ Categorical Datetimelike ^^^^^^^^^^^^ - +- Bug in :func:`to_datetime` where passing a timezone-naive ...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry ATM `to_datetime(naive_dti, utc=True)` returns naive incorrect, same for naive `DatetimeArray`
https://api.github.com/repos/pandas-dev/pandas/pulls/27733
2019-08-03T20:26:27Z
2019-08-05T20:29:17Z
2019-08-05T20:29:17Z
2019-08-05T21:09:30Z
TYPING: more type hints for io.common
diff --git a/pandas/io/common.py b/pandas/io/common.py index 290022167e520..a505f28982aeb 100644 --- a/pandas/io/common.py +++ b/pandas/io/common.py @@ -9,6 +9,7 @@ import mmap import os import pathlib +from pathlib import Path from typing import ( IO, Any, @@ -21,6 +22,7 @@ Tuple, Type, Un...
https://api.github.com/repos/pandas-dev/pandas/pulls/27732
2019-08-03T19:25:40Z
2019-08-30T15:26:28Z
null
2019-08-30T15:26:28Z
BUG: update dict of sheets before check
diff --git a/pandas/io/excel/_openpyxl.py b/pandas/io/excel/_openpyxl.py index d8f5da5ab5bc6..a0ff1bf640278 100644 --- a/pandas/io/excel/_openpyxl.py +++ b/pandas/io/excel/_openpyxl.py @@ -397,6 +397,11 @@ def write_cells( _style_cache = {} + # Update sheet list + self.sheets = {} + fo...
```python import pandas as pd df = pd.DataFrame( { "id": ["1", "2", "3", "4", "5"], "Feature1": ["A", "C", "E", "G", "I"], "Feature2": ["B", "D", "F", "H", "J"], }, columns=["id", "Feature1", "Feature2"], ) writer = pd.ExcelWriter(path="testOutput.xlsx", mode="a", engine=...
https://api.github.com/repos/pandas-dev/pandas/pulls/27730
2019-08-03T16:14:33Z
2019-11-07T21:09:42Z
null
2019-11-07T21:09:43Z
REF: define concat classmethods in the appropriate places
diff --git a/pandas/core/dtypes/concat.py b/pandas/core/dtypes/concat.py index 9c49e91134288..12f3fd2c75dc8 100644 --- a/pandas/core/dtypes/concat.py +++ b/pandas/core/dtypes/concat.py @@ -20,12 +20,11 @@ is_timedelta64_dtype, ) from pandas.core.dtypes.generic import ( + ABCCategoricalIndex, ABCDatetimeA...
cc @jorisvandenbossche we briefly discussed at the sprint the idea that `dtype.concat` is a weird place to define these functions. This PR takes the subset of `dtypes.concat` methods that are a) private and b) equivalent to `klass._concat_same_dtype` for some `klass` and moves the implementation to the appropriate c...
https://api.github.com/repos/pandas-dev/pandas/pulls/27727
2019-08-03T02:44:17Z
2019-08-05T11:54:25Z
2019-08-05T11:54:25Z
2019-08-05T14:30:58Z
BUG: fix+test DTA/TDA/PA add/sub Index
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index 47b138a9e1604..9f3249e14d851 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -1216,7 +1216,7 @@ def _time_shift(self, periods, freq=None): def __add__(self, other): othe...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Looking forward to doing a couple of test-cleanup passes.
https://api.github.com/repos/pandas-dev/pandas/pulls/27726
2019-08-02T23:27:33Z
2019-08-05T11:45:25Z
2019-08-05T11:45:25Z
2019-08-05T14:28:54Z
STYLE: Add flake8-comprehensions to pre-commit configuration
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5f7143ef518bb..32ffb3330564c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,6 +9,7 @@ repos: hooks: - id: flake8 language: python_venv + additional_dependencies: [flake8-comprehension...
- [x] closes #27724 Running `pre-commit` with this change catches the error described in the issue.
https://api.github.com/repos/pandas-dev/pandas/pulls/27725
2019-08-02T22:19:58Z
2019-08-04T21:38:54Z
2019-08-04T21:38:53Z
2019-08-05T18:39:39Z
CLN: collected cleanups from other branches
diff --git a/pandas/_libs/index.pyx b/pandas/_libs/index.pyx index f704ceffa662e..7424c4ddc3d92 100644 --- a/pandas/_libs/index.pyx +++ b/pandas/_libs/index.pyx @@ -47,10 +47,6 @@ cpdef get_value_at(ndarray arr, object loc, object tz=None): return util.get_value_at(arr, loc) -def get_value_box(arr: ndarray, lo...
https://api.github.com/repos/pandas-dev/pandas/pulls/27723
2019-08-02T21:41:51Z
2019-08-05T15:52:45Z
2019-08-05T15:52:45Z
2019-08-05T16:37:58Z
BUG: fix replace_list
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index c80195af413f7..a4e792091cb4b 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -152,7 +152,7 @@ ExtensionArray Other ^^^^^ - +- Bug in :meth:`Series.replace` and :meth:`DataFrame.replace` when re...
- [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/27720
2019-08-02T19:01:24Z
2019-08-05T11:58:49Z
2019-08-05T11:58:49Z
2019-08-05T14:44:19Z
Removed continued parametrization of FilePathOrBuffer
diff --git a/pandas/_typing.py b/pandas/_typing.py index 837a7a89e0b83..0a40e342eb8e9 100644 --- a/pandas/_typing.py +++ b/pandas/_typing.py @@ -1,5 +1,5 @@ from pathlib import Path -from typing import IO, TYPE_CHECKING, AnyStr, Optional, TypeVar, Union +from typing import IO, TYPE_CHECKING, Optional, TypeVar, Union ...
follow up to #27598 to simplify things a bit. I think it was a mistake to add `IO[AnyStr]` as `AnyStr` is a TypeVar and not something to actually parametrize with. The source for `IO` already does this: https://github.com/python/cpython/blob/8990ac0ab0398bfb9c62031288030fe7c630c2c7/Lib/typing.py#L1452 I'm not su...
https://api.github.com/repos/pandas-dev/pandas/pulls/27719
2019-08-02T17:54:39Z
2019-08-25T16:03:22Z
null
2020-01-16T00:35:08Z
remove confusing instructions and link.
diff --git a/doc/source/development/contributing.rst b/doc/source/development/contributing.rst index 80dc8b0d8782b..b38f7767ae073 100644 --- a/doc/source/development/contributing.rst +++ b/doc/source/development/contributing.rst @@ -133,22 +133,11 @@ Installing a C compiler Pandas uses C extensions (mostly written usi...
- [ ] closes #27707 - [ ] 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/27717
2019-08-02T16:16:54Z
2019-08-05T13:32:32Z
2019-08-05T13:32:31Z
2019-08-12T21:24:56Z
pandas.PeriodIndex and pandas.DateTimeIndex docstring quotes fix
diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index 2e086c8ce8c34..6a4ca0ab4147a 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -1414,17 +1414,69 @@ def date(self): return tslib.ints_to_pydatetime(timestamps, box="date") - year = _f...
- [x] closes #27713 - [ ] 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/27716
2019-08-02T16:11:27Z
2019-08-02T21:12:01Z
2019-08-02T21:12:01Z
2019-08-02T21:12:03Z
TST: troubleshoot inconsistent xfails
diff --git a/pandas/compat/__init__.py b/pandas/compat/__init__.py index c9597505fa596..5ecd641fc68be 100644 --- a/pandas/compat/__init__.py +++ b/pandas/compat/__init__.py @@ -11,6 +11,7 @@ import struct import sys +PY35 = sys.version_info[:2] == (3, 5) PY36 = sys.version_info >= (3, 6) PY37 = sys.version_info >...
https://api.github.com/repos/pandas-dev/pandas/pulls/27715
2019-08-02T15:42:37Z
2019-08-05T11:55:36Z
2019-08-05T11:55:36Z
2019-08-05T14:28:35Z
REF/CLN: maybe_downcast_to_dtype
diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py index fd8536e38eee7..4bb1deffd9524 100644 --- a/pandas/core/dtypes/cast.py +++ b/pandas/core/dtypes/cast.py @@ -46,6 +46,7 @@ ) from .dtypes import DatetimeTZDtype, ExtensionDtype, PeriodDtype from .generic import ( + ABCDataFrame, ABCDatet...
Separate out a numeric-only maybe_downcast_to_dtype_numeric from maybe_downcast_to_dtype. Avoid a giant try/except by checking the correct things up front. The non-numeric portion of maybe_downcast_to_dtype casts to datetime64, datetime64tz, or PeriodArray. Following #27683 the next step in cleaning up internals i...
https://api.github.com/repos/pandas-dev/pandas/pulls/27714
2019-08-02T15:34:09Z
2019-08-04T21:52:45Z
2019-08-04T21:52:45Z
2019-08-04T23:12:38Z
BUG: partial string indexing with scalar
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index c80195af413f7..3097bfa21f9e1 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -82,7 +82,7 @@ Interval Indexing ^^^^^^^^ -- +- Bug in partial-string indexing returning a NumPy array rather than a...
Closes #27516 cc @jreback if you have thoughts on this approach.
https://api.github.com/repos/pandas-dev/pandas/pulls/27712
2019-08-02T14:22:02Z
2019-08-04T21:54:57Z
2019-08-04T21:54:57Z
2019-08-04T21:55:20Z
Backport PR #27710 on branch 0.25.x (DOC: Fixed a typo in the roadmap.rst (the word "uses" appeared twice))
diff --git a/doc/source/development/roadmap.rst b/doc/source/development/roadmap.rst index 88e0a18e6b81a..00598830e2fe9 100644 --- a/doc/source/development/roadmap.rst +++ b/doc/source/development/roadmap.rst @@ -96,7 +96,7 @@ Decoupling of indexing and internals The code for getting and setting values in pandas' da...
Backport PR #27710: DOC: Fixed a typo in the roadmap.rst (the word "uses" appeared twice)
https://api.github.com/repos/pandas-dev/pandas/pulls/27711
2019-08-02T13:28:58Z
2019-08-02T13:29:11Z
2019-08-02T13:29:11Z
2019-08-02T13:29:11Z
DOC: Fixed a typo in the roadmap.rst (the word "uses" appeared twice)
diff --git a/doc/source/development/roadmap.rst b/doc/source/development/roadmap.rst index 88e0a18e6b81a..00598830e2fe9 100644 --- a/doc/source/development/roadmap.rst +++ b/doc/source/development/roadmap.rst @@ -96,7 +96,7 @@ Decoupling of indexing and internals The code for getting and setting values in pandas' da...
https://api.github.com/repos/pandas-dev/pandas/pulls/27710
2019-08-02T13:14:59Z
2019-08-02T13:28:18Z
2019-08-02T13:28:18Z
2019-08-02T13:40:52Z
Linebreak is bleeding into the documentation page
diff --git a/pandas/core/base.py b/pandas/core/base.py index cfa8d25210129..38a8bf7171521 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -687,8 +687,9 @@ def transpose(self, *args, **kwargs): T = property( transpose, - doc="""\nReturn the transpose, which is by - ...
https://pandas.pydata.org/pandas-docs/stable/reference/series.html ```html <table><td> ... <tr class="row-even"><td><a class="reference internal" href="api/pandas.Series.T.html#pandas.Series.T" title="pandas.Series.T"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Series.T</span></cod...
https://api.github.com/repos/pandas-dev/pandas/pulls/27708
2019-08-02T07:59:37Z
2019-08-03T16:05:38Z
2019-08-03T16:05:38Z
2019-08-04T11:33:26Z
CLN: rename reduce-->do_reduce
diff --git a/pandas/_libs/reduction.pyx b/pandas/_libs/reduction.pyx index 739ac0ed397ca..f95685c337969 100644 --- a/pandas/_libs/reduction.pyx +++ b/pandas/_libs/reduction.pyx @@ -628,7 +628,7 @@ cdef class BlockSlider: arr.shape[1] = 0 -def reduce(arr, f, axis=0, dummy=None, labels=None): +def comput...
The current name makes it difficult to grep for. Assorted cleanups; added type annotations in a few places.
https://api.github.com/repos/pandas-dev/pandas/pulls/27706
2019-08-02T01:12:20Z
2019-08-05T06:31:49Z
2019-08-05T06:31:49Z
2019-08-05T14:32:37Z
BUG: Avoid try/except in blocks, fix setitem bug in datetimelike EA
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index f86b307e5ede3..2206fd3316685 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -473,6 +473,8 @@ def __setitem__( # to a period in from_sequence). For DatetimeArray, it's Timestam...
The initial impetus for this was avoiding two try/excepts in Block methods (i.e. the diff in internals.blocks). This uncovered the bug in DTA/TDA, which accounts for the rest of the diff.
https://api.github.com/repos/pandas-dev/pandas/pulls/27704
2019-08-01T23:15:43Z
2019-08-04T21:58:00Z
2019-08-04T21:58:00Z
2019-08-04T23:12:01Z
Backport PR #27701 on branch 0.25.x (CI: Fixed CI)
diff --git a/ci/deps/travis-36-locale.yaml b/ci/deps/travis-36-locale.yaml index 0d9a760914dab..7da4abb9283df 100644 --- a/ci/deps/travis-36-locale.yaml +++ b/ci/deps/travis-36-locale.yaml @@ -29,13 +29,13 @@ dependencies: - s3fs=0.0.8 - scipy - sqlalchemy=1.1.4 - - xarray=0.8.2 + - xarray=0.10 - xlrd ...
Backport PR #27701: CI: Fixed CI
https://api.github.com/repos/pandas-dev/pandas/pulls/27703
2019-08-01T22:43:02Z
2019-08-02T11:45:44Z
2019-08-02T11:45:44Z
2019-08-02T11:45:44Z
BUG: Concatenation warning still appears with sort=False
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index c80195af413f7..01e4046e8b743 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -125,7 +125,7 @@ Reshaping ^^^^^^^^^ - A ``KeyError`` is now raised if ``.unstack()`` is called on a :class:`Series`...
- [x] closes #21952 - [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/27702
2019-08-01T21:14:26Z
2019-08-04T21:59:13Z
2019-08-04T21:59:13Z
2019-08-12T21:24:42Z
CI: Fixed CI
diff --git a/ci/deps/travis-36-locale.yaml b/ci/deps/travis-36-locale.yaml index 0d9a760914dab..7da4abb9283df 100644 --- a/ci/deps/travis-36-locale.yaml +++ b/ci/deps/travis-36-locale.yaml @@ -29,13 +29,13 @@ dependencies: - s3fs=0.0.8 - scipy - sqlalchemy=1.1.4 - - xarray=0.8.2 + - xarray=0.10 - xlrd ...
cc @jbrockmendel
https://api.github.com/repos/pandas-dev/pandas/pulls/27701
2019-08-01T20:42:51Z
2019-08-01T22:42:51Z
2019-08-01T22:42:51Z
2019-08-01T22:42:52Z
BUG: grouby(axis=1) cannot select column names
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index cc4bab8b9a923..a266f79aed02c 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -166,6 +166,7 @@ Groupby/resample/rolling - - +- Bug in :meth:`DataFrame.groupby` not offering selection by column name ...
- [x] closes #27614 - [x] tests added / passed - [ ] 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/27700
2019-08-01T20:13:50Z
2019-08-02T13:31:00Z
2019-08-02T13:31:00Z
2019-08-02T13:44:13Z
BUG: DTA/TDA incorrectly accepting iNaT for setitem
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index f86b307e5ede3..47b138a9e1604 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -499,9 +499,6 @@ def __setitem__( value = self._unbox_scalar(value) elif is_valid_nat_...
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry First of several related PRs.
https://api.github.com/repos/pandas-dev/pandas/pulls/27699
2019-08-01T18:16:28Z
2019-08-02T15:59:17Z
2019-08-02T15:59:17Z
2019-08-02T16:03:45Z
Backport PR #27478 on branch 0.25.x (Add a Roadmap)
diff --git a/doc/source/development/index.rst b/doc/source/development/index.rst index a149f31118ed5..c7710ff19f078 100644 --- a/doc/source/development/index.rst +++ b/doc/source/development/index.rst @@ -16,3 +16,4 @@ Development internals extending developer + roadmap diff --git a/doc/source/develop...
Backport PR #27478: Add a Roadmap
https://api.github.com/repos/pandas-dev/pandas/pulls/27698
2019-08-01T18:04:23Z
2019-08-02T11:47:46Z
2019-08-02T11:47:46Z
2019-08-02T11:47:50Z
Replace with nested dict raises for overlapping keys
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 7fe358d3820f2..7a10447e3ad40 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -207,6 +207,7 @@ ExtensionArray Other ^^^^^ - Trying to set the ``display.precision``, ``display.max_rows`` or ``display....
- [x] closes #27660 - [ ] 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/27696
2019-08-01T14:26:59Z
2019-08-27T14:09:42Z
2019-08-27T14:09:41Z
2019-08-27T14:09:55Z
Backport PR #27689 on branch 0.25.x (DOC: 0.25 fixups)
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index 592b4748126c1..0509a370d7866 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -16,6 +16,7 @@ Version 0.25 .. toctree:: :maxdepth: 2 + v0.25.1 v0.25.0 Version 0.24 diff --git a/doc/source/wha...
Backport PR #27689: DOC: 0.25 fixups
https://api.github.com/repos/pandas-dev/pandas/pulls/27694
2019-08-01T13:57:13Z
2019-08-01T20:40:52Z
2019-08-01T20:40:52Z
2019-08-01T20:40:52Z
Backport PR #27653 on branch 0.25.x (BUG: Fix dir(interval_index))
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index fb67decb46b64..40fefe7ec43a8 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -78,7 +78,7 @@ Strings Interval ^^^^^^^^ - +- Bug in :class:`IntervalIndex` where `dir(obj)` would raise ``ValueErro...
Backport PR #27653: BUG: Fix dir(interval_index)
https://api.github.com/repos/pandas-dev/pandas/pulls/27693
2019-08-01T12:57:14Z
2019-08-01T13:56:31Z
2019-08-01T13:56:31Z
2019-08-01T13:56:31Z
Backport PR #27580 on branch 0.25.x
diff --git a/doc/source/install.rst b/doc/source/install.rst index 352b56ebd3020..fc99b458fa0af 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -15,35 +15,10 @@ Instructions for installing from source, `PyPI <https://pypi.org/project/pandas>`__, `ActivePython <https://www.activestate.com/activepyth...
closes #27558
https://api.github.com/repos/pandas-dev/pandas/pulls/27691
2019-08-01T12:24:09Z
2019-08-01T13:56:20Z
2019-08-01T13:56:20Z
2019-10-29T06:51:25Z
Auto backport of pr 27580 on 0.25.x
diff --git a/Makefile b/Makefile index baceefe6d49ff..9e69eb7922925 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ lint-diff: git diff upstream/master --name-only -- "*.py" | xargs flake8 black: - black . --exclude '(asv_bench/env|\.egg|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|_build|buck-out|build|dist)...
https://api.github.com/repos/pandas-dev/pandas/pulls/27690
2019-08-01T12:21:51Z
2019-08-01T12:22:26Z
null
2019-08-01T12:22:26Z
DOC: 0.25 fixups
diff --git a/doc/source/whatsnew/index.rst b/doc/source/whatsnew/index.rst index b7555ed94a1ed..aeab2cf5809e7 100644 --- a/doc/source/whatsnew/index.rst +++ b/doc/source/whatsnew/index.rst @@ -24,6 +24,7 @@ Version 0.25 .. toctree:: :maxdepth: 2 + v0.25.1 v0.25.0 Version 0.24 diff --git a/doc/source/wha...
* fix tag for contributors * fix 0.25.1 contributors * remove orphan Closes https://github.com/pandas-dev/pandas/issues/27687
https://api.github.com/repos/pandas-dev/pandas/pulls/27689
2019-08-01T12:07:54Z
2019-08-01T13:57:00Z
2019-08-01T13:57:00Z
2019-10-22T12:10:11Z
CLN: Prune unnecessary internals
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index da3db1c18e534..811836d0e8a4d 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -671,7 +671,7 @@ def _transform_item_by_item(self, obj, wrapper): except Exception: pass - ...
Also some post-black cleanups in pandas.io (I think we're almost done with these) Removing "pragma: no cover" in a couple places because I'm working in those areas and it would be easier if we caught more specific things so I want to see if they are ever reached.
https://api.github.com/repos/pandas-dev/pandas/pulls/27685
2019-08-01T03:00:28Z
2019-08-01T12:15:17Z
2019-08-01T12:15:17Z
2019-08-01T14:09:08Z
CLN: remove _try_coerce_result altogether
diff --git a/pandas/core/groupby/ops.py b/pandas/core/groupby/ops.py index 1484feeeada64..b066629676e5d 100644 --- a/pandas/core/groupby/ops.py +++ b/pandas/core/groupby/ops.py @@ -25,6 +25,7 @@ is_categorical_dtype, is_complex_dtype, is_datetime64_any_dtype, + is_datetime64tz_dtype, is_integer_d...
Following #27628, we can now remove _try_coerce_result altogether. The step after this removes _try_cast_result.
https://api.github.com/repos/pandas-dev/pandas/pulls/27683
2019-07-31T20:44:49Z
2019-08-05T11:57:08Z
2019-08-05T11:57:08Z
2019-08-05T14:33:16Z
ENH: Implement weighted rolling var and std
diff --git a/doc/source/reference/window.rst b/doc/source/reference/window.rst index 2f6addf607877..d09ac0d1fa7f7 100644 --- a/doc/source/reference/window.rst +++ b/doc/source/reference/window.rst @@ -34,6 +34,8 @@ Standard moving window functions Rolling.quantile Window.mean Window.sum + Window.var + W...
- [x] closes #26597 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Used West's online [algorithm](https://dl.acm.org/citation.cfm?id=359153). [Here](http://www.nowozin.net/sebastian/blog/streaming-mean-and-varianc...
https://api.github.com/repos/pandas-dev/pandas/pulls/27682
2019-07-31T20:14:26Z
2019-11-08T14:45:02Z
2019-11-08T14:45:01Z
2019-11-09T17:15:26Z
BUG: fixes formatted value error for missing sheet (#27676)
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 8c1ce1195369d..2b4dea2e91f7d 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -356,6 +356,7 @@ I/O - Bug in :func:`read_hdf` closing stores that it didn't open when Exceptions are raised (:issue:`28699...
Fixes a formatted message at [io.excel._odfreader line 62](https://github.com/pandas-dev/pandas/blob/master/pandas/io/excel/_odfreader.py#L63) - [x] closes #27676 - [x] tests added / passed - [x] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/27677
2019-07-31T15:19:32Z
2019-10-25T17:01:30Z
2019-10-25T17:01:30Z
2019-10-28T13:56:51Z
DOC: Fix length typo
diff --git a/pandas/core/window.py b/pandas/core/window.py index 2199daa743655..4b6a1cf2e9a04 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -175,7 +175,7 @@ def _dir_additions(self): def _get_window(self, other=None, **kwargs) -> int: """ - Returns window lenght + Retur...
https://api.github.com/repos/pandas-dev/pandas/pulls/27675
2019-07-31T14:09:27Z
2019-07-31T15:40:49Z
2019-07-31T15:40:49Z
2019-07-31T15:40:50Z
Handle construction of string ExtensionArray from lists
diff --git a/pandas/core/construction.py b/pandas/core/construction.py index 9528723a6dc0f..0c25cdf121cbb 100644 --- a/pandas/core/construction.py +++ b/pandas/core/construction.py @@ -468,30 +468,27 @@ def sanitize_array(data, index, dtype=None, copy=False, raise_cast_failure=False else: subarr =...
I had to add a string-based Arrow Extension array to trigger the bug but did not run the same test suite as we do on the boolean array as I don't see it adding value but just runtime at the moment. - [x] closes #27673 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u...
https://api.github.com/repos/pandas-dev/pandas/pulls/27674
2019-07-31T13:18:15Z
2019-08-02T11:36:40Z
2019-08-02T11:36:40Z
2019-08-02T11:39:16Z
PERF: Improve performance of cut with IntervalIndex bins
diff --git a/asv_bench/benchmarks/reshape.py b/asv_bench/benchmarks/reshape.py index 1aed756b841a5..cc373f413fb88 100644 --- a/asv_bench/benchmarks/reshape.py +++ b/asv_bench/benchmarks/reshape.py @@ -214,6 +214,7 @@ def setup(self, bins): self.datetime_series = pd.Series( np.random.randint(N, siz...
- [X] closes #27668 - [X] benchmarks added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry ASV output: ``` before after ratio [143bc34a] [d531e7b0] <master> <perf-cut-ii> - ...
https://api.github.com/repos/pandas-dev/pandas/pulls/27669
2019-07-31T04:06:28Z
2019-07-31T12:05:34Z
2019-07-31T12:05:34Z
2019-07-31T13:32:56Z
BUG: fix nested meta path bug (GH 27220)
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index e1fe2f7fe77e2..2111fd2f1dd37 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -83,6 +83,9 @@ Performance improvements Bug fixes ~~~~~~~~~ +- Fix bug in :meth:`io.json.json_normalize` when nested met...
- [x] closes #27220 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This PR attempts to solve the missing value problems when using nested meta with nested record path. The assumption is that we want to get the ...
https://api.github.com/repos/pandas-dev/pandas/pulls/27667
2019-07-31T03:14:30Z
2019-12-02T00:57:36Z
null
2019-12-02T00:57:36Z
BUG: Allow plotting boolean values
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 58918f2d8c40e..974d14a4b424c 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -163,7 +163,7 @@ I/O Plotting ^^^^^^^^ -- +- Bug in :meth:`Series.plot` not able to plot boolean values (:issue:`23719`)...
- [ ] closes #23719 - [ ] 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/27665
2019-07-30T21:05:20Z
2019-08-12T19:00:03Z
2019-08-12T19:00:03Z
2020-01-12T21:49:40Z
issue#27482 - added a check for if obj is instance of type in _isna-new
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index fb67decb46b64..fb791eaafe25f 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -93,7 +93,7 @@ Indexing Missing ^^^^^^^ -- +- Bug in :func:`pandas.isnull` or :func:`pandas.isna` when the input is ...
- [x] closes #27482 - [x] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/27664
2019-07-30T20:25:02Z
2019-08-20T14:00:09Z
2019-08-20T14:00:08Z
2019-08-20T14:00:16Z
BUG: pd.crosstab not working when margin and normalize are set together
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index 943a6adb7944e..792dfe4be055e 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -125,6 +125,7 @@ Reshaping ^^^^^^^^^ - A ``KeyError`` is now raised if ``.unstack()`` is called on a :class:`Series`...
- [ ] closes #27500 - [ ] 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/27663
2019-07-30T19:58:02Z
2019-08-06T15:45:31Z
2019-08-06T15:45:31Z
2019-08-06T15:45:32Z
DOC: add anonymizeIp for Google analytics in docs
diff --git a/doc/source/themes/nature_with_gtoc/layout.html b/doc/source/themes/nature_with_gtoc/layout.html index b3f13f99f44d4..6e7d8ece35133 100644 --- a/doc/source/themes/nature_with_gtoc/layout.html +++ b/doc/source/themes/nature_with_gtoc/layout.html @@ -94,15 +94,15 @@ <h3 style="margin-top: 1.5em;">{{ _('Search...
Using a more recent snippet (following their current docs), and adding anonymization of the IP (according to their docs, this should only "slightly reduce the accuracy of geolocation"). If we do this, should do the same for main website as well.
https://api.github.com/repos/pandas-dev/pandas/pulls/27662
2019-07-30T19:50:58Z
2019-08-01T20:42:19Z
2019-08-01T20:42:19Z
2020-02-03T09:29:21Z
BUG: pd.crosstab not working when margin and normalize are set together
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index eb60272246ebb..c0484f9217396 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -128,7 +128,7 @@ Groupby/resample/rolling Reshaping ^^^^^^^^^ -- +- Bug in :meth:`DataFrame.crosstab` when margins s...
- [ ] closes #27500 - [ ] 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/27661
2019-07-30T18:46:31Z
2019-07-30T19:58:19Z
null
2019-07-30T19:58:19Z
Backport PR #27651: DOC: improve warnings for Series.{real,imag}
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index fa9ca98f9c8d8..fb67decb46b64 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -64,7 +64,7 @@ Numeric Conversion ^^^^^^^^^^ -- +- Improved the warnings for the deprecated methods :meth:`Series.re...
Manual backport for #27651
https://api.github.com/repos/pandas-dev/pandas/pulls/27659
2019-07-30T13:33:56Z
2019-07-30T14:46:07Z
2019-07-30T14:46:07Z
2019-07-30T14:56:16Z
BUG: Fix dir(interval_index)
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index fb67decb46b64..40fefe7ec43a8 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -78,7 +78,7 @@ Strings Interval ^^^^^^^^ - +- Bug in :class:`IntervalIndex` where `dir(obj)` would raise ``ValueErro...
- [x] closes #27571 - [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/27653
2019-07-30T02:31:56Z
2019-08-01T12:56:49Z
2019-08-01T12:56:49Z
2019-08-01T14:07:24Z
improve warnings for Series.{real,imag}
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index fa9ca98f9c8d8..fb67decb46b64 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -64,7 +64,7 @@ Numeric Conversion ^^^^^^^^^^ -- +- Improved the warnings for the deprecated methods :meth:`Series.re...
- [x] closes #27610 - [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/27651
2019-07-29T22:57:10Z
2019-07-30T09:10:49Z
2019-07-30T09:10:49Z
2019-08-21T21:09:15Z
issue #27642 - timedelta merge asof with tolerance
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index 680d69a9862cd..33296045fa05c 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -95,6 +95,7 @@ Reshaping ^^^^^^^^^ - A ``KeyError`` is now raised if ``.unstack()`` is called on a :class:`Series` o...
- [X] closes #27642 - [x] tests 2 / 1 [added / passed] - [X] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry - [ ] \(Optional) allow users to pass datetime.timedelta objects for tolerance
https://api.github.com/repos/pandas-dev/pandas/pulls/27650
2019-07-29T21:35:20Z
2019-08-22T13:09:50Z
2019-08-22T13:09:49Z
2021-06-27T18:50:43Z
CLN: all the things
diff --git a/pandas/_config/config.py b/pandas/_config/config.py index 61e926035c3f2..4f0720abd1445 100644 --- a/pandas/_config/config.py +++ b/pandas/_config/config.py @@ -110,7 +110,7 @@ def _set_option(*args, **kwargs): # must at least 1 arg deal with constraints later nargs = len(args) if not nargs o...
well, more of them
https://api.github.com/repos/pandas-dev/pandas/pulls/27647
2019-07-29T20:47:54Z
2019-07-30T07:20:25Z
2019-07-30T07:20:25Z
2019-07-30T14:33:22Z
TYPING: add some type hints to core.generic
diff --git a/pandas/_typing.py b/pandas/_typing.py index 37a5d7945955d..efb5fdb5c1fdd 100644 --- a/pandas/_typing.py +++ b/pandas/_typing.py @@ -28,6 +28,7 @@ Scalar = Union[str, int, float] Axis = Union[str, int] Ordered = Optional[bool] +Level = Union[str, int] # to maintain type information across generic func...
pre-cursor to #27527
https://api.github.com/repos/pandas-dev/pandas/pulls/27646
2019-07-29T19:42:47Z
2019-08-30T15:26:41Z
null
2019-09-12T19:36:00Z
BUG: Add mapping for pyqt for successful package installation
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index c7f8bb70e3461..71718928ee90a 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -187,6 +187,7 @@ Sparse Build Changes ^^^^^^^^^^^^^ +- Fixed pyqt development dependency issue because of different pyqt...
- [ ] closes #26838 - [ ] 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/27645
2019-07-29T19:32:54Z
2019-08-07T21:09:55Z
2019-08-07T21:09:54Z
2019-08-07T21:10:05Z
DOC: Add Pandas-Bokeh to pandas ecosystem page
diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst index b76dd3e0ff8e6..b1e3d8dc8a1ad 100644 --- a/doc/source/ecosystem.rst +++ b/doc/source/ecosystem.rst @@ -72,6 +72,17 @@ the latest web technologies. Its goal is to provide elegant, concise constructio graphics in the style of Protovis/D3, while delive...
This PR adds Pandas-Bokeh reference to Pandas ecosystem page. Best, Patrik
https://api.github.com/repos/pandas-dev/pandas/pulls/27644
2019-07-29T19:07:27Z
2019-07-30T08:26:28Z
2019-07-30T08:26:28Z
2019-07-30T09:00:28Z
Backport PR #27631 on branch 0.25.x (BUG: raise when wrong level name is passed to "unstack")
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index eb60272246ebb..fa9ca98f9c8d8 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -128,7 +128,7 @@ Groupby/resample/rolling Reshaping ^^^^^^^^^ -- +- A ``KeyError`` is now raised if ``.unstack()`` i...
Backport PR #27631: BUG: raise when wrong level name is passed to "unstack"
https://api.github.com/repos/pandas-dev/pandas/pulls/27640
2019-07-29T16:56:15Z
2019-07-30T11:21:48Z
2019-07-30T11:21:48Z
2019-07-30T12:24:43Z
EA: implement+test EA.view
diff --git a/doc/source/reference/extensions.rst b/doc/source/reference/extensions.rst index 407aab4bb1f1b..04974f05164f8 100644 --- a/doc/source/reference/extensions.rst +++ b/doc/source/reference/extensions.rst @@ -45,6 +45,7 @@ objects. api.extensions.ExtensionArray.argsort api.extensions.ExtensionArra...
Broken off from #27142, plus some type annotations
https://api.github.com/repos/pandas-dev/pandas/pulls/27633
2019-07-29T02:44:22Z
2019-08-09T08:00:54Z
2019-08-09T08:00:53Z
2019-08-09T14:34:27Z
CLN: Assorted cleanups
diff --git a/pandas/core/accessor.py b/pandas/core/accessor.py index f84033e9c3c90..2d4ded9e2e6ba 100644 --- a/pandas/core/accessor.py +++ b/pandas/core/accessor.py @@ -51,7 +51,7 @@ class PandasDelegate: """ def _delegate_property_get(self, name, *args, **kwargs): - raise TypeError("You cannot acces...
Mostly post-black cleanup
https://api.github.com/repos/pandas-dev/pandas/pulls/27632
2019-07-29T00:24:06Z
2019-07-29T16:52:39Z
2019-07-29T16:52:39Z
2019-07-29T16:54:35Z
BUG: raise when wrong level name is passed to "unstack"
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index eb60272246ebb..fa9ca98f9c8d8 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -128,7 +128,7 @@ Groupby/resample/rolling Reshaping ^^^^^^^^^ -- +- A ``KeyError`` is now raised if ``.unstack()`` i...
- [x] closes #18303 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Notice that I profited to make the error message a bit more understandable.
https://api.github.com/repos/pandas-dev/pandas/pulls/27631
2019-07-28T15:16:26Z
2019-07-29T16:55:40Z
2019-07-29T16:55:40Z
2019-08-03T11:44:30Z
DOC: Validate docstring directives
diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 06d45e38bfcdb..333136ddfddd9 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -263,8 +263,8 @@ fi ### DOCSTRINGS ### if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then - MSG='Validate docstrings (GL03, GL04, GL05, GL06, GL07, GL09, SS04, SS05,...
- [X] closes #27629 - [x] tests added / passed - [x] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
https://api.github.com/repos/pandas-dev/pandas/pulls/27630
2019-07-28T10:58:57Z
2019-08-06T20:55:16Z
2019-08-06T20:55:16Z
2019-08-07T04:34:18Z
Make interpolate_2d handle datetime64 correctly
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 4ca867b1088e7..98397e81d7bea 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -1223,7 +1223,6 @@ def _interpolate_with_fill( fill_value=fill_value, dtype=self.dtype, ...
Broken off from #27626 because I decided that is poorly scoped.
https://api.github.com/repos/pandas-dev/pandas/pulls/27628
2019-07-28T01:11:51Z
2019-07-31T20:22:12Z
2019-07-31T20:22:12Z
2019-07-31T20:35:11Z
CLN: de-kludge Block.quantile
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 4ca867b1088e7..62b08fd1712c8 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -1526,18 +1526,7 @@ def quantile(self, qs, interpolation="linear", axis=0): # We should always have ndim == 2 b...
Broken off from #27626 since I decided that is poorly scoped.
https://api.github.com/repos/pandas-dev/pandas/pulls/27627
2019-07-28T01:07:25Z
2019-07-31T12:17:59Z
2019-07-31T12:17:59Z
2019-07-31T13:27:13Z
CLN: de-kludge quantile, make interpolate_with_fill understand datetime64
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 4ca867b1088e7..ed4267793a2a1 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -1223,7 +1223,6 @@ def _interpolate_with_fill( fill_value=fill_value, dtype=self.dtype, ...
2 related-but-separate things here -quantile: de-kludging the base class method and putting the datetimetz-specific stuff in a subclass method. This will allow us to implement the refactor suggested in #14562. If/when DTA supports 2D, we'll be able to get rid of the subclass override kludge altogether. - interp...
https://api.github.com/repos/pandas-dev/pandas/pulls/27626
2019-07-27T19:49:34Z
2019-07-28T01:24:56Z
null
2019-07-28T01:25:01Z
remove undesired values kwarg
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index 4ca867b1088e7..990a24ef8d904 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -552,10 +552,10 @@ def f(m, v, i): return self.split_and_operate(None, f, False) - def astype(self, dtyp...
- [ ] closes #xxxx - [ ] 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/27625
2019-07-27T19:38:45Z
2019-07-31T12:20:16Z
2019-07-31T12:20:16Z
2019-07-31T13:26:32Z
BUG: cells are missing in the excel file when exporting excel using xlsxwriter with option constant_memory set to True (#15392)
diff --git a/doc/source/whatsnew/v0.25.1.rst b/doc/source/whatsnew/v0.25.1.rst index 6234bc0f7bd35..628486eafad2f 100644 --- a/doc/source/whatsnew/v0.25.1.rst +++ b/doc/source/whatsnew/v0.25.1.rst @@ -106,7 +106,7 @@ MultiIndex I/O ^^^ -- +- Bug in :func:`DataFrame.to_excel()` where cells are missing in the excel f...
- [x] closes #15392 - [ ] 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/27624
2019-07-27T12:15:59Z
2019-10-11T21:56:18Z
null
2019-10-11T21:56:18Z
Fix AttributeError in scripts/validate_docstrings for doc.returns[0].name
diff --git a/scripts/validate_docstrings.py b/scripts/validate_docstrings.py index 37623d32db685..94b30a92dbd68 100755 --- a/scripts/validate_docstrings.py +++ b/scripts/validate_docstrings.py @@ -757,7 +757,7 @@ def get_validation_data(doc): if doc.method_returns_something: errs.append(er...
- [X] closes #27622 - [ ] 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/27623
2019-07-27T11:06:45Z
2019-08-02T20:50:12Z
null
2023-05-11T01:19:06Z
Fix docstrings
diff --git a/pandas/core/arrays/numpy_.py b/pandas/core/arrays/numpy_.py index 1c35298fcc6b8..39529177b9e35 100644 --- a/pandas/core/arrays/numpy_.py +++ b/pandas/core/arrays/numpy_.py @@ -90,7 +90,7 @@ class PandasArray(ExtensionArray, ExtensionOpsMixin, NDArrayOperatorsMixin): """ A pandas ExtensionArray fo...
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This fixes some docstring formatting issues: e.g. some deprecated directives do not appear in current docs because the two colons are missing `.. dep...
https://api.github.com/repos/pandas-dev/pandas/pulls/27621
2019-07-27T10:16:26Z
2019-07-28T09:54:48Z
2019-07-28T09:54:48Z
2019-07-28T09:54:48Z
DEPR: remove ix
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index 9647693d4ed6b..ae6c07107f4a0 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -321,10 +321,9 @@ class Dropna: def setup(self, how, axis): self.df = DataFrame(...
- [x] Needs release note - [ ] Needs geopandas compat - [x] Need to remove ix asvs
https://api.github.com/repos/pandas-dev/pandas/pulls/27620
2019-07-27T01:45:51Z
2019-12-12T12:15:52Z
2019-12-12T12:15:52Z
2019-12-12T12:16:17Z
Continue simplifying indexing code
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index cdbe0e9d22eb4..9fd956c40c1f0 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2836,11 +2836,13 @@ def __getitem__(self, key): # Do we have a slicer (on rows)? indexer = convert_to_index_sliceable(self, key) if inde...
- [ ] closes #xxxx - [ ] 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/27619
2019-07-27T01:39:24Z
2019-07-27T14:09:37Z
2019-07-27T14:09:37Z
2019-07-27T15:11:12Z
Remove Encoding of values in char** For Labels
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 4decc99087a9e..8e25857e5ad69 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -159,6 +159,7 @@ I/O ^^^ - :meth:`read_csv` now accepts binary mode file buffers when using the Python csv engine (:issu...
- [X] closes #20500 In reviewing this module there is a shared function for object keys and values which encodes objects into a separate buffer and subsequently indexes off of that. Instead of encoding values in a buffer I've updated that function to be a char ** pointing to string representations of the labels (or ...
https://api.github.com/repos/pandas-dev/pandas/pulls/27618
2019-07-26T23:35:30Z
2019-08-23T22:38:19Z
2019-08-23T22:38:18Z
2019-08-23T22:38:22Z
DEPR: Deprecate NDFrame.filter
diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 8755abe642068..79027a69bb81a 100755 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -581,6 +581,7 @@ Deprecations it is recommended to use ``json_normalize`` as :func:`pandas.json_normalize` instead (:issu...
- [ ] xref #26642 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry I propose to deprecate (DataFrame|Series).filter. The method's functionality is already in the ``.loc``method, except the regex functionality, for whi...
https://api.github.com/repos/pandas-dev/pandas/pulls/27617
2019-07-26T22:43:26Z
2020-02-02T01:19:16Z
null
2020-02-02T01:19:17Z
Move json_normalize to pd namespace
diff --git a/doc/redirects.csv b/doc/redirects.csv index 587a5e9f65b38..0a71f037d23c3 100644 --- a/doc/redirects.csv +++ b/doc/redirects.csv @@ -777,7 +777,7 @@ generated/pandas.io.formats.style.Styler.to_excel,../reference/api/pandas.io.for generated/pandas.io.formats.style.Styler.use,../reference/api/pandas.io.forma...
- Added a whatsnew entry - Imported pandas.io.json.json_normalize in __init__.py - [x] closes #27586 - [x] whatsnew entry cc: @WillAyd
https://api.github.com/repos/pandas-dev/pandas/pulls/27615
2019-07-26T17:12:09Z
2019-12-18T19:53:18Z
2019-12-18T19:53:17Z
2019-12-18T19:55:50Z
CLN: Fix comment in interval.py
diff --git a/pandas/core/arrays/interval.py b/pandas/core/arrays/interval.py index 7f1aad3ba3261..2a0d2c8770063 100644 --- a/pandas/core/arrays/interval.py +++ b/pandas/core/arrays/interval.py @@ -1206,7 +1206,7 @@ def maybe_convert_platform_interval(values): """ if isinstance(values, (list, tuple)) and len(v...
https://api.github.com/repos/pandas-dev/pandas/pulls/27612
2019-07-26T15:12:28Z
2019-07-26T20:58:56Z
2019-07-26T20:58:56Z
2019-07-26T21:02:41Z