code: def test_drop_duplicates_feature_generator(
      generator_helper, data_helper
  ):
      # Given
      input_data = data_helper.generate_multi_feature_full()
  
      generator = DropDuplicatesFeatureGenerator()
  
      og_feature_metadata_in = FeatureMetadata.from_df(
          input_data
      ).to_dict(inverse=True)
  
      expected_og_feature_metadata_in = {
          ("category", ()): ["cat"],
          ("datetime", ()): ["datetime"],
          ("float", ()): ["float"],
          ("int", ()): ["int_bool", "int"],
          ("object", ()): ["obj"],
          ("object", ("datetime_as_object",)): ["datetime_as_object"],
          ("object", ("text",)): ["text"],
      }
  
      assert expected_og_feature_metadata_in == og_feature_metadata_in
  
      expected_feature_metadata_in_full = {
          ("category", ()): ["cat"],
          ("datetime", ()): ["datetime"],
          ("float", ()): ["float"],
          ("int", ()): ["int_bool", "int"],
          ("object", ()): ["obj"],
          ("object", ("datetime_as_object",)): ["datetime_as_object"],
          ("object", ("text",)): ["text"],
      }
  
      expected_feature_metadata_full = {
          ("category", ()): ["cat"],
          ("datetime", ()): ["datetime"],
          ("float", ()): ["float"],
          ("int", ()): ["int_bool", "int"],
          ("object", ()): ["obj"],
          ("object", ("datetime_as_object",)): ["datetime_as_object"],
          ("object", ("text",)): ["text"],
      }
  
      # When
      output_data = generator_helper.fit_transform_assert(
          input_data=input_data,
          generator=generator,
          expected_feature_metadata_in_full=expected_feature_metadata_in_full,
          expected_feature_metadata_full=expected_feature_metadata_full,
      )
  
file_path: autogluon/features/tests/features/generators/test_drop_duplicates.py
imports: import numpy
  import pandas
  from autogluon.common import FeatureMetadata
  from autogluon.features.generators import DropDuplicatesFeatureGenerator
label_desc: Use image node_id 1 for calling a global function with example usage: test_drop_duplicates_feature_generator(generator_helper, data_helper) without return types