text_plain_output_1.png image_output_1.png
import pandas as pd

data = pd.read_csv('../input/machine-predictive-maintenance-classification/predictive_maintenance.csv', sep=',')

data['Overstrain [minNm]'] = data['Torque [Nm]'] * data['Tool wear [min]']
data['Required Power [W]'] = data['Torque [Nm]'] * data['Rotational speed [rpm]']
data['Heat Dissipation [K]'] = data['Process temperature [K]'] - data['Air temperature [K]']
cols = data.columns.tolist()
cols = cols[-3:] + cols[:-3]
data = data[cols]

data.describe()