Restricting elemets in mfcc of a signal
If you are looking to get more mfcc coefficients for the given signal, you can do that by using librosa.feature.mfcc(y=y, sr=sr, n_mfcc=40), here you will get 40 coefficients for each time component.