标签: python python-3.x pandas
我有118685行×388列数据帧df。 如果我执行df.shift(1),则需要一秒钟才能完成,有没有办法使它更快?
df
df.shift(1)