Add helper function create_trends.
Merge branch 'develop' of git:Minerva/python/minerva into develop