Google News
logo
SciPy - Interview Questions
What is Sparse Data?
Sparse data is data that has mostly unused elements (elements that don't carry any information ).
 
It can be an array like this one :
 
[1, 0, 2, 0, 0, 3, 0, 0, 0, 0, 0, 0]
 
Sparse Data : is a data set where most of the item values are zero.
Dense Array : is the opposite of a sparse array: most of the values are not zero.
 
In scientific computing, when we are dealing with partial derivatives in linear algebra we will come across sparse data.
Advertisement