Large MultiIndex objects are not truncated when printing #12872
Labels
Duplicate Report
Duplicate issue or pull request
MultiIndex
Output-Formatting
__repr__ of pandas objects, to_string
Most Pandas objects have some truncation applied with they are printed in the REPL. For example:
MultiIndex objects are an apparent exception:
Occasionally when working with very large MultiIndex objects (~20,000 rows), I have printed them to check how they look and ended up choking my IPython notebook session (I guess Chrome is what has trouble, but I'm not sure). It would be helpful if the MultiIndex
__repr__
applied some truncation to avoid this, as it can end up being a little disruptive.output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: