BUG: support dtypes in column_dtypes for to_records() by qwhelan · Pull Request #24895 · pandas-dev/pandas (original) (raw)

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