1'''3 ways to open file with python (e.g: 'my_pickle_file.pkl)':'''
2
3# ORIGINAL
4with open('my_pickle_file.pickle', 'rb') as f :
5 pickle_file = pickle.load(f)
6
7# QUICK
8pickle_file = pickle.load(open("my_pickle_file.pickle", 'rb'))
9
10# PANDAS
11pickle_file = pd.read_pickle('my_pickle_file.pickle')