Module pandas_profiling.report.presentation.core.sample

Expand source code
from typing import Any

from pandas_profiling.report.presentation.abstract.item_renderer import ItemRenderer


class Sample(ItemRenderer):
    def __init__(self, name, sample, **kwargs):
        super().__init__("sample", {"sample": sample}, name=name, **kwargs)

    def __repr__(self):
        return "Sample"

    def render(self) -> Any:
        raise NotImplementedError()

Classes

class Sample (name, sample, **kwargs)

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

Expand source code
class Sample(ItemRenderer):
    def __init__(self, name, sample, **kwargs):
        super().__init__("sample", {"sample": sample}, name=name, **kwargs)

    def __repr__(self):
        return "Sample"

    def render(self) -> Any:
        raise NotImplementedError()

Ancestors

Subclasses

Methods

def render(self)
Expand source code
def render(self) -> Any:
    raise NotImplementedError()