sliced method
Returns a DataFrame whose rows have been sliced with respect to start & end.
asView set to true leads to a view of the current data being returned, otherwise
a copy will be returned.
Implementation
DataFrame sliced({int start = 0, int? end, bool asView = true}) =>
_viewOrCopy(columnNames, getRange(start, end ?? length).toList(), asView);