Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

pyspark get row value from row object

avatar
Explorer

Using .collect method I am able to create a row object my_list[0] which is as shown below

my_list[0]

Row(Specific Name/Path (to be updated)=u'Monitoring_Monitoring.csv')

How Can I fetch row value . It gives synatx errors as there are spaces in row name.

1 ACCEPTED SOLUTION

avatar
Super Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
2 REPLIES 2

avatar
Super Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Expert Contributor

OR

.collect()[0][1]