pandas where one column is nan take other column code example Example: show all rows with nan for a column value pandas df[df['col'].isnull()]