0

So I have very long text in excel cell, when I want to read this it only shows a few lines. How to get all text from a cell?

text=self.alco.loc[self.alco['Name']=='Vodka']['description']

text=text.to_string(index=False)

Output:

Vodka is a distilled beverage composed primari...

Mayeul sgc
  • 1,964
  • 3
  • 20
  • 35
SenseiB
  • 71
  • 1
  • 10
  • Did you check [this](https://www.geeksforgeeks.org/reading-excel-file-using-python/) website? – Shmn Sep 29 '19 at 17:26
  • This worked for me! - https://stackoverflow.com/a/52691689/10666495 – SenseiB Sep 30 '19 at 12:06
  • Does this answer your question? [Print very long string completely in pandas dataframe](https://stackoverflow.com/questions/29902714/print-very-long-string-completely-in-pandas-dataframe) – Gonçalo Peres Sep 06 '22 at 14:21

0 Answers0