Skip to content

Instantly share code, notes, and snippets.

@eshaben
Last active June 9, 2022 16:58
Show Gist options
  • Save eshaben/98094ef9f87e1f0b53c40e88af670aa1 to your computer and use it in GitHub Desktop.
Save eshaben/98094ef9f87e1f0b53c40e88af670aa1 to your computer and use it in GitHub Desktop.
import pandas as pd
data = pd.read_csv('~/Downloads/export-token-0x30d2a9f5fdf90ace8c17952cbb4ee48a55d916a7 (1).csv')
swapin = data.loc[data['From'] == '0x0000000000000000000000000000000000000000', 'Quantity'].sum()
swapout = data.loc[data['To'] == '0x0000000000000000000000000000000000000000', 'Quantity'].sum()
print(receive_sum, send_sum)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment