Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2020-08-28 07:27:00 +02:00
parent 63f1e1f0b2
commit b24c147b59

View File

@@ -1121,6 +1121,8 @@ def rowhascoordinates(row):
def rdata(file,rower=rrower()):
try:
res = rrdata(csvfile=file,rower=rower)
except pd.errors.EmptyDataError:
res = 0
except (IOError, IndexError, EOFError,FileNotFoundError):
try:
res = rrdata(csvfile=file+'.gz',rower=rower)