java - Classify huge CSV file by tag name -
i have large size csv file 60mb. csv file contains object_name, timestamp, , value.
in csv file, there 10 objects listed in csv file based on time sequence, overlap. such :
a1,2013-08-24 15:36:47,24.83 a2,2013-08-24 15:36:47,26.56 a3,2013-08-24 15:36:47,25.83 a6,2013-08-24 15:36:47,-40 a8,2013-08-24 15:36:47,-40 a9,2013-08-24 15:36:47,-40 b2,2013-08-24 15:36:47,6 c1,2013-08-24 15:37:18,6
i want classfy records object_name. if size of file small, can it. in situation, spend 10 mins read csv file. not image classify data, crash laptop. expected results 10 list, each of them contain 1 object timestamp , value, such as,
object_name,timestamp,val a1,2013-08-24 15:00:00,26.7 ..... .....
could me? basically, want know effective way sorts these data object name , separates it.
btw, use opencsv read csv file.
thank you.
Comments
Post a Comment