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
36953175
Commit
36953175
authored
4 years ago
by
Bert Palm
🎇
Browse files
Options
Downloads
Patches
Plain Diff
fixed docu
parent
e5635001
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!218
Flags
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
saqc/flagger/backtrack.py
+16
-2
16 additions, 2 deletions
saqc/flagger/backtrack.py
with
16 additions
and
2 deletions
saqc/flagger/backtrack.py
+
16
−
2
View file @
36953175
...
...
@@ -227,7 +227,7 @@ class Backtrack:
def
max
(
self
)
->
pd
.
Series
:
"""
Get the maximum value per row of
non-masked data
.
Get the maximum value per row of
the BT
.
Returns
-------
...
...
@@ -240,6 +240,20 @@ class Backtrack:
return
Backtrack
def
copy
(
self
,
deep
=
True
)
->
Backtrack
:
"""
Make a copy of the BT.
Parameters
----------
deep : bool, default True
- ``True``: make a deep copy
- ``False``: make a shallow copy
Returns
-------
copy : Backtrack
the copied BT
"""
return
self
.
_constructor
(
bt
=
self
,
copy
=
deep
)
def
__len__
(
self
)
->
int
:
...
...
@@ -275,7 +289,7 @@ class Backtrack:
def
_validate_bt
(
self
,
obj
:
pd
.
DataFrame
)
->
pd
.
DataFrame
:
"""
check type, columns,
index, dtype and if the mask fits the
obj.
check type, columns,
dtype of
obj.
"""
if
not
isinstance
(
obj
,
pd
.
DataFrame
):
...
...
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