code: def centroids_to_list(self):
          
          centroids = []
          for key in self.C.keys():
              tree_values = self.C.get_value(key)
              centroids.append({'m':tree_values.mean, 'c':tree_values.count})
          return centroids
docs: Returns a Python list of the TDigest object's Centroid values.