Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- from ast import literal_eval
- trainSet = pd.read_csv(
- 'train_set.csv', # replace with the correct path
- converters={"Trajectory": literal_eval},
- index_col='tripId'
- )
- trainSet = trainSet[0:25]
- print trainSet
Advertisement
Add Comment
Please, Sign In to add comment