LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Analyzing Survey Data in Python

Kurs anzeigen

Anleitung zur Übung

  • Create a reproducible sample of 25 employees.

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Create a reproducible sample of 25 employees
____.____(____, ____ = 123)
Code bearbeiten und ausführen