Upload local files to datastore
Sat Apr 09 2022 00:23:08 GMT+0000 (Coordinated Universal Time)
Saved by
@wessim
# Load the workspace from the saved config file
ws = Workspace.from_config()
default_ds = ws.get_default_datastore()
default_ds.upload_files(files=['./data/diabetes.csv', './data/diabetes2.csv'], # Upload the diabetes csv files in /data
target_path='diabetes-data/', # Put it in a folder path in the datastore
overwrite=True, # Replace existing files of the same name
show_progress=True)
content_copyCOPY
Comments