<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def energy(data):
 """Computes signal energy of data"""

    data = np.mean(data, axis=1)
    return np.sum(data ** 2) / np.float64(len(data))