1

我正在尝试将新列附加到现有的尴尬表中。自述文件说这是可能的,但我找不到方法。例如我有一张桌子

df = awk.Table(
                p = ppkf2,
                th = thetakf2,
                ph = phikf2,
                eb = beam)

我想添加两列,例如

df_new = awk.Table(
                p = ppkf2,
                th = thetakf2,
                ph = phikf2,
                eb = beam,
                eton = eton,
                ptrt = ptrt)

有没有办法做到这一点?非常感谢。

4

0 回答 0