SHARE
TWEET

Untitled

a guest Mar 20th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import numpy as np
  2. arr = np.array([[[1,2,3,4],[1,3,4,6]],
  3.                 [[1,3,3,4],[3,3,6,4]],
  4.                 [[1,2,3,4],[1,3,4,6]]])
  5.    
  6. unique_arr = [[[1,2,3,4],[1,3,4,6]],
  7.               [[1,3,3,4],[3,3,6,4]]]
  8.    
  9. import numpy as np
  10. arr1 = np.array([[[1,2,3,4],[1,3,4,6]],
  11.                 [[1,3,3,4],[3,3,6,4]],
  12.                 [[5,2,9,4],[1,3,4,6]]])
  13.  
  14. arr2 = np.array([[5,2,9,4],[1,3,4,6]]],
  15.                  [[6,3,7,4],[3,3,6,4]],
  16.                  [[4,2,3,4],[1,3,4,6]]])
  17.    
  18. diff_arr = [[[1,2,3,4],[1,3,4,6]],
  19.               [[1,3,3,4],[3,3,6,4]]]
RAW Paste Data
Top