One of the floats comes from a list, but it isn\'t a list. When I print the type it says it\'s a float.
content_based_predictions = defaultdict(lambda: defaul