A couple of years ago I bought a Shark that easily trades out heads for hardwood floors. The hardwood floor attachment has a dust pad and is great. I use it upstairs where I can switch between laminate floors in my sewing room to carpet in the other rooms.
When my Dyson died last year after 15 years I bought another Shark. The one with the swivel head. It works great on carpet and picks up enough debris from kitchen tile to prepare for mopping.