DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python dataframe rename first column
df.rename(columns={ df.columns[1]: "your value" }, inplace = True)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#dataframe
#rename
#column
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit