Here is my sample code:
ah = np.linspace(1, 20, 20)
print(ah)
>>> [ 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.
16. 17. 18. 19. 20.]
print(np.random.shuffle(ah))
>>> None
According to the docs, the input should be an array or a list. Why doesn't the sample code above work?