From 1e6d08b0c9ac5983691b182631c71e9d46ee71cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Simon?= Date: Sun, 17 May 2015 14:56:34 -0400 Subject: Use signed integer. --- data/init_valid.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'data/init_valid.py') diff --git a/data/init_valid.py b/data/init_valid.py index eed0059..cecaca9 100755 --- a/data/init_valid.py +++ b/data/init_valid.py @@ -12,18 +12,18 @@ import data _fields = { 'trip_id': 'S19', - 'call_type': numpy.uint8, - 'origin_call': numpy.uint32, - 'origin_stand': numpy.uint8, - 'taxi_id': numpy.uint16, - 'timestamp': numpy.uint32, - 'day_type': numpy.uint8, + 'call_type': numpy.int8, + 'origin_call': numpy.int32, + 'origin_stand': numpy.int8, + 'taxi_id': numpy.int16, + 'timestamp': numpy.int32, + 'day_type': numpy.int8, 'missing_data': numpy.bool, 'latitude': data.Polyline, 'longitude': data.Polyline, 'destination_latitude': numpy.float32, 'destination_longitude': numpy.float32, - 'travel_time': numpy.uint32, + 'travel_time': numpy.int32, } -- cgit v1.2.3