parameters: (str_complexes: np.ndarray, na_rep: str = "NaN")
return_statement: return [
          "".join(_trim_zeros_float(re.split(r"([j+-])", x), na_rep))
          for x in str_complexes
      ]
docstring: Separates the real and imaginary parts from the complex number, and
      executes the _trim_zeros_float method on each of those.
docstring_summary: Separates the real and imaginary parts from the complex number, and
      executes the _trim_zeros_float method on each of those.
docstring_tokens: Separates the real and imaginary parts from the complex number and executes the _trim_zeros_float method on each of those .
function: def _trim_zeros_complex(str_complexes: np.ndarray, na_rep: str = "NaN") -> List[str]:
      """
      Separates the real and imaginary parts from the complex number, and
      executes the _trim_zeros_float method on each of those.
      """
      return [
          "".join(_trim_zeros_float(re.split(r"([j+-])", x), na_rep))
          for x in str_complexes
      ]
function_tokens: def _trim_zeros_complex ( str_complexes : np . ndarray , na_rep : str = "NaN" ) -> List [ str ] : return [ "" . join ( _trim_zeros_float ( re . split ( r"([j+-])" , x ) , na_rep ) ) for x in str_complexes ]