Skip to content

Instantly share code, notes, and snippets.

@salma71
Last active December 18, 2020 23:42
Show Gist options
  • Save salma71/33ac57e69498b48cdce3bc73118d9c7c to your computer and use it in GitHub Desktop.
Save salma71/33ac57e69498b48cdce3bc73118d9c7c to your computer and use it in GitHub Desktop.
import pickle
import cleaning
from cleaning import Process
test = open('test_pickle.pkl', 'rb')
methods = pickle.load(test)
test.close()
print(methods.__dict__)
print(methods.encode_col('ZZ'))
test.close()
if __name__=='__main__':
print('inside test_pickle')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment