Skip to content

Sortedness problems with MultiIndex #120

@wesm

Description

@wesm

Take this example:

arrays = [['bar', 'bar', 'baz', 'baz', 'qux', 'qux', 'foo', 'foo'],
['one', 'two', 'one', 'two', 'one', 'two', 'one', 'two']]
tuples = zip(*arrays)
tuples
index = MultiIndex.from_tuples(tuples)
s = Series(randn(8), index=index)

This does not yield the expected result:

s['qux']

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions