Yes the Shark vacuum is safe for hardwood floors and has plenty of suction to easily lift dirt from hardwood floors without doing any damage to the hardwood floors.
I use Shark Vacuum on my hardwood floors all the time and then I go over the hardwood floors with a mop to clean any other leftover dust that may still be on the hardwood floor.
But most times the Shark Vacuum cleaner gets most of the dirt off the hardwood floor so there's not much leftover to clean with the mop.
But still the mop is a good idea to help the hardwood floors shine.