I have an array (oned_2018) and I want a function to make multiple copies of this array. The number of copies is the largest value in this array. e.g. largest is 6; then there should be 6 copies. Could anyone please help me write this loop? I want something like...
for i in range(1, max(oned_2018)+1):
classi_20 = oned_2018.copy() # of course this line is incorrect!
and outputs should be like this manual work:
class1_20 = oned_2018.copy()
class2_20 = oned_2018.copy()
class3_20 = oned_2018.copy()
class4_20 = oned_2018.copy()
class5_20 = oned_2018.copy()
class6_20 = oned_2018.copy()