using ruff==0.0.215
The following snippet raises an E712 when running ruff:
import pandas as pd
df = pd.DataFrame({"x" : [False, True]})
df["x"] != False
and the autofix replaces df["x"] != False with df["x"] is not False. The two are unfortunately not equivalent and the latter leads to errors from pandas.