Perform mathematical operations on sparse and symbolic data using Python dictionaries. Use for tasks involving graph theory (centrality, laplacian), linear algebra (dot product, transpose) with non-integer keys, or probabilistic modeling (Bayesian updates, entropy). This skill is ideal when working with adjacency matrices, word vectors, or other dictionary-based data structures, even if the user doesn't explicitly use the term 'sparse'.
2026-07-26