From SQL to pandas DataFrames