Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas if nan, then the row above

df.fillna(method='ffill')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #row
ADD COMMENT
Topic
Name
2+7 =