code: def test_log_dataframe(user, test_settings):
      import pandas as pd
  
      run = wandb.init(settings=test_settings())
      cv_results = pd.DataFrame(
          data={"test_col": [1, 2, 3], "test_col2": [4, 5, 6]}
      )
      run.log({"results_df": cv_results})
      run.finish()
  
      run = wandb.Api().run(f"uncategorized/{run.id}")
      assert len(run.logged_artifacts()) == 1
  
file_path: wandb/tests/pytest_tests/system_tests/test_artifacts/test_data_types.py
imports: import json
  import matplotlib
  import numpy
  import pytest
  import wandb
  from wandb import data_types
label_desc: Use image node_id 3 for calling a global function with example usage: test_log_dataframe(user, test_settings) without return types