I am trying to access a nested column using pyspark but it seems getting a weird error:
AttributeError: \'function\' object has no attribute \'age\'