BUG: fix 1xN mask on 1xN frame
TST: use DataFrame in the test
Merge pull request #4073 from cpcloud/internals-mask-edge-case

BUG: fix 1xN mask on 1xN frame