Skip to content

Setting option 'display.max_seq_items' to None results in TypeError when pprinting index #10182

Closed
@JWarmenhoven

Description

@JWarmenhoven

According to the docstring, the following is allowed:

pd.set_option('display.max_seq_items', None)

With 0.16.1 this results in a TypeError when pretty printing an index. This is because the None value is compared against lenght of the index to see if we need to limit output.

TypeError: unorderable types: int() > NoneType()

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugOutput-Formatting__repr__ of pandas objects, to_stringRegressionFunctionality that used to work in a prior pandas version

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions