Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
funpack
Commits
b827d58f
Commit
b827d58f
authored
Jun 28, 2022
by
Paul McCarthy
🚵
Browse files
RF: Copy/re-create data freme when filtering by subjects. Avoids pandas copy
warning in subsequent operations
parent
047e5bae
Changes
1
Hide whitespace changes
Inline
Side-by-side
funpack/importing/filter.py
View file @
b827d58f
...
...
@@ -372,7 +372,7 @@ def filterSubjects(data,
if
mask
is
None
:
mask
=
~
exclmask
else
:
mask
[
exclmask
]
=
0
if
mask
is
not
None
:
return
data
.
loc
[
mask
,
:
]
if
mask
is
not
None
:
return
data
.
drop
(
data
.
index
[
mask
]
)
else
:
return
data
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment