code: def __init__(self, n=1000):
      self.n = n
      self.direction = 1
  
file_path: scattertext/scattertext/smoothing/mean_isotonic.py
imports: import pandas
  import numpy
  from scipy.stats import pearsonr
  from sklearn.isotonic import IsotonicRegression
label_desc: Use image node_id 1 to create a new MeanIsotonic object  with example: obj = MeanIsotonic(n)