Update 'create_dataset.py'

This commit is contained in:
Wojciech Mikołajski 2023-04-15 05:03:38 +02:00
parent a5e7e57da8
commit ef0fa830f1

View File

@ -1,9 +1,9 @@
#Downloading DataSet from kaggle
from kaggle.api.kaggle_api_extended import KaggleApi
api = KaggleApi()
api.authenticate()
api.dataset_download_file('mssmartypants/water-quality', file_name='waterQuality1.csv')
#Downloading DataSet from kaggle - Replaced by Jenkins
#from kaggle.api.kaggle_api_extended import KaggleApi
#api = KaggleApi()
#api.authenticate()
#api.dataset_download_file('mssmartypants/water-quality', file_name='waterQuality1.csv')
#Reading DataSet from csv using pandas library
import pandas as pd