How to use 'np random permutation' in Python

Every line of 'np random permutation' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
64def randperm(n):
65 #print 'warning, randperm replaced'
66 return N.random.permutation(n)

Related snippets