Skip to main content
edited tags
Link
Szabolcs
  • 238.9k
  • 32
  • 653
  • 1.3k
Tweeted twitter.com/#!/StackMma/status/198823230188949504
added 5 characters in body
Source Link
user13253
  • 8.8k
  • 3
  • 44
  • 68

I have a tab separated value file with 10 million rows each of which has three tab separated values. The first value is a string, the second an integer, and the third another string. How to read efficiently (in terms of timing and memory footprint) the $n^{th}$ to $(n+100)^{th}$ rows of the file into Mathematica as

{ {_String, _Integer, _String}, ... } 

?

I have a tab separated value file with 10 million rows each of which has three tab separated values. The first value is a string, the second an integer, and the third another string. How to read efficiently (in terms of timing and memory footprint) the $n^{th}$ to $(n+100)^{th}$ rows of the file into Mathematica as

{ {_String, _Integer, _String}, ... } 

I have a tab separated value file with 10 million rows each of which has three tab separated values. The first value is a string, the second an integer, and the third another string. How to read efficiently (in terms of timing and memory footprint) the $n^{th}$ to $(n+100)^{th}$ rows of the file into Mathematica as

{ {_String, _Integer, _String}, ... } 

?

added 54 characters in body
Source Link
user13253
  • 8.8k
  • 3
  • 44
  • 68

I have a tab separated value file with 10 million rows each of which has three tab separated values. The first value is a string, the second an integer, and the third another string. How to read efficiently (in terms of timing and memory footprint) the $n^{th}$ to $(n+100)^{th}$ rows of the file into Mathematica as

{ {_String, _Integer, _String}, ... } 

I have a tab separated value file with 10 million rows each of which has three tab separated values. The first value is a string, the second an integer, and the third another string. How to read the $n^{th}$ to $(n+100)^{th}$ rows of the file into Mathematica as

{ {_String, _Integer, _String}, ... } 

I have a tab separated value file with 10 million rows each of which has three tab separated values. The first value is a string, the second an integer, and the third another string. How to read efficiently (in terms of timing and memory footprint) the $n^{th}$ to $(n+100)^{th}$ rows of the file into Mathematica as

{ {_String, _Integer, _String}, ... } 
Source Link
user13253
  • 8.8k
  • 3
  • 44
  • 68
Loading