You'll need to add the column names manually, but this will populate the df.
data = cursor.fetchall() df = pd.DataFrame.from_records(data)