code: def save_data(data, filepath):
      with open(filepath, "wb") as f:
          # Use protocol 2, for python 2 and 3 compatibility
          return pickle.dump(data, f, protocol=2)
  
file_path: neupy/examples/reinforcement_learning/vin/loaddata.py
imports: import pickle
  import argparse
  import scipy.io
  import numpy
  from sklearn.utils import shuffle
  from neupy.utils import asfloat
  from settings import environments
label_desc: Use image node_id 1 for calling a global function with example usage: save_data(data, filepath) and returns: pickle