TYP: improve typing for DataFrame.to_string
cc @simonjayhawkins @twoertwein if comments Updated. Ping… Thanks @topper-123  This is going to fail ci checks... looking now. FilePathOrBuffer was changed in #43951