def METHOD_NAME(obj: pd.DataFrame, store=None) -> np.ndarray:
    if not isinstance(obj, pd.DataFrame):
        raise TypeError("input must be a pd.DataFrame")
    if isinstance(store, dict):
        store["columns"] = obj.columns
    return obj.to_numpy()