code: def round_floats(
      floats: list[Optional[float]], precision: int
  ) -> list[Optional[float]]:
      """
      Round list of floats to certain precision
  
      :param floats: floats to round
      :param precision: intended decimal precision
      :return: rounded floats
      """
      return [round(val, precision) if val else None for val in floats]
  
imports: import math
  from typing import Any, Optional
  from pandas import Series
label_desc: Use image node_id 2 for calling a global function with example usage: round_floats(floats, precision) and returns: unknown