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.
This exercise is part of the course
Analyzing Survey Data in Python
Exercise instructions
- Create a reproducible sample of 25 employees.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Create a reproducible sample of 25 employees
____.____(____, ____ = 123)