CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Analyzing Survey Data in Python

Afficher le cours

Instructions

  • Create a reproducible sample of 25 employees.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Create a reproducible sample of 25 employees
____.____(____, ____ = 123)
Modifier et exécuter le code