Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. import numpy as np
  2.  
  3.  
  4. datos = np.array([1, 2, 1, 2, 3, 1, 2, 3, 3, 2, 1])
  5.  
  6. # Impresión de un histograma simple:
  7. print(np.histogram(datos))