LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Analyzing Survey Data in Python

Kurs anzeigen

Interaktive Übung

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

# Use n parameter to sample 85 employees
____
Code bearbeiten und ausführen