I am trying to read an excel data where few cell values are having line break, but when I print the dataframe it print the line break as \n. I do not want to print \n for line break instead print the actual value shown in excel cell.
data=pd.read_excel(fileName, sheetname='Sheet1', parse_cols='A:E')
df=data.loc[controllers.Is_run == 'Y'] #filtering the data using flag
print df["Column2"]
Please note when I tried to use df.style it throws below error
AttributeError: 'DataFrame' object has no attribute 'style'
Sample Excel : Please ignore the table formatting
+-------+------+------+
| Col1 | Col2 | Col3 |
+-------+------+------+
| Prod1 | "ABC | 100 |
XYZ"
| Prod2 | Test | 200 |
+-------+------+------+
Column2 of Excel is having value like :
ABC
XYZ
Expected - similar as above
Actual using my code - ABC\nXYZ