Improve logic

master
Dan Howe 3 years ago
parent 9e8aec2a6d
commit dabbc11715

@ -38,7 +38,7 @@ for i, (year, row) in enumerate(df.iterrows()):
if len(s) > n_runs:
break # Success
else:
pass # We need more samples, so try larger factor
continue # We need more samples, so try larger factor
# Add the requried number of samples
slr[i] = s[:n_runs]

Loading…
Cancel
Save