How namratanandi/electoral-analysis works
This repository is an electoral-analysis notebook backed by constituency-level election data. Its documented workflow uses results from three elections to examine alliance and INC performance through vote-share trends, swing, correlations, and K-Means clustering, with seat and swing grades supplied as pre-labelled fields. The analysis aims to identify seat-strategy groups; the README also notes interactive Plotly charts. The notebook source was not excerpted, so the graph reflects documented capabilities rather than verified implementation calls.
Main entry points: INDIA_ALLIANCE_ANALYSIS_UP.ipynb Analysis notebook · UP_INC_ANALYSIS_2027_27.xlsx Election results workbook
Components 10
Election data
- Election results workbook
UP_INC_ANALYSIS_2027_27.xlsx
Electoral analysis
- Analysis notebook
INDIA_ALLIANCE_ANALYSIS_UP.ipynb - Seat and swing grades
INDIA_ALLIANCE_ANALYSIS_UP.ipynb - Vote-share trends
INDIA_ALLIANCE_ANALYSIS_UP.ipynb - Swing analysis
INDIA_ALLIANCE_ANALYSIS_UP.ipynb - Correlation analysis
INDIA_ALLIANCE_ANALYSIS_UP.ipynb - K-Means clustering
INDIA_ALLIANCE_ANALYSIS_UP.ipynb
Analysis outputs
- Seat-strategy groups
INDIA_ALLIANCE_ANALYSIS_UP.ipynb - Interactive charts
INDIA_ALLIANCE_ANALYSIS_UP.ipynb
Other components
- Analyst
Connections 9
- Analyst → Analysis notebook: runs analysis
README.md - Election results workbook → Analysis notebook: provides results
README.md - Election results workbook → Seat and swing grades: provides labels
README.md - Analysis notebook → Vote-share trends: examines trends
README.md - Analysis notebook → Swing analysis: examines swing
README.md - Analysis notebook → Correlation analysis: analyzes correlations
README.md - Analysis notebook → K-Means clustering: clusters seats
README.md - Analysis notebook → Seat-strategy groups: identifies groups
README.md - Analysis notebook → Interactive charts: presents charts
README.md