Module pandas_profiling.report.presentation.flavours.html.preview
Expand source code
from pandas_profiling.report.presentation.core.preview import Preview
from pandas_profiling.report.presentation.flavours.html import templates
class HTMLPreview(Preview):
def render(self):
return templates.template("preview.html").render(**self.content)
Classes
class HTMLPreview (top, bottom=None, ignore=False, **kwargs)
-
Helper class that provides a standard way to create an ABC using inheritance.
Expand source code
class HTMLPreview(Preview): def render(self): return templates.template("preview.html").render(**self.content)
Ancestors
- Preview
- ItemRenderer
- Renderable
- abc.ABC
Methods
def render(self)
-
Expand source code
def render(self): return templates.template("preview.html").render(**self.content)