I have tried using below code. but the last value is printed for all values in column BinarySD
for label, content in a.items(): res = \'\'.join(format(ord