get rows where column value not na pandas code example Example: python select columns with no na df = df[df.columns[~df.isnull().all()]]