code: def ewm(
      trendline_options, x_raw, x, y, x_label, y_label, non_missing
  ):
      """Exponentially Weighted Moment (EWM) trendline function
  
      The value of the `function` key of the `trendline_options` dict is the function to
      use (defaults to `mean`) and the value of the `function_args` key are taken to be
      its arguments as a dict. The remainder of  the `trendline_options` dict is passed as
      keyword arguments into the `pandas.Series.ewm` function.
      """
      return _pandas("ewm", trendline_options, x_raw, y, non_missing)
  
imports: import pandas
  import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: ewm(trendline_options, x_raw, x, y, x_label, y_label, non_missing) and returns: _pandas