I am using pandas pd.real_sql(SQL Query, con) to read in data from a database. When I use a basic query like SELECT * FROM COLUMN WHERE ROW IS NOT NULL I get a normal result. But, I can't figure out how to use cases. When I try to use a case I always get an error ...near "CASE": syntax error
SELECT * CASE WHEN Column IS NULL THEN False ELSE True END AS TrueFalse FROM Sheet",con Anyone know how to use sql cases with pandas