Thursday, November 13, 2025

πŸ”΅ PROJECT 3 (Advanced): IPL Dataset Analysis (Real-world Style)

 

πŸ“Œ Objective

Analyze IPL data to find:

  • Highest run scorer

  • Best bowler

  • Team winning ratios

  • Match analysis

πŸ“Œ Dataset (columns)

Match_IDTeam1Team2WinnerRuns_T1Runs_T2Venue

πŸ“Œ Project Tasks

✔ 1. Load dataset

df = pd.read_csv("ipl.csv")

✔ 2. Clean & preprocess

df.dropna(inplace=True) df["Winner"] = df["Winner"].astype(str)

✔ 3. Most successful team

winner_count = df["Winner"].value_counts() print(winner_count.head())

✔ 4. Team winning percentage

total_matches = len(df) percent = (winner_count / total_matches) * 100 print(percent)

✔ 5. Venue Analysis

print(df["Venue"].value_counts().head())

✔ 6. Visualization

winner_count.plot(kind="bar")

No comments:

Post a Comment

Machine Learning with Python : Scratch to Advanced

https://claude.ai/public/artifacts/d515bb8c-40dd-4d9a-9010-beb96f6aa4e5