Module pandas_profiling.report.presentation.flavours.widget.variable_info

Expand source code
from ipywidgets import widgets

from pandas_profiling.report.presentation.core import VariableInfo
from pandas_profiling.report.presentation.flavours.html import templates


class WidgetVariableInfo(VariableInfo):
    def render(self):
        return widgets.HTML(
            templates.template("variable_info.html").render(**self.content)
        )

Classes

class WidgetVariableInfo (anchor_id, var_name, var_type, warnings, **kwargs)

Helper class that provides a standard way to create an ABC using inheritance.

Expand source code
class WidgetVariableInfo(VariableInfo):
    def render(self):
        return widgets.HTML(
            templates.template("variable_info.html").render(**self.content)
        )

Ancestors

Methods

def render(self)
Expand source code
def render(self):
    return widgets.HTML(
        templates.template("variable_info.html").render(**self.content)
    )