A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://api-docs.databricks.com/python/pyspark/latest/api/pyspark.ml.linalg.SparseMatrix.html below:

SparseMatrix — PySpark master documentation

SparseMatrix¶
class pyspark.ml.linalg.SparseMatrix(numRows: int, numCols: int, colPtrs: Union[bytes, Iterable[int]], rowIndices: Union[bytes, Iterable[int]], values: Union[bytes, Iterable[float]], isTransposed: bool = False)¶

Sparse Matrix stored in CSC format.

Methods

toArray()

Return a numpy.ndarray

toDense()

Methods Documentation

toArray() → numpy.ndarray¶

Return a numpy.ndarray

toDense()pyspark.ml.linalg.DenseMatrix¶

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4