Hi Niranda,

There's some examples in tests:
https://github.com/apache/arrow/blob/master/cpp/src/arrow/sparse_tensor_test.cc#L187
,
https://github.com/apache/arrow/blob/master/python/pyarrow/tests/test_sparse_tensor.py

If you have more questions just ask. Questions are good input for
documentation too.

Best,
Rok

On Thu, Aug 20, 2020 at 7:12 PM Niranda Perera <[email protected]>
wrote:

> Hi,
>
> I was wondering how we could use arrow arrays for sparse matrix data
> representation? I felt like the arrow structure suits well for CSC
> (compressed sparse column) format which is used heavily in sparse matrix
> operations.
>
> I saw that there was a 'sparse tensor' on the arrow website.
> https://arrow.apache.org/docs/cpp/api/tensor.html
> Are there any examples of the usage of these?
>
> Best
> --
> Niranda Perera
> @n1r44 <https://twitter.com/N1R44>
> +1 812 558 8884 / +94 71 554 8430
> https://www.linkedin.com/in/niranda
>

Reply via email to