pandas run query code example Example: run sql query on pandas dataframe from pandasql import sqldf output = sqldf("select * from df")