Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yaoyuping
nnDetection
Commits
49851c81
Commit
49851c81
authored
Jun 09, 2023
by
Tomasz Bartczak
Browse files
LUNA16 prepare script - indexing pandas DF with a set is deprecated - turned into a list
parent
98eb97f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
projects/Task016_Luna/scripts/prepare.py
projects/Task016_Luna/scripts/prepare.py
+1
-1
No files found.
projects/Task016_Luna/scripts/prepare.py
View file @
49851c81
...
...
@@ -38,7 +38,7 @@ def create_masks(source: Path, target: Path, df: pd.DataFrame, num_processes: in
c
=
[]
r
=
[]
try
:
series_df
=
df
.
loc
[
{
f
.
name
.
rsplit
(
'.'
,
1
)[
0
]
}
]
series_df
=
df
.
loc
[
[
f
.
name
.
rsplit
(
'.'
,
1
)[
0
]
]
]
except
KeyError
:
pass
else
:
...
...
Write
Preview
Markdown
is supported
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