admin管理员组

文章数量:1414908

I am trying to get a better visualization of the df that I'm working with but the putty terminal/console is seemingly making this impossible.

I tried messing around with the putty settings but everything seemed to be correct. I tried df.show(truncate = false), still same result. I can't save it to a file and can only view it through a putty terminal.

I am trying to get a better visualization of the df that I'm working with but the putty terminal/console is seemingly making this impossible.

I tried messing around with the putty settings but everything seemed to be correct. I tried df.show(truncate = false), still same result. I can't save it to a file and can only view it through a putty terminal.

Share Improve this question edited Feb 21 at 6:53 Gaël J 15.6k5 gold badges22 silver badges45 bronze badges asked Feb 21 at 3:04 Niv AigesNiv Aiges 192 bronze badges 2
  • You could try to print the DF differently but in the end it's an issue with your terminal if you can't have more than 80 characters per line. – Gaël J Commented Feb 21 at 6:56
  • Please do not upload images of code/data/errors. – David Makogon Commented Feb 22 at 4:11
Add a comment  | 

1 Answer 1

Reset to default 1

Try to use vertical=true (Link)

df.show(numRows=10, truncate=30, vertical=true)

本文标签: Putty terminal not showing a clean view of DataFrame (Spark Scala)Stack Overflow