LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Analyzing Survey Data in Python

Kurs anzeigen

Anleitung zur Übung

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

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Create a pie chart to the question of working onsite
ABC_survey.____.____.____.____
plt.show()
Code bearbeiten und ausführen