DataFrame.info() issue with duplicated columns #11761

Closed
wavexx opened this Issue Dec 4, 2015 · 2 comments

Comments

Projects
None yet
2 participants

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

Contributor

jreback commented Dec 4, 2015

hmm, that is a problem....ok

jreback added this to the 0.18.0 milestone Dec 4, 2015

Contributor

jreback commented Dec 7, 2015

closed via #11772

jreback closed this Dec 7, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment