I know there are a few ways to retrieve data from RDB table. One with pandas as read_sql, the other with cursore.fetchall(). What are the main differences between both ways in terms of:
- memory usage - is df less reccomended?
- performance - selecting data from a table (e.g. large set of data)
- performace - inserting data with a loop for cursor vs df.to_sql.
Thanks!