The page you navigated to does not exist, so we brought you to the closest page to it.
flytekit.deck.renderer
| Property |
Type |
Description |
DEFAULT_MAX_COLS |
int |
|
DEFAULT_MAX_ROWS |
int |
|
TYPE_CHECKING |
bool |
|
Render an Arrow dataframe as an HTML table.
def to_html(
df: pyarrow.Table,
) -> str
| Parameter |
Type |
Description |
df |
pyarrow.Table |
|
Convert a markdown string to HTML and return HTML as a unicode string.
def to_html(
text: str,
) -> str
| Parameter |
Type |
Description |
text |
str |
|
PythonDependencyDeck is a deck that contains information about packages installed via pip.
class PythonDependencyRenderer(
title: str,
)
| Parameter |
Type |
Description |
title |
str |
|
| Method |
Description |
to_html() |
Convert an object(markdown, pandas. |
def to_html(
python_value: typing.Any,
) -> str
Convert an object(markdown, pandas.dataframe) to HTML and return HTML as a unicode string.
Returns: An HTML document as a string.
| Parameter |
Type |
Description |
python_value |
typing.Any |
|
Convert Python source code to HTML, and return HTML as a unicode string.
class SourceCodeRenderer(
title: str,
)
| Parameter |
Type |
Description |
title |
str |
|
| Method |
Description |
to_html() |
Convert the provided Python source code into HTML format using Pygments library. |
def to_html(
source_code: str,
) -> str
Convert the provided Python source code into HTML format using Pygments library.
This method applies a colorful style and replaces the color “#fff0f0” with “#ffffff” in CSS.
| Parameter |
Type |
Description |
source_code |
str |
The Python source code to be converted. |
Render a DataFrame as an HTML table.
class TopFrameRenderer(
max_rows: int,
max_cols: int,
)
| Parameter |
Type |
Description |
max_rows |
int |
|
max_cols |
int |
|
def to_html(
df: pandas.DataFrame,
) -> str
| Parameter |
Type |
Description |
df |
pandas.DataFrame |
|