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
Commits
71feee4b
Commit
71feee4b
authored
4 years ago
by
Peter Lünenschloß
Browse files
Options
Downloads
Patches
Plain Diff
addded missing parameters i shift
parent
53dc8d6d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!193
Release 1.4
,
!188
Release 1.4
,
!49
Dataprocessing features
Pipeline
#4416
failed with stage
in 8 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
saqc/funcs/proc_functions.py
+1
-1
1 addition, 1 deletion
saqc/funcs/proc_functions.py
with
1 addition
and
1 deletion
saqc/funcs/proc_functions.py
+
1
−
1
View file @
71feee4b
...
@@ -145,7 +145,7 @@ def proc_resample(data, field, flagger, freq, func=np.mean, max_invalid_total_d=
...
@@ -145,7 +145,7 @@ def proc_resample(data, field, flagger, freq, func=np.mean, max_invalid_total_d=
@register
@register
def
proc_shift
(
data
,
field
,
flagger
,
freq
,
drop_flags
=
None
,
empty_intervals_flag
=
None
):
def
proc_shift
(
data
,
field
,
flagger
,
freq
,
method
,
drop_flags
=
None
,
empty_intervals_flag
=
None
,
**
kwargs
):
# Note: all data nans get excluded defaultly from shifting. I drop_flags is None - all BAD flagged values get
# Note: all data nans get excluded defaultly from shifting. I drop_flags is None - all BAD flagged values get
# excluded as well.
# excluded as well.
data
=
data
.
copy
()
data
=
data
.
copy
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment