I have a question which has 2 separate numpy arrays respectively.
Year: np.array([2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019])
Data: np.array([29057, 30979, 31746, 32964, 31738, 31010,31158,28736,26821,28260])
Is there a way I can display the Years where data has decreased by at least 5% over the previous year.
Eg output: Year where data decreased at least 5%: (2017, 7.77%)