DataFrameOps
Pimped data frame with Scala style methods.
Value parameters
- data
-
a data frame.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Returns a new DataFrame without given column indices.
Returns a new DataFrame without given column indices.
Attributes
Tests if a predicate holds for at least one row of data frame.
Tests if a predicate holds for at least one row of data frame.
Attributes
Selects all rows which satisfy a predicate.
Selects all rows which satisfy a predicate.
Attributes
Finds the first row satisfying a predicate.
Finds the first row satisfying a predicate.
Attributes
Tests if a predicate holds for all rows of data frame.
Tests if a predicate holds for all rows of data frame.
Attributes
Applies a function for its side-effect to every row.
Applies a function for its side-effect to every row.
Attributes
Partitions the DataFrame into a map of DataFrames according to some discriminator function.
Partitions the DataFrame into a map of DataFrames according to some discriminator function.
Type parameters
- K
-
the type of keys returned by the discriminator function.
Value parameters
- f
-
the discriminator function.
Attributes
- Returns
-
A map from keys to DataFrames
Builds a new data collection by applying a function to all rows.
Builds a new data collection by applying a function to all rows.
Attributes
Returns a new data frame with row indexing.
Returns a new data frame with row indexing.
Attributes
Partitions this DataFrame in two according to a predicate.
Partitions this DataFrame in two according to a predicate.
Value parameters
- p
-
the predicate on which to partition.
Attributes
- Returns
-
a pair of DataFrames: the first DataFrame consists of all elements that satisfy the predicate
p
and the second DataFrame consists of all elements that don't. The relative order of the elements in the resulting DataFramess is the same as in the original DataFrame.
Selects a new DataFrame with given column indices.
Selects a new DataFrame with given column indices.
Attributes
Converts the tuple to a JSON array.
Converts the tuple to a JSON array.