PyJulia, passing numpy array from Python side

Why not remove the type specification on x in the fn definition? Just define fn(x) so that it works for any array-like object.