Let's say I have a .dat file and try to print its first column using this code:
import numpy as np
data = np.loadtxt('d.dat', dtype='str')
a=data[:, 1]
print(a)
Now, when number of data is around 500, it prints all data. But for 5,000 numbers of data, it prints like this:
a=['1' '2' '3' .......'9' '10']
Now my question is how to print for large numbers of data like this:
a=['1' '2' '3' '4' '5' '6' '7' '8' '9' '10']