code: def print_table(df, floatfmt=".3f", tablefmt="simple"):
      """Pretty display of table.
  
      Parameters
      ----------
      df : :py:class:`pandas.DataFrame`
          Dataframe to print (e.g. ANOVA summary)
      floatfmt : string
          Decimal number formatting
      tablefmt : string
          Table format (e.g. 'simple', 'plain', 'html', 'latex', 'grid', 'rst').
          For a full list of available formats, please refer to
          https://pypi.org/project/tabulate/
      """
      if "F" in df.keys():
          print("\n=============\nANOVA SUMMARY\n=============\n")
      if "A" in df.keys():
          print("\n==============\nPOST HOC TESTS\n==============\n")
  
      print(
          tabulate(
              df,
              headers="keys",
              showindex=False,
              floatfmt=floatfmt,
              tablefmt=tablefmt,
          )
      )
      print("")
  
file_path: pingouin/pingouin/utils.py
imports: import numbers
  import numpy
  import pandas
  import itertools
  import collections.abc
  from tabulate import tabulate
  from .config import options
label_desc: Use image node_id 2 for calling a global function with example usage: print_table(df, floatfmt, tablefmt) without return types