text_html_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

df = pd.read_csv('room_occupancy_estimation_dataset.csv')

df.shape

df[df.duplicated()]

df.drop(columns=['Date', 'Time'], axis=1, inplace=True)

df[df.duplicated()]

fig, ax = plt.subplots(1, 5, figsize=(10, 5))
plt.subplots_adjust(wspace=0.5)
sns.violinplot(data=df['S1_Light'], ax=ax[0], color='brown')
ax[0].set_xlabel('S1_Light')
sns.violinplot(data=df['S2_Light'], ax=ax[1], color='g')
ax[1].set_xlabel('S2_Light')
sns.violinplot(data=df['S3_Light'], ax=ax[2])
ax[2].set_xlabel('S3_Light')
sns.violinplot(data=df['S4_Light'], ax=ax[3], color='y')
ax[3].set_xlabel('S4_Light')
sns.violinplot(data=df['S5_CO2'], ax=ax[4], color='b')
ax[4].set_xlabel('S5_CO2')
for subplot in ax:
    subplot.set_xticklabels([])
plt.show()