answered 2023-04-20 15:03:17 -0500
Try this:
islandbuses = [j for i in psspy.treedat(999)['island_busnum'] for j in i]