-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
Open
Labels
API - ConsistencyInternal Consistency of API/BehaviorInternal Consistency of API/BehaviorBugIO CSVread_csv, to_csvread_csv, to_csvIO Excelread_excel, to_excelread_excel, to_excel
Description
xref #11328
In [100]: df = pd.DataFrame({0: range(5), 1:range(5)})
In [101]: df.to_excel('tmp.xlsx')
In [102]: df.to_csv('tmp.csv')
In [103]: pd.read_excel('tmp.xlsx', index_col=0).columns
Out[103]: Int64Index([0, 1], dtype='int64')
In [106]: pd.read_csv('tmp.csv', index_col=0).columns
Out[106]: Index([u'0', u'1'], dtype='object')
Metadata
Metadata
Assignees
Labels
API - ConsistencyInternal Consistency of API/BehaviorInternal Consistency of API/BehaviorBugIO CSVread_csv, to_csvread_csv, to_csvIO Excelread_excel, to_excelread_excel, to_excel