Skip to content

fix replacement key for deprecated option display.height #5181

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 1 commit into from
Oct 14, 2013

Conversation

pierre-haessig
Copy link
Contributor

replacement key for deprecated option display.height was set to display.height itself. I believe it should be display.max_rows instead.

This avoid a weird message in describe_option() :

display.height: [default: 60] [currently: 60]
: int
        Deprecated.
    (Deprecated, use `display.height` instead.)

(I spotted it while reading the online doc http://pandas.pydata.org/pandas-docs/dev/basics.html?highlight=display.height#working-with-package-options )

replacement key for deprecated option `display.height` was set to `display.height` itself. I believe it should be `display.max_rows` instead.

This avoid a weird message in `describe_option()` :

    display.height: [default: 60] [currently: 60]
    : int
            Deprecated.
	    (Deprecated, use `display.height` instead.)
@jreback
Copy link
Contributor

jreback commented Oct 11, 2013

this seems right....

@jreback
Copy link
Contributor

jreback commented Oct 11, 2013

@jtratner @cpcloud @y-p ?

jreback added a commit that referenced this pull request Oct 14, 2013
fix replacement key for deprecated option `display.height`
@jreback jreback merged commit 8be33c5 into pandas-dev:master Oct 14, 2013
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.

2 participants