code: def extract_energy(rate, sig):
      
  
      mfcc = python_speech_features.mfcc(sig, rate, appendEnergy=True)
      energy_row_vec = mfcc[:, 0]
      energy_col_vec = energy_row_vec[:, np.newaxis]
      return energy_col_vec
docs: Extracts the energy of frames.