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

BUG: convert_objects on > 2ndim raises #4937

Closed
jreback opened this issue Sep 22, 2013 · 0 comments · Fixed by #4938
Closed

BUG: convert_objects on > 2ndim raises #4937

jreback opened this issue Sep 22, 2013 · 0 comments · Fixed by #4938
Assignees
Labels
Bug Internals Related to non-user accessible pandas implementation
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Sep 22, 2013

In [40]: x = Panel(dict(A = dict(a = ['1','1.0'])))

In [41]: x
Out[41]: 
<class 'pandas.core.panel.Panel'>
Dimensions: 1 (items) x 2 (major_axis) x 1 (minor_axis)
Items axis: A to A
Major_axis axis: 0 to 1
Minor_axis axis: a to a

In [42]: x.values
Out[42]: 
array([[['1'],
        ['1.0']]], dtype=object)

In [43]: x.convert_objects(convert_numeric='force')
ValueError: Buffer has wrong number of dimensions (expected 1, got 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Internals Related to non-user accessible pandas implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant