Q50
What Python function is used to create a new column in a Pandas DataFrame based on the values of existing columns?
A.
pd.read_csv()
B.
np.array()
C.
plt.plot()
D.
df['new_column'] = ...
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board