Skip to content
Advertisement

The python says ” ‘property’ object has no attribute ‘format'”

I am trying to use spark and I am stuck on the reading the data..

here is my code..

and the error message says that

‘property’ object has no attribute ‘format’

So I think there are something wrong with format.. I tried to read the code of spark but it was just too hard.

I will really appreciate if anybody helps me a little.

Advertisement

Answer

Try below code.

My Spark Version 2.4.3

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement