def subset_dict(dict_, keys):
 subset = partition_dict(dict_, keys)[0]
 return subset

def subset_dict ( dict_ , keys ) : subset = partition_dict ( dict_ , keys ) [ 0 ] return subset
return a dict that only contains a subset of keys .