I\'m new to Python. While reading, please mention any other suggestions regarding ways to improve my Python code.
Question: How do I generate a 8x
Use below code for your array generation
import numpy as np N=1e7 # THe value you want to have np.random.randint(1,high=8,size=(8,N))
Hope this helps, it will surely not going to take that much time.