Gets the specified row using index.
Gets the specified row using index.
DataFrame
the index of row to get
Row The specified row
Gets the map of records [The index of row to be swapped, the contents of records to swap] by referring to the given swap list information.
Gets the map of records [The index of row to be swapped, the contents of records to swap] by referring to the given swap list information.
Dataframe
the list of records to swap
Map[Int, Row] Returns the map [Int: the row index, Row: the row to swap]
Swaps some records of 'columnNames' columns in 'src' dataframe.
Swaps some records of 'columnNames' columns in 'src' dataframe.
Dataframe
The array of column names to apply swapping function
The ratio of records to swap
DataFrame The swapped records
Swaps records of 'columnNames' columns in 'src' dataframe using the given the list of swap records.
Swaps records of 'columnNames' columns in 'src' dataframe using the given the list of swap records.
Dataframe
The array of column names to apply swapping function
The list of records [from record, to record] to swap
DataFrame The swapped records
Updates the specified columns in 'orgRecord' record to the ones in 'newRecord' record.
Updates the specified columns in 'orgRecord' record to the ones in 'newRecord' record.
The original record
The new record
The columns to be swapped
Row The swapped row
This object provides some method to swap the records.