Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas df.fillna selected columns

df[['a', 'b']] = df[['a','b']].fillna(value=0)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #selected #columns
ADD COMMENT
Topic
Name
7+8 =