image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sb

train_data = pd.read_csv('/kaggle/input/heartbeat/mitbih_train.csv', header=None)

train_target = train_data[187].value_counts()

plt.bar(train_target.index, train_target.values, color=sb.color_palette()[4])