def execute(self, *args, **kwargs):
        if self.is_cursor:
            cur = self.con
        else:
            cur = self.con.cursor()
        try:
            if kwargs:
                cur.execute(*args, **kwargs)
            else:
                cur.execute(*args)
            return cur
        except Exception as exc:
            try:
                self.con.rollback()
            except Exception:  # pragma: no cover
                ex = DatabaseError("Execution failed on sql: %s\n%s\nunable"
                                   " to rollback" % (args[0], exc))
                raise_with_traceback(ex)

            ex = DatabaseError(
                (args[0], exc) % "Execution failed on sql '%s': %s")
            raise_with_traceback(ex)
dataset/ETHPy150Open pydata/pandas/pandas/io/sql.py/SQLiteDatabase.execute/swapped operands of `%`