I have a dataframe where each row is a CAN message which has to be in hex. But when I put the rows into a list, individual values are stored as strings. For example:
['0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x0', '0x1']
Is there a way to have [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1]
instead?