Module pandas_profiling.report.presentation.flavours.widget.warnings

Expand source code
from ipywidgets import widgets

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


class WidgetWarnings(Warnings):
    def render(self):
        return widgets.HTML(templates.template("warnings.html").render(**self.content))

Classes

class WidgetWarnings (warnings, **kwargs)

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

Expand source code
class WidgetWarnings(Warnings):
    def render(self):
        return widgets.HTML(templates.template("warnings.html").render(**self.content))

Ancestors

Methods

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