Package smile.data
Interface DataFrame.Collectors
- Enclosing interface:
DataFrame
public static interface DataFrame.Collectors
Stream collectors.
-
Method Details
-
collect
Returns a stream collector that accumulates objects into a DataFrame.- Type Parameters:
T
- the type of input elements to the reduction operation- Parameters:
clazz
- The class type of elements.- Returns:
- the stream collector.
-
collect
Returns a stream collector that accumulates tuples into a DataFrame.- Returns:
- the stream collector.
-
matrix
Returns a stream collector that accumulates tuples into a Matrix.- Returns:
- the stream collector.
-