<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def getvector(d,s):
    '''
    Get a vector flds data.

    Parameters:
    -----------

    d -- flds data.
    s -- key for the data.
    '''
    return np.array([d[s+"x"],d[s+"y"],d[s+"z"]]);