API/ERR: allow iterators in df.set_index & improve errors by h-vetinari · Pull Request #24984 · pandas-dev/pandas (original) (raw)

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

h-vetinari

@h-vetinari

h-vetinari

wkschwartz

@h-vetinari

TomAugspurger

jreback

jorisvandenbossche

h-vetinari

@h-vetinari

@h-vetinari

h-vetinari

@h-vetinari

@h-vetinari

jreback

@h-vetinari

@h-vetinari

h-vetinari

@h-vetinari

jreback

@h-vetinari

@h-vetinari

@h-vetinari

jreback

@h-vetinari

thoo added a commit to thoo/pandas that referenced this pull request

Feb 28, 2019

@thoo

Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request

Feb 28, 2019

@h-vetinari @Pingviinituutti

Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request

Feb 28, 2019

@h-vetinari @Pingviinituutti

the-nose-knows added a commit to the-nose-knows/pandas that referenced this pull request

Mar 9, 2019

@the-nose-knows

Closes pandas-devgh-24767

Closes pandas-dev#20579

Closes pandas-dev#24727

xref pandas-dev#24733 xref pandas-dev#24897

Closes pandas-dev#24752

We support it and test it already.

xref pandas-devgh-24910.

Closes pandas-dev#24940 Closes pandas-dev#24939

The previous location of contributing.rst file was /doc/source/contributing.rst but has been moved to /doc/source/development/contributing.rst

Closes pandas-dev#24959

Closes pandas-devgh-24910.

This reverts commit 0cb0452.

[ci skip]

[ci skip]

This reverts commit 84056c5.

Not explicitly pinning the language level has been producing future warnings from cython. The next release of cython is going to change the default level to '3str' under which the pandas cython extensions do not compile.

The long term solution is to update the cython files to the next language level, but this is a stop-gap to keep pandas building.

Create check for SA05 errors in CI

This reverts commit f67b7fd.

TST: add pytest-mock to handle mocker fixture

Closes pandas-devgh-25359.

Closes pandas-devgh-25153

Authored-By: tdamsma tdamsma@gmail.com

The docstring contained a repeated segment, which I removed.

Fixes issue pandas-dev#25384

Closes pandas-devgh-22881

Follow-up to pandas-devgh-25414.

I realised "lon" and "lat" had just been switched with "longitude" and "latitude" in the following code block. So I used those names here as well.

Closes pandas-devgh-23222

xref pandas-devgh-23645

Closes pandas-devgh-23830

xref pandas-devgh-23969

Signed-off-by: Philippe Ombredanne pombredanne@nexb.com

The commit ensures that the replacement for regex is not confined to the beginning of the string but spans all the characters within. The behaviour is then consistent with versions prior to 0.24.0.

One test has been added to account for character replacement when the character is not at the beginning of the string.

Closes pandas-devgh-16807.

Closes pandas-dev#25403