<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def data(cls, cube, weighted, prune):
 """Return ndarray representing table index by margin."""

        return cls()._data(cube, weighted, prune)