Extract data from DB more efficiently thanks to Pandas library