Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to replace zero value in python dataframe

nonzero_mean = df[ df.col != 0 ].mean()
Source by www.reddit.com #
 
PREVIOUS NEXT
Tagged: #replace #python #dataframe
ADD COMMENT
Topic
Name
1+9 =