split dataset into attributes.