Skip to content

DEPR: Index.is_mixed #32922

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

Closed
jbrockmendel opened this issue Mar 23, 2020 · 1 comment · Fixed by #33291
Closed

DEPR: Index.is_mixed #32922

jbrockmendel opened this issue Mar 23, 2020 · 1 comment · Fixed by #33291
Labels
Deprecate Functionality to remove in pandas
Milestone

Comments

@jbrockmendel
Copy link
Member

We only use it in one place, and removing it there doesn't break anything. Moreover, it behaves surprisingly:

>>> pd.Index(['a', np.nan, 'b']).is_mixed()
True

>>> Index([0, 'a', 1, 'b', 2, 'c']).is_mixed()
False
@jorisvandenbossche
Copy link
Member

Fine with me to deprecate. People can always use pd.api.types.infer_dtype directly.

@jorisvandenbossche jorisvandenbossche added the Deprecate Functionality to remove in pandas label Mar 23, 2020
@jbrockmendel jbrockmendel mentioned this issue Apr 4, 2020
5 tasks
@jreback jreback added this to the 1.1 milestone Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants