Polishing glass

My truck needs the drivers side window cleaned up as it has streaks from going up and down. Will rubbing compound work? I’ve cleaned up headlights with it. Or what does the FABO experts advise. Thanks. Kim