I have a dataframe with the following schema:
root
|-- _id: long (nullable = true)
|-- student_info: struct (nullable = true)
| |-- firstname: string (nullable = true)
| |-- lastname: string (nullable = true)
| |-- major: string (nullable = true)
| |-- hounour_roll: boolean (nullable = true)
|-- school_name: string (nullable = true)
How can I get a list of columns under "student_info" only? I.e. ["firstname","lastname","major","honour_roll"]