3 ms·
Proper Python would use the csv module for this operation, as your CSV export would break if `header` or `dataset[key]` contains a comma.
by marcinw 12y ago
Proper Python would use the csv module for this operation, as your CSV export would break if `header` or `dataset[key]` contains a comma.
- elandybarr 12y agoYeah. This was a special case for a one line CSV that was requested by my client. It was a dictionary with a bunch of single measurements.