Update 'create_dataset.py'
This commit is contained in:
parent
8c1ed09de1
commit
0326097378
@ -5,9 +5,13 @@
|
||||
#api.authenticate()
|
||||
#api.dataset_download_file('mssmartypants/water-quality', file_name='waterQuality1.csv')
|
||||
|
||||
import argparse
|
||||
parser.add_argument('CUT', type=int, nargs='?', default=7999, help='Cut this number of rows from csv file')
|
||||
|
||||
#Reading DataSet from csv using pandas library
|
||||
import pandas as pd
|
||||
water = pd.read_csv('waterQuality1.csv')
|
||||
water = pd.read_csv(os.path.join('.', 'waterQuality1.csv'), nrows = args.CUT)
|
||||
|
||||
|
||||
#water.describe(include='all')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user