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

Commit 4bf9604

Browse files
Update data_rows.py
1 parent 55c9cc8 commit 4bf9604

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labelpandas/data_rows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def create_data_row_upload_dict(client:labelboxClient, table: pandas.core.frame.
6666
futures = []
6767
if verbose:
6868
print(f'Submitting data rows...')
69-
for row_dict in tqdm(df_dict):
69+
for row_dict in tqdm(table_dict):
7070
futures.append(exc.submit(
7171
create_data_rows, client, row_dict, metadata_name_key_to_schema, metadata_schema_to_name_key,
7272
row_data_col, global_key_col, external_id_col, dataset_id_col,
@@ -80,7 +80,7 @@ def create_data_row_upload_dict(client:labelboxClient, table: pandas.core.frame.
8080
global_key = str(data_row_dict["global_key"])
8181
dataset_to_global_key_to_upload_dict[id].update({global_key:data_row_dict})
8282
else:
83-
for row_dict in tqdm(df_dict):
83+
for row_dict in tqdm(table_dict):
8484
futures.append(exc.submit(
8585
create_data_rows, client, row_dict, metadata_name_key_to_schema, metadata_schema_to_name_key,
8686
row_data_col, global_key_col, external_id_col, dataset_id_col,

0 commit comments

Comments
 (0)