Hosted on MSN
How to work with arrays in Bash scripts
If you're working with a large amount of data in your Bash scripts, arrays will make your life a lot easier. Some people get intimidated by the syntax. But once learned, it will make your scripts more ...
# sort() - the numpy ndarray object has a function which is called sort(), and this will sort a specified array. import numpy as np vd = np.array([3,2,0,1]) vd1 = np.sort(vd)[::-1] # this method is ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results