pantable.table_to_codeblock module

pantable.table_to_codeblock.table_to_codeblock(element: Optional[Table] = None, doc: Optional[Doc] = None, format: str = 'csv', fancy_table: bool = False, include: str = '', csv_kwargs: Optional[dict] = None) Optional[PanTable][source]

convert Table element and to csv table in code-block with class “table” in panflute AST