Skip to content

Commit

Permalink
Internal Datframes index refactoring #190
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinecarme committed Mar 19, 2022
1 parent 7e5353f commit 60e220c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyaf/TS/Exogenous.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ def transformDataset(self, df):
return df1;

def createEncodedExogenous(self):
self.mExogDummiesDataFrame = pd.DataFrame();
self.mExogDummiesDataFrame = pd.DataFrame(index = self.mExogenousDataFrame.index);
self.mEncodedExogenous = [];
self.mEncodedExogenousDataFrame = pd.DataFrame();
self.mEncodedExogenousDataFrame = pd.DataFrame(index = self.mExogenousDataFrame.index);
self.mEncodedExogenousDataFrame[self.mDateVariable] = self.mExogenousDataFrame[self.mDateVariable];
for exog in self.mExogenousVariables:
if(exog not in self.mExcluded):
Expand Down

0 comments on commit 60e220c

Please sign in to comment.