BUG: validate ndarray size correctly with assigning pieces to a DataFrame