Skip to content
Snippets Groups Projects
Commit a6f7125d authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Fixed column name of particle df

parent a36b4f46
No related branches found
No related tags found
1 merge request!1Merge python environment
Pipeline #14172 failed
......@@ -176,6 +176,7 @@ class GiBUUOutput:
for col in PARTICLE_COLUMNS:
tmp = awkward.topandas(fobj["RootTuple"][col].array(),
flatten=True)
tmp.name = col
if file_df is None:
file_df = tmp
else:
......@@ -188,8 +189,6 @@ class GiBUUOutput:
file_df.index = file_df.index.set_levels(new_indices, level=0)
df = df.append(file_df)
fobj.close()
df = df.rename(columns=dict(enumerate(PARTICLE_COLUMNS)))
return df
@property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment