Skip to content

CLN: remove Block._try_coerce_arg #29139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 36 commits into from
Oct 24, 2019
Merged

Conversation

jbrockmendel
Copy link
Member

Made possible by modernizing libindex.convert_scalar

@gfyoung gfyoung added Clean Internals Related to non-user accessible pandas implementation labels Oct 22, 2019
@TomAugspurger
Copy link
Contributor

The test failure here seems related? You might reproduce it locally by elevating warnings to errors with pytest -Werror ...

@@ -7,7 +7,8 @@

import numpy as np

from pandas._libs import NaT, Timestamp, lib, tslib, writers
from pandas._libs import NaT, lib, tslib, writers
from pandas._libs.index import convert_scalar
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

followup: convert_scalar should be in pandas.core.dtypes.cast (you can just call the cython version), but import / expose from there.

also the cython version is in a very weird place (index.pyx).

@jreback jreback added this to the 1.0 milestone Oct 24, 2019
@jreback jreback merged commit 225cc92 into pandas-dev:master Oct 24, 2019
@jreback
Copy link
Contributor

jreback commented Oct 24, 2019

nice removals, pls create an issue / PR for the follow when you have a chance.

@jbrockmendel jbrockmendel deleted the coerce9 branch October 24, 2019 15:37
HawkinsBA pushed a commit to HawkinsBA/pandas that referenced this pull request Oct 29, 2019
Reksbril pushed a commit to Reksbril/pandas that referenced this pull request Nov 18, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
bongolegend pushed a commit to bongolegend/pandas that referenced this pull request Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Internals Related to non-user accessible pandas implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants