I am using pandas 0.16 and sqlalchemy to export data to a Microsft SQL Server 2014 database. The dataframe to_sql method automatically creates certain constraints on the table, e.g. it creates a constraint that a boolean column must be either 0 or 1.
I suspect these constraints are slowing down the export process. Is there a way to disable them, at least temporarily (i.e. re-enabling them only after all the data is in SQL)?
Also, is this documented anywhere? I couldn't find any mention of this, neither in the pandas docs nor in the sqlalchemy.