DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
insert multiple column pandas
df['column_new_1'], df['column_new_2'], df['column_new_3'] = [np.nan, 'dogs', 3]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#insert
#multiple
#column
#pandas
ADD COMMENT
Topic
COMMENT
Name
5+3 =
Submit