Kanpur is a city in Uttar Pradesh , India .
The Government of Uttar Pradesh has carved out the new district of Kanpur Dehat from the old Kanpur Rural district .