It really goes to show that both the films and the books were really good for different reasons. This scene does not appear in the books at all, but it's one of my favorites from the entire film series. It's so random, and it would have appeared really weird and clunky if Rowling had written it into the book but it worked perfectly in the film. I love Harry Potter ugh.