I have a .dat file exported from a mainframe system. It is EBCIDIC encoded(cp037). I would like to load the contents into a pandas or spark dataframe.
I tried using "iconv
" to convert the file to ascii, it does not support conversion from cp037. "iconv -l
" does not list cp037.
What is the best way to achieve this?