Skip to content

Repository files navigation

🌧️ Rainfall Analysis in India

Exploratory Data Analysis and Visualization using Python


📖 Project Overview

This project analyzes rainfall patterns in India over multiple decades using Python.
The goal is to explore rainfall trends across different states and regions, understand seasonality, and identify long-term shifts that may inform agriculture, water management, and climate policy.

The project performs Exploratory Data Analysis (EDA) and builds interactive visualizations to communicate key insights.


🎯 Project Objectives

✅ Analyze seasonal rainfall trends across India
✅ Explore state-wise rainfall variation
✅ Identify year-on-year trends and anomalies
✅ Support potential forecasting and long-term planning
✅ Communicate findings through clear visualizations


🗂 Dataset

Column Description
Year Year of observation
State/UT State or Union Territory
JAN-FEB Rainfall in Jan-Feb (mm)
MAR-MAY Rainfall in Mar-May (mm)
JUN-SEP Rainfall in Jun-Sep (mm)
OCT-DEC Rainfall in Oct-Dec (mm)
ANNUAL Total annual rainfall (mm)

Source: [Indian Government Open Data / Kaggle - Rainfall in India dataset]


👨‍💻 Tools & Libraries

  • Python 3
  • pandas — Data manipulation & analysis
  • matplotlib — Data visualization
  • seaborn — Advanced visualization
  • numpy — Numerical analysis

🗂 Project Workflow

1️⃣ Data Preparation

  • Load dataset using pandas
  • Handle missing values
  • Explore data structure & basic statistics

2️⃣ Exploratory Data Analysis (EDA)

  • Analyze national annual rainfall trends
  • Explore seasonal variation (monsoon vs non-monsoon months)
  • Identify state-wise rainfall patterns
  • Compare rainfall trends across states
  • Highlight extreme rainfall years and anomalies

3️⃣ Visualization

  • Line plots of annual rainfall trends Annual_Rainfall_Trend

  • Bar plots of Average Monthly Rainfall Average_Monthly_Rainfall

  • Bar plots of Seasonal Rainfall Distribution
    Seasonal_Rainfall_Distribution

  • Line plots of the Impact_of_climate_change_on_rainfall Impact_of_climate_change_on_rainfall

  • Plot of Annual Rainfall Forcast Annual_Rainfall_Forcast


📈 Key Insights

✅ Significant seasonal variation — Jun-Sep monsoon dominates rainfall totals
✅ Certain states show high inter-annual variability (e.g., coastal regions)
✅ Trends suggest possible changes in monsoon intensity over recent decades
✅ Understanding rainfall trends is critical for agriculture planning and water resource management


🚀 Business Impact / Applications

✅ Support for climate-resilient agriculture planning
✅ Insights for state-level water resource management
✅ Historical analysis can inform future forecasting models
✅ Helps policy makers understand long-term climate shifts


📚 Project Files


🤝 Acknowledgements

Dataset source: Indian Government Open Data / Kaggle. Thanks to the open data community for making this dataset available.


💬 Contact

For questions or collaboration opportunities, feel free to connect!


About

This project analyzes historical rainfall patterns across India using Python, pandas, and visualization libraries. It explores seasonal and yearly trends, identifies long-term shifts in rainfall, and highlights key insights to support agriculture planning, water resource management, and climate policy decisions.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages