code: def rolling_xs_ys(xs, ys, window_size=20):
      """Alternative to rolling() in pandas."""
      ma = (
          moving_average_cumsum
          if FLAGS.smoothing == "cumsum"
          else moving_average
      )
      return xs[window_size - 1 :], ma(ys, window_size)
  
file_path: moolib/py/moolib/examples/plot.py
imports: import argparse
  import glob
  import os
  import gnuplotlib
  import numpy
  import pandas
label_desc: Use image node_id 3 for calling a global function with example usage: rolling_xs_ys(xs, ys, window_size) and returns: xs,  ma