<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, df):
 """ Wraps the LOAD DATA DDL statement. Loads data into an MapD table from pandas.DataFrame or pyarrow.Table Parameters df: pandas.DataFrame or pyarrow.Table Returns ------- query : MapDQuery """

        stmt = ddl.LoadData(self._qualified_name, df)
        return self._execute(stmt)