JustPaste
HomeCategoriesAboutDonateContactTerms of UsePrivacy Policy
JustPaste

Free online notepad — write and share instantly

Navigate

  • Home
  • Timeline
  • Categories

Info

  • About
  • Donate
  • Contact

Legal

  • Terms of Use
  • Privacy Policy

© 2026 JustPaste.app. All rights reserved.

Made with ♥ by JustPaste

Untitled Page | JustPaste.app
about 2 months ago1 views
👨‍💻Programming
import pandas as pd 
import matplotlib.pyplot as plt
import seaborn as sns
#Load dataset
df=pd.read_csv("student_performance.csv")
print(df.head())
print(df.isnull().sum())
print(df.describe())
plt.hist(df["total_score"])
plt.title("total_score_distribution")
plt.show()
avg=df.groupby("Gender")["Math Score"].mean()
avg.plot(kind="bar")
plt.show()
plt.scatter(df["Math Score"],df["Science Score"])
plt.xlabel("Math Score")
plt.ylabel("Scince Score")
plt.show()
sns.boxplot(data=df[["Math Score","Science Score"]])
plt.show
← Back to timeline