question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Good First Issue >> Strictly Increasing / Decreasing

See original GitHub issue

Thanks for Pandas-Ta Can you add a “strictly” boolean parameter to the Increasing / Decreasing function? Now you are checking the difference between the current value with a length value ie. increasing = close.diff(length) > 0 But I want to check continuous increasing / decreasing condition like

test_list = [1, 4, 5, 7, 8, 10] 
res = all(i < j for i, j in zip(test_list, test_list[1:])) 
which result True

test_list = [1, 8, 5, 4, 8, 10] 
result = False

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
RajeshDhalangecommented, Nov 19, 2020

Submitted pull request Thanks for encouraging

Thanks

Rajesh

0reactions
twopirllccommented, Nov 19, 2020

No worries. Thanks for contributing.

Regards, KJ

Read more comments on GitHub >

github_iconTop Results From Across the Web

Maximize product of a strictly increasing or decreasing subarray
Naive Approach: The simplest approach to solve this problem is to generate all possible subarrays from the given array.
Read more >
Increasing and Decreasing Intervals - Definition, Formulas
The strictly increasing or decreasing functions possess a special property called injective or one-to-one functions. This means you will never ...
Read more >
Strictly increasing sequence | Practice Problems - HackerEarth
Given an array consisting of N non-negative integers. You may perform the given operation on an array element but the operation can be...
Read more >
Increasing and Decreasing Functions - Math is Fun
Strictly Increasing (and Strictly Decreasing) functions have a special property called "injective" or "one-to-one" which simply means we never get the same "y" ......
Read more >
Increasing & decreasing intervals review - Khan Academy
I found the answer to my question in the next section. Under "Finding relative extrema (first derivative test)" it says: When we analyze...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found