code: def update_centroids_from_list(self, list_values):
          
          [self.update(value['m'], value['c']) for value in list_values]
          return self
docs: Add or update Centroids from a Python list.
          Any existing centroids in the digest object are appropriately updated.
  
          Example:
              digest.update_centroids([{'c': 1.0, 'm': 1.0}, {'c': 1.0, 'm': 2.0}, {'c': 1.0, 'm': 3.0}])