Python – Drop row if two columns are NaN May 7, 2023 by Tarik Any one of the following two: df.dropna(subset=[1, 2], how='all') or df.dropna(subset=[1, 2], thresh=1)