kumoai.connector.upload_table#
- kumoai.connector.upload_table(name, path)[source]#
Synchronously uploads a table located on your local machine to the Kumo data plane. Tables uploaded in this way can be accessed with a
FileUploadConnector
.Warning
Uploaded tables must be single files, either in parquet or CSV format. Partitioned tables are not currently supported.
import kumoai from kumoai.connector import upload_table # Assume we have a table located at /data/users.parquet, and we # want to upload this table to Kumo, to be used downstream: upload_table(name="users", path="/data/users.parquet")
- Parameters:
name (
str
) – The name of the table to be uploaded. The uploaded table can be accessed from theFileUploadConnector
with this name.path (
str
) – The full path of the table to be uploaded, on the local machine.
- Return type: