Convert Df To Dictionary Python Code