Question: Consider the column of the dataframe df [ ' Fuel ' ] , with two values 'gas' and' diesel'. What will be the name of

Consider the column of the dataframe df['Fuel'], with two values 'gas' and' diesel'. What will be the name of the new colunms pd.get_dummies(df['Fuel'])?
Question 10 options:
gas and diesel
diesel
1 and 0
gas

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!