DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
renamecolumns pandas
>>> df.columns = ['a', 'b'] >>> df a b 0 1 10 1 2 20
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#renamecolumns
#pandas
ADD COMMENT
Topic
COMMENT
Name
2+1 =
Submit