Continuing with Outlook on Life Surveys 2012 dataset I’ve been working with, in this assignment, I run my first program in Python that showing frequency distributions for my chosen variables and columns, possibly rows, etc. I uploaded the code (.py file) in my Github account on this following link: assignment2.py. The code executes like a charm and produces result as can be seen in text file here.
These are the outputs displays three of variables as frequency tables. I renamed the original label with its description label to be more interpretable, for example I renamed the categorical values, such as: 1, 2, 3 with ‘Strongly Agree’, ‘Somewhat Agree’, ‘Disagree’, etc. Continue reading “Assignment Week 2”