Best AI News — Updated Every 3 Hours
Story Page
← All Stories
Home Community Story
Community

"colss" a math-style expression evaluator for NumPy arrays [P]

Via r/MachineLearning
Sunday, May 10, 2026 · 6:53AM
Summary

Built a small Python library called "colss" that lets you write NumPy expressions using a shorter, more mathematical syntax. Github: https://github.com/SivaPA08/colss Example: a = np.array([1,2,3,4]) b = np.array([4,5,6,7]) c = 2 res = colss.query("sin(a+b) + log(b)^c + 12") It supports: logical exp

Continue reading the full article
Read at r/MachineLearning
www.reddit.com
Back to all stories