Open sudhirrt10 opened 5 years ago
You need to specify encoding. I believe it's a byte string for python 3.7. You can try something like this:
def load_dataset_with_pickle(self):
with io.open(self.file, "rb") as datasetFile:
unpickler = pickle.Unpickler(datasetFile, encoding='bytes')
return unpickler.load()
Hello When Try to import the data set which is in .pkl format in python 3.7 it shows error