Learn practical skills, build real-world projects, and advance your career
# Import packages

import opendatasets as od
import os
import pandas as pd
import matplotlib
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline
# Download dataset

od.download('https://www.kaggle.com/rishidamarla/highest-rated-films-annually-from-19842014')
Skipping, found downloaded files in "./highest-rated-films-annually-from-19842014" (use force=True to force download)
# Checking download files
os.listdir()
['.ipynb_checkpoints',
 'archive.zip',
 'daily_power_generation',
 'Daily_power_generation_in_india.zip',
 'final_project_jovian.ipynb',
 'highest-rated-films-annually-from-19842014',
 'Matplotlib&Seaborn',
 'Numpy.txt',
 'Pandas',
 'summer olympics file']

The file used here is inside the 'highest-rated-films-annually-from-19842014' folder

# Read dataset

data = pd.read_excel('highest-rated-films-annually-from-19842014/Movies_gross_rating.xlsx')