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
Lucas Miranda
deepOF
Commits
325d1b9e
Commit
325d1b9e
authored
Feb 01, 2021
by
lucas_miranda
Browse files
Fixed a bug that introduced an additional ghost data point when applying smoothing
parent
9d6fbfe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
deepof/data.py
View file @
325d1b9e
...
...
@@ -205,7 +205,7 @@ class project:
for
key
,
value
in
tab_dict
.
items
():
x
=
value
.
xs
(
"x"
,
level
=
"coords"
,
axis
=
1
,
drop_level
=
False
)
y
=
value
.
xs
(
"y"
,
level
=
"coords"
,
axis
=
1
,
drop_level
=
False
)
lik
:
pd
.
DataFrame
=
value
.
xs
(
lik
=
value
.
xs
(
"likelihood"
,
level
=
"coords"
,
axis
=
1
,
drop_level
=
True
)
...
...
@@ -225,7 +225,7 @@ class project:
)
)
smooth
.
columns
=
cols
tab_dict
[
key
]
=
smooth
tab_dict
[
key
]
=
smooth
.
iloc
[
1
:,
:]
for
key
,
tab
in
tab_dict
.
items
():
tab_dict
[
key
]
=
tab
[
tab
.
columns
.
levels
[
0
][
0
]]
...
...
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