I\'m trying to use pandas to_sql with several transactions so that if any of to_sql calls fails then all will be rollbacked. My test code is:
import pandas as