Skip to content

ENH: Series from MultiIndex causes segfault #4187

Closed
@hayd

Description

@hayd
In [3]: m = pd.MultiIndex.from_arrays([[1,2], [3,4]])

In [4]: m
Out[4]:
MultiIndex
[(1, 3), (2, 4)]

In [5]: pd.Series(m)
[1]    786 segmentation fault  ipython

pd.Series(m.values) has same fault (list of tuples)

Probably this should just be disallowed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions