MulaiMulai sekarang secara gratis

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.

Latihan ini adalah bagian dari kursus

Analyzing Survey Data in Python

Lihat Kursus

Petunjuk latihan

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

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Create a pie chart to the question of working onsite
ABC_survey.____.____.____.____
plt.show()
Edit dan Jalankan Kode