District-wise livestock numbers by species (cattle, buffalo, sheep, goat, poultry), breed type, ownership category, and gender from the quinquennial Livestock Census. Covers all Maharashtra districts with trend data across census rounds.
# Download from https://dahd.nic.in/
import pandas as pd
df = pd.read_csv('livestock_census.csv')
mh = df[df['State'] == 'Maharashtra']
print(mh.groupby('Species')['Count'].sum().sort_values(ascending=False))| Field | Type | Description |
|---|---|---|
| district | string | District name |
| species | string | Livestock species (cattle, buffalo, goat, etc.) |
| count | int | Number of animals |
| breed | string | Breed name |