code: def _dataframe_to_html(df, precision, **kwargs):
      """Make HTML table from provided dataframe.
  
      Removes HTML5 non-compliant attributes (ex: `border`).
  
      Parameters
      ----------
      df : pandas.Dataframe
          Dataframe to be converted into HTML table.
  
      precision : int
          The display precision for float values in the table.
  
      **kwargs : keyworded arguments
          Supplies keyworded arguments for func: pandas.Dataframe.to_html()
  
      Returns
      -------
      html_table : String
          Code for HTML table.
  
      """
      with pd.option_context("display.precision", precision):
          html_table = df.to_html(**kwargs)
      html_table = html_table.replace('border="1" ', "")
      return html_table
  
imports: import os
  import string
  import warnings
  from collections import OrderedDict
  from collections.abc import Iterable
  from html import escape
  import numpy
  import pandas
  from matplotlib import pyplot
  from nilearn.plotting import plot_glass_brain, plot_roi, plot_stat_map
  from nilearn.plotting.img_plotting import MNI152TEMPLATE
  from nilearn.plotting.matrix_plotting import plot_contrast_matrix, plot_design_matrix
  from nilearn.reporting.html_report import HTMLReport
  from .._utils import fill_doc
  from nilearn._utils import check_niimg
  from nilearn.maskers import NiftiMasker
  from nilearn.reporting.get_clusters_table import get_clusters_table
  from nilearn.reporting.utils import figure_to_svg_quoted
label_desc: Use image node_id 16 for calling a global function with example usage: _dataframe_to_html(df, precision) and returns: html_table