Mental health in tech survey
An ongoing 2016 survey aims to measure attitudes towards mental health in the tech workplace, and examine the frequency of mental health conditions among tech workers.
You will test if there is an association between willingness to discuss mental health issues with a direct supervisor, discuss_with_supervisor
, and if an employee's anonymity will be protected when they take advantage of mental health treatment resources provided by their employer, anonymity_protected
.
pandas
and scipy.stats
have been uploaded for you as pd
and st
, respectively, along with the cleaned survey data as tech_mh
.
This exercise is part of the course
Analyzing Survey Data in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Perform cross tabulation and assign to variable, cross_table
cross_table = ____
print(cross_table)