python - Can pandas work with multiple result sets? -
assuming database , driver support nextset(), there way me use pandas process multiple sets? i've been working pandas few days, i'm not sure expect like. current workflow df = pd.read_sql(sql_statement, db)
, slicing df
sections process them consecutively. if somehow use cursor.nextset()
instead, able simplify stored proc significantly.
Comments
Post a Comment