code: def __init__(self, fn, offset):
      self.fn = fn
      self.offset = offset
  
imports: import numpy
  from statsmodels.genmod import families
  from statsmodels.sandbox.nonparametric.smoothers import PolySmoother
  from statsmodels.genmod.generalized_linear_model import GLM
  from statsmodels.tools.sm_exceptions import IterationLimitWarning, iteration_limit_doc
  import warnings
label_desc: Use image node_id 1 to create a new Offset object  with example: obj = Offset(fn, offset)