Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

add a column with initial value to an existing dataframe

new_df=df.assign(Profit=6)
 
PREVIOUS NEXT
Tagged: #add #column #initial #existing #dataframe
ADD COMMENT
Topic
Name
6+8 =