-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
pd.option_context without 'with' changes option values #8514
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
Labels
Milestone
Comments
BTW, using
These should be suppressed here I think. |
Should the option setting (https://github.com/pydata/pandas/blob/master/pandas/core/config.py#L394) happen in the |
yep it looks like it should be happening in
|
Closed
hkleynhans
added a commit
to hkleynhans/pandas
that referenced
this issue
Nov 29, 2014
Option context no longer overrides options when used outside a `with` statement. Added test TestConfig.test_option_config_scope Closes pandas-dev#8514
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just wondering if this is a bug, from http://stackoverflow.com/questions/26246864/restoring-the-default-display-context-in-pandas
If you use
pd.option_context
accidentally withoutwith
, this changes the default option values.The text was updated successfully, but these errors were encountered: