code: def smart_dataframe(self, llm, sample_df):
      return SmartDataframe(
          sample_df, config={"llm": llm, "enable_cache": False}
      )
  
imports: from typing import Any, Optional
  from unittest.mock import Mock
  import pandas
  import pytest
  from pandasai.llm.fake import FakeLLM
  from pandasai.pipelines.base_logic_unit import BaseLogicUnit
  from pandasai.pipelines.pipeline import Pipeline
  from pandasai.pipelines.pipeline_context import PipelineContext
  from pandasai.schemas.df_config import Config
  from pandasai.smart_dataframe import SmartDataframe
label_desc: Use image node_id 3 for calling the TestPipeline obj's underlying member method code with example usage: obj.smart_dataframe(llm, sample_df) and returns: SmartDataframe