I was trying to upload my dataset to python by following this discussion. Yet my code gives error. You can see the code and the error in image. Can you guys help me to fix it?

I was trying to upload my dataset to python by following this discussion. Yet my code gives error. You can see the code and the error in image. Can you guys help me to fix it?

pref_mat['a']?