PANDAS melakukan tindakan di kolom

df['col1'] = df['col1'].apply(complex_function)
Tired Turtler