Thanks, Pat.
Here are several data reading and importing steps (using the "Adult" dataset) that I hope you will find concrete and useful.
In[4]:= lines = Import["~/Data sets/adult/adult.data"];
lines = Select[lines, Length[#] > 3 &];
Dimensions[lines]
Out[6]= {32561, 15}
In[7]:= linesTest = Import["~/Data sets/adult/adult.test"];
linesTest = Select[linesTest, Length[#] > 3 &];
Dimensions[linesTest]
Out[9]= {16281, 15}
In[10]:= columnNames =
StringSplit[
"age,workclass,fnlwgt,education,education-num,marital-status,occupation,relationship,race,sex,capital-gain,capital-loss,hours-per-week,native-country", ","]
Out[10]= {"age", "workclass", "fnlwgt", "education", "education-num", "marital-status", "occupation", "relationship", "race", "sex", "capital-gain", "capital-loss", "hours-per-week", "native-country"}
In[11]:= AppendTo[columnNames, "income"]
Out[11]= {"age", "workclass", "fnlwgt", "education", "education-num", "marital-status", "occupation", "relationship", "race", "sex", "capital-gain", "capital-loss", "hours-per-week", "native-country", "income"}
In[12]:= Magnify[
TableForm[lines[[1 ;; 12]],
TableHeadings -> {Automatic,
Style[#, Blue, FontFamily -> "Times"] & /@ columnNames}], 0.9]
Is this post in a direction you would like this discussion to go?