`); SciPySciPy Installing User Guide API reference Building from source Development Release notes GitHubGitHub TwitterTwitter Installing User Guide API reference Building from source Development Release notes GitHubGitHub TwitterTwitterSection Navigationscipyscipy.clusterscipy.constantsscipy.datasetsscipy.differentiatescipy.fftscipy.fftpackscipy.integratescipy.interpolatescipy.ioscipy.linalgscipy.ndimagescipy.odrscipy.optimizescipy.signalscipy.sparsescipy.spatialscipy.specialscipy..." />`); SciPySciPy Installing User Guide API reference Building from source Development Release notes GitHubGitHub TwitterTwitter Installing User Guide API reference Building from source Development Release notes GitHubGitHub TwitterTwitterSection Navigationscipyscipy.clusterscipy.constantsscipy.datasetsscipy.differentiatescipy.fftscipy.fftpackscipy.integratescipy.interpolatescipy.ioscipy.linalgscipy.ndimagescipy.odrscipy.optimizescipy.signalscipy.sparsescipy.spatialscipy.specialscipy..." />
Return a dense ndarray representation of this sparse array/matrix.
Parameters:
order{‘C’, ‘F’}, optional
Whether to store multidimensional data in C (row-major)
or Fortran (column-major) order in memory. The default
is ‘None’, which provides no ordering guarantees.
Cannot be specified in conjunction with the out
argument.
outndarray, 2-D, optional
If specified, uses this array as the output buffer
instead of allocating a new array to return. The provided
array must have the same shape and dtype as the sparse
array/matrix on which you are calling the method. For most
sparse types, out is required to be memory contiguous
(either C or Fortran ordered).
Returns:
arrndarray, 2-D
An array with the same shape and containing the same
data represented by the sparse array/matrix, with the requested
memory order. If out was passed, the same object is
returned after being modified in-place to contain the
appropriate values.