<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load_data(self, table_name, obj, database=None, **kwargs):
 """ Wraps the LOAD DATA DDL statement. Loads data into an MapD table by physically moving data files. Parameters table_name : string obj: pandas.DataFrame or pyarrow.Table database : string, default None (optional) """

        _database = self.db_name
        self.set_database(database)
        self.con.load_table(table_name, obj, **kwargs)
        self.set_database(_database)