dai.to_csv.Rd
Converts a dataset in Driverless.AI to a CSV file that can be later downloaded.
dai.to_csv(df, progress = getOption("dai.progress", TRUE))
df | An instance of |
---|---|
progress | Whether to display a progress bar. |
A path to the CSV file on the Driverless.AI server.
dai.download_file
dai.connect(uri = 'http://127.0.0.1:12345', username = 'h2oai', password = 'h2oai') iris_dai <- as.DAIFrame(iris, progress = FALSE) server_csv_path <- dai.to_csv(iris_dai) dai.download_file(server_csv_path, tempfile(fileext = '.csv'))