code: def bollinger_mavg(close, window=20, fillna=False):
      """Bollinger Bands (BB)
  
      N-period simple moving average (MA).
  
      https://en.wikipedia.org/wiki/Bollinger_Bands
  
      Args:
          close(pandas.Series): dataset 'Close' column.
          window(int): n period.
          fillna(bool): if True, fill nan values.
  
      Returns:
          pandas.Series: New feature generated.
      """
      indicator = BollingerBands(
          close=close, window=window, fillna=fillna
      )
      return indicator.bollinger_mavg()
  
imports: import numpy
  import pandas
  from ta.utils import IndicatorMixin
label_desc: Use image node_id 2 for calling a global function with example usage: bollinger_mavg(close, window, fillna) and returns: indicator