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

Comments

Projects
None yet
1 participant
@jreback
Copy link
Contributor

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
You can’t perform that action at this time.