Created 05-29-2018 06:23 AM
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.
Created 05-29-2018 07:26 AM
You can do it in the 2 ways
my_list[0].__getitem__("col name")
my_list[0].asDict()["col name"]
Please "Accept" the answer if this works.
.
-Aditya
Created 05-29-2018 07:26 AM
You can do it in the 2 ways
my_list[0].__getitem__("col name")
my_list[0].asDict()["col name"]
Please "Accept" the answer if this works.
.
-Aditya
Created 05-29-2018 02:17 PM
OR
.collect()[0][1]