BUG: parse_time_string failing to raise TypeError
Cleans up one of the TODOs introduced in recent groupby work.

Adds some type annotations along the way.
lgtm. ping on green.

side issue, can you fix the allowed failure test on travis that is an html test failure (xfail or remove the test). Ping

Will look at the Travis thing, likely Monday thxs