diff --git a/tsfresh/utilities/dataframe_functions.py b/tsfresh/utilities/dataframe_functions.py index d27f4931..81b49c92 100644 --- a/tsfresh/utilities/dataframe_functions.py +++ b/tsfresh/utilities/dataframe_functions.py @@ -343,7 +343,7 @@ def _f(x): else: timeshift_value = timeshift - 1 # and now create new ones ids out of the old ones - df_temp["id"] = df_temp[column_id].apply(lambda row: (row, timeshift_value)) + df_temp[column_id] = df_temp[column_id].apply(lambda row: (row, timeshift_value)) return df_temp