Re: [Numpy-discussion] asarray(sparse) -> object

2015-11-20 Thread josef.pktd
On Fri, Nov 20, 2015 at 6:29 PM, CJ Carey wrote: > The short answer is: "kind of". > > These two Github issues explain what's going on more in-depth: > https://github.com/scipy/scipy/issues/3995 > https://github.com/scipy/scipy/issues/4239 > Thanks, I didn't pay attention to those issues, or on

Re: [Numpy-discussion] asarray(sparse) -> object

2015-11-20 Thread CJ Carey
The short answer is: "kind of". These two Github issues explain what's going on more in-depth: https://github.com/scipy/scipy/issues/3995 https://github.com/scipy/scipy/issues/4239 As for the warning only showing once, that's Python's default behavior for warnings: http://stackoverflow.com/q/2266

[Numpy-discussion] asarray(sparse) -> object

2015-11-20 Thread josef.pktd
Is this intentional? >>> exog <50x5 sparse matrix of type '' with 50 stored elements in Compressed Sparse Column format> >>> np.asarray(exog) array(<50x5 sparse matrix of type '' with 50 stored elements in Compressed Sparse Column format>, dtype=object) I'm just a newbie who thought to use the