How do you want the data to look? you can create a formatted table with tabulate. I did something similar with WLC output recently but exported it to mongodb as its based on json files, much easier to pull the data and use with what ever you want.
I would use tabulate very simple to use
https://pypi.org/project/tabulate/
header = ["User", "WLANID", "UserType"]
wlcdata = [
["user1", "2","Guest"],
["user2", "3","Guest"]
]
mytable =tabulate(wlcdata, header, tablefmt="pretty")
print(mytable)