Alexander Plavin

Results 348 comments of Alexander Plavin

Would be great to see the so-called stack functionality finally in Base! It's positioned as the mirror operation to `eachslice`, and indeed it is. However, it's somewhat unfortunate to have...

> Re names, "stack" vs "slice" are plausibly a pair, right? Maybe... I'm not a native speaker, and they don't really associate for me. Possibly, this is just getting used...

Thanks for detailed explanations! Yet another question: can `stack` be made type-stable? Currently, with custom array types, it correctly returns the same array type. But infers to the union of...

I also pushed the corresponding setproperty fix, if you know the proper way to check the exception please update it as well! For now, getproperty tests fail with your changes.

In the two corresponding cases, it's: ```julia e.T = PyObject # and e.T = PyObject ```

Bump! In the meantime I noticed that the same `KeyError` is wrongly raised when getting an attribute as well, not only when setting. Traceback points to this line: https://github.com/JuliaPy/PyCall.jl/blob/5d227fc23fda631783a68c9ff1c6aff47200978e/src/PyCall.jl#L307. I...

Stumbled across this issue by chance, but if the question is still relevant - there is a direct solution already. Just use structarrays! ``` map(StructArray(i=1:1000)) do _ x = rand()...

I see, correlations indeed can be quite important and it is far from obvious how to speed up calculations while maintaining them. However it would be useful to have another...

Nice to hear it's already on the way! Thank you.