Or if you ultimately do need a list of dictionaries, call .as_list() after
first creating labelList.
On Monday, September 12, 2016 at 7:32:03 AM UTC-4, Niphlod wrote:
>
> as list returns a proper dictionary, not a list of Row objects. At this
> point, as_list() in your code is superflous. But if
as list returns a proper dictionary, not a list of Row objects. At this
point, as_list() in your code is superflous. But if you want to use it, you
then have to access "myLabel" as row['myLabel']
On Monday, September 12, 2016 at 10:11:46 AM UTC+2, Annet wrote:
>
> I have the following query:
>
>
2 matches
Mail list logo