code: def _tokenize_1d(x: Iterable):
      return ivy.array([v for v, _ in enumerate(x)])
  
imports: import ivy
  import ivy.functional.frontends.pandas.series
  from typing import Iterable
label_desc: Use image node_id 2 for calling the Index obj's underlying member method code with example usage: obj._tokenize_1d(x) and returns: ivy