PR #1006 implements indexed field access for SQL, but currently the Python API col("a") doesn't have an option to access indexed fields (and complex structs).
When adding support for indexed fields, you can use col('a')['b'] to access the indexed fields in the Python API similar to SQL.