text_plain_output_1.png image_output_1.png
import pandas as pd

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import pandas as pd
df = pd.read_csv('../input/machine-predictive-maintenance-classification/predictive_maintenance.csv')

x = df['Type'].value_counts().plot.pie(explode=[0.5, 0.5, 0.5], autopct='%1.1f%%')