changed any(df) to df.any()