def detect_types(<EOL>field_names,<EOL>field_values,<EOL>field_types=DEFAULT_TYPES,<EOL>skip_indexes=None,<EOL>type_detector=TypeDetector,<EOL>fallback_type=TextField,<EOL>*args,<EOL>**kwargs<EOL>):
<EOL>detector = type_detector(<EOL>field_names,<EOL>field_types=field_types,<EOL>fallback_type=fallback_type,<EOL>skip_indexes=skip_indexes,<EOL>)<EOL>detector.feed(field_values)<EOL>return detector.fields<EOL>
Detect column types (or "where the magic happens")