DOC: add from_sparse to tutorial
COSMIT: adjust spacing in doc strings