title: A list file to an numpy array
body: <p>I have a file named &quot;abc.data&quot;, which containes element in the form as</p>
  <p>39, State-gov, 77516, Bachelors, 13, Never-married, Adm-clerical, Not-in-family, White, Male, 2174, 0, 40, United-States, &lt;=50K
  50, Self-emp-not-inc, 83311, Bachelors, 13, Married-civ-spouse, Exec-managerial, Husband, White, Male, 0, 0, 13, United-States, &lt;=50K</p>
  <p>I want to make an array to store the above data , also is it possible to store the all the elements in the X[] except the last element , and last element in Y[] like,</p>
  <p>X=[39, State-gov, 77516, Bachelors, 13, Never-married, Adm-clerical, Not-in-family, White, Male, 2174, 0, 40, United-States]
  Y=[&lt;=50K]</p>