Is there any easy way to find out what's the trend of the list?
For example:
[5.0, 6.0, 9.0, 4.0, 10.0]
. On the whole, its elements are increasing over time.[6.0, 4.0, 5.0, 4.0, 3.0]
. Its elements are decreasing over time.
Ideally, I want a Boolean result from these kinds of lists.
Actually, I'd like to know the trend of a collection of data. not linear increasing or exactly increasing one by one. In the real world, some data not always good, Perhaps there are one or two quarters of data not as good as it used to be(but not too bad, also not too much), but as long as Its trend is good, It is good.