DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas add prefix to column names
s.add_prefix('item_') item_0 1 item_1 2 item_2 3 item_3 4 dtype: int64
Source by pandas.pydata.org #
PREVIOUS
NEXT
Tagged:
#pandas
#add
#prefix
#column
#names
ADD COMMENT
Topic
COMMENT
Name
8+5 =
Submit