xref https://github.com/pandas-dev/pandas/pull/24812#discussion_r248656502. follow-up PR required.