code: def __init__(
      self,
      endog,
      exog,
      window=None,
      *,
      min_nobs=None,
      missing="drop",
      expanding=False,
  ):
      super().__init__(
          endog,
          exog,
          window,
          weights=None,
          min_nobs=min_nobs,
          missing=missing,
          expanding=expanding,
      )
  
imports: from statsmodels.compat.numpy import lstsq
  from statsmodels.compat.pandas import Appender, Substitution, cache_readonly, call_cached_func, get_cached_doc
  from collections import namedtuple
  import numpy
  from pandas import DataFrame, MultiIndex, Series
  from scipy import stats
  from statsmodels.base import model
  from statsmodels.base.model import LikelihoodModelResults, Model
  from statsmodels.regression.linear_model import RegressionModel, RegressionResults
  from statsmodels.tools.validation import array_like, int_like, string_like
label_desc: Use image node_id 1 to create a new RollingOLS object from inherited base classes: RollingWLS with example: obj = RollingOLS(endog, exog, window)