Commit d31b0362 authored by JOSSOUD Olivier's avatar JOSSOUD Olivier
Browse files

Flow. get_flask_content()

parent f25d4f14
Pipeline #172357 failed with stage
in 1 minute and 20 seconds
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment