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
1 Answer
Reset to default 1Try 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
版权声明:本文标题:Putty terminal not showing a clean view of DataFrame (Spark Scala) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745169307a2645874.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论