Open In App

Data-Analysis-fork-ds | Question 5

Q5. Consider the column of the dataframe df[‘GFG’], with two values ‘Code’ and ‘Data’. What will be the name of the new columns pd.get_dummies(df[‘GFG’]) ?

(A)



1 and 0

(B)



Just Data

(C)

Just Code

(D)

Code and data

Answer: (D)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :