class_docstr: This class keeps track of different profilers on a per
  stage/UDF basis. Also this is used to create new profilers for
  the different stages/UDFs.
class_docstr_tok: ["This","class","keeps","track","of","different","profilers","on","a","per","stage\/UDF","basis",".","Also","this","is","used","to","create","new","profilers","for","the","different","stages\/UDFs","."]
docstr: Print the profile stats to stdout
docstr_tok: ["Print","the","profile","stats","to","stdout"]
code: def show_profiles(self) -> None:
      """Print the profile stats to stdout"""
      for i, (id, profiler, showed) in enumerate(self.profilers):
          if not showed and profiler:
              profiler.show(id)
              # mark it as showed
              self.profilers[i][2] = True
  
imports: from typing import Any, Callable, Dict, List, Optional, Tuple, Type, TYPE_CHECKING, Union, cast
  import cProfile
  import inspect
  import pstats
  import linecache
  import os
  import atexit
  import sys
  import warnings
  from pyspark.accumulators import AccumulatorParam
  from pyspark.errors import PySparkRuntimeError
label_desc: Use image node_id 7 for calling the ProfilerCollector obj's underlying member method code with example usage: obj.show_profiles() without return types