code: def parse_current_movies_data(
      dir_path: str,
  ) -> Iterator[Tuple[int, Dict[str, Any]]]:
      """Parses the movies data in current format (20m, 25m, and latest-small)."""
      movies_file_path = os.path.join(dir_path, "movies.csv")
      with epath.Path(movies_file_path).open() as movies_file:
          movies_reader = csv.DictReader(movies_file)
          for row_num, row in enumerate(movies_reader):
              yield row_num, {
                  "movie_id": row["movieId"],
                  "movie_title": row["title"],
                  "movie_genres": row["genres"].split("|"),
              }
  
file_path: datasets/tensorflow_datasets/structured/movielens_parsing.py
imports: import codecs
  import csv
  import os
  from typing import Any, Dict, Iterator, Tuple
  from etils import epath
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: parse_current_movies_data(dir_path) without return types