slice dataframe

figured out how to slice the datasets using data frames