public interface Write
| Modifier and Type | Method and Description |
|---|---|
static void |
arff(smile.data.DataFrame df,
java.nio.file.Path path,
java.lang.String relation)
Writes the data frame to an ARFF file.
|
static void |
arrow(smile.data.DataFrame df,
java.nio.file.Path path)
Writes an Apache Arrow file.
|
static void |
csv(smile.data.DataFrame df,
java.nio.file.Path path)
Writes a CSV file.
|
static void |
csv(smile.data.DataFrame df,
java.nio.file.Path path,
org.apache.commons.csv.CSVFormat format)
Writes a CSV file.
|
static void csv(smile.data.DataFrame df,
java.nio.file.Path path)
throws java.io.IOException
java.io.IOExceptionstatic void csv(smile.data.DataFrame df,
java.nio.file.Path path,
org.apache.commons.csv.CSVFormat format)
throws java.io.IOException
java.io.IOExceptionstatic void arrow(smile.data.DataFrame df,
java.nio.file.Path path)
throws java.io.IOException
java.io.IOExceptionstatic void arff(smile.data.DataFrame df,
java.nio.file.Path path,
java.lang.String relation)
throws java.io.IOException
df - the data frame.path - the file path.relation - the relation name of ARFF.java.io.IOException