mirror of
https://github.com/FlipsideCrypto/nft-deal-score.git
synced 2026-02-06 10:56:58 +00:00
automated
This commit is contained in:
parent
43264daa2f
commit
8f8820d2f7
@ -32,6 +32,7 @@ if(isRstudio) {
|
||||
mints_from_me()
|
||||
pull_from_metaboss()
|
||||
how_rare_is_api()
|
||||
# saves labels to '/rstudio-data/nft_labels/solana_nft_labels.csv'
|
||||
compile()
|
||||
|
||||
|
||||
|
||||
@ -644,8 +644,8 @@ def compile():
|
||||
howrare_labels = read_csv(DATA_FOLDER, 'howrare_labels')
|
||||
df = pd.concat([howrare_labels, single_update_auth_labels, mult_update_auth_labels])
|
||||
df = df[ (df.collection != 'Nan') & (df.collection != 'nan') & (df.collection.notnull()) ]
|
||||
df = df[ (df.mint_address != 'Nan') & (df.mint_address != 'nan') & (df.mint_address.notnull()) ]
|
||||
df = df.drop_duplicates(subset=['mint_address'], keep='first')
|
||||
print(len(df[df.collection == 'DegenTown']))
|
||||
write_csv(DATA_FOLDER, 'solana_nft_labels', df[['mint_address','collection']])
|
||||
|
||||
# print('Loaded!')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user