Cut off the top and bottom parts of an image

I have images which have labels hardwired into the pixels of the image which I obviously don’t want there when training. I can get rid of them be removing the top 10 rows (say) of pixels and the bottom 10 rows of pixels.
Is there a way to do this in fastai? I was trying the crop() data transform but I couldn’t get it precise enough since this is not a typical crop.