From b188f138282df0c0a873c60257370a13384a5361 Mon Sep 17 00:00:00 2001 From: Felipe Date: Mon, 13 May 2024 20:37:08 -0700 Subject: [PATCH] Fix bug --- sdv/sequential/par.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdv/sequential/par.py b/sdv/sequential/par.py index 4c7a80a36..859085de0 100644 --- a/sdv/sequential/par.py +++ b/sdv/sequential/par.py @@ -178,7 +178,7 @@ def _transform_sequence_index(self, data): fill_value = min(sequence_index_sequence[self._sequence_index].dropna()) sequence_index_sequence = sequence_index_sequence.fillna(fill_value) - data[self._sequence_index] = sequence_index_sequence[self._sequence_index] + data[self._sequence_index] = sequence_index_sequence[self._sequence_index].to_numpy() data = data.merge( sequence_index_context, left_on=self._sequence_key,