We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2c259a commit 9fcf1c5Copy full SHA for 9fcf1c5
src/comment_components.py
@@ -211,7 +211,9 @@ def variables_deviation_df(self) -> pd.DataFrame:
211
:, [col for col in vars2.columns if str(col).replace(".", "", 1).isdigit()]
212
]
213
214
- assert vars1.index.equals(vars2.index)
+ # Filter any new/ removed variables
215
+ vars1 = vars1[vars1.index.isin(vars2.index)]
216
+ vars2 = vars2[vars2.index.isin(vars1.index)]
217
218
deviation_df = self.get_deviation_df(
219
vars1, vars2, nrmse_normalization_method=self.NRMSE_NORMALIZATION_METHOD
0 commit comments