Formating data to DataFrame