Guest User

Untitled

a guest
Oct 23rd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. df['Planned working time'].map(lambda x: (x, x.split(":"))) gives me 'datetime.time' object has no attribute 'split'
  2.  
  3. df['Planned working time'].apply(lambda x: int(x.split()[-1].split(':')[0]))
Add Comment
Please, Sign In to add comment