2

I have a pandas dataframe imported by pd.read_excel().

When a show it some chacarcters in a cell are printed with breaks like that:

df result print

I have used set_option but still show columns with breaks:

pd.set_option('display.max_columns', None)
pd.set_option('display.expand_frame_repr', False)
pd.set_option('max_colwidth', -1)

Is there another way to show the entire text in a cell without breaks?

realr
  • 3,652
  • 6
  • 23
  • 34

0 Answers0