Advertisement
Guest User

Untitled

a guest
Jul 11th, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. unknown_encoding_string:[-0.03833389 0.00832078 0.1206817 0.01020864 -0.039133 0.02971447
  2. -0.10298687 -0.07711167 0.12782949 -0.19153441 0.23970331 0.02014012
  3. -0.16672759 -0.0731063 0.0252729 0.16636583 -0.1322735 -0.08371563
  4. -0.07642408 -0.01798586 0.06249281 -0.02349137 0.00845053 0.0092024
  5. -0.1219412 -0.40404874 -0.1083898 -0.07577142 -0.03277039 -0.092308
  6. -0.08449975 0.02536499 -0.12036935 0.01729619 -0.07416882 0.0613448
  7. -0.01953663 -0.0788681 0.14202826 0.01094603 -0.22997078 0.03779413
  8. -0.02737582 0.18710619 0.19215137 0.0391558 0.04675471 -0.04319876
  9. 0.1130847 -0.21391708 0.02062238 0.06575305 0.08797942 0.0170448
  10. 0.06636855 -0.13318899 -0.01121548 0.04150452 -0.11554592 0.03337168
  11. -0.01645719 -0.13919243 -0.01181697 -0.02612845 0.18768187 0.1343599
  12. -0.08372466 -0.13024548 0.13537715 -0.11526427 -0.02624326 0.02371829
  13. -0.14388077 -0.20380312 -0.29630256 0.02645959 0.39155945 0.08350867
  14. -0.23337732 0.01760871 -0.04672017 -0.01418096 0.14872618 0.13920261
  15. 0.0197475 -0.00816852 -0.11989722 0.0256134 0.20744641 -0.07248399
  16. -0.02317556 0.20195821 -0.02880018 0.06266791 0.02782529 0.04951455
  17. -0.08237401 0.06218104 -0.11465918 0.00398897 0.08997963 -0.02515222
  18. -0.00929384 0.06341729 -0.12789774 0.12290867 -0.01348013 0.01260263
  19. 0.0933456 0.02995941 -0.17147467 -0.0808678 0.1446045 -0.21126442
  20. 0.11293305 0.20219597 0.01747656 0.1405021 0.10340501 0.11356489
  21. -0.02966351 -0.01469675 -0.24216908 -0.01039309 0.05998353 0.01418733
  22. 0.01334922 0.0180524 ]
  23.  
  24. formatted_string = re.sub('\s+', ', ', unknown_encoding_string[1:-1])
  25.  
  26. formatted_string:-0.03833389, 0.00832078, 0.1206817, 0.01020864, -0.039133, 0.02971447, -0.10298687, -0.07711167, 0.12782949, -0.19153441, 0.23970331, 0.02014012, -0.16672759, -0.0731063, 0.0252729, 0.16636583, -0.1322735, -0.08371563, -0.07642408, -0.01798586, 0.06249281, -0.02349137, 0.00845053, 0.0092024, -0.1219412, -0.40404874, -0.1083898, -0.07577142, -0.03277039, -0.092308, -0.08449975, 0.02536499, -0.12036935, 0.01729619, -0.07416882, 0.0613448, -0.01953663, -0.0788681, 0.14202826, 0.01094603, -0.22997078, 0.03779413, -0.02737582, 0.18710619, 0.19215137, 0.0391558, 0.04675471, -0.04319876, 0.1130847, -0.21391708, 0.02062238, 0.06575305, 0.08797942, 0.0170448, 0.06636855, -0.13318899, -0.01121548, 0.04150452, -0.11554592, 0.03337168, -0.01645719, -0.13919243, -0.01181697, -0.02612845, 0.18768187, 0.1343599, -0.08372466, -0.13024548, 0.13537715, -0.11526427, -0.02624326, 0.02371829, -0.14388077, -0.20380312, -0.29630256, 0.02645959, 0.39155945, 0.08350867, -0.23337732, 0.01760871, -0.04672017, -0.01418096, 0.14872618, 0.13920261, 0.0197475, -0.00816852, -0.11989722, 0.0256134, 0.20744641, -0.07248399, -0.02317556, 0.20195821, -0.02880018, 0.06266791, 0.02782529, 0.04951455, -0.08237401, 0.06218104, -0.11465918, 0.00398897, 0.08997963, -0.02515222, -0.00929384, 0.06341729, -0.12789774, 0.12290867, -0.01348013, 0.01260263, 0.0933456, 0.02995941, -0.17147467, -0.0808678, 0.1446045, -0.21126442, 0.11293305, 0.20219597, 0.01747656, 0.1405021, 0.10340501, 0.11356489, -0.02966351, -0.01469675, -0.24216908, -0.01039309, 0.05998353, 0.01418733, 0.01334922, 0.0180524,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement