<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sat, Oct 27, 2018 at 6:10 AM Hameer Abbasi <<a href="mailto:einstein.edison@gmail.com">einstein.edison@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">    <div style="font-family:Helvetica;color:#000000;font-size:13px"><div id="m_-7414096475590909461CanaryBody"> <div> Hi Stefan!</div><div><br></div><div>PyData/Sparse is pretty far along, by January or so we should have a CSR/CSC replacement that is ND. It needs optimisation in a lot of cases but the API is compatible with NumPy and works pretty well already IMO.</div><div><br></div><div>PyData/Sparse is pretty much independent of any changes to scipy.sparse at this point. We build on top of NumPy, not scipy.sparse.</div><div><br></div><div>Feel free to use any or all of my code for sparray, although I think Ralf Gommers, Matthew Rocklin and others were of the opinion that the data structure should stay in PyData/Sparse and linear algebra and csgraph etc should go into SciPy.</div></div></div></blockquote><div><br></div><div>Just to make sure we're talking about the same things here: Stefan, I think with "sparray" you mean "an n-D sparse array implementation that lives in SciPy", nothing more specific? In that case pydata/sparse is the one implementation, and including it in scipy.sparse would make it "sparray". I'm currently indeed leaning towards depending on pydata/sparse rather than including it in scipy.</div><div><br></div><div>Cheers,<br></div><div>Ralf</div><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-family:Helvetica;color:#000000;font-size:13px"><div id="m_-7414096475590909461CanaryBody"> <div><br></div> </div> <div id="m_-7414096475590909461CanarySig"> <div> <div style="font-family:Helvetica;color:#000;font-size:13px">Best Regards,<div>Hameer Abbasi</div></div> <div><br></div> </div> </div> <div id="m_-7414096475590909461CanaryDropbox"> </div> <blockquote id="m_-7414096475590909461CanaryBlockquote"> <div> <div>On Friday, Oct 26, 2018 at 7:03 PM, Stefan van der Walt <<a href="mailto:stefanv@berkeley.edu" target="_blank">stefanv@berkeley.edu</a>> wrote:<br></div> <div>Hi Hameer, <br> <br>On Fri, 26 Oct 2018 10:47:09 +0200, Hameer Abbasi wrote: <br><blockquote type="cite">The only core functionality dependent on scipy.sparse is matrix <br>multiplication and the like. Everything else is for inter-operability. <br></blockquote> <br>Thank you for commenting here. <br> <br>As you know, I am enthusiastic about seeing an `sparray` equivalent to <br>`spmatrix`. When we last spoke, my recollection was that it would be <br>beneficial to `pydata/sparse`. Is this still correct? <br> <br>If not, are we now in a situation where it would be more helpful to <br>build `sparray` based on `pydata/sparse`. <br> <br>If we can have a good sparse array API in place in SciPy, it may <br>significantly simplify code in various other libraries (I'm thinking of <br>scikit-learn, e.g.). <br> <br>Best regards, <br>Stéfan <br>_______________________________________________ <br>NumPy-Discussion mailing list <br><a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a> <br><a href="https://mail.python.org/mailman/listinfo/numpy-discussion" target="_blank">https://mail.python.org/mailman/listinfo/numpy-discussion</a> <br></div> </div> </blockquote> <img id="m_-7414096475590909461F37BA2D766A7C177BADFCD417E5F61C1" src="http://pixels.canarymail.io:8100/track/977C99C0645380AF45E168B4CDA443F5_F37BA2D766A7C177BADFCD417E5F61C1.png" width="1px" height="1px"></div>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/numpy-discussion</a><br>
</blockquote></div></div>