DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+5 =
Submit