DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
rename column in dataframe
df
.
rename
(
{
"current"
:
"updated"
}
,
axis
=
1
,
inplace
=
True
)
print
(
df
.
dtypes
)
Source by app.dataquest.io #
PREVIOUS
NEXT
Tagged:
#rename
#column
#dataframe
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit