<commit_before>Bugs:

Normalize whitespace stripping across importers
Normalize ints with leading zeroes to strings (careful of 0!)
Unicode support (-e, --encoding flag)

Best practice:

Test command-line interfaces? (Factor argparsing out of main so args can be mocked)
Have normalize_column_type also return nullable and max_length?

Features:

csvlook: print to console in R/psql style fixed width table?
csvdiff: identify which rows/cells have changed
csvtest: validate that a CSV does not contain mixed datatypes and other anomalies
csvsummary: generate summary statistics for columns in a CSV (like R’s summary() function)
csvjoin: quickly merge two CSV files by a shared column<commit_msg>Added a couple TODO items.<commit_after>Bugs:

Normalize whitespace stripping across importers
Normalize ints with leading zeroes to strings (careful of 0!)
Unicode support (-e, --encoding flag)

Best practice:

Test command-line interfaces? (Factor argparsing out of main so args can be mocked)
Have normalize_column_type also return nullable and max_length?
Factor existing utilities to use abstracted normalize_table method

Features:

Implement csv.Sniffer to auto-detect dialect
csvlook: print to console in R/psql style fixed width table?
csvdiff: identify which rows/cells have changed
csvtest: validate that a CSV does not contain mixed datatypes and other anomalies
csvsummary: generate summary statistics for columns in a CSV (like R’s summary() function)
csvjoin: quickly merge two CSV files by a shared column
{'fraction_non_alphanumeric': 0.045484508899143045, 'fraction_numerical': 0.0013183915622940012, 'mean_word_length': 5.515021459227468, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6655293', 'n_tokens_mistral': 407, 'n_tokens_neox': 386, 'n_words': 208}