I would like to populate a pandas dataframe from an sql table that is an associative entity so that the data frame has an index of one of the entities and column headers of