Aan de slagGa gratis aan de slag

Spread of yes's and no's

Your company, ABC, tasks you with the job of surveying to its employees to check employee interest in on-site work.

The original survey of the population of company ABC, ABC_survey, included both "Yes" and "No" responses to the question of whether employees wanted to work on-site, onsite_work.

In this exercise, you will be able to quickly come to a conclusion about employees' preferences about on-site work.

pandas and matplotlib.pyplot has been uploaded for you as pd and plt.

Deze oefening maakt deel uit van de cursus

Analyzing Survey Data in Python

Cursus bekijken

Oefeninstructies

  • Create a pie chart visualizing the original spread or "Yes" and "No" to the question of working on-site.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Create a pie chart to the question of working onsite
ABC_survey.____.____.____.____
plt.show()
Code bewerken en uitvoeren