Is there actually a reason to use `frame.dtypes.index` instead of just `frame.columns`? (but which is for the rest totally unrelated to this PR)