DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
dataframe check for nan in iterrows
for
i
,
row
in
df
.
iterrows
(
)
:
value
=
row
[
"Name"
]
if
pd
.
isnull
(
value
)
:
dosomething
(
)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#dataframe
#check
#nan
#iterrows
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit