Skip to content

Convert Table, Row, and Column to HTML #140

@lars-reimann

Description

@lars-reimann

Is your feature request related to a problem?

Currently, it's difficult to test and customize how a Table, Row, or Column is represented in a Jupyter notebook.

Desired solution

We should have methods

def to_html(self) -> str:
   ...

in Table, Row, or Column. The returned string should contain an HTML <table>. For a row the table has only one row and for a column, it only has one column.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

Table, Row, and Column already have a _repr_html_ method.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✔️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions