Update 数据提取统计.md

main
pxskm4tvn 2 months ago
parent 7d74b60986
commit 9a102b32cc

@ -1,4 +1,3 @@
```javascript
const fs = require('fs'); const fs = require('fs');
const lodash = require('lodash'); const lodash = require('lodash');
const csv = require('fast-csv'); const csv = require('fast-csv');
@ -24,4 +23,3 @@ csv.parseFile('chat.txt', { headers: true }, (err, data) => {
fs.writeFileSync('statistics.json', JSON.stringify(results, null, 2), 'utf-8'); fs.writeFileSync('statistics.json', JSON.stringify(results, null, 2), 'utf-8');
}); });
```
Loading…
Cancel
Save