data_base
❭ utils
❭ first_line_to_key
first_line_to_key¶
- data_base.utils.first_line_to_key(stringios)¶
Convert a list of StringIO objects to a dictionary.
Takes a list io StringIO objects. Each should contain one table. It returns a dictionary conatining the first line as key (assuming it is the name of the table) and the rest of it as value