Fix db_to_df by setting index after from_records
Fix db_to_df by setting index after from_records

Setting an index in DataFrame.from_records sets the elements of
the string (characters), not the corresponding column, as the index
when the records are a list comprehension instead of a list.

SANDAG/spandex,UDST/spandex