Запустите SQL -запрос на DataFrame Pandas
from pandasql import sqldf
output = sqldf("select * from df")
Difficult Deer
from pandasql import sqldf
output = sqldf("select * from df")