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

Add a fix for awkward<2

parent bda3c5d4
No related branches found
No related tags found
No related merge requests found
Pipeline #53329 passed
......@@ -518,6 +518,9 @@ class GiBUUOutput:
GiBUU output data in pandas dataframe format
"""
import pandas as pd
try:
df = ak.to_dataframe(self.arrays)
except:
df = ak.to_pandas(self.arrays)
if len(df) == 0:
return df
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment