code: def index(self, weighted=True, prune=False):
          
          warnings.warn(
              "CrunchCube.index() is deprecated. Use CubeSlice.index_table().",
              DeprecationWarning,
          )
          return Index.data(self, weighted, prune)
docs: Return cube index measurement.
  
          This function is deprecated. Use index_table from CubeSlice.