Skip to content

ER: better error messages on Panel construction with non-nested dict #4185

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

Closed
jreback opened this issue Jul 9, 2013 · 1 comment
Closed
Assignees
Labels
Error Reporting Incorrect or improved errors from pandas

Comments

@jreback
Copy link
Contributor

jreback commented Jul 9, 2013

see related: #4184, #4324

In [2]: pd.Panel(dict(A = np.nan))
AttributeError: 'float' object has no attribute 'shape'
In [26]: a = pd.Series(np.random.randn(4))

In [27]: b = pd.Series(np.random.randn(4), index=np.arange(1, 5))

In [28]: pd.Panel({'a': a, 'b': b})
IndexError: tuple index out of range
@ghost ghost assigned jreback Sep 20, 2013
@jreback jreback modified the milestones: 0.15.0, 0.14.0 Mar 14, 2014
@jreback jreback modified the milestones: 0.16.0, Next Major Release Mar 3, 2015
@jreback jreback modified the milestones: won't fix, Next Major Release Jul 11, 2017
@jreback
Copy link
Contributor Author

jreback commented Jul 11, 2017

closing as Panel deprecated

@jreback jreback closed this as completed Jul 11, 2017
@TomAugspurger TomAugspurger modified the milestones: won't fix, No action Jul 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Reporting Incorrect or improved errors from pandas
Projects
None yet
Development

No branches or pull requests

3 participants