text_plain_output_1.png
import pandas as pd

import plotly.express as px

train = pd.read_csv('/kaggle/input/predict-student-performance-from-game-play/train.csv')
train_labels = pd.read_csv('/kaggle/input/predict-student-performance-from-game-play/train_labels.csv')
test = pd.read_csv('/kaggle/input/predict-student-performance-from-game-play/test.csv')

train.isnull().sum()

event_count = train['fqid'].value_counts().reset_index()
event_count.loc[event_count['fqid'] < 10.0, 'index'] = 'Others'
event_count = event_count.head(10)
fig = px.pie(event_count, values='fqid', names='index', template='plotly_dark', title='Analysis and Comparison of different fqid across index')
fig.show()