You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
lb_dataset : Required (labelbox.schema.dataset.Dataset) - Labelbox dataset to add data rows to
37
-
row_data_col : Required (str) - Column name where the data row row data URL is located
38
-
local_files : Required (bool) - If True, will create urls for local files / If False, treats the values in `row_data_col` as urls
39
-
global_key_col : Optional (str) - Column name where the data row global key is located - defaults to the row_data column
40
-
external_id_col : Optional (str) - Column name where the data row external ID is located - defaults to the row_data column
41
-
metadata_index : Optional (dict) - Dictionary where {key=column_name : value=metadata_type} - metadata_type must be one of "enum", "string", "datetime" or "number"
local_files : Required (bool) - If True, will create urls for local files; if False, uploads `row_data_col` as urls
39
+
global_key_col : Optional (str) - Column name containing the data row global key - defaults to row data
40
+
external_id_col : Optional (str) - Column name containing the data row external ID - defaults to global key
41
+
metadata_index : Required (dict) - Dictionary where {key=column_name : value=metadata_type} - metadata_type = "enum", "string", "datetime" or "number"
42
42
skip_duplicates : Optional (bool) - If True, will skip duplicate global_keys, otherwise will generate a unique global_key with a suffix "_1", "_2" and so on
43
-
divider : Optional (str) - If skip_duplicates=False, uploader will auto-add a suffix to global keys to create unique ones, where new_global_key=old_global_key+divider+clone_counter
43
+
divider : Optional (str) - String delimiter for all name keys generated
44
44
verbose : Required (bool) - If True, prints information about code execution
45
45
Returns:
46
46
List of errors from data row upload - if successful, is an empty list
47
-
"""
47
+
"""
48
48
49
49
# Ensure all your metadata_index keys are metadata fields in Labelbox and that your Pandas DataFrame has all the right columns
0 commit comments