-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
BUG: Panel does not preserve DataFrame dtypes #14512
Comments
See the docs here: http://pandas.pydata.org/pandas-docs/stable/dsintro.html#from-dict-of-dataframe-objects:
So
But note what @shoyer said in the other issue, we are planning to deprecate Panels: #13563 |
OK, thanks. If Panel weren't being deprecated I would suggest making this "just work" by default. |
Note that there is no "just work", as using |
A small, complete example of the issue
Expected Output
I expected the dtypes of
df
andpl.x
to match, the latter was created directly from the former.Output of
pd.show_versions()
INSTALLED VERSIONS
commit: None
python: 2.7.12.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-85-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.18.1
The text was updated successfully, but these errors were encountered: