I need a csv file with 1 million entries [closed]

爷,独闯天下 提交于 2019-11-30 08:44:33

问题


I want a sample csv file of about 1 million entries in it. From where can i get that ,can anybody please help me with this?


回答1:


Try using Majestic Million CSV which is free.

If you don't mind paying a small fee you can try BrianDunning.com




回答2:


Make your own...

perl -E 'for($i=0;$i<1000000;$i++){say "Line $i,field2,field3,",int rand 100}' > BigBoy.csv

Output

Line 0,field2,field3,58
Line 1,field2,field3,4
Line 2,field2,field3,12
Line 3,field2,field3,39
Line 4,field2,field3,41
Line 5,field2,field3,18
Line 6,field2,field3,64
Line 7,field2,field3,13
Line 8,field2,field3,52
Line 9,field2,field3,54
Line 10,field2,field3,24
...
...
Line 999995,field2,field3,8
Line 999996,field2,field3,66
Line 999997,field2,field3,29
Line 999998,field2,field3,67
Line 999999,field2,field3,62


来源:https://stackoverflow.com/questions/29252963/i-need-a-csv-file-with-1-million-entries

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!