Up_DW.upload_cashiers (eng) - datawizio/pythonAPI GitHub Wiki

Up_DW.upload_cashiers - uploads data about cashiers to the server.

Uploads information about cashiers to the server.

Gets a list of objects of a cashier.

        [
            {
                'cashier_id': <cashier_id>,
                'name': <name>
            }
            ...
        ]

Or a path to the file *.csv.

Parameters:

  • columns: list, default: ['cashier_id', 'name']

    Sorted list of columns in the table in the file *.csv.

  • splitter: str, default: ";"

    Splitter of data in the file *.csv.

  • skip_chunks: int, default: 0

    Number of data blocks that have to be omitted.

  • Examples:

    dwup = datawiz_upload.Up_DW()
    dwup.upload_cashiers('/home/user/cashiers.csv', skip_chunks=2)
    
    ⚠️ **GitHub.com Fallback** ⚠️