Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas percentage change across multiple periods

data['return 3yr'] = data.Shareholder_Equity.pct_change(periods=3).mul(100)
data
 
PREVIOUS NEXT
Tagged: #pandas #percentage #change #multiple #periods
ADD COMMENT
Topic
Name
1+5 =