FIxes topbuys (#2657)

* FIxes topbuys

* Fixed tests
This commit is contained in:
Colin Delahunty
2022-09-28 16:48:37 +02:00
committed by GitHub
parent 532daac9fe
commit 446a29ec91
3 changed files with 0 additions and 18 deletions

View File

@@ -243,7 +243,6 @@ def get_government_buys(
DataFrame of top government buy trading
"""
df_gov = get_government_trading(gov_type)
print(df_gov)
if df_gov.empty:
return pd.DataFrame()

View File

@@ -1,14 +0,0 @@
ReportDate TransactionDate ... House Range
0 2022-08-08 2022-08-03 ... Representatives $15,001-$50,000
1 2022-08-08 2022-08-03 ... Representatives $15,001-$50,000
2 2022-08-08 2022-07-27 ... Representatives $1,001-$15,000
3 2022-08-07 2022-07-29 ... Representatives $1,001-$15,000
4 2022-08-05 2022-08-04 ... Representatives $1,001-$15,000
.. ... ... ... ... ...
995 2021-10-15 2021-09-30 ... Senate $1,001 - $15,000
996 2021-10-15 2021-09-30 ... Senate $1,001 - $15,000
997 2021-10-15 2021-09-30 ... Senate $1,001 - $15,000
998 2021-10-04 2021-09-28 ... Senate $1,001 - $15,000
999 2021-10-04 2021-09-28 ... Senate $15,001 - $50,000
[1000 rows x 8 columns]

View File

@@ -1,5 +1,2 @@
Empty DataFrame
Columns: []
Index: []
No MOCK_TEXT trading data found