df.loc[df['column name'] condition, 'new column name'] = 'value if condition is met'. For our example, the Python code would look like this:
確定! 回上一頁