ENH: add display.max_seq_items to limit len of pprinted long sequences #2979

Merged
merged 2 commits into from Mar 10, 2013

Conversation

Projects
None yet
2 participants
Contributor

y-p commented Mar 6, 2013

There's a circuit-breaker in higher layers of the display code,
but just in case.

n [2]: pd.options.display.max_seq_items=10

In [3]: pd.core.common.pprint_thing(range(10000))
Out[3]: u'[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, ...]'

@wesm wesm merged commit dd7e3cc into pandas-dev:master Mar 10, 2013

Owner

wesm commented Mar 10, 2013

Should add this to the release notes somewhere I guess

Contributor

y-p commented Mar 10, 2013

will do.

Contributor

y-p commented Mar 10, 2013

pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment