Crear columna múltiple nueva a partir de pandas aplicar
df[['square x', 'cube x']] = df['col x'].apply(f)
Motionless Magpie
df[['square x', 'cube x']] = df['col x'].apply(f)
def f(x):
return pd.Series([x*x, x*x*x])