pct_change: Find the percentage change between the current and a prior element in a pandas Series

pct_change: Find the percentage change between the current and a prior element in a pandas Series

If you want to find the percentage change between the current and a prior element in a pandas Series, use the pct_change method.

In the example below, 35 is 75% larger than 20, and 10 is 71.4% smaller than 35.

Scroll to Top

Work with Khuyen Tran

Work with Khuyen Tran