DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
count rows with nan pandas
np.count_nonzero(df.isnull().values) np.count_nonzero(df.isnull()) # also works
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#count
#rows
#nan
#pandas
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit