title: UnpicklingError: invalid load key, '\x1f'
body: <p>I am having problem in unpickling a .pkl file and editing it. I tried the following code but it shows error. How could I proceed?</p>
  
  <pre><code>import pickle
  import numpy as np
  
  with open('speech_emotion_data.pkl', 'rb') as pickle_file:
      new_data = pickle.load(pickle_file)
  </code></pre>
  
  <p>it shows error as:</p>
  
  <blockquote>
    <p>UnpicklingError: invalid load key, '\x1f'.</p>
  </blockquote>