code: def fit_predict(self, xdata, ydata):
      df = pd.DataFrame(
          {"X": np.array(xdata.T[0]), "Y": np.array(ydata)}
      ).sort_values(by="X")
  
      return self.fit(df.X, df.Y).predict(xdata)
  
file_path: scattertext/scattertext/smoothing/lowess.py
imports: import numpy
  import pandas
label_desc: Use image node_id 4 for calling the Lowess obj's underlying member method code with example usage: obj.fit_predict(xdata, ydata) and returns: self