BUG: don't use partial setting with scalars (GH5720)
Merge pull request #5723 from jreback/empty_frame

BUG: don't use partial setting with scalars (GH5720)