Maharashtra Results — Constituency-wise election results for Lok Sabha and Vidhan Sabha elections in Maharashtra including candidate, party, and vote count data
# Download from https://eci.gov.in/
import pandas as pd
df = pd.read_csv('election_results.csv')
mh = df[df['State'] == 'Maharashtra']
print(f'Constituencies: {mh["Constituency"].nunique()}')
print(mh.groupby('Party')['Votes'].sum().sort_values(ascending=False).head())| Field | Type | Description |
|---|---|---|
| constituency | string | Constituency name |
| state | string | State name |
| candidate | string | Candidate name |
| party | string | Political party |
| votes | int | Votes received |
| year | int | Election year |