Concatenate cols from a data frame

PHOTO EMBED

Sat Oct 22 2022 01:59:06 GMT+0000 (Coordinated Universal Time)

Saved by @jmbenedetto #python

df['new_col']=df[cols_lst].astype("str").sum(1)
content_copyCOPY