I\'m trying to open a txt file with 4605227 rows (305 MB)
The way I have done this before is:
data = np.loadtxt(\'file.txt\', delimiter=\'\\t\', dtype=st
Rather than reading it in with numpy you could just read it directly in as a Pandas DataFrame. E.g., using the pandas.read_csv function, with something like:
df = pd.read_csv('file.txt', delimiter='\t', usecols=["a", "b", "c", "d", "e", "f", "g", "h", "i"])