Re:All Bitcoin private keys are on this website
by bspammer on Tuesday December 21, 2021 @09:02AM
(#29637439)
That CSV is actually really interesting. The median wallet holds about $30, the largest holds $10b, and the standard deviation is over $2m.
[ Parent
| on HN ]
Re:All Bitcoin private keys are on this website
by rogue7 on Tuesday December 21, 2021 @09:23AM
(#29637597)
I agree with your comment, just FYI you could avoid apply on a pandas Series since it loops over every row in Python space. It's much faster to use vectorized operations directly e.g.:
df["balance"].mul(36902.7).div(100e6)
See [0] for explanations
Re:All Bitcoin private keys are on this website
by bspammer on Tuesday December 21, 2021 @09:28AM
(#29637641)
Thanks for the tip! You weren't kidding...
%time df['balance'].apply(lambda x: x * 36902.7 / 100e6).describe()
Wall time: 12.6 s
%time df["balance"].mul(36902.7).div(100e6).describe()
Wall time: 2.33 s
Re:All Bitcoin private keys are on this website
by tomputer on Tuesday December 21, 2021 @02:14PM
(#29640902)
> That CSV is actually really interesting. The median wallet holds about $30, the largest holds $10b, and the standard deviation is over $2m.
Top 100 Richest Bitcoin Addresses:
https://bitinfocharts.com/top-100-richest-bitcoin-addresses....