📅  最后修改于: 2022-03-11 14:45:08.656000             🧑  作者: Mango
#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()