Simple(ish) question, but how do you return the re...
# ask-community
t
Simple(ish) question, but how do you return the results of a
SnowflakeQuery
task into a Pandas dataframe?
k
Hey @Timothy Byrne, it seems like you can’t with the current implementation. I suggest you subclass this so that instead of
cursor.execute(query, params=data).fetchall()
you use
Copy code
cursor.execute(query, params=data).fetch_pandas_all()
The next best thing maybe is to use the
DictCursor
and then convert that to Pandas in another Task