code: def test_binary_dataset_pandas(
      datafiles, etalon_definition, etalon_search_keys
  ):
      df = pd.read_csv(datafiles / "data.csv.gz")
      df = df.reset_index()
      df = df.rename(columns={"index": "system_record_id"})
      converter = DateTimeSearchKeyConverter("rep_date")
      df = converter.convert(df)
      ds = Dataset(
          dataset_name="test Dataset",  # type: ignore
          description="test",  # type: ignore
          df=df,  # type: ignore
          meaning_types=etalon_definition,  # type: ignore
          search_keys=etalon_search_keys,  # type: ignore
          model_task_type=ModelTaskType.BINARY,  # type: ignore
      )
      ds.validate()
      expected_valid_rows = 15555
      assert len(ds) == expected_valid_rows
  
file_path: upgini/tests/test_binary_dataset.py
imports: import os
  import pandas
  import pytest
  from upgini import Dataset, FileColumnMeaningType
  from upgini.metadata import ModelTaskType
  from upgini.utils.datetime_utils import DateTimeSearchKeyConverter
label_desc: Use image node_id 3 for calling a global function with example usage: test_binary_dataset_pandas(datafiles, etalon_definition, etalon_search_keys) without return types