2. Absenteeism at Work
Activity 2.01: Analyzing the Service Time and Son Columns
- First, let's import the data and the necessary libraries:
# perform statistical test for avg duration difference import pandas as pd import seaborn as sns import matplotlib.pyplot as plt %matplotlib inline # import data from the github page of the book data = pd.read_csv('https://raw.githubusercontent.com/'\ 'PacktWorkshops/'\ 'The-Data-Analysis-Workshop/master/'\ 'Chapter02/data/Absenteeism_at_work.csv', \ &...