Instance Method

dropDuplicates()

Creates a subset of the table by removing all duplicate rows.

Declaration

func dropDuplicates() -> MLDataTable

Return Value

A new data table.

See Also

Discarding Rows

func dropMissing() -> MLDataTable

Creates a subset of the table by removing any row missing one or more values.

func exclude<T>(T..., of: String) -> MLDataTable

Creates a subset of the table by excluding the rows that contain any of the given values in the given column.

func randomSample(by: Double, seed: Int) -> MLDataTable

Creates a subset of the table by randomly selecting the given proportion of rows.