5
5
df = pd.read_csv(url)
1) A heatmap to understand the correlation between IMDB Score, Hidden Gem Score, and
IMDB Votes
[2]: import seaborn as sns
import matplotlib.pyplot as plt
1
2) Plot lines for categories of every movie type and analyze how they have received IMDB Votes.
Create a subplot to compare the same categories with IMDB Score.
[3]: import seaborn as sns
import matplotlib.pyplot as plt
# Ensure 'Series or Movie' and 'IMDb Votes' columns are treated as strings and␣
↪numbers respectively
# Plot lines for categories of every movie type with IMDb Votes
plt.figure(figsize=(14, 6))
2
plt.xlabel('Movie Type')
plt.ylabel('IMDb Votes')
plt.tight_layout()
plt.show()
C:\Users\lenovo\AppData\Local\Temp\ipykernel_10248\35240728.py:14:
FutureWarning:
The `ci` parameter is deprecated. Use `errorbar=None` for the same effect.
The `ci` parameter is deprecated. Use `errorbar=None` for the same effect.