N-ary Broadcasting in Sparse

09 February 2018

So far, broadcasting in Sparse has been limited to two operands. This weekend, I'll be working on N-ary broadcasting, which will help in implementing the three-argument version of numpy.where.

This is one of the features needed for XArray integration (see this GitHub issue). Coming up after that:

  • Arbitrary fill-values.
  • NaN-skipping aggregations

Update (18 Feb): It seems that N-ary broadcasting is now in a fairly stable state and will land soon. Follow the discussion over at this pull request for progress. I'm sorry for the delay compared to what I may have originally implied earlier, but this was a much more complex problem than what I had originally envisioned and I only work on this project on weekends in my free time.