Skip to content

Change deprecated Set operations on pd.Index #349

Closed
@milodubois

Description

@milodubois

Future versions of Pandas will not support pd.Index operations like this:

first | second

but must be used like this

first.union(second)

This is similar for & and ^.

See merged PR #37374 in pandas-dev/pandas.

Thus, all references, including the introductory reference in chapter 03.01 should be updated in PDSH or perhaps users should be made aware of this change when going through PDSH.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions