Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
JOSSOUD Olivier
CFA Tools
Commits
d31b0362
Commit
d31b0362
authored
Apr 19, 2022
by
JOSSOUD Olivier
Browse files
Flow. get_flask_content()
parent
f25d4f14
Pipeline
#172357
failed with stage
in 1 minute and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cfatools/processor/flow.py
cfatools/processor/flow.py
+1
-1
No files found.
cfatools/processor/flow.py
View file @
d31b0362
...
...
@@ -507,7 +507,7 @@ def get_flask_content(arrival_df: pd.DataFrame) -> pd.DataFrame:
pd.DataFrame
DataFrame with the iceblock's height range contained in each flask.
"""
flask_df
=
arrival_df
[[
"flask"
,
"icbk_code"
,
"melted_height_icbk"
]].
groupby
(
flask_df
=
arrival_df
[[
"flask"
,
"icbk_code"
,
"icbk_name"
,
"melted_height_icbk"
]].
groupby
(
[
"flask"
,
"icbk_code"
,
"icbk_name"
]).
agg
([
min
,
max
])
flask_df
=
flask_df
.
droplevel
(
0
,
axis
=
1
)
flask_df
=
flask_df
.
reset_index
()
...
...
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