def METHOD_NAME(obj: list, store=None) -> pd.DataFrame:
    if not isinstance(obj, list):
        raise TypeError("input must be a list of dict")
    if not np.all([isinstance(x, dict) for x in obj]):
        raise TypeError("input must be a list of dict")
    res = pd.DataFrame(obj)
    if (
        isinstance(store, dict)
        and "index" in store.keys()
        and len(store["index"]) == len(res)
    ):
        res.index = store["index"]
    return res