Skip to content

Commit 289d7b9

Browse files
author
root
committed
pd.DataFrame()- typo
1 parent 4006834 commit 289d7b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ethgasstation.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ def update_dataframes(block):
475475
submitted_hourago['pct_unmined'] = submitted_hourago['still_here']/submitted_hourago['total']
476476
submitted_hourago['pct_unmined'] = submitted_hourago[['still_here', 'total']].apply(roundresult, axis=1)
477477
else:
478-
submitted_hourago = pd.dataframe()
478+
submitted_hourago = pd.DataFrame()
479479

480480
submitted_5mago = alltx.loc[(alltx['block_posted'] < (block-20)) & (alltx['block_posted'] > (block-70)) & (alltx['chained']==0) & (alltx['gas_offered'] < 500000)].copy()
481481
print(len(submitted_5mago))
@@ -486,7 +486,7 @@ def update_dataframes(block):
486486
submitted_5mago.rename(columns={'gas_price':'total'}, inplace=True)
487487
submitted_5mago['pct_unmined'] = submitted_5mago[['still_here', 'total']].apply(roundresult, axis=1)
488488
else:
489-
submitted_5mago = pd.dataframe()
489+
submitted_5mago = pd.DataFrame()
490490

491491

492492
#make txpool block data

0 commit comments

Comments
 (0)