Commit 389f05c 1 parent b0d1660 commit 389f05c Copy full SHA for 389f05c
File tree 1 file changed +0
-7
lines changed
1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 23
23
predictData .columns = head
24
24
cursor .close ()
25
25
26
- def check (row ):
27
- if row ['tx_atabove' ] < row ['tx_unchained' ]:
28
- return 1
29
- return 0
30
26
31
27
#predictData = predictData.combine_first(postedData)
32
28
predictData ['confirmTime' ] = predictData ['block_mined' ]- predictData ['block_posted' ]
@@ -43,11 +39,8 @@ def check(row):
43
39
predictData = predictData .loc [predictData ['confirmTime' ]> 0 ]
44
40
print (len (predictData ))
45
41
predictData = predictData .loc [predictData ['tx_atabove' ]> 0 ]
46
- predictData ['error' ] = predictData .apply (check , axis = 1 )
47
42
print ('cleaned transactions: ' )
48
43
print (len (predictData ))
49
- predictData = predictData .loc [predictData ['error' ]== 0 ]
50
- print (len (predictData ))
51
44
52
45
print ('gas offered data' )
53
46
max_gasoffered = predictData ['gas_offered' ].max ()
You can’t perform that action at this time.
0 commit comments