Skip to content

DataFrame.info() issue with duplicated columns #11761

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
wavexx opened this issue Dec 4, 2015 · 2 comments
Closed

DataFrame.info() issue with duplicated columns #11761

wavexx opened this issue Dec 4, 2015 · 2 comments
Labels
Bug Output-Formatting __repr__ of pandas objects, to_string
Milestone

Comments

@wavexx
Copy link

wavexx commented Dec 4, 2015

When duplicated columns exists, DataFrame.info() returns broken output:

pd.DataFrame([[1, 1]], columns=['x','x']).info()
<class 'pandas.core.frame.DataFrame'>
Int64Index: 1 entries, 0 to 0
Data columns (total 2 columns):
x    1 non-null x    int64
x    int64
dtype: object
x    1 non-null x    int64
x    int64
dtype: object
dtypes: int64(2)
memory usage: 24.0 bytes

See #11754

@jreback
Copy link
Contributor

jreback commented Dec 4, 2015

hmm, that is a problem....ok

@jreback
Copy link
Contributor

jreback commented Dec 7, 2015

closed via #11772

@jreback jreback closed this as completed Dec 7, 2015
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

2 participants