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

# This Python 3 environment comes with many helpful analytics libraries installed
# It is defined by the kaggle/python Docker image: https://github.com/kaggle/docker-python
# For example, here's several helpful packages to load

import seaborn as sns
import numpy as np # linear algebra
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

# Input data files are available in the read-only "../input/" directory
# For example, running this (by clicking run or pressing Shift+Enter) will list all files under the input directory
#source = []

#import os
#for dirname, _, filenames in os.walk('/kaggle/input'):
    #for filename in filenames:
    #    print(os.path.join(dirname, filename))
    #    source = os.path.join(dirname, filename)

!pip install jovian opendatasets --upgrade --quiet
dataset_url = 'https://www.kaggle.com/rush4ratio/video-game-sales-with-ratings'
import opendatasets as od
od.download(dataset_url)
Please provide your Kaggle credentials to download this dataset. Learn more: http://bit.ly/kaggle-creds Your Kaggle username: rajamohanps Your Kaggle Key: ········
100%|██████████| 476k/476k [00:00<00:00, 54.5MB/s]
Downloading video-game-sales-with-ratings.zip to ./video-game-sales-with-ratings
data_dir = './video-game-sales-with-ratings' #/Video_Games_Sales_as_at_22_Dec_2016.csv'
import os
os.listdir(data_dir)[0]
for dirname, _, filenames in os.walk('./video-game-sales-with-ratings'):
    for filename in filenames:
        print(os.path.join(dirname, filename))
        source = os.path.join(dirname, filename)
./video-game-sales-with-ratings/Video_Games_Sales_as_at_22_Dec_2016.csv
!pip install jovian --upgrade --quiet