updating scrapers
This commit is contained in:
@@ -23,7 +23,10 @@ def csv_reader(filename,raceid,clubcol='Ploeg',bankjes=['Slag'],uitslag='Pos'):
|
||||
for i in range(nr):
|
||||
# need to improve for multiple rowers
|
||||
try:
|
||||
naam = row.Slag.split(' ')
|
||||
print(row)
|
||||
naam = row[df.columns.get_loc('Slag')+1].split(' ')
|
||||
#print(naam)
|
||||
#naam = row.Slag.split(' ')
|
||||
first_name = ' '.join(naam[:-1])
|
||||
last_name = naam[-1]
|
||||
except AttributeError:
|
||||
|
||||
Reference in New Issue
Block a user