code: def test_feather_format(version):
      """test_feather_format"""
      import numpy as np
      import pandas as pd
  
      from pyarrow import feather as pa_feather
  
      data = {
          "bool": np.asarray([e % 2 for e in range(100)], bool),
          "int8": np.asarray(range(100), np.int8),
          "int16": np.asarray(range(100), np.int16),
          "int32": np.asarray(range(100), np.int32),
          "int64": np.asarray(range(100), np.int64),
          "float": np.asarray(range(100), np.float32),
          "double": np.asarray(range(100), np.float64),
      }
      df = pd.DataFrame(data).sort_index(axis=1)
      with tempfile.NamedTemporaryFile(delete=False) as f:
          pa_feather.write_feather(df, f, version=version)
  
      feather = tfio.IOTensor.from_feather(f.name)
      for column in df.columns:
          assert feather(column).shape == [100]
          assert feather(column).dtype == column
          assert np.all(
              feather(column).to_tensor().numpy() == data[column]
          )
  
      os.unlink(f.name)
  
imports: import os
  import tempfile
  import pytest
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 1 for calling a global function with example usage: test_feather_format(version) without return types