Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import turicreate as tc
- checkins = ( tc.SFrame.read_csv( 'Gowalla_totalCheckins.txt',
- delimiter='\t', header=False )
- .rename( {'X1': 'user_id', 'X2' : 'checkin_ts',
- 'X3': 'lat', 'X4' : 'lon',
- 'X5': 'location_id'} )
- [["user_id", "location_id", "checkin_ts"]] )
Add Comment
Please, Sign In to add comment