adding left and right view to DataFrame, equivalent to head() and tail()