You can use loc for assigning the value, then you replace it with NAN value. median = df.loc[df['Age']<75, 'Age'].median(). df.loc[df.
確定! 回上一頁