def METHOD_NAME(cls, data, index=None, columns=None):
    ErrorMessage.default_to_pandas("`from_spmatrix`")
    return pd.DataFrame(
        pandas.DataFrame.sparse.METHOD_NAME(data, index=index, columns=columns)
    )