def METHOD_NAME(
    self, context: InputContext, table_slice: TableSlice, connection
) -> pd.DataFrame:
    """Loads the input as a Pandas DataFrame."""
    if table_slice.partition_dimensions and len(context.asset_partition_keys) == 0:
        return pd.DataFrame()
    return connection.execute(DuckDbClient.get_select_statement(table_slice)).fetchdf()