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

__repr__ display of dict elements misleading #2144

Closed
wesm opened this issue Oct 29, 2012 · 0 comments
Closed

__repr__ display of dict elements misleading #2144

wesm opened this issue Oct 29, 2012 · 0 comments
Labels
Bug Output-Formatting __repr__ of pandas objects, to_string
Milestone

Comments

@wesm
Copy link
Member

wesm commented Oct 29, 2012

In [14]: DataFrame([data])['name']
Out[14]: 
0    [full, last, ascii_first, ascii_last, first]
Name: name

In [15]: DataFrame([data])['name'][0]
Out[15]: 
{u'ascii_first': u'Paul',
 u'ascii_last': u'Millsap',
 u'first': u'Paul',
 u'full': u'Paul Millsap',
 u'last': u'Millsap'}
@wesm wesm closed this as completed in 5ed523c Nov 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Output-Formatting __repr__ of pandas objects, to_string
Projects
None yet
Development

No branches or pull requests

1 participant