Module pandas_profiling.report.presentation.flavours.qt.preview

Expand source code
from pandas_profiling.report.presentation.core.preview import Preview
from pandas_profiling.report.presentation.flavours.qt.sequence import QtSequence


class QtPreview(Preview):
    def render(self):
        if self.content["bottom"] is not None:
            items = [self.content["top"], self.content["bottom"]]
        else:
            items = [self.content["top"]]
        return QtSequence(items, sequence_type="list").render()

Classes

class QtPreview (top, bottom=None, ignore=False, **kwargs)

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

Expand source code
class QtPreview(Preview):
    def render(self):
        if self.content["bottom"] is not None:
            items = [self.content["top"], self.content["bottom"]]
        else:
            items = [self.content["top"]]
        return QtSequence(items, sequence_type="list").render()

Ancestors

Methods

def render(self)
Expand source code
def render(self):
    if self.content["bottom"] is not None:
        items = [self.content["top"], self.content["bottom"]]
    else:
        items = [self.content["top"]]
    return QtSequence(items, sequence_type="list").render()