Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas pad method

#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()
 
PREVIOUS NEXT
Tagged: #pandas #pad #method
ADD COMMENT
Topic
Name
8+1 =