Make a serializable data structure for spoilt ballots.
What does this mean? You need to make a python class that hold the information for spoilt ballots (similar to this). You also need a way to turn this data structure into a dictionary consisting of strings as keys, and other dictionaries, lists, numbers and strings and values. This kind of dictionary can be stored, or serialized into a dcc.Store object. This is likely the most complex part of this project, so do let me know if you need any help.
Make a serializable data structure for spoilt ballots.
What does this mean? You need to make a python class that hold the information for spoilt ballots (similar to this). You also need a way to turn this data structure into a dictionary consisting of strings as keys, and other dictionaries, lists, numbers and strings and values. This kind of dictionary can be stored, or serialized into a
dcc.Store
object. This is likely the most complex part of this project, so do let me know if you need any help.@kayleighpeng