code: def test_parquet_data():
      """Test case for parquet GitHub 1254"""
      filename = os.path.join(
          os.path.dirname(os.path.abspath(__file__)),
          "test_parquet",
          "part-00000-ca0e89bf-ccd7-47e1-925c-9b42c8716c84-c000.snappy.parquet",
      )
      parquet = pd.read_parquet(filename)
      dataset = tfio.IODataset.from_parquet(filename)
      i = 0
      for columns in dataset:
          assert columns[b"user_id"] == parquet["user_id"][i]
          assert columns[b"movie_id"] == parquet["movie_id"][i]
          assert columns[b"movie_title"] == parquet["movie_title"][i]
          assert columns[b"rating"] == parquet["rating"][i]
          assert columns[b"timestamp"] == parquet["timestamp"][i]
          i += 1
  
file_path: io/tests/test_parquet.py
imports: import os
  import collections
  import numpy
  import tensorflow
  import tensorflow_io
  import pandas
label_desc: Use image node_id 7 for calling a global function with example usage: test_parquet_data() without return types