Skip to content
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

DeprecationWarning: height has been deprecated #4413

Closed
amelio-vazquez-reina opened this issue Jul 31, 2013 · 1 comment
Closed

DeprecationWarning: height has been deprecated #4413

amelio-vazquez-reina opened this issue Jul 31, 2013 · 1 comment
Labels
Milestone

Comments

@amelio-vazquez-reina
Copy link
Contributor

I just upgraded to the latest stable version of Pandas:

import pandas as pd
import numpy as np

pd.DataFrame(np.random.random((10,5)))

returns the following warning:

/opt/python/virtualenvs/work/lib/python2.7/site-packages/pandas/core/config.py:570: DeprecationWarning: height has been deprecated.    

Why? And how can I silence it?

@ghost
Copy link

ghost commented Aug 1, 2013

There was a failed attempt in 0.11 to change the way repr() worked,
0.12 restored order and height has therefore been deprecated.

This issue is already fixed in master, and will be part of the next release: #4391.

If you don't want to run git master, Python let's you silence warnings selectively:
http://stackoverflow.com/questions/879173/how-to-ignore-deprecation-warnings-in-python

Just put this in your python or ipython startup files.

@ghost ghost closed this as completed Aug 2, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant