Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas numpy multiplicar dos columnas segun una condicion

df['NewColumn'] = np.where(df['ColumnCondition']> 105000, 'value true', 'value false')
 
PREVIOUS NEXT
Tagged: #pandas #numpy #multiplicar #dos #columnas #segun #una #condicion
ADD COMMENT
Topic
Name
7+2 =