BUG: index_col in read_csv ignores dtype #35431
Labels
Bug
Duplicate Report
Duplicate issue or pull request
Index
Related to the Index class or subclasses
IO CSV
read_csv, to_csv
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
If
index.csv
contains:then
results in
Problem description
This does not result in an index of strings.
Expected Output
By contrast,
results in
as intended.
Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: