Skip to content

Latest commit

 

History

History
4 lines (2 loc) · 199 Bytes

File metadata and controls

4 lines (2 loc) · 199 Bytes

Create a new column where it is True if some condition happens in another column. Easier than map(dict) voice['test_account'] = voice['participant_id'].astype(str).map(lambda x: 'test' in x)