How could we reduce this air friction in real life?
By making the pendulum as streamlined as possible, or setting up a vacuum for the pendulum to swing in.