Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit a201889

Browse files
Update data_rows.py
1 parent 7b6ae1b commit a201889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelpandas/data_rows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def create_data_row_upload_dict(client:labelboxClient, table:dict,
3939
if dataset_id:
4040
dataset_to_global_key_to_upload_dict = {dataset_id : {}}
4141
else:
42-
dataset_to_global_key_to_upload_dict = {id : {} for id in len(list(set([str(row_dict[dataset_id_col]) for row_dict in df_dict])))}
42+
dataset_to_global_key_to_upload_dict = {id : {} for id in list(set([str(row_dict[dataset_id_col]))) for row_dict in df_dict])))}
4343
with ThreadPoolExecutor(max_workers=8) as exc:
4444
errors = []
4545
futures = []

0 commit comments

Comments
 (0)