mdf_reader.reader.get_sections
¶
Module Contents¶
Functions¶
|
|
|
Returns a pandas dataframe with a report per row |
-
main
(string_df, schema, read_sections)[source]¶ Returns a pandas dataframe with a report per row and the report sections split along the columns. Each section is a block string and only the sections listed in read_sections parameter are output.
- Parameters
string_df (pandas.DataFrame) – Pandas dataframe with a unique column with the reports as a block string
schema (dict) – Data source data model schema
read_sections (list) – Sections to output from the complete report
- Returns
Dataframe with the report sections split along the columns.
- Return type
pandas.DataFrame