SciPy - Integration with Scientific Ecosystem
Given the code below, what will be the output?
import pandas as pd
from scipy import stats
data = {'score': [10, 20, 20, 30, 40]}
df = pd.DataFrame(data)
mode_result = stats.mode(df['score'])
print(mode_result.mode[0])