I need to calculate Mann-Kendall for precipitation values across each county in my dataset. There are 991 rows for each county. Is there a way to create a loop that takes ea