class_docstr: Serializes pandas.DataFrame instance into ipywidgets.Widget instance.
  
  Parameters
  ----------
  value : Union[pd.DataFrame, Styler]
      DataFrame instance that needed to be serialized.
docstr: Serialize pandas.DataFrame instance into ipywidgets.Widget instance.
docstr_tok: ["Serialize","pandas.DataFrame","instance","into","ipywidgets.Widget","instance","."]
code: def serialize(self, **kwargs) -> HTML:
      """Serialize pandas.DataFrame instance into ipywidgets.Widget instance."""
      # Need this in order to create kernel see https://github.com/jupyter-widgets/ipywidgets/issues/3729
      import ipykernel.ipkernel  # pylint: disable=unused-import,import-outside-toplevel # noqa: F401
  
      return HTML(value=self._html_serializer.serialize())
  
file_path: deepchecks/deepchecks/core/serialization/dataframe/widget.py
imports: import typing
  import pandas
  from ipywidgets import HTML
  from pandas.io.formats.style import Styler
  from deepchecks.core.serialization.abc import WidgetSerializer
  from .None import html
label_desc: Use image node_id 2 for calling the DataFrameSerializer obj's underlying member method code with example usage: obj.serialize() and returns: HTML