[DataFrame] Update initializations of IndexMetadata which use outdated APIs (#2103)
[DataFrame] Update initializations of IndexMetadata which use outdated APIs (#2103)

* Update calls which use outdated APIs

* Fix lengths of IndexMetadata

robertnishihara/ray,atumanov/ray,ujvl/ray-ng,richardliaw/ray,stephanie-wang/ray,pcmoritz/ray-1,pcmoritz/ray-1,robertnishihara/ray,atumanov/ray,richardliaw/ray,robertnishihara/ray,pcmoritz/ray-1,robertnishihara/ray,richardliaw/ray,stephanie-wang/ray,stephanie-wang/ray,robertnishihara/ray,richardliaw/ray,ray-project/ray,robertnishihara/ray,richardliaw/ray,atumanov/ray,robertnishihara/ray,stephanie-wang/ray,robertnishihara/ray,atumanov/ray,ujvl/ray-ng,ujvl/ray-ng,ujvl/ray-ng,stephanie-wang/ray,stephanie-wang/ray,ray-project/ray,ray-project/ray,robertnishihara/ray,ray-project/ray,stephanie-wang/ray,pcmoritz/ray-1,ray-project/ray,atumanov/ray,richardliaw/ray,richardliaw/ray,pcmoritz/ray-1,ray-project/ray,atumanov/ray,pcmoritz/ray-1,pcmoritz/ray-1,stephanie-wang/ray,atumanov/ray,ray-project/ray,richardliaw/ray,pcmoritz/ray-1,ray-project/ray,atumanov/ray,stephanie-wang/ray