Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Analyzing Survey Data in Python

Cursus bekijken

Oefeninstructies

  • Create a reproducible sample of 25 employees.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Create a reproducible sample of 25 employees
____.____(____, ____ = 123)
Code bewerken en uitvoeren