SyntaxFix
Write A Post
Hire A Developer
Questions
Try this in scala:
df.show(df.count.toInt, false)
The show method accepts an integer and a Boolean value but df.count returns Long...so type casting is required