1. 학습
  2. /
  3. 강의
  4. /
  5. Scaling and Optimizing Data Pipelines with Polars

Connected

연습 문제

Renaming country fields

The struct fields code and name are too generic for reports. Rename them to country_code and country_name first, then unnest.

You're still working with the same movies DataFrame.

지침

100 XP
  • Use the right method on the struct to rename its fields.
  • Name them country_code and country_name, in that order.