code: def show_results(
      x: Tabular,
      y: Tabular,
      samples,
      outs,
      ctxs=None,
      max_n=10,
      **kwargs,
  ):
      df = x.all_cols[:max_n]
      for n in x.y_names:
          df[n + "_pred"] = y[n][:max_n].values
      display_df(df)
  
file_path: fastai/fastai/tabular/learner.py
imports: from __future__ import annotations
  from ..basics import *
  from .core import *
  from .model import *
  from .data import *
label_desc: Use image node_id 2 for calling a global function with example usage: show_results(x, y, samples, outs, ctxs, max_n) without return types