DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
How to set "Unnamed: 0" column as the index in a DataFrame
pd
.
read_csv
(
'file.csv'
,
index_col
=
[
0
]
)
PREVIOUS
NEXT
Tagged:
#How
#set
#column
#index
#DataFrame
ADD COMMENT
Topic
COMMENT
Name
9+8 =
Submit