dorp ligne in df where values equal zeros code example Example: dorp ligne in df where values equal zeros df = df[(df['A'] != 0]