Live data from Hacker News

NumPy Exercises for Data Analysis in Python

machinelearningplus.com

31–34 of 34 posts

Re: NumPy Exercises for Data Analysis in Python

#33
post #26
post #19

Earlier quoted context omitted.

Nice! Ive been meaning to try out Julia for a while now. Is the numpy equivalent in Julia largely written in Julia itself? (as opposed to C/Fortran)

Julia's numpy equivalent is basically the standard Array type from the standard library, which I'm 99% sure is native Julia.

If one is working on small (One downside is that unless you're doing BLAS-style operations, writing non-trivial transformations of StaticArrays always seems to require generated functions.

Anyway, I think this is a feature that numpy doesn't provide.

[1] https://github.com/JuliaArrays/StaticArrays.jl

Re: NumPy Exercises for Data Analysis in Python

#34
post #29

Earlier quoted context omitted.

Switch to Julia! Hit @edit unique([1,2,3,2]) in the REPL and you see the implementation.

You can do the same thing in IPython/jupyter with ?? e.g. np.unique??

That only works for functions written in pure Python though, right? Although having said that I'm not sure how many of the functions that you'd actually want to look at the source for are written in C/Cython/Fortran.
Post reply on HN