code: def test_data_as_datatypes(data, data_type):
      data, dist_type, *other = data
      if data_type:
          if len(other) > 0 and data_type in other[0]:
              return
          data = data_type(data)
      checker(data, dist_type)
  
imports: from fairlearn.adversarial._preprocessor import FloatTransformer
  import pytest
  from pandas import DataFrame, Series
  from numpy import ndarray, asarray, issubdtype
  from fairlearn.datasets import fetch_adult
label_desc: Use image node_id 3 for calling a global function with example usage: test_data_as_datatypes(data, data_type) without return types