📜  pandas pad 方法 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:08.656000             🧑  作者: Mango

代码示例1
#The .pad() and the .ffill() do the exact same thing and just have different names
#data.resample('W').pad().equals(data.resample('W').ffill()) -----> prints True
df.resample('W').pad()