code: def _parse(data):
      """
      Parse movielens dataset lines.
      """
  
      for line in data:
          if not line:
              continue
  
          uid, iid, rating, timestamp = [
              int(x) for x in line.split("\t")
          ]
  
          yield uid, iid, rating, timestamp
  
file_path: lightfm/examples/movielens/data.py
imports: import itertools
  import os
  import zipfile
  import numpy
  import requests
  import scipy.sparse
label_desc: Use image node_id 4 for calling a global function with example usage: _parse(data) without return types