diff options
author | emkael <emkael@tlen.pl> | 2017-09-06 10:48:15 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-09-06 10:48:15 +0200 |
commit | 9414a559f8b10fbd8972d33bf4bc08cf16c820cf (patch) | |
tree | a3baf65e9d31156b08e45e3c9c241b8c0be3a26c | |
parent | 35bf3d5878a1f09059d5ce63e00434aa8d5ea346 (diff) |
Hard cutoff for import files, after 1000 places
-rw-r--r-- | bin/convert-cezar-ranking-csv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/convert-cezar-ranking-csv.py b/bin/convert-cezar-ranking-csv.py index 4dcee92..aa30a23 100644 --- a/bin/convert-cezar-ranking-csv.py +++ b/bin/convert-cezar-ranking-csv.py @@ -5,5 +5,5 @@ data = list(csv.reader(file(sys.argv[1]), delimiter=";")) output = csv.writer(file(sys.argv[2], 'w')) date = data[1][3] -for row in data[4:-1]: +for row in data[4:1004]: output.writerow([row[0], date, row[2], row[1]]) |