'''
Create a 4x6 array of random ints between 10 and 100.  Then create
a 4x6 array of indices of representing rankings of the first array.
For example a 2x3 array
    [[49 56 61]
     [63 39 97]]
yields the rankings
    [[4 0 1]
     [2 3 5]]
'''

import numpy as np

shape = (4,6)
a = np.random.randint(low=10, high=100, size=shape); print(a)
b = np.argsort(a, axis=None).reshape(shape); print(b)

c086c73b6ede0ac8efeeb36e9f59e08eaaab76c7
<mask token>

<mask token>
print(a)
<mask token>
print(b)

<mask token>
shape = 4, 6
a = np.random.randint(low=10, high=100, size=shape)
print(a)
b = np.argsort(a, axis=None).reshape(shape)
print(b)

<mask token>
import numpy as np
shape = 4, 6
a = np.random.randint(low=10, high=100, size=shape)
print(a)
b = np.argsort(a, axis=None).reshape(shape)
print(b)

'''
Create a 4x6 array of random ints between 10 and 100.  Then create
a 4x6 array of indices of representing rankings of the first array.
For example a 2x3 array
    [[49 56 61]
     [63 39 97]]
yields the rankings
    [[4 0 1]
     [2 3 5]]
'''

import numpy as np

shape = (4,6)
a = np.random.randint(low=10, high=100, size=shape); print(a)
b = np.argsort(a, axis=None).reshape(shape); print(b)
