Binding list to params in Pandas read_sql_query with other params

前端 未结 3 833
有刺的猬
有刺的猬 2020-12-15 07:34

I\'ve been trying to test various methods for making my code to run. To begin with, I have this list:

member_list = [111,222,333,444,555,...]

I

3条回答
  •  隐瞒了意图╮
    2020-12-15 08:23

    query = 'Select count(*) cnt from TBL_DESK_AUDIT  where trunc(DATETIMECREATED) = trunc(sysdate) and DESK_NAME =' + "'"+dataframe_list1[0][0] + "'"
    print(query)
    df_TBL_DESK_AUDIT = pd.read_sql_query(query, connect);
    

提交回复
热议问题