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