Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

set value based on column

df.loc[df['c1'] == 'Value', 'c2'] = 10
 
PREVIOUS NEXT
Tagged: #set #based #column
ADD COMMENT
Topic
Name
8+6 =