My code looks like this, i use pd.DataFrame.from_records to fill data into the dataframe, but it takes an hour and a half to process the request and load data from the sql t