BUG: Consistency with dtypes in setting an empty DataFrame (GH6171)

closes #6171