简单分析top250的数据(三)

说明

这个top250系列(二)爬取到了很多信息,接下来简单分析一下
小声bb——比较忙,没什么文字,来不及陈述分析过程及结论(哭)
首先引入必要的库

import warnings
from pandas_profiling import ProfileReport

from collections import Counter
import numpy as np
import pandas as pd

import seaborn as sns
import matplotlib.pyplot as plt

sns.set_style("darkgrid")
warnings.filterwarnings("ignore")


%matplotlib inline

看看年份的信息,榜上有名最早的电影追溯到1931年了,最晚的是2019

在这里插入图片描述
看看评分的分布,集中在8.8左右

sns.scatterplot(data=rating)

在这里插入图片描述
看看评论数

plt.figure(figsize=(18, 10))
sns.lineplot(x='rank',y='rating',data=df)

在这里插入图片描述
在这里插入图片描述

看看排名和评分,以及评论数的关系

plt.figure(figsize=(10, 8))
sns.heatmap(df[['rank','rating','countNum']].corr(), annot=True)
plt.show()

在这里插入图片描述

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值