as.DAIFrame.Rd
Converts the R data.frame to DAIFrame by uploading it to Driverless AI server. Row names, if set, are dropped, so they should be converted into a column if they should be preserved.
as.DAIFrame(data, progress = getOption("dai.progress", TRUE), env = parent.frame())
data | R data.frame. |
---|---|
progress | Whether to display a progress bar. |
env | If |
DAIFrame
# NOT RUN { dai.connect(uri = 'http://127.0.0.1:12345', username = 'h2oai', password = 'h2oai') is.DAIFrame(iris) is.data.frame(iris) iris_dai <- as.DAIFrame(iris, progress = FALSE) is.DAIFrame(iris_dai) # }