pandas select all comuns all empty code example Example: python select columns with no na df = df[df.columns[~df.isnull().all()]]