Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SaQC
Manage
Activity
Members
Labels
Plan
Issues
36
Issue boards
Milestones
Wiki
Code
Merge requests
8
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rdm-software
SaQC
Merge requests
!867
Flag constants fix
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Flag constants fix
flagConstantsFix
into
develop
Overview
0
Commits
8
Pipelines
1
Changes
4
Merged
Peter Lünenschloß
requested to merge
flagConstantsFix
into
develop
1 week ago
Overview
0
Commits
8
Pipelines
1
Changes
1
Expand
adresses
#495
and fixes issue
adds reported bug as test case
👍
0
👎
0
Merge request reports
Viewing commit
62e9a08c
Prev
Next
Show latest version
1 file
+
1
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
62e9a08c
removed usage of inplace keyword
· 62e9a08c
Peter Lünenschloß
authored
1 year ago
saqc/funcs/constants.py
+
1
−
3
Options
@@ -74,9 +74,7 @@ class ConstantsMixin:
rolling
=
d
.
rolling
(
window
=
window
,
min_periods
=
min_periods
)
starting_points_mask
=
rolling
.
max
()
-
rolling
.
min
()
<=
thresh
starting_points_mask
=
removeRollingRamps
(
starting_points_mask
,
window
=
window
,
inplace
=
True
)
starting_points_mask
=
removeRollingRamps
(
starting_points_mask
,
window
=
window
)
# mimic forward rolling by roll over inverse [::-1]
rolling
=
starting_points_mask
[::
-
1
].
rolling
(
Loading