Hi all,
I have two questions regarding sparse matrices:
1. I have a sparse Matrix: val sparseMatrix = SparseMatrix.fromCOO(row, col, csvInput.collect())
and now I would like to extract all values that are in a specific row X. How would I tackle that? flatMap() and filter() do not seem to be supported in that case.
2. I want to drop/delete one specific row and column from the matrix and therefore also reduce the dimension.
How is the smartest way to do so?
Thanks in advance!
Lydia