3 ms·
I'm thinking mostly of the computational complexity. But even ergonomically, in python, can read a csv like: import csv [row for row in csv.DictReader(f)]
by jszymborski 2y ago
I'm thinking mostly of the computational complexity.
But even ergonomically, in python, can read a csv like:
import csv
[row for row in csv.DictReader(f)]
which imo is not less ergonomic than
import json
[json.loads(line) for line in f]