Shabari nath k

920
reputation
1
10
23

Lead Data engineer, ancient beyond mortal comprehension. Knitting enthusiast and a strong sysadmin.Conqueror of enemies in this realm and beyond

Feel free to get in touch with me

import pandas as pd

d = {1: {0: 115, 1: 104, 2: 97,3 :98,4: 97,5: 114,6: 105,7: 46, 
8: 110,9: 97,10: 116,11: 104,12: 46,13: 107,14: 107,15: 64,16: 103,
17: 109,18: 97,19: 105,20: 108,21: 46,22: 99,23: 111,24: 109},
2:{0: 68,1: 101,2: 99,3: 111,4: 100,5: 101,6: 32,7: 115,8: 117,9: 99,10: 99,
11: 101,12: 115,13: 115}, 3:{0: 72,1: 97,2: 112,3: 112,4: 121,5: 32,
6: 99,7: 111,8: 100,9: 105,10: 110,11: 103}}

print(pd.DataFrame(d).fillna(0).applymap(lambda x:chr(int(x))).apply(''.join))