Advertisement
Fhernd

crear-histograma.py

Feb 14th, 2018
862
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  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))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement