Guest User

Untitled

a guest
May 23rd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. import pandas as pd
  2. from ast import literal_eval
  3.  
  4. trainSet = pd.read_csv(
  5. 'train_set.csv', # replace with the correct path
  6. converters={"Trajectory": literal_eval},
  7. index_col='tripId'
  8. )
  9. trainSet = trainSet[0:25]
  10. print trainSet
Advertisement
Add Comment
Please, Sign In to add comment