Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- df['Planned working time'].map(lambda x: (x, x.split(":"))) gives me 'datetime.time' object has no attribute 'split'
- df['Planned working time'].apply(lambda x: int(x.split()[-1].split(':')[0]))
Add Comment
Please, Sign In to add comment