Random sample of employees
You are an analyst at a company that currently employs 500 individuals. The company wishes to conduct a survey to determine employee satisfaction based on a few identified variables. You and the research team decide to have the sample set at 85 employees. The 85 employees will be part of the survey and will be used as a representation for the total population of 500 employees.
The dataset and pandas have been uploaded for you as employee_satisfaction
and pd
, respectively.
Cet exercice fait partie du cours
Analyzing Survey Data in Python
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Use n parameter to sample 85 employees
____