I tried your code but I got this error:
ValueError: [E103] Trying to set conflicting doc.ents: '(1325, 1338, 'Skills')' and '(1325, 1328, 'Skills')'. A token can only be part of one entity, so make sure the entities you're setting don't overlap.
Which version of spacy did you use for your experiment?