code: def round_list(L, ndigits=0) -> list:
      """Round all values in a list"""
      return [round(v, ndigits=ndigits) for v in L]
  
file_path: coremltools/deps/kmeans1d/tests/test_kmeans1d.py
imports: import unittest
  from kmeans1d import cluster
label_desc: Use image node_id 1 for calling a global function with example usage: round_list(L, ndigits) and returns: unknown