Skip to content

Commit 526ec52

Browse files
author
FelixAbrahamsson
committed
fix: duplicate split keys
1 parent 1395eb5 commit 526ec52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datastream/tools/split_dataframes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def split_dataframes(
5858
)
5959

6060
last_split_name, _ = split_proportions[-1]
61-
split[last_split_name] += unassigned(dataframe[key_column], split)
61+
split[last_split_name] += unassigned(key_dataframe[key_column], split)
6262

6363
if filepath is not None:
6464
filepath.parent.mkdir(parents=True, exist_ok=True)

0 commit comments

Comments
 (0)