noncesense-research-lab / archival_network

Investigating the frequency of alternative blocks, reorganizations, potential double-spend attacks, selfish mining, and more.
MIT License
14 stars 7 forks source link

Use DataFrame.loc instead of multiple indexing to assign values. #20

Closed neffmallon closed 6 years ago

neffmallon commented 6 years ago

There are currently multiple warnings raised for using multiple indexing to assign values. This is bad practice, see Pandas docs.

Mitchellpkt commented 6 years ago

Ah I tried to fix that, but was getting errors (I see now, from your example, that I was indicating the field incorrectly). Many thanks!