Glossary

`.fillna(method="ffill")` vs `.interpolate()`:

`"ffill"` — repeats the last known value (use for categorical or stepwise data) - `"interpolate()"` — calculates a value between two known points (use for continuous numeric series)

Learn More

Related Terms