Up_DW.upload_loss_types (eng) - datawizio/pythonAPI GitHub Wiki
Uploads information about types of write-offs.
Gets a list of objects in the format
[
{
"loss_type_id": <loss_type_id>,
"name": <name>,
}
]
or a path to the file *.csv
Parameters:
-
columns: list, default: ['loss_type_id', 'name']
Sorted list of columns in the table in the file *.csv.
-
splitter: str, default: ";"
Splitter of data in the file *.csv.
Examples:
dwup = datawiz_upload.Up_DW()
dwup.upload_loss_types('/home/user/loss_types.csv')