text_html_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

df = pd.read_csv('../input/idcyberbullying/id-cyberbullying-instagram.tsv', sep='\t', encoding='ISO-8859-1')
df

df.label.value_counts()

comment_len = pd.Series([len(comment.split()) for comment in df['text']])

plt.figure(figsize=(10, 5))
sns.histplot(comment_len, palette='deep')