Yankee Doodle Dandy is a very entertaining film but it's not a very accurate portrayal of Cohan's life. Regarding George M, I only know it from it's cast recording and the TV version, but it does a much better job of getting the details right about Cohan's life and career.