code: def dataframe(size: int = 1000) -> pd.DataFrame:
      return pd.DataFrame(
          {
              "boolean": np.random.choice([True, False], size=size),
              "numeric": np.random.rand(size),
              "categorical": np.random.choice(np.arange(5), size=size),
              "timeseries": np.arange(size),
          }
      )
  
file_path: ydata-profiling/tests/unit/test_typeset_default.py
imports: import os
  from typing import Dict
  import numpy
  import pandas
  import pytest
  from visions.test.utils import contains, convert, get_contains_cases, get_convert_cases, get_inference_cases, infers
  from tests.unit.test_utils import patch_arg
  from ydata_profiling.config import Settings
  from ydata_profiling.model.typeset import ProfilingTypeSet
  from ydata_profiling.profile_report import ProfileReport
label_desc: Use image node_id 5 for calling a global function with example usage: dataframe(size) and returns: pd