I am doing a Mann-Kendall analysis in whicham iterating through a list of locations. I am trying to take the output from this analysis (defaults as a list but I convert it to a dataframe) and write it