From 070394fee0ae17af6ebff8375bb6d713cf9363af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Miko=C5=82ajski?= Date: Wed, 19 Apr 2023 19:17:56 +0200 Subject: [PATCH] Update 'create_dataset.py' --- create_dataset.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/create_dataset.py b/create_dataset.py index bc41ccb..9f650c5 100644 --- a/create_dataset.py +++ b/create_dataset.py @@ -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