Answers for "pandas numpy multiplicar dos columnas segun una condicion"

0

pandas numpy multiplicar dos columnas segun una condicion

df['NewColumn'] = np.where(df['ColumnCondition']> 105000, 'value true', 'value false')
Posted by: Guest on October-04-2021

Python Answers by Framework

Browse Popular Code Answers by Language