Skype contacts can be exported, but there is no option available to import these contacts to Teams.
The exported contacts.csv file is a comma separated text file and can be viewed using any text editor or Excel application.
However, if you are signed in to Teams on a computer with exactly the same account as you have used with Skype, then you should also have the People tab available in Teams.
The People button will open a list of all your Skype contacts in a separate window. This list has an option to start a chat with these contacts or send a contact invitation using the email address provided for a contact. However, the email address is only available if the contact has selected a privacy option allowing the email address to be publicly available.