rok commented on issue #50906: URL: https://github.com/apache/arrow/issues/50906#issuecomment-5396607247
On a personal note: this is a lot of text to read and it looks AI generated. Please filter responses of your agent to a minimum if you'd want to continue this discussion. Further - please provide motivation from a downstream library or a personal anecdote showing why this is needed. As far as I understand the way `scipy.sparse` works is that it converts a 1-dim array of values into a 2-dim array and then uses the regular codepath see: ```python >>> import scipy.sparse >>> scipy.sparse.csr_matrix([1, 0, 2, 0, 0, 3]).ndim 2 ``` To replicate this behavior I propose we simply reshape the 1-dim array at input time. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
