def METHOD_NAME(obj, **kw):
    with resolver_context(base=default_resolver_context) as current_resolver:
        table = current_resolver(obj, **kw)
    table = table.to_pandas()
    if 'label' in kw:
        target = table[kw['label']].values.astype(np.float32)
        data = table.drop(kw['label'], axis=1).values.astype(np.float32)
        return mx.gluon.data.ArrayDataset((data, target))
    raise ValueError("'label' not presented in kwargs")