SyntaxFix
Write A Post
Hire A Developer
Questions
Use numpy.fromfunction(function, shape, **kwargs)
numpy.fromfunction(function, shape, **kwargs)
See "https://docs.scipy.org/doc/numpy/reference/generated/numpy.fromfunction.html"