<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def standardize(score):
 """Centre and scale to unit variance."""

    score = asarray_ndim(score, 1)
    return (score - np.nanmean(score)) / np.nanstd(score)