Update 'create_dataset.py'

This commit is contained in:
Wojciech Mikołajski 2023-04-19 19:17:56 +02:00
parent 30c7b814a9
commit 070394fee0

View File

@ -5,10 +5,10 @@
#api.authenticate()
#api.dataset_download_file('mssmartypants/water-quality', file_name='waterQuality1.csv')
# import argparse
# parser = argparse.ArgumentParser(description='Program for Downloading Dataset from Kaggle and Normalisation')
# parser.add_argument('CUT', type=int, nargs='?', default=7999, help='Cut this number of rows from csv file')
# args = parser.parse_args()
import argparse
parser = argparse.ArgumentParser(description='Program for Downloading Dataset from Kaggle and Normalisation')
parser.add_argument('CUT', type=int, nargs='?', default=7999, help='Cut this number of rows from csv file')
args = parser.parse_args()
#Reading DataSet from csv using pandas library
import pandas as pd