Ms. Chitra, the class teacher wants to add a new column, the scores of Grade with the values, ‘ A’, ‘B’, ‘A’, ‘A’, ‘B’, ‘A’ ,to the DataFrame. Help her choose the command to do so: *
0/1
df.column=[’A’,’B’,’A’,’A’,’B’,’A’]
df.loc[‘Grade’]= [’A’,’B’,’A’,’A’,’B’,’A’]
df [‘Grade’]=[’A’,’B’,’A’,’A’,’B’,’A’]
All are correct
Answers
Answered by
0
Answer:
option b
Explanation:
Similar questions