code: def test_tfdataset_with_dataframe_arraytype(self):
      rdd = self.sc.range(0, 1000)
      df = rdd.map(lambda x: ([0.0] * 20, x % 10)).toDF(
          ["feature", "label"]
      )
      train_df, val_df = df.randomSplit([0.7, 0.3])
      create_ds = self.make_create_ds_fn(train_df, val_df)
      self.check_dataset(create_ds)
  
imports: import pytest
  from pyspark.ml.linalg import DenseVector
  from zoo.feature.common import ChainedPreprocessing, FeatureSet
  from zoo.feature.image import *
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.pipeline.api.keras.optimizers import Adam
  from zoo.tfpark import TFNet, TFOptimizer
  import tensorflow
  import numpy
  import os
  from zoo.tfpark import KerasModel, TFDataset
label_desc: Use image node_id 22 for calling the TestTFDataset obj's underlying member method code with example usage: obj.test_tfdataset_with_dataframe_arraytype() without return types