給与推定により人事の赤池くんの窮地を救おう
maruyama
import numpy as np import pandas as pd from matplotlib import pyplot as plt
train = pd.read_csv("rawdata/train_data.csv") test = pd.read_csv("rawdata/test_data.csv")
train.describe().T
test.describe().T
bins = np.linspace(0, 32, 31) train["overtime"].hist(bins = bins, alpha = 0.5, label = "train") test["overtime"].hist(bins = bins, alpha = 0.5, label = "test") plt.xlabel("overtime") plt.ylabel("count") plt.legend() plt.show()