text_plain_output_1.png
import collections

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

data_path = '../input/vietnamese-text-classification-dataset/train.csv'
df = pd.read_csv(data_path, header=None, names=['label', 'text'])

labels = df['label'].values

value_labels = list(set(labels))
print(value_labels)
import collections
count_labels = collections.Counter(labels)
observe_data = pd.DataFrame({'value_labels': value_labels, 'num_labels': [count_labels[value] for value in value_labels]})
print(observe_data)