for row in keys_df.iterrows():
    tempdf = pd.read_sql(sql="SELECT * FROM test_table WHERE key='" + row[1
        ][0] + "';", con=conn)
print(tempdf.describe())
print('')
Group By operation for large dataset