I am importing a table with some text in it into a pandas dataframe. One of the strings contains the text 'NF-κB' - i.e. the 'kappa' character (some of the text in the tables also contains alphas and betas etc.).
When I read in the table using:
pd.read_table('table_processed.txt', sep='\t')
The kappa character is converted to '\xce\xba' so that part of the string now reads 'NF-\xce\xbaB' when viewed in iPython.
Is there any way to maintain string encoding during the import to maintain the kappa charater when the string is viewed as part of the dataframe?
Thanks in advance