Opening this so I can point to it as a todo. See https://github.com/pandas-dev/pandas-stubs/issues/1168 for context