DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+2 =
Submit