code: def smart_display_dataframe(df):  # pragma: no cover
      """Display a pandas dataframe if in a jupyter notebook, otherwise print it to console."""
      try:
          from IPython.display import display
  
          display(df)
      except Exception:
          print(df)
  
imports: import warnings
  import numpy
  import pandas
  from typing import Union, Tuple
  from cleanlab.typing import DatasetLike, LabelLike
  from cleanlab.internal.validation import labels_to_array
  from cleanlab.internal.constants import FLOATING_POINT_COMPARISON, TINY_VALUE
label_desc: Use image node_id 30 for calling a global function with example usage: smart_display_dataframe(df) without return types