my father asked me to do a mann kendall test for a thing they are doing at work if you run index.py it works for me, you might want to edit it a bit to suit your needs and also change the csv. If you are having a problem open an issue and I will try to help