Guided Project: Star Wars Survey -- No typing for the mapping!

It’s a simple trick but I did the mappings of values and column renames in this project with for loops instead of typing each one of them out.

When I saw the first few rows of the dataset, I noticed the first row is pretty much like a sub-column, so I saved it in a variable just in case. Turns out it did make the mappings in this project easier. Check it out in the links below! :blush: Feedbacks are welcome!

https://app.dataquest.io/m/201/guided-project%3A-star-wars-survey/9/next-steps

Guided Project_ Star Wars Survey.ipynb (177.2 KB)

Click here to view the jupyter notebook file in a new tab