how to create a slice from a list that contains all entries equal to 5? : x=r'C:\Users\beladiy\Desktop\python\DAT210x-master\Module2\Datasets\Servo.data'
df=pd.read_csv(x,names=['motor', 'screw', 'pgain', 'vgain', 'class'],header=None) *import data*

how can I create slice from vgain that contains values equals to 5?