This was requested here: https://github.com/pydata/pandas/pull/5211