how to select rows of pandas dataframe whose column value is not na/nan code example Example: python select columns with no na df = df[df.columns[~df.isnull().all()]]