Created
December 9, 2015 00:44
-
-
Save tlkahn/5d86ff64d5df8510d3bf to your computer and use it in GitHub Desktop.
python histogram frequency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
r = np.random.randn(1000) | |
x = range(1000) | |
tab = pd.DataFrame({"x":x, "r": r}) | |
count, division = np.histogram(tab['r'], bins=100) | |
tab['r'].hist(bins=100) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment