Module pandas_profiling.report.presentation.flavours.html.sample
Expand source code
from pandas_profiling.report.presentation.core.sample import Sample
from pandas_profiling.report.presentation.flavours.html import templates
class HTMLSample(Sample):
def render(self):
return templates.template("sample.html").render(**self.content)
Classes
class HTMLSample (name, sample, **kwargs)
-
Helper class that provides a standard way to create an ABC using inheritance.
Expand source code
class HTMLSample(Sample): def render(self): return templates.template("sample.html").render(**self.content)
Ancestors
- Sample
- ItemRenderer
- Renderable
- abc.ABC
Methods
def render(self)
-
Expand source code
def render(self): return templates.template("sample.html").render(**self.content)