Skip to content

BUG: Weird console formatting defaults #22524

Open
@wesm

Description

@wesm

Working on book updates and was surprised to see pandas do this:

before

 In [99]: frame
 Out[99]: 
-   Ohio  Texas  California
-a     0      1           2
-c     3      4           5
-d     6      7           8

after

+   Ohio     ...      California
+a     0     ...               2
+c     3     ...               5
+d     6     ...               8
+[3 rows x 3 columns]

Why is the middle column being hidden in a small 3x3 data frame?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions