The habitats where shepherd's purse~(Capsella bursa-pastoris) grows:

Arable
Brownfield
Coastal floodplain grazing marsh
Disturbed nutrient rich
Gateways and tracks
Hard cliff and cliff slope
Mesotrophic grassland
Only East Anglia
Open habitat arable weed fertile loam and clay
Open habitat arable weed less fertile acid
Open habitat arable weed light lime rich
Pond ditch and canal