Guest User

Untitled

a guest
May 25th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. ufo = pd.read_csv('scrubbed.csv')
  2. ufo['date']=pd.to_datetime(
  3. ufo.datetime.str.replace('24:00','23:59'),#fix weird timeformat
  4. infer_datetime_format=True,
  5. errors='raise').dt.date
Add Comment
Please, Sign In to add comment