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
ed562221
Commit
ed562221
authored
3 years ago
by
Peter Lünenschloß
Browse files
Options
Downloads
Patches
Plain Diff
modified resampling decorators
parent
6979f472
No related branches found
Branches containing commit
No related tags found
Tags containing commit
7 merge requests
!685
Release 2.4
,
!684
Release 2.4
,
!567
Release 2.2.1
,
!566
Release 2.2
,
!501
Release 2.1
,
!400
Relase 2.0.1
,
!391
modified resampling decorators
Pipeline
#56117
passed with stage
Stage: test
in 4 minutes and 17 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
saqc/funcs/interpolation.py
+1
-1
1 addition, 1 deletion
saqc/funcs/interpolation.py
saqc/funcs/resampling.py
+2
-4
2 additions, 4 deletions
saqc/funcs/resampling.py
with
3 additions
and
5 deletions
saqc/funcs/interpolation.py
+
1
−
1
View file @
ed562221
...
...
@@ -206,7 +206,7 @@ def _resampleOverlapping(data: pd.Series, freq: str, fill_value):
return
data
.
fillna
(
fill_value
).
astype
(
dtype
)
@
processing
(
)
@
register
(
mask
=
[
"
field
"
],
demask
=
[],
squeeze
=
[]
)
def
interpolateIndex
(
data
:
DictOfSeries
,
field
:
str
,
...
...
This diff is collapsed.
Click to expand it.
saqc/funcs/resampling.py
+
2
−
4
View file @
ed562221
...
...
@@ -27,7 +27,7 @@ METHOD2ARGS = {
}
@
processing
(
)
@
register
(
mask
=
[
"
field
"
],
demask
=
[],
squeeze
=
[]
)
def
linear
(
data
:
DictOfSeries
,
field
:
str
,
...
...
@@ -75,7 +75,7 @@ def linear(
return
interpolateIndex
(
data
,
field
,
flags
,
freq
,
"
time
"
,
**
kwargs
)
@
processing
(
)
@
register
(
mask
=
[
"
field
"
],
demask
=
[],
squeeze
=
[]
)
def
interpolate
(
data
:
DictOfSeries
,
field
:
str
,
...
...
@@ -141,7 +141,6 @@ def interpolate(
)
# for @processing this would need to handle dfilter
@register
(
mask
=
[
"
field
"
],
demask
=
[],
squeeze
=
[])
def
shift
(
data
:
DictOfSeries
,
...
...
@@ -219,7 +218,6 @@ def shift(
return
data
,
flags
# for @processing this would need to handle dfilter
@register
(
mask
=
[
"
field
"
],
demask
=
[],
squeeze
=
[])
def
resample
(
data
:
DictOfSeries
,
...
...
This diff is collapsed.
Click to expand it.
David Schäfer
@schaefed
mentioned in commit
63b55c6d
·
2 years ago
mentioned in commit
63b55c6d
mentioned in commit 63b55c6d7dadb0e612b23a897f292d5ffc14cb52
Toggle commit list
David Schäfer
@schaefed
mentioned in commit
684dc8a0
·
2 years ago
mentioned in commit
684dc8a0
mentioned in commit 684dc8a0515470d644fc85fee95d07661c8dd572
Toggle commit list
David Schäfer
@schaefed
mentioned in commit
8f7a90e4
·
1 year ago
mentioned in commit
8f7a90e4
mentioned in commit 8f7a90e4aed61c79a9dc8d67541a46beba0907e8
Toggle commit list
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