IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Analyzing Survey Data in Python

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Use n parameter to sample 85 employees
____
Modifica ed esegui il codice