My goal is to create arrays:
[original array, mean value, std value]
The current code:
pd.DataFrame({'recall': [cv_result['test_recall'], cv_result['test_recall'].mean(), cv_result['test_recall'].std()]})
I wish to maybe call the array 3 times and do .mean()
, std()
function.