Gents, could you advise on a good method (preferably implemented in Python libs) that provides stats on how much time in % a dataseries is moving in trend/flat and any speci