With the approach of the Spring Festival, readers must have begun to plan how to spend the happy Spring Festival holiday. Family reunion, visiting relatives and friends, chatting with good friends I haven’t seen for a long time, and thinking about it all makes people feel happy.
In addition, every year’s Spring Festival movies will meet with you as scheduled. Many classic movies have been born in the Spring Festival files, and the 2019 Spring Festival movies are also a collection of excellent movies, which are called "the strongest Spring Festival files in history". Today, we will take you to use data to interpret the most worthwhile movies.
data procurement
This time, our data mainly comes from cat’s eye, and part of it is the real-time pre-sale box office data of cat’s eye:
This part of the data can be obtained through selenium, and the code is as follows:
driver = webdriver.Chrome()driver.maximize_window() driver.close() driver.switch_to_window(driver.window_handles[0]) url = ‘https://piaofang.maoyan.com/dashboard? date=2019-02-05’js=’window.open("’+url+’")’driver.execute_script(js)driver.close() driver.switch_to_window(driver.window_handles[0])
The other part of the data comes from the audience comments of the cat’s eye. Since the film has not been released yet, the scores given by the audience comments indicate their expectations for the film. It should be noted that many viewers did not give a score in the comments, and they will be directly displayed as 0, which needs to be excluded in the subsequent calculation. The data are as follows:
The acquisition method of this part of data can refer to the previous "Breaking 900 million in 3 days! Tens of thousands of comments explain whether the richest man in Xihong City is worth seeing, so we just omit the crawling code.
Pre-sale box office
An important way to measure a movie’s attention is to look at the pre-sale situation on the first day. We select eight most important movies for comparison this time, and the code is as follows:
p1]) return list(dict(words_list.most_common(30)).keys())
Finally, we selected five words from each film that can reflect its highlights and visualized them:
Let’s select some interesting combinations of points of view and make a profound interpretation:
"Detective Pu Songling": Everyone is looking forward to Jackie Chan’s performance. Although many people have labeled him as a "bad film" in advance, they are still looking forward to the film’s word of mouth. At the same time, everyone will also pay close attention to the special effects of the film. I wonder if they will pay tribute to the special effects of the previous 50 cents "duang".
"Flying Life" and "Crazy Alien": I feel that Shen Teng has a great tendency to contract this year’s Spring Festival files. Among the top two films in the pre-sale, the audience is most concerned about Shen Teng, expecting Shen Teng to dominate the Spring Festival and gain a good reputation at the same time. Shen Teng is dealing with aliens and experiencing a speeding life, so the audience who like Shen Teng can feast their eyes on the Spring Festival stalls.
"Piggy Peggy’s New Year": a film suitable for children to watch, and also a film with a promotional film that has been greatly discussed. I hope that it will not follow the footsteps of the word-of-mouth collapse after the release of "The Last Night of the Earth".
"New king of comedy": Obviously, most of the audience’s expectations for this film come from Master Xing. With the classic version of "king of comedy" before, "New king of comedy" will inevitably be compared with the original, and we expect a classic film to appear.
Finally, I wish you a happy new year in advance, experience the happiness of reunion with your family and watch wonderful movies at the same time! At the same time, you can also interact with us in the message area and share the movies you will choose to watch during the Spring Festival.