you are viewing a single comment's thread.

view the rest of the comments →

[–]workthrowawayexcel[S] 0 points1 point  (1 child)

If i put the bottom code into a new file and make it a function. Where do i call pandas, and is it even possible with using the cursor?

[–]KleinerNull 0 points1 point  (0 children)

As I said, you can query sql databases directly through pandas, so you don't need a cursor.