Cell #7 and #8

Cell 7 defines terms used in cell 8. Both cells are used to invert the answers to some of the questions. For example:
"idx1" is equivalent to typing the command "np.where(vec==1)" The ".where" command is used when different conditions have different effects. Then, ".put" places a value in the chart depending on if the condition set up in the ".where"  command is true or false. For example, in this code, if the answer to a certain question is 1, the number 5 will be displayed instead. Cell 8 then creates a chart with the updated resonses.

Comments

Popular posts from this blog

6/14/17 Notes

6/06/17 Notes (formatting code and searching for a specific person)

May 22, 2017 -- SienaSemanticsSurvey -- Code Breakdown -- Cell #8