This is not from Dataquest exercises - i don’t know whether guidelines permit to answer apart from questions related to dataquest courses.
i have an example data from a csv file as shown below:
1st line tells the column names and 2nd line has contents.
i have extracted columns from D1 to D8. but i want to decode as these are in HEX and want them in string or whatever the actual data is encoded.
i used fromhex() function like : bytearray.fromhex().decode(‘utf-8’)
but unable to get the results. as i am only getting error as this is non-hexadecimal number.
after extracting (data D1 to D8) from csv file it was in type was str , which is the exact format required to use in fromhex() function. Then why is this not executing ?