diff --git a/PyCTBN/PyCTBN/utility/abstract_importer.py b/PyCTBN/PyCTBN/utility/abstract_importer.py index 0b03cd3..8984b4d 100644 --- a/PyCTBN/PyCTBN/utility/abstract_importer.py +++ b/PyCTBN/PyCTBN/utility/abstract_importer.py @@ -78,7 +78,7 @@ class AbstractImporter(ABC): Header of sample_frame = [Time | Variable values] """ sample_frame = copy.deepcopy(sample_frame) - #sample_frame.iloc[:, 0] = sample_frame.iloc[:, 0].diff().shift(-1) + sample_frame.iloc[:, 0] = sample_frame.iloc[:, 0].diff().shift(-1) shifted_cols = sample_frame[columns_header].shift(-1).fillna(0).astype('int32') shifted_cols.columns = shifted_cols_header sample_frame = sample_frame.assign(**shifted_cols)