@contract
    def select_host_ids(self):
        return dict((str(x[1]), int(x[0])) 
                    for x in self.hosts.select().execute().fetchall())
Find new positions on the categorical axis for each point.
dataset/ETHPy150Open beloglazov/openstack-neat/utils/db.py/Database.select_host_ids--crossover with--dataset/ETHPy150Open mwaskom/seaborn/seaborn/categorical.py/_SwarmPlotter.swarm_points