logfile_parser.swainlab_parser.parse_table¶
- parse_table(string, start_trigger)[source]¶
Parse csv-like table
- Parameters
- stringstr
contents to parse
- start_triggert.Union[str, t.Collection]
string or triggers that indicate section start.
- Returns
- pd.Dataframe or dict of atomic values (int,str,bool,float)
DataFrame representing table.
Examples
>>> table = parse_table()
- Return type
DataFrame