From discussion at https://github.com/pandas-dev/pandas/pull/20611#discussion_r204674611 cc @jschendel