Pandas df.ffill() and df.bfill()
The DataFrame.ffill() (forward fill) propagates missing or NaN values using the previous valid value in a column or row, while DataFrame.bfill() (backward fill) propagates them using the next valid value.
Let's see how and when to use them.
DataFrame...
teamgeek.geekpython.in10 min read