MyStruct = namedtuple('MyStruct', ['someName', 'anotherName'])
aStruct = MyStruct('aValue', 'anotherValue')
print(aStruct.someName, aStruct.anotherName)
Is there a dataset in python similar to structs in C++?