code: def createEncodedExogenous(self):
      self.mExogDummiesDataFrame = pd.DataFrame()
      self.mEncodedExogenous = []
      self.mEncodedExogenousDataFrame = pd.DataFrame()
      self.mEncodedExogenousDataFrame[
          self.mDateVariable
      ] = self.mExogenousDataFrame[self.mDateVariable]
      for exog in self.mExogenousVariables:
          if exog not in self.mExcluded:
              lList = self.mExogenousVariableCategories[exog]
              if lList is not None:
                  for lCat in lList:
                      lDummyName = exog + "=" + str(lCat)
                      self.mEncodedExogenousDataFrame[
                          lDummyName
                      ] = np.where(
                          self.mExogenousDataFrame[exog] == lCat,
                          np.int8(1),
                          np.int8(0),
                      )
                      self.mEncodedExogenous = (
                          self.mEncodedExogenous + [lDummyName]
                      )
              else:
                  lExogStats = self.mContExogenousStats[exog]
                  # signle precision here ...
                  self.mEncodedExogenousDataFrame[exog] = np.float32(
                      (self.mExogenousDataFrame[exog] - lExogStats[0])
                      / lExogStats[1]
                  )
                  self.mEncodedExogenousDataFrame[exog].fillna(
                      np.float32(0.0), inplace=True
                  )
                  # self.mEncodedExogenousDataFrame[exog] = self.mEncodedExogenousDataFrame[exog].astype(np.float32);
                  self.mEncodedExogenous = self.mEncodedExogenous + [
                      exog
                  ]
          else:
              # print("EXCLUDED" , exog);
              pass
  
file_path: atspy/atspy/TS/Exogenous.py
imports: import pandas
  import numpy
  from .None import Utils
label_desc: Use image node_id 7 for calling the cExogenousInfo obj's underlying member method code with example usage: obj.createEncodedExogenous() without return types