ph값은 상당히 많은 결측치를 포함한다. 결측치를 제외한 나머지 데이터들 중 사분위값 기준 하위 25%의 값들의 평균값은?
# notnull
df[(df['ph'].notnull()) & (df['ph'] <= df['ph'].quantile(q=0.25))]['ph'].mean()
# dropna
target = df['ph'].dropna()
answer =target.loc[target <= target.quantile(0.25)].mean()
print(answer)