Skip to content

Converted markdown table has no divider row below the column header, making it an invalid markdown table #90

@tlyim

Description

@tlyim

Hi @Elijas ,

I modified this example notebook:

https://github.com/Elijas/sec-parser-exploration/blob/main/00_mdna.ipynb

to replace the command to get just a table summary with one to get a converted markdown table (see the screenshot below):

Image

I noticed that unlike a valid markdown table, the divider row below the column header rows was missing.

Questions:

  1. Is this a design feature intended to make it easier to turn the markdown table into a pandas dataframe?
  2. Can a flag be easily added to .table_to_markdown() to turn this no-divider feature off and on?
  3. Is there a builit-in function in the package to get a pandas dataframe from the (invalid) markdown table?

Look forward to your advice. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions