Reproducible random sampling
After conducting a survey on employee satisfaction to its employees, you and your company want to randomly sample 25 of its employees to represent the company on a research study video that interviews employees about their feelings towards the company.
In this exercise, you will create a reproducible, random sample.
The dataset pandas have been uploaded for you as employee_satisfaction and pd, respectively.
Latihan ini adalah bagian dari kursus
Analyzing Survey Data in Python
Petunjuk latihan
- Create a reproducible sample of 25 employees.
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Create a reproducible sample of 25 employees
____.____(____, ____ = 123)