code: def generate_report(correlation_table: bool):
      df = generate_df(300)
  
      correlations = {
          "auto": {"calculate": True},
          "pearson": {"calculate": True},
          "spearman": {"calculate": True},
          "kendall": {"calculate": True},
          "phi_k": {"calculate": True},
          "cramers": {"calculate": True},
      }
  
      return ProfileReport(
          df,
          title="Profiling Report",
          correlations=correlations,
          correlation_table=correlation_table,
      )
  
file_path: ydata-profiling/tests/unit/test_correlations.py
imports: import numpy
  import pandas
  import pytest
  from ydata_profiling import ProfileReport
  from ydata_profiling.report.presentation.core import CorrelationTable, Image
  from ydata_profiling.report.structure.correlations import get_correlation_items
label_desc: Use image node_id 2 for calling a global function with example usage: generate_report(correlation_table) and returns: ProfileReport