Hi, i have some problems with getting the code to work on my data. Does one of you have the…