Module pandas_profiling.report.presentation.flavours.widget.sample
Expand source code
from ipywidgets import widgets
from pandas_profiling.report.presentation.core.sample import Sample
class WidgetSample(Sample):
def render(self):
return widgets.VBox([widgets.HTML(self.content["sample"])])
Classes
class WidgetSample (name, sample, **kwargs)
-
Helper class that provides a standard way to create an ABC using inheritance.
Expand source code
class WidgetSample(Sample): def render(self): return widgets.VBox([widgets.HTML(self.content["sample"])])
Ancestors
- Sample
- ItemRenderer
- Renderable
- abc.ABC
Methods
def render(self)
-
Expand source code
def render(self): return widgets.VBox([widgets.HTML(self.content["sample"])])