pandas only show rows where certain column have nan value code example Example: show all rows with nan for a column value pandas df[df['col'].isnull()]