class_docstr: Wrapper for the ``vtkTable`` class.
  
  Create by passing a 2D NumPy array of shape (``n_rows`` by ``n_columns``)
  or from a dictionary containing NumPy arrays.
  
  Examples
  --------
  >>> import pyvista as pv
  >>> import numpy as np
  >>> arrays = np.random.default_rng().random((100, 3))
  >>> table = pv.Table(arrays)
class_docstr_tok: ["Wrapper","for","the","``","vtkTable","``","class",".","Create","by","passing","a","2D","NumPy","array","of","shape","(","``","n_rows","``","by","``","n_columns","``",")","or","from","a","dictionary","containing","NumPy","arrays",".","Examples","--","--","--","--",">",">",">","import","pyvista","as","pv",">",">",">","import","numpy","as","np",">",">",">","arrays","=","np.random.default_rng","(",")",".random","(","(","100",",","3",")",")",">",">",">","table","=","pv.Table","(","arrays",")"]
docstr: Return a pretty representation for Jupyter notebooks.
  
  It includes header details and information about all arrays.
docstr_tok: ["Return","a","pretty","representation","for","Jupyter","notebooks",".","It","includes","header","details","and","information","about","all","arrays","."]
code: def _repr_html_(self):
      """Return a pretty representation for Jupyter notebooks.
  
      It includes header details and information about all arrays.
  
      """
      fmt = ""
      if self.n_arrays > 0:
          fmt += "<table style='width: 100%;'>"
          fmt += "<tr><th>Header</th><th>Data Arrays</th></tr>"
          fmt += "<tr><td>"
      # Get the header info
      fmt += self.head(display=False, html=True)
      # Fill out scalars arrays
      if self.n_arrays > 0:
          fmt += "</td><td>"
          fmt += "\n"
          fmt += "<table style='width: 100%;'>\n"
          titles = ["Name", "Type", "N Comp", "Min", "Max"]
          fmt += (
              "<tr>"
              + "".join([f"<th>{t}</th>" for t in titles])
              + "</tr>\n"
          )
          row = "<tr><td>{}</td><td>{}</td><td>{}</td><td>{}</td><td>{}</td></tr>\n"
          row = (
              "<tr>"
              + "".join(["<td>{}</td>" for i in range(len(titles))])
              + "</tr>\n"
          )
  
          def format_array(key):
              """Format array information for printing (internal helper)."""
              arr = row_array(self, key)
              dl, dh = self.get_data_range(key)
              dl = pyvista.FLOAT_FORMAT.format(dl)
              dh = pyvista.FLOAT_FORMAT.format(dh)
              if arr.ndim > 1:
                  ncomp = arr.shape[1]
              else:
                  ncomp = 1
              return row.format(key, arr.dtype, ncomp, dl, dh)
  
          for i in range(self.n_arrays):
              key = self.GetRowData().GetArrayName(i)
              fmt += format_array(key)
  
          fmt += "</table>\n"
          fmt += "\n"
          fmt += "</td></tr> </table>"
      return fmt
  
imports: from typing import Optional, Tuple
  import numpy
  import pyvista
  from .None import _vtk_core
  from .dataset import DataObject
  from .datasetattributes import DataSetAttributes
  from .utilities.arrays import FieldAssociation, get_array, row_array
label_desc: Use image node_id 25 for calling the Table obj's underlying member method code with example usage: obj._repr_html_() and returns: fmt, row