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

Commit 193bde3

Browse files
Update data_rows.py
1 parent e836553 commit 193bde3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

labelpandas/data_rows.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
"""
2+
data_rows.py holds the function create_data_row_upload_dict() -- which multithreads over create_data_rows() to create the following style dictionary:
3+
4+
{
5+
dataset_id :
6+
{
7+
global_key : data_row_upload_dict,
8+
global_key : data_row_upload_dict,
9+
global_key : data_row_upload_dict
10+
},
11+
dataset_id :
12+
{
13+
global_key : data_row_upload_dict,
14+
global_key : data_row_upload_dict,
15+
global_key : data_row_upload_dict
16+
}
17+
}
18+
19+
This is the format that labelbase.uploaders.batch_create_data_rows() expects
20+
21+
"""
122
import pandas
223
from labelbox import Client as labelboxClient
324
import labelbase

0 commit comments

Comments
 (0)