import sandy
import pandas as pd
libraries = ["jeff_33", "jeff_311", "endfb_80", "endfb_71", "jendl_40u"]
data = {}
for library in libraries:
print(f"reading library '{library.upper()}'...")
tape = sandy.get_endf6_file(library, "decay", "all")
size = len(tape.data)
data[library.upper()] = size
reading library 'JEFF_33'... reading library 'JEFF_311'... reading library 'ENDFB_80'... reading library 'ENDFB_71'... reading library 'JENDL_40U'...
print(pd.Series(data, name="# nuclides").rename_axis("library").reset_index())
library # nuclides 0 JEFF_33 7731 1 JEFF_311 7731 2 ENDFB_80 7675 3 ENDFB_71 7675 4 JENDL_40U 6230