Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 1 : Change every column name of every DataFrame to lowercase and snake case. This is a standard first step for some programmers as

Exercise1: Change every column name of every DataFrame to lowercase and snake case. This is a standard first step for some programmers as lowercase makes it easier to write and snake case makes it easier to copy multiple-word column names.
For example, Castaway Id should end up being castaway_id. You should try doing this using a for loop instead of manually changing the names for each column. It should take you no more than a few lines of code. Use stackoverflow if you need help.
dataframes ={
'castaway_details': castaway_details,
'castaways': castaways,
'challenge_description': challenge_description,
'challenge_results': challenge_results,
'confessionals': confessionals,
'hidden_idols': hidden_idols,
'jury_votes': jury_votes,
'tribe_mapping': tribe_mapping,
'viewers': viewers,
'vote_history': vote_history,
'season_summary': season_summary,
'season_palettes': season_palettes,
'tribe_colours': tribe_colours}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions