Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from Mar 10, 2013
Merged

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

merged 2 commits into from Mar 10, 2013

Conversation

ghost
Copy link

@ghost ghost 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
@wesm
Copy link
Member

wesm commented Mar 10, 2013

Should add this to the release notes somewhere I guess

@ghost
Copy link
Author

ghost commented Mar 10, 2013

will do.

@ghost
Copy link
Author

ghost commented Mar 10, 2013

pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant